.header-left {
    background: none;
}

/* ===========================
   Global Reset
=========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Header (Responsive)
=========================== */
#myHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container {
    justify-content: flex-start;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 10%;
}

/* Logo */
.header-left {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 60px;
    width: 200px;
    margin-right: 50px;
    flex-shrink: 0;
}

/* Desktop Nav */
.header-right-ff {
    flex: 1;
}

.header-right-ff nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.header-right-ff nav ul li {
    display: inline-block;
}

.header-right-ff nav ul li a {
    text-decoration: none;
    color: #2988d6;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
}

.header-right-ff nav ul li a:hover {
    color: #1a5f8a;
}

.header-right-ff nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2988d6;
    transition: width 0.3s ease;
}

.header-right-ff nav ul li a:hover::after {
    width: 100%;
}

/* Hide duplicate old nav */
.header-right-ff .navbar {
    display: none;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    border: none;
    background: none;
    margin-left: auto;
}

/* ===========================
   Mobile Menu Drawer
=========================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 60px 20px;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease-in-out;
    z-index: 1200;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 15px 0;
}

.mobile-menu ul li a {
    color: #2988d6;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.mobile-menu.active {
    right: 0;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1100;
}

.menu-overlay.active {
    display: block;
}

/* ===========================
   Banner
=========================== */
.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Courses Section
=========================== */
.course-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.2s;
}

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

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

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

/* ===========================
   Typography
=========================== */
h1,
h2,
h3,
h4 {
    line-height: 1.3;
}

@media (max-width: 767px) {

    h1,
    h2 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 0.95rem !important;
    }
}

