/* ================= GLOBAL DESIGN ================= */

:root {
    --primary: #2F2D51;
    --secondary: #550091;
    --accent: #6C63FF;

    --text-dark: #1a1a2e;
    --text-light: #6c757d;

    --bg-light: #f8f9fc;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);

    --transition: all 0.3s ease;
}

/* ================= BASE ================= */

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= TYPOGRAPHY ================= */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 { font-size: 52px; line-height: 1.15; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

.menu li a,
.btn,
.hero-subtitle,
.cta-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.hero-subtitle,
.cta-subtitle {
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* ================= HEADER (FIXED WHITE) ================= */

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 9999;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a img {
    width: 180px;
    height: auto;
}

/* Desktop Menu */

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu li a {
    font-size: 15px;
    color: var(--primary);
    transition: var(--transition);
}

.menu li a:hover {
    color: var(--secondary);
}

/* ================= FOOTER ================= */
/* ================= GLOBAL CTA ================= */

.global-cta {
    position: relative;
    z-index: 2;
}

.cta-box {
    background: #ffffff;
    border-radius: 25px;
    padding: 50px 60px;
    margin-top: -90px;
    margin-bottom: -70px; /* Pull into footer */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    position: relative;
}

.cta-image img {
    max-width: 280px;
    width: 100%;
	border-radius:20px;
}

.cta-content {
    flex: 1;
}

.cta-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-content h2 {
    margin: 10px 0 20px;
    font-size: 32px;
    color: var(--primary);
}

.cta-content .btn {
    margin-top: 10px;
}


/* ================= FOOTER ================= */

.site-footer {
    background: var(--primary);
    color: #ffffff;
    padding: 140px 0 30px; /* Extra top padding for CTA overlap */
    position: relative;
    z-index: 1;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Footer Columns */
.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

/* Footer Logo + Description */
.footer-logo {
    margin-bottom: 20px;
}

.footer-p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin-top: 10px;
    text-align: justify;
}

.footer-contact-p {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 60px;
    padding-top: 20px;
}

.fo-btm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
}

.legal-links a {
    margin: 0px 5px;
    font-size: 14px;
    color: #d1d5db;
    text-decoration: none;
}

.legal-links a:hover {
    color: #ffffff;
}


/* ================= TABLET ================= */

@media (max-width: 992px) {

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        margin-top: -70px;
        margin-bottom: -60px;
    }

    .cta-image img {
        max-width: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .site-footer {
        padding: 120px 0 30px;
    }
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .cta-box {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-p {
        margin: 0 auto;
    }

    .legal-links a {
        margin: 0 8px;
    }
}

#menu-footer-courses-menu, #menu-footer-quick-links-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#menu-footer-courses-menu li a, #menu-footer-quick-links-menu li a {
    color: #ccc;
}
#menu-footer-courses-menu li a:hover, #menu-footer-quick-links-menu li a:hover {
    color: var(--secondary);
}

/* ================= MOBILE MENU PREMIUM ================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 9998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger */

.mobile-toggle {
    width: 28px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10000;
}

.mobile-toggle span {
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Slide Drawer */

@media (max-width: 992px) {

    .search-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        padding: 120px 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(.77,0,.18,1);
        z-index: 9999;
    }

    .main-navigation.active {
        right: 0;
    }

    .menu {
        flex-direction: column;
        gap: 30px;
    }

    .menu li a {
        font-size: 18px;
    }
}

/* ================= FOOTER RESPONSIVE ================= */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= HERO SECTION ================= */

/* ================= HERO SECTION ================= */

