/* Import a cool font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Basic styles for the whole page */
body {
    background-color: #ffff; /* A dark blue-grey background */
    color: #2caabe; /* A light grey color for text */
    font-family: 'Poppins', sans-serif; /* Use the Poppins font */
    margin: 0; /* Remove default browser spacing */
    padding-top: 120px; /* Add padding to prevent content from being hidden under fixed nav */
}

/* --- Sticky Navigation Bar --- */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #D4C8D6; /* Semi-transparent version of your nav color */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sticky-nav.scrolled {
    padding: 10px 5%;
    background: #D4C8D6;
}

.logo {
    height: 75px; /* Set the logo height */
    width: auto; /* Maintain aspect ratio */
   
}


/* Code block styling */
.code-block {
    background: #2c2c2c;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
    border: 1px solid #555;
    position: relative;
}

.code-block pre {
    margin: 0;
    font-family: 'Poppins', sans-serif; /* Using your existing font */
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #fff;
}

.code-comment {
    color: #a8a8a8;
    font-style: italic;
}

.code-keyword {
    color: #ff7b72;
    font-weight: bold;
}

.code-string {
    color: #a5d6ff;
}

.code-class {
    color: #79c0ff;
}

.code-method {
    color: #ffa657;
}

.code-annotation {
    color: #d2a8ff;
}

/* Copy button styling */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-btn.copied {
    background: #4caf50;
    border-color: #4caf50;
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 8px 5px;
    position: relative;
}