/* ===========================
   Footer
=========================== */
.footer {
    background: #222;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer .col {
    width: 23%;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .footer .col {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .footer {
        text-align: center;
    }

    .footer .col {
        width: 100%;
    }
}

/* ===========================
   Mobile Overrides
=========================== */
@media (max-width: 767px) {
    .logoCustom {
        margin-top: 0 !important;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .header-left {
        margin-right: 0;
        width: 150px;
        height: 50px;
    }

    .header-right-ff nav {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .header-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-left {
        width: 120px;
        height: 40px;
    }

    .header-container {
        padding: 8px 10px;
    }
}.hero-section {
    padding: 60px 0;
    background-color: #fff;
}

.hero-section .container{max-width:1200px}

/* Left Column */
.hero-text {
    min-width: 300px;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.hero-text p {
    margin-top: 12px;
    font-size: 1.05rem;
    color: #555;
}

.hero-text .highlight {
    font-weight: bold;
    color: #000;
    font-size: 1.05rem;
    margin-top: 20px;
    display: inline-block;
    position: relative;
}

.hero-text .highlight::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: orange;
    bottom: -5px;
    left: 0;
}

.hero-text .btn-orange {
    display: inline-block;
    margin-top: 25px;
    border-radius: 6px;
    transition: background 0.3s;
}

.hero-image { text-align:center }
.hero-image img { max-width:320px; border-radius:50% }

/* Courses grid adjustments */
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1100px;margin:0 auto}
@media (max-width:1024px){.course-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.course-grid{grid-template-columns:1fr}}

/* Testimonial thumbs grid and consistent aspect */
.testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;align-items:start}
.testimonial-grid .video-thumb{border:8px solid #ffd54a;padding:6px;background:#fff;border-radius:6px;overflow:hidden;display:block;aspect-ratio:9/16;min-height:220px;box-sizing:border-box}
.testimonial-grid .video-thumb img,
.testimonial-grid .video-thumb video{display:block;width:100%;height:100%;object-fit:cover}

/* Founder and about tweaks */
.founder-card{padding:24px;border-radius:12px}
.founder-img{width:180px;height:180px;border-radius:50%;object-fit:cover;border:6px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,0.12)}

/* Updated founder layout: two-column card + photo card */
.founder-wrap{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:center;margin:0 auto}
.founder-left{min-width:0}
.founder-right{min-width:0}
.founder-text-card{padding:36px;text-align:left;min-height:340px;display:flex;flex-direction:column;justify-content:center}
.founder-text-card .tittle{color:#7bcf00;font-size:36px;margin-bottom:12px;text-align:left;white-space:normal}
.founder-desc{max-width:760px;margin:0;color:#333;line-height:1.7}
.founder-photo-card{border-radius:10px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px}
.founder-photo-wrap{width:320px;height:320px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#1f6ad6,#0b5bff);padding:12px;box-sizing:border-box}
.founder-photo-wrap .founder-img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:6px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,0.12)}
.founder-name{margin-top:16px;font-size:18px;text-align:center}
.founder-name .small{color:#666;margin-top:4px}
/* Teachers grid & circular images */
.teacher-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start}
.teacher-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,0.04);text-align:center}
.teacher-photo-wrap{width:140px;height:140px;border-radius:50%;overflow:hidden;margin:0 auto 12px;background:linear-gradient(180deg,#1f6ad6,#0b5bff);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,0.08);border:6px solid #fff}
.teacher-photo-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.teacher-card h2{font-size:18px;margin:8px 0 6px}
.teacher-description{color:#666;font-size:14px;line-height:1.4}

/* Responsive teacher grid */
@media (max-width: 1024px){.teacher-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 480px){.teacher-cards{grid-template-columns:1fr}.teacher-photo-wrap{width:100px;height:100px;border-width:4px}} 
@media (max-width: 1199px){
    .founder-wrap{grid-template-columns:1fr 300px}
    .founder-photo-wrap{width:260px;height:260px}
}

@media (max-width: 991px){
    .founder-wrap{grid-template-columns:1fr;gap:20px}
    .founder-photo-wrap{width:220px;height:220px;margin:0 auto}
    .founder-text-card{min-height:auto;padding:24px;text-align:center}
    .founder-text-card .tittle{text-align:center}
}


.about-block{background:#0b5bff;color:#fff}
.about-block .about-card{max-width:900px;margin:0 auto;padding:36px;border-radius:10px}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px;max-width:1200px;margin:18px auto 0}
.gallery-item{border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,0.06);cursor:pointer}
.gallery-item img{display:block;width:100%;height:220px;object-fit:cover;transition:transform .25s ease}
.gallery-item:hover img{transform:scale(1.03)}
@media (max-width:1024px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-item img{height:200px}}
@media (max-width:768px){.founder-img{width:120px;height:120px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-item img{height:160px}}
@media (max-width:480px){.gallery-grid{grid-template-columns:1fr}.gallery-item img{height:160px}}

/* Lightbox / modal for gallery images */
.lightbox-overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.85);z-index:9999;padding:24px}
.lightbox-overlay.open{display:flex}
.lightbox-content{position:relative;max-width:1400px;width:100%;max-height:95vh;display:flex;flex-direction:column;align-items:center;gap:16px;padding:16px}
.lightbox-main{width:100%;flex:1 1 auto;display:flex;align-items:center;justify-content:center;max-height:calc(100vh - 80px);overflow:hidden}
.lightbox-main img{max-width:46%;max-height:100%;height:auto;display:block;border-radius:6px;object-fit:contain}
.lightbox-close{position:absolute;right:12px;top:12px;background:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:22px;line-height:40px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.2)}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);background:transparent;border:1px solid rgba(255,255,255,0.6);border-radius:50%;width:36px;height:36px;font-size:18px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none;z-index:2}
.lightbox-prev{left:8px}
.lightbox-next{right:8px}
.lightbox-counter{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);background:rgba(0,0,0,0.5);color:#fff;padding:6px 10px;border-radius:12px;font-size:13px}
@media (max-width: 768px){.lightbox-main{max-height:calc(100vh - 60px)}}
@media (max-width: 480px){.lightbox-main{max-height:calc(100vh - 40px)}}

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 36px 0 }
    .hero-text { padding-right: 0; text-align:center }
    .course-grid{grid-template-columns:1fr}
    .testimonial-grid{grid-template-columns:repeat(2,1fr)}
    .testimonial-grid .video-thumb{min-height:200px;aspect-ratio:9/16}
    .gallery-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 480px) {
    .testimonial-grid{grid-template-columns:1fr}
    .testimonial-grid .video-thumb{min-height:260px}
}

/* Ensure grid items behave predictably */
.course-grid .course-item{display:block}


.course-card {
    background: rgb(255, 250, 245);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

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

.content .mt-auto.pt-2>img {
    width: 80%;
}

.course-card>img:first-child {
    width: 60%;
    height: 120px;
    object-fit: contain;
    margin: 16px auto;
}

.course-card .content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-card .content h5 { text-align: center; margin-bottom: 12px; }
.course-card .content h3 { text-align: center; }

.course-card .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.course-card .meta-item i {
    margin-right: 8px;
    color: #ff7a18;
}

.course-card button,
.btn-explore {
    display: block;
    background: linear-gradient(to right, #ff7a18, #ffb347);
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.course-card button:hover,
.btn-explore:hover {
    opacity: 0.9;
}

/* Founder, About, Gallery styles */
.founder-section .founder-card{border-radius:12px;background:#fff}
.founder-img{width:160px;height:160px;border-radius:50%;object-fit:cover;border:6px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,0.12)}
.about-block{background:#0b5bff;color:#fff}
.about-block .about-card{max-width:900px;margin:0 auto}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px;max-width:1200px;margin-left:auto;margin-right:auto}
.gallery-item{border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,0.06)}
.gallery-item img{display:block;width:100%;height:220px;object-fit:cover}
@media (max-width:1024px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-item img{height:200px}}
@media (max-width:768px){.founder-img{width:120px;height:120px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-item img{height:160px}}
@media (max-width:480px){.gallery-grid{grid-template-columns:1fr}.gallery-item img{height:160px}}