.hero-section {
    background: var(--primary);
    color: var(--white);
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-subtitle {
    font-size: clamp(10px, 2vw, 18px);
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
    border-radius: 10px;
    padding: 15px;
    border: solid 1px #ccc;
}
.hero-subtitle strong{
    color: #a94ff7;
    opacity: 1 !important;
}

.hero-content h1 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 700;
    margin: 25px 0;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(15px, 2vw, 18px);
    max-width: 520px;
    margin-bottom: 35px;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */

.btn {
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: #ffffff;
    color: var(--primary);
}

.btn-light:hover {
    background: #f2f2f2;
    transform: translateY(-3px);
}

/* Hero Image */

.hero-image img {
    max-width: 962px;
    width: 100%;
    animation: floatImage 5s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}


/* ================= COUNTER SECTION ================= */

.counter-section {
    transform: translateY(-50px);
    padding-bottom: 50px;
}

.counter-wrapper {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.counter-box h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
}

.counter-box p {
    margin-top: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}


/* ================= TABLET ================= */

@media (max-width: 992px) {

    .hero-section {
        padding: 110px 0 90px;
        text-align: center;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 500px;
    }

    .counter-wrapper {
        flex-direction: column;
        gap: 25px;
    }
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero-section {
        padding: 100px 0 80px;
        margin-top: -50px;
    
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    /* CENTER BUTTONS */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    .hero-buttons a:nth-child(1) {
        display: none;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 14px 20px;
    }

    /* Smaller Hero Image */
    .hero-image img {
        max-width: 320px;
        animation: none;
    }

    /* Smaller Counter */
    .counter-section {
        transform: translateY(-25px);
    }

    .counter-wrapper {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .counter-box h2 {
        font-size: 28px;
    }

    .counter-box p {
        font-size: 13px;
    }
}

/* ================= COURSES SECTION ================= */

.courses-section {
    padding: 0px 0 80px;
    background: #f8f9fc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-header p {
    max-width: 700px;
    margin: auto;
    opacity: 0.8;
}

/* ================= COURSES GRID ================= */

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

/* ================= COURSE CARD ================= */

.course-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ================= IMAGE ================= */

.course-card-image {
    position: relative;
    overflow: hidden;
}

.course-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-image img {
    transform: scale(1.05);
}

/* ================= BADGE ================= */

.badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
    background: rgba(255,255,255,0.9);
    color: #333;
    backdrop-filter: blur(6px);
}

.badge.live {
    background: var(--secondary);
    color: #fff;
}

/* ================= CONTENT ================= */

.course-card-content {
    padding: 22px;
    height: 28vh;
}

/* LEVEL */

.course-card-level {
    font-size: 13px;
    color: #8a8a8a;
    display: block;
    margin-bottom: 6px;
}

/* TITLE */

.course-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.4;
}

/* META */

.course-card-meta {
    display: flex;
    justify-content: left;
    font-size: 13px;
    gap: 10px;
    color: #8a8a8a;
    margin-bottom: 18px;
}

/* ================= BOTTOM ================= */

.course-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PRICE */

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--wp--preset--color--vivid-purple);
}

.card-price span {
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 6px;
    color: #aaa;
}

/* CTA */

.card-view-course {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--primary);
}

.course-card:hover .card-view-course {
    color: var(--secondary);
    /* transform: translateX(5px); */
}
.card-view-course img{
   height: 18px;
    margin-bottom: -3px;
}
.view-all-courses{
    text-align: center;
}

/* LINK RESET */

