/* Using the provided styles and adding custom ones for the learning path */
:root {
    /* Color Palette */
    --primary-color:rgb(241, 99, 99);
    --primary-light:rgb(248, 129, 129);
    --primary-dark: #e54646;
    --secondary-color: rgb(170, 0, 0);
    --secondary-light: #ff9f9f;
    --accent-color: #44a4db;
    --accent-light: #34d399;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Borders */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;

    /* Heights */
    --top-bar-height: 2.5rem;
    --navbar-height: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-bg);
    background-color: var(--light-bg);
    background-image: 
        radial-gradient(at 80% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}


/* Main Navigation Styles */
.main-nav {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text h2 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.9rem;
    color: #4f46e5;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.links-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-item {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-item:hover {
    color: #4f46e5;
}

.nav-action .btn-enroll {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: #4f46e5;
    color: #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-action .btn-enroll:hover {
    background: #c7c4ff;
    color: #1f2937;
    box-shadow: var(--shadow-md);
}

.nav-mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: #1f2937;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 64px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .links-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-action {
        margin-top: 1rem;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .brand-logo {
        height: 40px;
    }

    .brand-text h2 {
        font-size: 1.4rem;
    }

    .brand-text span {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    .nav-mobile-toggle {
        display: none !important;
    }
}

/* Learning Path Specific Styles */
.learning-path-header {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-bg));
    color: white;
    position: relative;
    overflow: hidden;
}

.learning-path-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://pecb.com/article_docs/images/FEE5C383E853416AFF84467ECFE30220.png");
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    visibility: visible;
}

.learning-path-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 80px;
}

.learning-path-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: white;
}

.learning-path-title i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.learning-path-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
}

.learning-path-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.enroll-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}
/* Overview Section */
.overview-section {
    padding: 3rem 1rem;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.overview-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.overview-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: left;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    transition: transform 0.2s ease;
    color: black;
}


.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(75, 0, 71);
    font-size: 1.25rem;
}

.overview-outcome {
    position: relative;
}

.overview-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.05));
    z-index: -1;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.outcome-list {
    margin-top: 1rem;
    list-style: none;
}

.outcome-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.outcome-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .overview-content h2 {
        font-size: 1.75rem;
    }

    .overview-card {
        padding: 1.5rem;
    }

    .overview-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .overview-features {
        grid-template-columns: 1fr;
    }

    .overview-section {
        padding: 2rem 0.5rem;
    }
}

/* Accessibility */
.feature-item:focus-within,
.overview-card:focus-within {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}
/* Curriculum Section */
.curriculum-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--light-bg), rgba(255, 255, 255, 0.7));
    position: relative;
}

.curriculum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 50%, rgba(99, 102, 241, 0.15), transparent 60%);
    opacity: 0.5;
    z-index: -1;
}

.curriculum-header {
    text-align: center;
    margin-bottom: 4rem;
}

.curriculum-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--dark-bg), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.curriculum-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #4b5563;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: var(--border-radius-full);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -16px;
}

.timeline-right::after {
    left: -16px;
}

.timeline-content {
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.timeline-week {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.timeline-content p {
    color: #4b5563;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.topic-list {
    margin-top: 1.25rem;
}

.topic-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.topic-list li::before {
    content: '\f138';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Tools Section */
.tools-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-bg));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.tools-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tools-header {
    margin-bottom: 3rem;
}

.tools-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.tools-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgb(240, 240, 240);
}

.tool-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0.7;
    z-index: -1;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    filter: blur(50px);
    z-index: -1;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--dark-bg), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-left::after, .timeline-right::after {
        left: 15px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-image {
        order: -1;
    }
    
    .learning-path-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .learning-path-title {
        font-size: 2.5rem;
    }
    
    .learning-path-subtitle {
        font-size: 1.25rem;
    }
    
    .stat-item {
        min-width: 140px;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .cta-content {
        padding: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .learning-path-title {
        font-size: 2rem;
    }
    
    .learning-path-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
    
    .curriculum-header h2 {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}