@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #161B45;
    --color-secondary: #28317E;
    --color-accent: #469BD1;
    --color-white: #FFFFFF;
    --color-text: #333;
    --color-text-light: #555;
    --color-light-bg: #F8F9FA;
    --color-border: #EAEAF2;
    --border-radius: 24px;
    --font-primary: 'Poppins', sans-serif;
    --shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease-in-out;
    --sidebar-width: 280px;
    --primary: #161B45;
    --accent: #469BD1;
    --success: #10B981;
    --bg-light: #F9FAFB;
    --border: #E5E7EB;
}

/* --- Global Resets --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-primary); color: var(--color-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-gray { background-color: var(--color-light-bg); }
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); color: var(--color-primary); }

/* --- Header & Mega Menu --- */
.header-wrapper { position: sticky; top: 0; z-index: 1000; width: 100%; background-color: var(--color-white); animation: slideDown 0.35s ease-out; }
.header-wrapper.is-sticky { box-shadow: var(--shadow); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 40px; }

/* Desktop Navigation */
.nav-menu-desktop { display: none; }
@media (min-width: 992px) { .nav-menu-desktop { display: flex; align-items: center; height: 100%; } }
.nav-tabs { display: flex; height: 100%; }

.nav-tab {
  position: relative; /* CHANGE: Added to act as a container for the absolute mega-menu */
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--color-primary);
  border-bottom: 3px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.nav-tab:hover, .nav-tab.active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }

.mega-menu {
  position: absolute;
  top: 100%; /* CHANGE: Positioned right below the nav tab */
  left: 50%; /* CHANGE: Positioned at the center of the nav tab */
  width: 700px; /* CHANGE: Set a fixed width for the smaller dropdown */
  background-color: var(--color-white);
  box-shadow: var(--shadow);
  padding: 30px; /* CHANGE: Adjusted padding for the new size */
  border-radius: 12px; /* CHANGE: Added rounded corners */
  display: none;
  opacity: 0;
  visibility: hidden;
  /* CHANGE: Updated transform to center the menu horizontally and animate vertically */
  transform: translate(-50%, 10px);
  transition: all var(--transition);
}
.nav-tab:hover .mega-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  /* CHANGE: Final transform state for centering */
  transform: translate(-50%, 0);
}