.nav-links a:hover {
    color: #81599F;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #81599F;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #81599F;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}


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

.nav-right-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-right-links a:hover {
    color: #81599F;
}

.enroll-btn {
    background: linear-gradient(90deg, #81599F, #6a4a82);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(129, 89, 159, 0.3);
    margin-left: 15px;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(129, 89, 159, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s;
}

/* --- Language Navigation Bar --- */

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: #f2442d; /* Example background color */
    color: #fff; /* Example text color */
    padding: 10px 0;
    position: relative; /* Needed for absolute positioning of blur overlays */
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    /* Optional: Add a slight filter blur to the text itself for a stronger effect */
    /* filter: blur(0.5px); */
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Blur overlay for the left side */
.marquee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px; /* Adjust width of the blur effect */
    height: 100%;
    background: linear-gradient(to right, #ff4500, transparent); /* Matches background color */
    z-index: 1; /* Ensures it's above the text */
}

/* Blur overlay for the right side */
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px; /* Adjust width of the blur effect */
    height: 100%;
    background: linear-gradient(to left, #ff4500, transparent); /* Matches background color */
    z-index: 1; /* Ensures it's above the text */
}
/* --- Hero Section --- */
.hero-section {
    text-align: center; /* Center all the text inside */
    padding-top: 20px; /* Reduced since we have fixed nav */
}


.start-btn {
    background-color: transparent; /* No background color */
    color: #81599F; /* Blue text */
    border: 2px solid #ea6e26; /* Blue border */
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

.start-btn:hover {
    background-color: #F2BFA4;
    color: white;
}

html{
    scroll-behavior: smooth;
}
/* --- NEW: Curriculum Section Styles --- */
.curriculum-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.curriculum-section .section-subtitle {
    font-weight: 600;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.curriculum-section .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.curriculum-section .section-title .highlight {
    color: #81599F;
}

.curriculum-section .section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-container {
    display: flex;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    flex-shrink: 0;
    width: 80px;
    position: relative;
}

.timeline-item {
    position: relative;
    text-align: right;
    padding-right: 30px;
}

.timeline-item .week-tag {
    background-color: #f2442d;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.timeline-line {
    position: absolute;
    top: 15px;
    right: 0;
    height: 100%;
    width: 2px;
    border-right: 2px dashed #ddd;
}

.timeline-dot {
    position: absolute;
    top: 12px;
    right: -6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #81599F;
    border: 3px solid white;
}

.modules-list {
    flex-grow: 1;
    text-align: left;
}

.module {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Important for collapsing animation */
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.module-header:hover {
    background-color: #f7f7f7;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left .icon {
    font-size: 1.5rem;
    color: #81599F;
}

.header-left h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.header-left .preview-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-weight: 500;
}

.header-right .chevron-icon {
    transition: transform 0.3s ease;
}

/* State when accordion is active/open */
.module-header.active .chevron-icon {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    border-top: 1px solid #eee;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    transition: background-color 0.3s;
}

.lesson-item:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
}

.lesson-item:hover {
    background-color: #fafafa;
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lesson-info .icon {
    color: #2caabe;
    font-size: 1.2rem;
}

.lesson-info .lesson-text span {
    display: block;
    font-size: 0.8rem;
    color: #888;
}

.lesson-info .lesson-text p {
    margin: 0;
    font-weight: 500;
    color: #444;
}

.watch-btn {
    background-color: #f2442d;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
    color: white;
}

.cta-section {
    padding: 0 5%;
    background-color: #f9f9f9;
}

.cta-container {
    background-color: #ef5742;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,218.7C672,213,768,171,864,138.7C960,107,1056,85,1152,90.7C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* --- Replace your old .cta-container::after rule with this code --- */

/* The keyframes that make the waves move horizontally */
@keyframes move-waves {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* The main container for the waves */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Height of the tallest wave */
    overflow: hidden;
}

/* Create the two wave layers using pseudo-elements */
.waves::before,
.waves::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%; /* Double the width to allow for seamless scrolling */
    height: 100%;
    background-repeat: repeat-x;
    animation: move-waves 15s linear infinite;
    z-index: 0; /* Ensures waves are behind content */
}

/* The back wave: slower, more transparent */
.waves::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.2' d='M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,202.7C672,224,768,224,864,208C960,192,1056,160,1152,149.3C1248,139,1344,149,1392,154.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    animation-duration: 20s; /* Slower animation speed */
}

/* The front wave: faster, more opaque */
.waves::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.3' d='M0,256L40,229.3C80,203,160,149,240,149.3C320,149,400,203,480,224C560,245,640,235,720,208C800,181,880,139,960,138.7C1040,139,1120,181,1200,186.7C1280,192,1360,160,1400,144L1440,128L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    animation-duration: 12s; /* Faster animation speed */
}

/* Style for the canvas to make it a background element */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Places it behind the text content */
}


/* --- NEW: Footer Styles --- */
.site-footer {
    background-color: #f9f9f9;
    padding: 60px 5%;
    color: #555;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-logo span {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.footer-logo p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-col {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-col i {
    font-size: 1.5rem;
    color: #ef5742;
    margin-top: 5px;
}

.contact-col p,
.contact-col a {
    margin: 0;
    line-height: 1.6;
}

.contact-col a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.contact-col a:hover {
    text-decoration: underline;
}

/* --- NEW: Content Page Styles --- */
.content-page {
    padding: 60px 5%;
    background-color: #fff;
    color: #333;
}

.content-page .container {
    max-width: 900px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.content-section {
    margin-bottom: 40px;
}

.content-page h1, .content-page h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.content-page h1 {
    font-size: 2.5rem;
    color: #81599F; /* Matching highlight color */
}

.content-page h2 {
    font-size: 2rem;
}

.content-page h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.content-page strong {
    color: #ef5742; /* Matching CTA color */
}

.content-page a {
    color: #f2442d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.content-page a:hover {
    color: #ef5742;
    text-decoration: underline;
}

.content-page .solution-link {
    font-size: 1.2rem;
}

.content-page hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 50px 0;
}

.content-page ul {
    list-style: none;
    padding-left: 0;
}

.content-page ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2381599F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
    padding: 10px 0 10px 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    border-bottom: 1px solid #eee;
}

.content-page ul li strong {
    color: #333;
}


/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-page th, .content-page td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.content-page th {
    background-color: #81599F;
    color: white;
    font-weight: 600;
}

.content-page tr:nth-child(even) {
    background-color: #f9f9f9;
}
.content-page tr:hover {
    background-color: #f1f1f1;
}

/* Code Block Styles */
.content-page pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.content-page code {
    font-family: 'Courier New', Courier, monospace;
}

.content-page td code {
    background: #e7e7e7;
    padding: 3px 6px;
    border-radius: 4px;
    color: #333;
}