.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px) {
    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= DIFFERENT SECTION ================= */

.different-section {
    padding: 100px 0;
    background: #f5f6fb;
}

.different-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

/* LEFT GRID */
.different-left {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* ITEM */
.diff-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* TEXT */
.diff-item h4 {
    font-weight: 600;
    margin-bottom: 6px;
}

.diff-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* PERFECT CIRCLE FIX */
.diff-number {
    min-width: 50px;
    width: 50px;
    height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0; /* prevents shrinking */
}

/* COLORS */
.diff-number.pink { background: #f14d5d; }
.diff-number.green { background: #4caf50; }
.diff-number.blue { background: #3f51b5; }
.diff-number.red { background: #e91e63; }

/* RIGHT IMAGE */
.different-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.different-right img {
    width: 100%;
    height: auto;
}

/* ================= TABLET ================= */

@media (max-width: 992px) {

    .different-section {
        padding: 80px 0;
    }

    .different-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .different-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .different-section {
        padding: 70px 0;
    }

    .different-left {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .diff-item {
        gap: 15px;
    }

    .diff-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 14px;
    }

    .different-right img {
        max-width: 300px;
    }
}
/* ================= INSTRUCTORS SECTION ================= */

.instructors-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

/* Grid */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

/* Card */
.instructor-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* Premium hover */
.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* Accent top border */
.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Image wrapper */
.instructor-img {
    margin-bottom: 20px;
}

.instructor-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f5f5f5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Name */
.instructor-card h4 {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 700;
}

/* Role */
.instructor-role {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

/* Organization */
.instructor-org {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
}

/* Description */
.instructor-desc {
    height: 150px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .instructors-section {
        padding: 70px 0;
    }

    .instructor-card {
        padding: 30px 20px;
    }
    .instructor-desc {
    height: 100%;
    }
}

/* ================= TABLET ================= */

@media (max-width: 992px) {

    .instructors-section {
        padding: 80px 0;
    }

    .instructors-grid {
        gap: 30px;
    }

    .instructor-card {
        padding: 25px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .instructors-section {
        padding: 70px 0;
    }

    .instructors-grid {
        gap: 20px;
    }

    .instructor-card {
        padding: 20px;
    }

    .instructor-card img {
        width: 70px;
        height: 70px;
    }
}
/* ===== CAROUSEL FIX ===== */

.instructors-carousel {
    position: relative;
    overflow: hidden;
}

/* Track */
.instructors-track {
    display: flex;
    gap: 30px; /* IMPORTANT spacing */
    transition: transform 0.4s ease;
}

/* EXACT 3 cards */
.instructor-card {
    flex: 0 0 calc((100% - 60px) / 3); 
    /* 60px = 2 gaps (30px each) */
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    padding: 10px 14px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-btn.prev-ins { left: 10px; top:30%;}
.carousel-btn.next-ins { right: 10px; top:30%;}

.carousel-dots-ins {
    text-align: center;
    margin-top: 25px;
}

.carousel-dots-ins button {
    width: 10px;
    height: 10px;
    margin: 6px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.carousel-dots-ins button.active {
    background: var(--primary);
}

/* Tablet → 2 cards */
@media (max-width: 992px) {
    .instructor-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

/* Mobile → 1 card */
@media (max-width: 768px) {
    .instructor-card {
        flex: 0 0 100%;
    }
}
/* ================= TESTIMONIAL SECTION ================= */

.about-testimonials {
    padding: 100px 0;
    background: #f3f4f8;
}

.testimonial-carousel {
    position: relative;
}

.testimonial-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* ===== CARD ===== */
.testimonial-card {
    flex: 0 0 33.3333%;
    padding: 15px;
}

.testimonial-card-inner {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    height: 100%;
}
.testimonial-card-inner p{
    border-bottom: solid 1px #eee;
    height: 65%;
}

/* Tablet */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

/* ===== ARROWS ===== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.carousel-btn.prev { left: -25px; }
.carousel-btn.next { right: -25px; }

.carousel-btn:hover {
    background: var(--secondary);
    color: #fff;
}

/* ===== DOTS ===== */
.carousel-dots {
    text-align: center;
    margin-top: 40px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    margin: 0 6px;
    background: #ccc;
    cursor: pointer;
}

.carousel-dots button.active {
    background: var(--secondary);
}
.testimonial-user{
    display: flex;
margin-top: 20px;
}
.testimonial-user img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-user div{
    padding-left: 20px;
}

/* ================= COURSE DETAIL ================= */

.course-hero {
    background: #2F2D51;
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.course-hero h1 {
    font-size: 36px;
}

.breadcrumb {
    margin-top: 10px;
    opacity: 0.8;
}



.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.course-main {
    padding: 80px 0;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.course-thumbnail img {
    width: 100%;
    border-radius: 12px;
}

.course-tabs {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: #eee;
}

.tab-btn.active {
    background: var(--secondary);
    color: #fff;
}

.tab-content {
    display: none;
    margin-top: 30px;
}

.tab-content.active {
    display: block;
}

.price-box {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 12px;
}

.price-box h3 span {
    text-decoration: line-through;
    font-size: 16px;
    margin-left: 10px;
}

.course-meta {
    margin-top: 20px;
}

.course-meta li {
    margin-bottom: 10px;
}

/* Modal */

.enquiry-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
}

.enquiry-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 20px;
}
/* ================= COURSE HERO ================= */

.course-hero {
    background: var(--primary);
    color: #fff;
    padding: 140px 0 70px;
    text-align: center;
    border-bottom: solid 1px #eee;
}

.course-hero h1 {
    font-size: 40px;
    font-weight: 600;
}

.breadcrumb {
    margin-top: 10px;
    opacity: 0.8;
}

/* ================= STRIP ================= */

.course-info-strip {
    background: #2f2d51;
    padding: 20px 0;
}
.btn-container {
    height: 100%;
    display: flex;
    align-items: center;
}
.btn-container button{
    background-color: #fff !important;
    color: #2f2d51;
    font-size: 1em;
    padding: 10px 25px;
}
/* ================= STICKY COURSE INFO STRIP ================= */

.course-info-strip {
    position: sticky;
    top: 80px;
    z-index: 998;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Optional: Add shadow when sticky effect happens visually */
.course-info-strip.sticky-active {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 10px;
    color: #fff !important;
}

.info-box span {
    font-size: 14px;
    opacity: 0.6;
}

.info-box p {
    font-weight: 600;
    margin-top: 5px;
}

.highlight {
    color: var(--secondary);
}

.brochure-btn {
    margin-top: 30px;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}
.custom-thumb{
    width: 100%;
    height: 435px;
    object-fit: cover;
}
@media(max-width: 992px){
    .info-box:nth-child(2), .info-box:nth-child(4){
        display: none;
    }
}

/* ================= MAIN ================= */

.course-main {
    padding: 90px 0;
    background: #ffffff;
}
.open-enquiry{
    border: none;
    font-size: 1em;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.course-description {
    font-size: 16px;
    line-height: 1.8;
}

/* ================= SIDEBAR ================= */

.price-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 170px;
}
.price-section{
    text-align: center;
    border-bottom: solid 1px #eee;
    padding-bottom: 20px;
}

.price-top {
    margin-bottom: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color:var(--secondary);
}

.old-price {
    text-decoration: line-through;
    margin-left: 10px;
    opacity: 0.5;
}

.course-meta {
    margin-top: 25px;
}

.course-meta li {
    margin-bottom: 12px;
}

.course-faq h3{
    padding: 10px;
    text-align: center;
}

.course-faq .faq-subheading{
    text-align: center;
    color: var(--text-light);
}
/* ================= PREMIUM ACCORDION ================= */

.accordion-item {
    background: #f5f6fb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e6e8f0;
}

.accordion-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #eef0f7;
}

/* Icon */

.accordion-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

/* Body */

.accordion-body {
    background: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.accordion-body ul {
    padding: 15px 0 15px 20px;
}

.accordion-body li {
    margin-bottom: 8px;
    font-size: 14px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-body {
    padding: 0 20px 15px;
}
/* ================= CATEGORY + SHARE ================= */

.course-meta-bar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:20px 0 30px;
    flex-wrap:wrap;
}

.course-cat {
    background: var(--secondary);
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    margin-right:10px;
}

.course-share a {
    margin-left:10px;
    font-size:14px;
    color:var(--primary);
    font-weight:500;
}

.course-share a:hover {
    color:var(--secondary);
}

.sidebar-box {
    background:#fff;
    padding:20px;
    border-radius:8px;
    margin-top:20px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-box h4 {
    margin-bottom:10px;
}

.course-instructors {
    margin-top:50px;
}

.instructor-item {
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.instructor-item img {
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.related-courses {
    background:#f8f9fc;
    padding:80px 0;
    margin-bottom: 80px;
}

/* ================= MODAL ================= */

.enquiry-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.enquiry-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 500px;
    position: relative;
    z-index: 99999;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 22px;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px){
    .course-layout {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }
}
/* ================= ARCHIVE HERO ================= */

.course-archive-hero {
    background: var(--primary);
    color: #fff;
    padding: 130px 0 70px;
    text-align: center;
}

.course-archive-hero h1 {
    font-size: 38px;
    font-weight: 600;
}

.course-archive-hero .breadcrumb {
    margin-top: 10px;
    opacity: 0.8;
}

/* ================= ARCHIVE SECTION ================= */

.course-archive {
    padding: 90px 0 180px;
    background: #f8f9fc;
}

.archive-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.archive-sort select {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* ================= COURSE GRID ================= */

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

/* ================= BIGGER CARD ================= */

.course-card-lg {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

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

.course-card-lg a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-thumb {
    position: relative;
}

.course-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
}

.course-content {
    padding: 20px;
}

.course-meta-top {
    font-size: 13px;
    opacity: 0.6;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.course-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.course-bottom {
    display: flex;
    justify-content: flex-end;
}

.view-course {
    font-weight: 600;
    color: var(--secondary);
}

/* ================= RESPONSIVE ================= */

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

@media(max-width: 600px){
    .course-grid {
        grid-template-columns: 1fr;
    }
}

/* HERO */
.about-hero {
    background: var(--primary);
    color: #fff;
    padding: 130px 0 80px;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 10px;
}

/* WHO WE ARE */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: auto;
}
/* .aboutus-content{
    max-width: 500px;
    margin: auto;
} */

.section-subtitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* SPLIT */
.about-split {
    background: #f8f9fc;
    padding: 100px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.split-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* COUNTER */
.about-counter {
    background: var(--primary);
    color: #fff;
    padding: 70px 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-box h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* RESPONSIVE */

@media (max-width: 992px) {

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .aboutus-content p{
        text-align: left;
    }

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

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .about-section,
    .about-split {
        padding: 70px 0;
    }

    .split-box {
        padding: 30px 20px;
    }

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

    .counter-box h3 {
        font-size: 28px;
    }
}
/* ================= FOCUS SECTION ================= */

.focus-section {
    padding: 100px 0;
    margin-bottom: 80px;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT CONTENT */
.focus-left h2 {
    margin: 10px 0 20px;
}

.focus-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.focus-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 16px;
}

.focus-list span {
    background: var(--secondary);
    color: #fff;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* RIGHT IMAGE */
.focus-right {
    display: flex;
    justify-content: center;
}

.focus-right img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ================= TABLET ================= */

@media (max-width: 992px) {

    .focus-section {
        padding: 80px 0;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .focus-list li {
        justify-content: left;
    }

    .focus-list span {
        margin-right: 10px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .focus-section {
        padding: 70px 0;
    }

    .focus-list li {
        font-size: 15px;
    }

    .focus-list span {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
    }

    .focus-right img {
        max-width: 320px;
        border-radius: 16px;
    }
}

/* ================= CONTACT PAGE ================= */

.contact-hero {
    background: var(--primary);
    color: #fff;
    padding: 140px 0 70px;
    text-align: center;
}

.contact-section {
    padding: 100px 0;
    background: #f8f9fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 25px;
    color: #666;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* Fluent Form styling override */
.contact-form input,
.contact-form textarea {
    border-radius: 6px !important;
    border: 1px solid #d1d5db !important;
}

.contact-form .ff-btn-submit {
    background: var(--secondary) !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= BLOG PAGE ================= */

.blog-hero {
    background: var(--primary);
    color: #fff;
    padding: 140px 0 70px;
    text-align: center;
}

.blog-section {
    padding: 100px 0 180px;
    background: #f8f9fc;
}

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

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: #777;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-content h3 a {
    text-decoration: none;
    color: var(--primary);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .page-numbers {
    margin: 0 5px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.blog-pagination .current {
    background: var(--secondary);
    color: #fff;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= BLOG DETAIL ================= */

.blog-detail-hero {
    background: var(--primary);
    color: #fff;
    padding: 140px 0 70px;
    text-align: center;
}

.blog-detail-section {
    padding: 100px 0;
    background: #f8f9fc;
}

.blog-detail-container {
    max-width: 900px;
    margin: auto;
}

.blog-detail-thumbnail img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 30px;
}

.blog-detail-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.blog-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    margin-top: 40px;
}

.blog-detail-share {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-detail-share a {
    margin-left: 10px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

/* RELATED */
.related-posts {
    padding: 80px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.related-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.related-card h4 {
    font-size: 16px;
    color: var(--primary);
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= COMMENTS ================= */

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 25px;
}

.comment-body {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.comment-respond input,
.comment-respond textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.comment-respond .submit {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
}

/* ================= ABOUT COURSE ================= */

.course-about {
    margin-bottom: 50px;
}

.course-about h3 {
    margin-bottom: 15px;
}

/* Content Base */
.about-content {
    position: relative;
    overflow: hidden;
    line-height: 24px; /* DO NOT use normal */
    transition: max-height 0.4s ease;
}

/* 10 lines */
.about-content.collapsed {
    max-height: 240px; /* 24px × 10 lines */
}


/* Gradient fade */
.about-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Expanded */
.about-content.expanded {
    max-height: 2000px; /* large enough */
}

.about-content.expanded::after {
    display: none;
}

/* Button */
.show-more-btn {
    margin-top: 15px;
    background: none;
    border: none;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.show-more-btn span {
    font-size: 18px;
    margin-right: 5px;
}

/* ================= WHAT YOU WILL LEARN ================= */

.course-learn {
    margin-bottom: 50px;
}

.learn-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
    margin-top: 20px;
}

.learn-list li {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
}

.learn-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 18px;
}
.sidebar-box ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-box li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
}

.sidebar-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-size: 18px;
}
@media (max-width: 768px) {
    .learn-list  {
        grid-template-columns: 1fr;
    }
}
/* ======================================
   LIVE COURSE ANNOUNCEMENT BAR
====================================== */

.mechlar-live-bar {
    background: linear-gradient(90deg, var(--primary), #1e293b);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.live-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.live-bar-text {
    font-weight: 500;
}

.live-bar-text strong {
    font-weight: 700;
}

.live-separator {
    margin: 0 8px;
    opacity: 0.6;
}

.live-bar-buttons {
    display: flex;
    gap: 10px;
}

.btn-register {
    background: var(--secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-register:hover {
    background: var(--secondary);
    opacity: 0.8;
}

.btn-view {
    background: transparent;
    border: 1px solid #ffffff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-view:hover {
    background: rgba(255,255,255,0.1);
}

.live-bar-close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
}

.live-bar-close:hover {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {

    .live-bar-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .live-bar-buttons {
        justify-content: center;
        margin-top: 8px;
    }
}
body.has-live-bar .site-header {
    top: 50px; /* height of announcement bar */
}
body.has-live-bar {
    padding-top: 120px; /* 50px bar + 70px header */
}
body.has-live-bar .course-info-strip{
    top: 130px;
}
body.has-live-bar .price-box{
    top: 220px;
}
body:not(.has-live-bar) {
    padding-top: 80px; /* normal header height */
}
body:not(.has-live-bar)  .course-info-strip{
    top: 80px; /* normal header height */
}
body:not(.has-live-bar)  .price-box{
    top: 170px; /* normal header height */
}

/* Hide Live Announcement Bar on Mobile */

@media (max-width: 768px) {
    .mechlar-live-bar {
        display: none !important;
    }

    body.has-live-bar {
        padding-top: 80px !important; /* Reset to normal header height */
    }

    body.has-live-bar .site-header {
        top: 0 !important;
    }
    .course-info-strip{
        text-align: center;
         top: 80px !important;
}
}

/* ======================================
   SCROLL POPUP
====================================== */

.mechlar-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.mechlar-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mechlar-popup {
    top: 15px;
    width: 80%;
    max-width: 1000px;
    background: #fff;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: 0.4s ease;
}

.mechlar-popup-overlay.active .mechlar-popup {
    transform: scale(1);
}

/* LEFT */

.popup-left {
    background: var(--primary);
    color: #fff;
    padding: 50px;
}

.popup-badge {
    font-size: 13px;
    color: var(--bg-light);
    font-weight: 600;
}

.popup-left h2 {
    margin: 15px 0;
}

.popup-left ul {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
}

.popup-left li {
    margin-bottom: 12px;
    font-size: 14px;
}

/* RIGHT */

.popup-right {
    padding: 50px;
    background: #ffffff;
}

.popup-right h4 {
   position: relative;
text-align: center;
margin-bottom: 20px;
font-weight: bold;
letter-spacing: 2px;
font-size: 1.4em;
color: var(--secondary);
}

/* CLOSE */

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .mechlar-popup {
        grid-template-columns: 1fr;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup-left,
    .popup-right {
        padding: 30px;
    }

    .popup-close {
        color: #000;
    }
}

.learn-list, .accordion-body ul {
    list-style: none;
    padding-left: 0;
}

.learn-list li, .accordion-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.learn-list li::before, .accordion-body ul li::before {
    content: "\f02d"; /* Font Awesome book icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 16px;
}
.home-faq{
    padding-top:60px ;
}
.home-faq h3{
    padding:10px ;
    font-size: 32px;
}
.home-faq .faq-subheading{
    margin-bottom: 40px;
}
.course-faq-container{
    padding: 60px 0px;
    background: #fff;
}
.related-courses {
    padding: 60px 0px;
}
.related-courses h3{
    padding-top: 10px;
    text-align: center;
}
.related-courses p{
    text-align: center;
    color: var(--text-light);
    padding-bottom: 10px;
}
.instructor-roles {
    margin-top: 5px;
    padding-left: 18px;
}

.instructor-roles li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 3px;
}

/* ================= LEVEL UP SECTION ================= */

.levelup-section {
    padding: 100px 0;
    background: #ffffff;
}

.levelup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-top: 60px;
}

.levelup-item {
    position: relative;
    padding: 70px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background: #f3f4f9;
    border-radius: 12px;
}

.levelup-number {
    position: absolute;
    left: 2%;
    top: 25%;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.levelup-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
}

.levelup-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}
.levelup-number.pink{
    background-color: #ff69b4;
}
.levelup-number.green{
    background-color: #32cd32;
}
.levelup-number.blue{
    background-color: #4169e1;
}
.levelup-number.red{
    background-color: #ff4c4c;
}


/* Responsive */

@media (max-width: 768px) {
    .levelup-grid {
        grid-template-columns: 1fr;
    }
}

.btn-secondary{
    background: var(--secondary);
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.3s;
    border: none;
}
.download-btn{
    background-color: #fff;
    color: var(--primary);
    padding: 6px 10px;
}

.brochure-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.brochure-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 500px;
    position: relative;
}

.brochure-content h3
{text-align: center;
color: var(--primary);
margin-bottom: 30px;
border-bottom: solid 2px var(--secondary);}

.close-brochure {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 22px;
}
.btn-brochure{
    border: none; 
    font-size: 1em;
    cursor: pointer;
}
.info-box p em {
    font-size: 0.8em;
    color: #ccc;
}
.current-price em{
    font-size: 0.5em;
    color: var(--text-light);
    margin-left: 2px;
}
@media(max-width: 768px) {
    .custom-thumb{
        height: unset;
    }
    .enquiry-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    position: relative;
    z-index: 99999;
    font-size: 0.7em;
    }
    .brochure-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    position: relative;
    font-size: 0.7em;
    }
}
@media(max-width: 496px){
    .info-box span{
        font-size: 12px;
    }
    .info-box p{
        font-size: 0.6em;
    }
    .btn-container button{
        font-size: 0.8em;
        padding: 12px 5px;
        align-items: center;
        margin-left: 2px;
    }
    .btn-brochure{
        margin-top: 10px;
        font-size: 1em;
    }
    .open-enquiry{
        font-size: 1em;
    }
}