/* CHANGE: Neutralize the .container class inside our new mega menu */
.mega-menu .container {
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.mega-menu-inner { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.mega-menu-media img { width: 100%; height: auto; border-radius: 12px; }
.mega-menu-links h4 { color: var(--color-secondary); margin-bottom: 20px; }
.mega-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.mega-menu-links a { display: block; padding: 8px 0; font-weight: 500; transition: color var(--transition); }
.mega-menu-links a:hover { color: var(--color-accent); }

.header-buttons { display: none; }
@media (min-width: 992px) { .header-buttons { display: flex; gap: 1rem; align-items: center; } }
.button { display: inline-block; padding: 10px 24px; border-radius: 50px; font-weight: 600; text-align: center; transition: all var(--transition); }
.button.secondary { background-color: var(--color-primary); color: var(--color-white); }
.button.secondary:hover { background-color: var(--color-secondary); }
.button.primary { background-color: var(--color-accent); color: var(--color-white); }
.button.primary:hover { background-color: #3a8ac0; }

/* --- Mobile Navigation --- */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
@media (min-width: 992px) { .mobile-toggle { display: none; } }
.mobile-toggle .trigger {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s linear;
}

/* --- Hero Section & Page Headers --- */
.hero-section, .page-header {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(22, 27, 69, 0.7);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 767px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
}

/* --- Intro Section --- */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 992px) { .intro-grid { grid-template-columns: 1fr 1fr; } }
.intro-title { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.intro-content p { margin-bottom: 2rem; color: var(--color-text-light); }
.intro-image-wrapper { position: relative; }
.intro-main-image { width: 85%; height: auto; border-radius: var(--border-radius); margin-left: auto; display: block; }
.intro-card-float { position: absolute; bottom: 40px; left: 0; background: linear-gradient(263deg, #EAEAF2 0.32%, #E8F3F9 100%); padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow); width: 250px; text-align: center; }
.intro-card-float p { margin: 0; font-size: 1.2rem; line-height: 1.4; font-weight: 700; background: linear-gradient(263deg, #28317E 0.32%, #161B45 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* --- Footer --- */
.footer { background-color: var(--color-primary); color: rgba(255,255,255,0.7); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }

/* NEW RULE: This targets the logo in the footer */
.footer-col img {
  height: 36px; /* Adjust this value to make the logo bigger or smaller */
  margin-bottom: 1rem;
}

.footer-col p { color: rgba(255,255,255,0.6); }
.footer-col h4 { color: var(--color-white); margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom a { color: var(--color-white); font-weight: 500; }

/* --- Homepage Sections --- */
.text-center { text-align: center; }
.section-title.text-center { margin-bottom: 3rem; }

/* Course Grid */
.course-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card {
background-color: var(--color-white); border-radius: 24px;
box-shadow: 0 0 1px 0 #00000066, 0 6px 6px 0 #00000040;
overflow: hidden; display: flex; flex-direction: column;
}
.course-card img { width: 100%; height: 200px; object-fit: cover; }
.course-card h3 { font-size: 1.1rem; line-height: 1.5; margin: 1rem 1.5rem; }
.course-card p { flex-grow: 1; margin: 0 1.5rem 1rem; color: var(--color-text-light); font-size: 0.9rem; }
.card-details { list-style: none; margin: 0 1.5rem 1rem; font-size: 0.9rem; color: var(--color-text-light); }
.card-details li { margin-bottom: 0.5rem; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-top: 1px solid var(--color-light-bg); }
.card-price { font-weight: 700; font-size: 1.25rem; color: var(--color-primary); }

/* Career Tabs Section */
.tabs-wrapper { max-width: 900px; margin: 0 auto; }
.tabs-nav { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--color-border); margin-bottom: 2rem; }
.tab-link { padding: 1rem 1.5rem; font-weight: 600; color: var(--color-text-light); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
.tab-link.active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.5s; }
.tab-pane h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.tab-details { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 1rem; }
.tab-details span { font-size: 1.1rem; }

/* Testimonials Section */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
.testimonial-card { background: var(--color-light-bg); padding: 2rem; border-radius: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-author img { width: 64px; height: 64px; border-radius: 50%; }
.author-info strong { display: block; }
.author-info span { font-size: 0.9rem; color: var(--color-text-light); }
.testimonial-card p { font-style: italic; }

/* Homepage Contact Section */
.contact-section-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .contact-section-grid { grid-template-columns: 1fr 1fr; } }
.contact-section-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.contact-section-form { background-color: var(--color-white); padding: 2.5rem; border-radius: 24px; box-shadow: var(--shadow); }
.contact-section-form h3 { margin-bottom: 0.5rem; }
.contact-section-form p { margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--color-border); }
.form-status { margin-top: 1rem; font-weight: 600; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* --- Corporate Page Styles --- */
.page-header-corporate {
background-image: url('img/woman-learning-study-education-knowledge-word-graphic.jpg');
}

.service-section { padding: 100px 0; }
.service-grid {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
align-items: center;
}
@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px; }
  .service-grid.reverse .service-image {
    order: 2;
  }
  .service-grid.reverse .service-content {
    order: 1;
  }
}

.service-image img {
 width: 100%;
 border-radius: 24px;
 box-shadow: var(--shadow);
}
.service-content h2 {
 font-size: clamp(2rem, 4vw, 2.5rem);
 margin-bottom: 1.5rem;
}
.service-content p {
 margin-bottom: 2rem;
 color: var(--color-text-light);
}

/* --- Academy & Pathway Page Styles (Refined) --- */
.pathway-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 2.5rem;
}
@media (min-width: 768px) {
.pathway-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Base Card Style */
.pathway-card {
 background-color: var(--color-white);
 border-radius: var(--border-radius);
 border: 1px solid var(--color-border);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
 display: flex;
 flex-direction: column;
 text-align: left;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pathway-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Card Content */
.pathway-card { padding: 2.5rem; }
.pathway-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 1rem;
}
.course-count {
background-color: var(--color-light-bg);
color: var(--color-secondary);
padding: 0.3rem 0.8rem;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 700;
}
.pathway-card h3 {
color: var(--color-primary);
font-size: 1.25rem;
font-weight: 700;
line-height: 1.4;
  margin: 0;
}
.pathway-card p {
font-size: 1rem;
margin: 1rem 0;
flex-grow: 1;
color: var(--color-text-light);
}
.pathway-salary {
font-weight: 600;
margin: 1rem 0;
color: var(--color-text);
}
.pathway-rating {
color: var(--color-text-light);
font-size: 0.9rem;
font-weight: 500;
}

/* Card Footer */
.pathway-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
padding-top: 1.5rem;
border-top: 1px solid var(--color-border);
}
.pathway-price {
font-size: 1.75rem;
font-weight: 700;
color: var(--color-primary);
}
.button.pathway-button {
padding: 10px 24px;
font-size: 0.9rem;
}

/* --- CTA & Other Page Styles --- */
.page-header-academy {
background-image: url('img/woman-learning-study-education-knowledge-word-graphic.jpg');
}
.cta-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
text-align: center;
gap: 1rem;
}
@media (min-width: 768px) {
.cta-container {
 flex-direction: row;
 text-align: left;
}
}
.cta-text h3 {
font-size: 1.75rem;
margin-bottom: 0.5rem;
}
.cta-text p {
margin-bottom: 0;
color: var(--color-text-light);
}

/* --- Blog Page Styles --- */
.page-header-blog {
background-image: url('img/closeup-programmer-man-hand-typing-website-script-computer-working-remote-from-home-african-american-hacker-worker-programming-binary-code-using-network-security-system-concept-coding.jpg');
}

.blog-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
@media (min-width: 640px) {
.blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
.blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
background-color: var(--color-white);
border-radius: var(--border-radius);
box-shadow: var(--shadow);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform var(--transition);
}
.blog-card:hover {
transform: translateY(-5px);
}
.blog-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.blog-card-content {
padding: 1.5rem;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.blog-card-category {
display: inline-block;
margin-bottom: 1rem;
background-color: var(--color-light-bg);
color: var(--color-accent);
padding: 0.25rem 0.75rem;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
width: fit-content;
}
.blog-card-content h3 {
margin-bottom: 1rem;
font-size: 1.25rem;
}
.blog-card-content p {
flex-grow: 1;
margin-bottom: 1.5rem;
color: var(--color-text-light);
}
.read-more-link {
font-weight: 700;
color: var(--color-accent);
text-decoration: none;
}
.read-more-link:hover {
text-decoration: underline;
}

/* --- Contact Page Styles --- */
.page-header-contact {
background-image: url('img/woman-learning-study-education-knowledge-word-graphic.jpg');
}

.contact-section-form textarea {
resize: vertical;
min-height: 120px;
}
.direct-contact {
margin-top: 2.5rem;
padding-top: 1.5rem;
border-top: 1px solid var(--color-border);
}
.direct-contact h4 { margin-bottom: 1rem; }
.direct-contact a {
color: var(--color-accent);
font-weight: 600;
}
.direct-contact a:hover { text-decoration: underline; }

/* --- RPA Calculator Page Styles --- */
.page-header-rpa {
background-image: url('https://via.placeholder.com/1920x800/28317E/FFFFFF?text=RPA+Calculator');
}
.rpa-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
@media (min-width: 992px) {
.rpa-grid { grid-template-columns: 1fr 1fr; }
}
.rpa-card {
padding: 2.5rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow);
background-color: var(--color-white);
}
.rpa-card.card-dark {
background-color: var(--color-primary);
color: var(--color-white);
}
.result-box {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1rem;
}
.result-label {
display: block;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 0.5rem;
}
.result-value {
display: block;
font-size: 2.5rem;
font-weight: 700;
color: var(--color-white);
}

/* --- Pricing Page Styles --- */
.page-header-pricing {
background-image: url('img/woman-learning-study-education-knowledge-word-graphic.jpg');
}

.pricing-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
align-items: stretch;
}
@media (min-width: 992px) {
.pricing-grid {
 grid-template-columns: repeat(3, 1fr);
}
}

.pricing-card {
background-color: var(--color-white);
border: 1px solid var(--color-border);
border-radius: var(--border-radius);
padding: 2.5rem;
display: flex;
flex-direction: column;
text-align: center;
position: relative;
overflow: hidden;
}
.pricing-card.highlighted {
border-color: var(--color-secondary);
border-width: 2px;
}
.highlight-tag {
position: absolute;
top: 20px;
right: -40px;
background-color: var(--color-secondary);
color: var(--color-white);
padding: 5px 40px;
font-size: 0.9rem;
font-weight: 700;
transform: rotate(45deg);
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price {
font-size: 3rem;
font-weight: 700;
color: var(--color-primary);
margin-bottom: 0.5rem;
}
.price span {
font-size: 1rem;
font-weight: 400;
color: var(--color-text-light);
}
.card-description {
color: var(--color-text-light);
margin-bottom: 2rem;
min-height: 40px;
}
.features-list {
list-style: none;
margin-bottom: 2rem;
text-align: left;
flex-grow: 1;
}
.features-list li {
margin-bottom: 1rem;
padding-left: 25px;
position: relative;
}
.features-list li::before {
content: '✔';
color: var(--color-accent);
position: absolute;
left: 0;
font-weight: 700;
}
.pricing-card .button {
width: 100%;
margin-top: auto;
}

/* --- Privacy & Text Page Styles --- */
.page-header-privacy {
background-image: url('https://via.placeholder.com/1920x800/1C2359/FFFFFF?text=Privacy+Policy');
}
.text-content {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.text-content h2 {
font-size: 1.75rem;
color: var(--color-primary);
margin-top: 2.5rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--color-border);
}
.text-content h3 {
font-size: 1.25rem;
color: var(--color-primary);
margin-top: 2rem;
margin-bottom: 1rem;
}
.text-content p, .text-content li {
line-height: 1.8;
color: var(--color-text-light);
margin-bottom: 1rem;
}
.text-content ul {
list-style: disc;
padding-left: 20px;
}
.text-content a {
color: var(--color-accent);
font-weight: 600;
}
.text-content a:hover { text-decoration: underline; }

/* --- SIDEBAR STYLES --- */
        .sidebar {
            width: var(--sidebar-width);
            background: #fff;
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            height: 100%;
            flex-shrink: 0;
            z-index: 20;
        }

        .sidebar-header {
            height: var(--header-height);
            padding: 0 24px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .sidebar-header img { height: 32px; }
        .sidebar-header h2 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 0; }

        .progress-area { padding: 20px; border-bottom: 1px solid var(--border); }



        .progress-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin-top: 8px; }



        .progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.3s; }



        .progress-text { font-size: 0.8rem; color: #6B7280; font-weight: 600; display: block; }
        
        
        .modules-list { 
            flex: 1; 
            overflow-y: auto; 
            padding-bottom: 20px;
        }

        /* Module Accordion */
        .module-group { border-bottom: 1px solid var(--border); }
        
        .module-summary {
            padding: 16px 24px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text);
            background: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            list-style: none;
            transition: background 0.2s;
        }
        .module-summary:hover { background: #F9FAFB; }
        .module-summary::-webkit-details-marker { display: none; }

        .chevron { width: 16px; height: 16px; color: var(--text-light); transition: transform 0.2s; }
        .module-group[open] .chevron { transform: rotate(180deg); }

        .lesson-list { list-style: none; padding: 0; margin: 0; background: #F9FAFB; }
        
        .lesson-item {
            padding: 12px 24px 12px 32px;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-light);
            border-left: 3px solid transparent;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s;
        }
        
        .lesson-item:hover { background: #EFF6FF; color: var(--accent); }

        .lesson-item.active {
            background: #EFF6FF;
            border-left-color: var(--accent);
            color: var(--accent);
            font-weight: 600;
        }

        .lesson-item.completed .status-icon { color: var(--success); }
        
        .status-icon { width: 16px; height: 16px; flex-shrink: 0; color: #D1D5DB; }


   
        .main { flex: 1; display: flex; flex-direction: column; height: 100vh; position: relative; }

        

        .top-bar {

            height: 60px;

            background: #fff;

            border-bottom: 1px solid var(--border);

            display: flex;

            align-items: center;

            justify-content: flex-end;

            padding: 0 30px;

            flex-shrink: 0;

        }

        .btn-logout { font-size: 0.9rem; color: #EF4444; background: none; border: none; cursor: pointer; font-weight: 600; }



        .content-scroll { flex: 1; overflow-y: auto; padding: 40px; }


.lesson-view {

    max-width: 900px;

    margin: 0 auto;

    padding: 20px 0;

}


.tabs-nav { 
            display: flex; 
            gap: 10px; 
            border-bottom: 1px solid var(--border); 
            margin-bottom: 30px; 
            padding-left: 10px;
        }
        
        .tab-btn { 
            padding: 12px 24px; 
            font-weight: 600; 
            font-size: 1rem; 
            border-radius: 10px 10px 0 0; 
            background: #F9FAFB; 
            color: #6B7280; 
            border: 1px solid var(--border); 
            border-bottom: none; 
            cursor: pointer; 
            transition: all 0.2s; 
            margin-bottom: -1px; 
            position: relative;
        }
        
        .tab-btn:hover { 
            background: #F3F4F6; 
            color: var(--primary); 
            transform: translateY(-2px);
        }
        
        .tab-btn.active { 
            background: #fff; 
            color: var(--accent); 
            border-top: 3px solid var(--accent);
            border-bottom: 1px solid #fff; 
            z-index: 1;
        }

        .tab-pane { display: none; animation: fadeUp 0.3s; }
        .tab-pane.active { display: block; }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0px 12px 35px rgba(0,0,0,0.08);
}

.box:hover {

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

}



.btn {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: 
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
    
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E3A8A);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: #F3F4F6;
    color: #374151;
    border-radius: 10px;
    padding: 12px 24px;
    border: 1px solid #D1D5DB;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}



.btn-success {

    background: #10B981;

}



.btn-success:hover {

    background: #059669;

    transform: translateY(-2px);

}


.complete-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #fff;

    border: 1px solid #E5E7EB;

    padding: 18px 25px;

    border-radius: 12px;

    margin-top: 30px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.05);

}


input[type="checkbox"] {

    width: 20px;

    height: 20px;

    accent-color: #10B981;

    cursor: pointer;

}


        .quiz-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 2.5rem;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
        }

        .quiz-item { 
            margin-bottom: 30px; 
            padding-bottom: 25px; 
            border-bottom: 1px dashed var(--border); 
        }
        .quiz-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

        .quiz-q { 
            font-weight: 700; 
            color: var(--primary); 
            margin-bottom: 15px; 
            display: block; 
            font-size: 1.1rem; 
            line-height: 1.5;
        }
        
        /* Container for answers to stack them vertically */
        .quiz-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* Quiz Option Card */
        .quiz-label {
            display: flex; 
            align-items: center; 
            gap: 15px; 
            padding: 15px 20px;
            border: 1px solid var(--border); 
            border-radius: 10px; 
            cursor: pointer; 
            transition: all 0.2s ease;
            background: #fff;
            font-weight: 500; 
            color: var(--text-main);
        }

        .quiz-label:hover { 
            background: #F8F9FA; 
            border-color: #545557; /* Dark grey on hover */
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        /* Radio Button Custom Color */
        .quiz-label input[type="radio"] {
            accent-color: #545557; /* YOUR REQUESTED COLOR */
            width: 20px; 
            height: 20px; 
            margin: 0;
            cursor: pointer;
        }

.tab-pane {

    display: none;

    opacity: 0;

    transition: opacity 0.3s ease-in-out;

}

.tab-pane.active {

    display: block;

    opacity: 1;

}


.lesson-item:hover {

    background: #E0F2FE;

    color: #2563EB;

    border-left-color: #2563EB;

}



        .complete-bar {

            margin-top: 40px; padding: 15px 25px; 

            background: #fff; border: 1px solid var(--border); border-radius: 8px; 

            display: flex; align-items: center; justify-content: space-between;

        }

        .complete-label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }

        input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--success); cursor: pointer; }


        #lock {

            position: fixed; top: 0; left: 0; width: 100%; height: 100%;

            background: #fff; z-index: 100; display: flex; flex-direction: column;

            align-items: center; justify-content: center;

        }


       .video-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    margin-bottom: 3rem;
    transition: box-shadow .25s ease, transform .25s ease;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.video-title {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.video-player {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid #ddd;
}

.video-player iframe {
    width: 100%;
    height: 480px;
}

@media (max-width: 768px) {
    .video-player iframe {
        height: 260px;
    }
}

.assignment-block {
    margin-top: 3rem;
}

.assignment-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: var(--color-primary);
}

.assignment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    transition: all .25s ease;
    margin-bottom: 2rem;
}

.assignment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.assignment-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.assignment-card p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* Textarea */
.assignment-textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    color: var(--color-text);
    background: #f9fafb;
    transition: all .25s ease;
    resize: vertical;
}

.assignment-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(70,155,209,0.25);
}

/* Submit Button */
.assignment-submit {
    margin-top: 1.2rem;
    background: var(--accent);
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all .25s ease;
}

.assignment-submit:hover {
    background: #3a8ac0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.assignment-status {
    margin-top: 10px;
    font-weight: 600;
    color: var(--success);
    font-size: 0.95rem;
}

.assignment-status.error {
    color: #EF4444;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 50%; 
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background-color: var(--color-accent); 
    transform: translateY(-3px); 
    border-color: var(--color-accent);
}

.social-icons svg {
    fill: currentColor; 
}

.social-icons a[aria-label="Instagram"] svg {
    fill: none; 
}
