/* WhatsApp Floating Button */
.whatsapp-float{
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:3000;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

/* Move to Top Button */
#moveToTopBtn{
    display:none;
    position:fixed;
    bottom:35px;
    right:30px;
    width:50px;
    height:50px;
    background:#222;
    color:#fff;
    border:none;
    border-radius:50%;
    font-size:20px;
    cursor:pointer;
    z-index:3001;
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
    transition:background 0.2s;
}
#moveToTopBtn.show{
    display:block;
}
/* Mobile layout */
@media (max-width:600px){
    /* Ensure buttons appear above the menu overlay */
    .menu-overlay {
        z-index: 2000 !important;
    }
    
    .whatsapp-float{
        bottom:18px !important;
        right:18px !important;
        width:46px !important;
        height:46px !important;
        font-size:24px !important;
        z-index: 99999 !important;
    }

    #moveToTopBtn{
        bottom:75px !important;   /* above whatsapp */
        right:18px !important;
        width:42px !important;
        height:42px !important;
        font-size:16px !important;
        z-index: 99999 !important;
    }

}
@media (max-width: 600px) {
    .menu-overlay-list .submenu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: unset !important;
        width: 90vw !important;
        min-width: unset !important;
        max-width: 95vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin-top: 0 !important;
        padding: 8px 8px 16px 8px !important;
        font-size: 1em !important;
        border-radius: 0 !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        z-index: 3000;
        overflow-y: auto;
    }
    .menu-overlay-list .submenu li a {
        font-size: 0.98em !important;
        padding: 0.45em 0.7em !important;
        min-height: 36px !important;
        line-height: 1.2 !important;
    }
    .submenu-close {
        font-size: 1.5em !important;
        right: 10px !important;
        top: 6px !important;
    }
}
.about-content{
    position: relative;
}

.about-background-text{
    position: absolute;
    right: -300px;          /* move to right side */
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 300;
    color: #efefef;
    letter-spacing: 8px;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.menu-overlay-list .submenu,
.menu-overlay-list .submenu .submenu-close {
    display: none;
}
.menu-overlay-list .has-submenu.active > .submenu,
.menu-overlay-list .has-submenu.active > .submenu .submenu-close {
    display: block;
}
/* ===== CSS VARIABLES ===== */
:root {
    --bg: #ffffff;
    --text: #0f0f0f;
    --muted: #6f6f6f;
    --line: #e7e7e7;
    --dark: #121212;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 76px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== LAYOUT ===== */
.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topbar-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.logo span {
    font-weight: 300;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.topbar .logo {
    margin-left: 0;
}

/* Desktop Menu */
.menu {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu a {
    color: var(--text);
    transition: color 0.2s;
    padding: 5px 0;
}

.menu a:hover {
    color: var(--muted);
}

.menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 0;
}

/* Buttons */
.icon-btn {
    border: 0;
    background: transparent;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
}

.icon-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hamburger Menu */
.hamburger-icon {
    width: 22px;
    height: 18px;
    display: inline-grid;
    align-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background: #111;
    width: 100%;
    transition: all 0.3s ease;
}

/* Hide hamburger on desktop */
@media (min-width: 761px) {
    .topbar-controls {
        display: none;
    }
}

.hamburger-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Desktop Submenu */
.submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 240px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    z-index: 1001;
}

.submenu li a {
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #333;
}

.submenu li a:hover {
    background: #f7f7f7;
    color: #000;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, 0.98);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-inner {
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 40px;
    overflow-y: auto;
}

.menu-overlay-list {
    list-style: none;
    display: grid;
    gap: 20px;
    text-align: center;
}

.menu-overlay-list a {
    font-size: clamp(12px, 5vw, 32px);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #fff;
}

.menu-overlay-close {
    position: absolute;
    top: 24px;
    right: 32px;
    border: 0;
    background: transparent;
    color: #fff;
    width: 40px;
    height: 40px;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

/* Mobile Submenu */
.menu-overlay-list .has-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-overlay-list .has-submenu > a {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.menu-overlay-list .submenu-toggle {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-overlay-list .submenu-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.menu-overlay-list .has-submenu.active .submenu-toggle {
    transform: rotate(180deg);
}
.menu-overlay-list .submenu{
    position: fixed;
    top:0;
    right:-350px;
    width:320px;
    height:100vh;
    background:#111;
    padding:80px 30px;
    transition:right .35s ease;
}

.menu-overlay-list .has-submenu.active .submenu{
    right:0;
}
.menu-overlay-list .submenu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    padding: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.menu-overlay-list .has-submenu.active .submenu {
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
    overflow: visible;
}

.menu-overlay-list .submenu li a {
    font-size: 18px;
    color: #cfcfcf;
    text-transform: none;
    letter-spacing: 0.5px;
}

.menu-overlay-list .submenu li a:hover {
    color: #b7a2a2;
}
.submenu-close {
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    margin-bottom: 30px;
}
/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero .container {
    width: min(1640px, 96%);
}

.left-sidebar {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    z-index: 100;
}

.sidebar-text {
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4b4b4b;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: block;
    font-weight: 600;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: end;
    min-height: calc(100vh - 76px);
    padding: 0 80px 0 100px;
    background:
        linear-gradient(90deg, rgba(223, 222, 222, 0.92) 15%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.2) 85%),
        url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-content {
    max-width: 580px;
    padding: 40px 0;
}

.kicker {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.98;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-content h1 {
    color: #000;
}

.hero-content p {
    color: #4d4d4d;
    max-width: 560px;
    margin-bottom: 32px;
}

/* ===== COMPONENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: #fff;
    padding: 13px 24px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.2s;
}

.btn:hover {
    background: #2f2f2f;
}

.social-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.social-rail a {
    font-size: 25px;
    color: #4b4b4b;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.2s;
}

.social-rail a:hover {
    color: #000;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 42px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 0;
}

.about-image-container {
    position: relative;
    background: #f8f8f8;
    padding: 60px 40px;
    border-radius: 8px;
}

.about-image {
    background: #fff;
    border: 12px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    margin-bottom: 40px;
}

.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.about-content {
    padding-left: 20px;
    position: relative;
}

.about-background-text {
    position: absolute;
    top: 50%;
    right: -350px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 300;
    color: #f0f0f0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: 8px;
}

.about-content .section-title {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 600;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

.about-content p {
    color: #6b6b6b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid var(--line);
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #4e4e4e;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.chip:hover {
    background: #f5f5f5;
    border-color: var(--dark);
}

.chip.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.work {
    background: #fff;
    border: 1px solid #efefef;
    transition: opacity 0.3s, transform 0.3s;
}

.work.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.work img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.work-meta {
    padding: 16px 18px 20px;
}

.work-meta h3 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 600;
}

.work-meta p {
    color: var(--muted);
    font-size: 13px;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.course-card a {
    display: block;
    height: 100%;
}

.course-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.course-card:hover img {
    transform: scale(1.05);
}

.course-content {
    padding: 18px;
}

.course-content h3 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 600;
}

.course-content p {
    color: var(--muted);
    font-size: 13px;
}

/* Testimonials Section */
.testimonials {
    background: #f7f7f7;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quote {
    background: #fff;
    border: 1px solid #ececec;
    padding: 26px;
}

.quote p {
    color: #4f4f4f;
    margin-bottom: 18px;
    font-size: 14px;
}

.quote h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.quote span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.contact-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 22px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-card p,
.contact-card li {
    color: #515151;
    font-size: 14px;
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

footer .logo img {
    height: 44px;
    width: auto;
    display: block;
}

footer .logo {
    display: inline-flex;
    margin: 0 auto;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 24px;
}

.footer-nav a {
    color: #d4d4d4;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fff;
}

.copyright {
    color: #9b9b9b;
    font-size: 13px;
}

/* ===== COURSE PAGE STYLES ===== */
.hero-card {
    background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
    padding: 80px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 80px;
    min-height: calc(100vh - 76px);
}

.hero-card > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
}

h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: #111;
    font-weight: 700;
}

p, li {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

ul {
    padding-left: 24px;
}

.card {
    background: #fff;
    border-radius: 5px;
    padding: 35px 40px;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 5px solid #333;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.card h2::before {
    content: '📚 ';
    margin-right: 8px;
}

.card:nth-child(2) h2::before {
    content: '✨ ';
}

.card:nth-child(3) h2::before {
    content: '🎯 ';
}

.card:nth-child(4) h2::before {
    content: '📞 ';
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .topbar-inner {
        padding: 0 80px;
    }
}

/* ===== TABLET STYLES (1024px and below) ===== */
@media (max-width: 1024px) {
    .topbar-inner {
        padding: 0 25px;
    }

    .works,
    .quote-grid,
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        padding: 80px 0;
    }

    .about-content {
        padding-left: 0;
        text-align: center;
    }

    .about-background-text {
        display: none;
    }

    .about-image {
        transform: rotate(0deg);
        margin: 0 auto 20px;
        max-width: 400px;
    }

    .about-image-container {
        padding: 40px 20px;
        text-align: center;
    }

    .menu {
        gap: 14px;
        font-size: 12px;
    }

    .hero-grid {
        padding: 0 36px;
    }
}

/* ===== MOBILE STYLES (760px and below) ===== */
@media (max-width: 760px) {
    /* Header */
    .topbar-inner {
        padding: 0 15px;
    }

    .menu {
        display: none;
    }

    .topbar-right {
        gap: 10px;
    }

    .topbar-controls {
        display: flex !important;
        gap: 8px;
        margin-right: 0;
    }

    .topbar .logo {
        margin-left: 0;
    }

    .topbar .logo img {
        height: 45px;
    }

    .menu-overlay-close {
        top: 16px;
        right: 16px;
    }

    .menu-overlay-list {
        gap: 20px;
    }

    .menu-overlay-list a {
        font-size: clamp(18px, 5vw, 26px);
    }

    .menu-overlay-list .submenu li a {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 10px 14px 0;
    }

    .hero-content {
        padding: 10px 0 16px;
    }

    h1 {
        font-size: clamp(32px, 8vw, 48px);
    }

    .left-sidebar {
        display: none;
    }

    /* Social Rail */
    .social-rail {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        margin-bottom: 8px;
    }

    .social-rail a {
        writing-mode: horizontal-tb;
        transform: none;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .works,
    .quote-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* About Section */
    .about-grid {
        padding: 30px 0;
    }

    .about-image-container {
        padding: 30px 15px;
    }

    .about-content .section-title {
        font-size: clamp(20px, 6vw, 26px);
        margin-bottom: 20px;
        text-align: center;
    }

    .about-content p {
        font-size: 14px;
        text-align: center;
    }

    /* Footer */
    footer {
        padding: 50px 0;
        text-align: left;
    }

    footer .portfolio-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    footer .portfolio-head > div {
        width: 100%;
    }

    footer .logo {
        margin: 0;
    }

    footer h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    footer p {
        font-size: 14px;
    }

    .copyright {
        text-align: center;
        margin-top: 10px;
    }

    /* Mobile Menu Overlay */
    .menu-overlay-close {
        top: 16px;
        right: 16px;
    }

    .menu-overlay-list {
        gap: 15px;
    }

    .menu-overlay-list a {
        font-size: clamp(18px, 5vw, 26px);
    }

    .menu-overlay-list .submenu li a {
        font-size: 14px;
    }

    /* Course Pages */
    .hero-card {
        padding: 50px 16px;
    }

    .hero-card h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-card > p {
        font-size: 15px;
    }

    .wrap {
        padding: 40px 16px 50px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .card {
        padding: 25px 20px;
        margin-top: 18px;
    }

    p, li {
        font-size: 14px;
    }

    .footer-content {
        padding: 0 20px;
    }
}

/* ===== SMALL MOBILE STYLES (480px and below) ===== */
@media (max-width: 480px) {
    body {
        padding-top: 76px;
    }

    .hero-grid {
        padding: 0 10px;
    }

    .hero-content {
        padding: 8px 0 12px;
    }

    h1 {
        font-size: clamp(28px, 7vw, 36px);
    }

    .hero-content p {
        font-size: 14px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 30px);
    }

    .quote {
        padding: 20px;
    }

    .contact-card {
        padding: 18px;
    }

    /* Course Pages */
    .hero-card {
        padding: 40px 12px;
    }

    .hero-card h1 {
        font-size: 24px;
    }

    .wrap {
        padding: 30px 12px 40px;
    }

    .card {
        padding: 20px 16px;
    }

    h2 {
        font-size: 18px;
    }
}


        /* Course Page Styles */
        .hero-card {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 80px 30px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            text-align: center;
            width: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 30px 80px;
            min-height: calc(100vh - 76px);
        }

        h1 {
            font-size: 48px;
            margin: 0 0 15px 0;
            color: #fff;
            font-weight: 700;
            line-height: 1.2;
        }

        .hero-card > p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 18px;
            line-height: 1.7;
        }

        h2 {
            font-size: 24px;
            margin-bottom: 18px;
            color: #111;
            font-weight: 700;
        }

        p, li {
            color: #555;
            line-height: 1.8;
            font-size: 15px;
        }

        ul {
            padding-left: 24px;
        }

        .card {
            background: #fff;
            border-radius: 5px;
            padding: 35px 40px;
            margin-top: 25px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            border-left: 5px solid #333;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        }

        .card h2::before {
            content: '📚 ';
            margin-right: 8px;
        }

        .card:nth-child(2) h2::before {
            content: '✨ ';
        }

        .card:nth-child(3) h2::before {
            content: '🎯 ';
        }

        .card:nth-child(4) h2::before {
            content: '📞 ';
        }

        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .portfolio-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 34px;
        }

        footer h3 {
            color: #fff;
        }

        footer p {
            color: #d4d4d4;
        }

        footer a {
            color: #d4d4d4;
        }

        footer a:hover {
            color: #fff;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
        }

        /* Hamburger Animation */
        .hamburger-icon span {
            transition: all 0.3s ease;
        }

        .hamburger-icon.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-icon.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-icon.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* ===== Comprehensive Mobile Styles ===== */
        @media (max-width: 760px) {
            .topbar .logo {
                margin-left: 0;
            }

            .topbar .logo img {
                height: 50px;
            }

            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
                margin-right: 0;
            }

            /* Hero */
            .hero-card {
                padding: 50px 16px;
            }

            h1 {
                font-size: 28px;
                margin-bottom: 12px;
            }

            .hero-card > p {
                font-size: 15px;
            }

            /* Content */
            .wrap {
                padding: 40px 16px 50px;
            }

            h2 {
                font-size: 20px;
                margin-bottom: 14px;
            }

            .card {
                padding: 25px 20px;
                margin-top: 18px;
            }

            p, li {
                font-size: 14px;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            .footer-content {
                padding: 0 20px;
            }

            .portfolio-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
            }

            .portfolio-head > div {
                width: 100%;
            }

            footer .logo {
                margin: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }

            /* Overlay adjustments */
            .menu-overlay-close {
                top: 16px;
                right: 16px;
            }

            .menu-overlay-list {
                gap: 20px;
            }

            .menu-overlay-list a {
                font-size: clamp(18px, 5vw, 26px);
            }

            .menu-overlay-list .submenu li a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-top: 76px;
            }

            h1 {
                font-size: 24px;
            }

            .hero-card {
                padding: 40px 12px;
            }

            .wrap {
                padding: 30px 12px 40px;
            }

            .card {
                padding: 20px 16px;
            }

            h2 {
                font-size: 18px;
            }
        }

/* Home About: keep background text on right without overlapping content */
#about .about-content {
    position: relative;
}

#about .about-background-text {
    top: 50%;
    right: -340px;
    left: auto;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 0;
}

#about .about-content .section-title,
#about .about-content p,
#about .about-content ul,
#about .about-content li {
    position: relative;
    z-index: 2;
}

/* Home page spacing: reduce gap between About and Learning Programs */
#about {
    padding-bottom: 28px;
}

#about .about-grid {
    margin-bottom: 0;
}

#works {
    padding-top: 36px;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 95px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: #fff;
}

@media (max-width: 760px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 760px) {
    .menu-overlay-inner {
        justify-content: flex-start;
        padding: 52px 16px 24px;
    }

    .menu-overlay-list {
        gap: 10px;
    }
}
        
        @media (max-width: 760px) {
            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
            }

            .topbar .logo {
                margin-left: 0;
            }

            .topbar-controls {
                margin-right: 0;
            }
        }

        /* Page Hero */
        .page-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 60px 20px;
            text-align: center;
            color: #fff;
        }

        .page-hero h1 {
            font-size: clamp(36px, 6vw, 64px);
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: 1px;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: rgba(255,255,255,0.85);
        }

        .breadcrumb a {
            color: #fff;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .breadcrumb a:hover {
            opacity: 0.8;
        }

        .breadcrumb span {
            color: rgba(255,255,255,0.6);
        }

        /* About Section */
        .about-main-section {
            padding: 100px 0;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-bottom: 80px;
        }

        .about-image-container {
            position: relative;
            background: #f8f8f8;
            padding: 60px 40px;
            border-radius: 8px;
        }

        .about-image {
            background: #fff;
            border: 12px solid #fff;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transform: rotate(-3deg);
            margin-bottom: 40px;
        }

        .about-image img {
            width: 100%;
            height: 320px;
            object-fit: cover;
            display: block;
            border-radius: 4px;
        }

        .about-content {
            padding-left: 20px;
            position: relative;
        }

        .about-background-text {
            position: absolute;
            top: 50%;
            right: -450px;
            transform: translateY(-50%) rotate(-90deg);
            transform-origin: center;
            font-size: clamp(60px, 8vw, 120px);
            font-weight: 300;
            color: #f0f0f0;
            z-index: 1;
            pointer-events: none;
            user-select: none;
            letter-spacing: 8px;
        }

        .about-content .section-title {
            font-size: clamp(22px, 3vw, 32px);
            line-height: 1.3;
            margin-bottom: 30px;
            font-weight: 600;
            color: #1a1a1a;
            position: relative;
            z-index: 2;
        }

        .about-content p {
            color: #6b6b6b;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        /* Features Section */
        .features-section {
            background: #f8f8f8;
            padding: 80px 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .feature-card {
            background: #fff;
            padding: 40px 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #fff;
            font-size: 24px;
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: #1a1a1a;
        }

        .feature-card p {
            color: #6b6b6b;
            font-size: 14px;
            line-height: 1.6;
        }

        /* Values Section */
        .values-section {
            padding: 80px 0;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 50px;
        }

        .value-card {
            background: #fff;
            border: 1px solid var(--line);
            padding: 30px 25px;
            text-align: center;
        }

        .value-card h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #1a1a1a;
        }

        .value-card p {
            color: #6b6b6b;
            font-size: 14px;
            line-height: 1.6;
            font-style: italic;
        }

        /* Footer Styles */
        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
            margin: 0 auto;
            margin-left: 100px;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        footer h3 {
            color: #fff;
            margin-bottom: 14px;
        }

        footer p, footer a {
            color: #d4d4d4;
            font-size: 14px;
        }

        footer a:hover {
            color: #fff;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 30px;
            text-align: left;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
            text-align: center;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .about-grid,
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        @media (max-width: 760px) {
            .about-grid,
            .features-grid,
            .values-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .about-content {
                padding-left: 0;
                text-align: center;
            }

            .about-background-text {
                display: none;
            }

            .about-image {
                transform: rotate(0deg);
                margin: 0 auto 20px;
                max-width: 400px;
            }

            .about-image-container {
                padding: 40px 20px;
                text-align: center;
            }

            .about-main-section {
                padding: 60px 0;
            }

            .features-section,
            .values-section {
                padding: 60px 0;
            }

            .page-hero {
                padding: 80px 20px;
                min-height: 40vh;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: left;
                gap: 32px;
            }

            footer .logo {
                margin: 0;
            }

            footer .logo img {
                margin-left: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }
        }

        /* Hero Banner */
        .page-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 60px 20px;
            text-align: center;
            color: #fff;
        }

        .page-hero h1 {
            font-size: 52px;
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: 1px;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: rgba(255,255,255,0.85);
        }

        .breadcrumb a {
            color: #fff;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .breadcrumb a:hover {
            opacity: 0.8;
        }

        .breadcrumb span {
            color: rgba(255,255,255,0.6);
        }

        /* Map Section */
        .map-container {
            width: 100%;
            height: 350px;
            background: #e5e5e5;
            filter: grayscale(10%);
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }

        /* Contact Section */
        .contact-section {
            max-width: 1200px;
            margin: 60px auto 100px;
            padding: 0 30px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            position: relative;
            z-index: 10;
        }

        .contact-form,
        .contact-info {
            background: #fff;
            padding: 40px 35px;
            border-radius: 5px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
        }

        .contact-form h2,
        .contact-info h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 25px;
            color: #111;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 16px 18px;
            border: 1px solid #e8e8e8;
            border-radius: 3px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            color: #333;
            background: #fafafa;
            transition: all 0.3s;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #111;
            background: #fff;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
            margin-top: 15px;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background: #111;
            color: #fff;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            border-radius: 3px;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .submit-btn:hover {
            background: #333;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Contact Info */
        .contact-info p {
            color: #666;
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 14px;
        }

        .info-item {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            align-items: flex-start;
        }

        .info-icon {
            width: 24px;
            height: 24px;
            font-size: 20px;
            color: #e74c3c;
            flex-shrink: 0;
        }

        .info-content {
            flex: 1;
        }

        .info-content strong {
            display: block;
            color: #111;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .info-content a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s;
        }

        .info-content a:hover {
            color: #111;
        }

        .info-content small {
            color: #999;
            font-size: 13px;
        }

        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        .portfolio-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 34px;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        .footer-nav {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin: 20px 0 24px;
        }

        .footer-nav a {
            color: #d4d4d4;
            font-size: 14px;
        }

        .footer-nav a:hover {
            color: #fff;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                display: none;
            }

            .topbar-inner {
                height: 76px;
            }

            .page-hero {
                padding: 80px 20px;
            }

            .page-hero h1 {
                font-size: 36px;
            }

            .map-container {
                height: 350px;
            }

            .contact-section {
                grid-template-columns: 1fr;
                margin: -60px 20px 60px;
                gap: 30px;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .contact-form,
            .contact-info {
                padding: 40px 30px;
            }

            .contact-form h2,
            .contact-info h2 {
                font-size: 26px;
            }

            footer {
                padding: 72px 0;
            }
        }

        /* ===== Comprehensive Mobile Styles ===== */
        @media (max-width: 760px) {
            .topbar .logo {
                margin-left: 0;
            }

            .topbar .logo img {
                height: 50px;
            }

            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
                margin-right: 0;
            }

            .page-hero {
                padding: 50px 16px;
            }

            .page-hero h1 {
                font-size: 28px;
                margin-bottom: 12px;
            }

            .breadcrumb {
                font-size: 13px;
                gap: 8px;
            }

            .map-container {
                height: 250px;
            }

            .contact-section {
                grid-template-columns: 1fr;
                margin: 30px 16px 50px;
                padding: 0;
                gap: 24px;
            }

            .contact-form,
            .contact-info {
                padding: 28px 20px;
                box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            }

            .contact-form h2,
            .contact-info h2 {
                font-size: 22px;
                margin-bottom: 20px;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .form-group input,
            .form-group textarea {
                padding: 14px 16px;
                font-size: 14px;
            }

            .submit-btn {
                padding: 16px;
                font-size: 12px;
            }

            .info-item {
                gap: 12px;
                margin-bottom: 20px;
            }

            .info-content strong {
                font-size: 15px;
                margin-bottom: 5px;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            footer .container {
                padding: 0 20px;
            }

            footer .portfolio-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
            }

            footer .portfolio-head > div {
                width: 100%;
            }

            footer .logo {
                margin: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }

            /* Overlay adjustments */
            .menu-overlay-close {
                top: 16px;
                right: 16px;
            }

            .menu-overlay-list {
                gap: 20px;
            }

            .menu-overlay-list a {
                font-size: clamp(18px, 5vw, 26px);
            }

            .menu-overlay-list .submenu li a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-top: 76px;
            }

            .page-hero h1 {
                font-size: 24px;
            }

            .contact-section {
                margin: 20px 12px 40px;
            }

            .contact-form,
            .contact-info {
                padding: 24px 16px;
            }

            .contact-form h2,
            .contact-info h2 {
                font-size: 20px;
            }

            .info-icon {
                font-size: 18px;
            }
        }
         * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            padding-top: 76px;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            width: min(1200px, 90%);
            margin: 0 auto;
        }

        .topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid var(--line);
        }

        .topbar-inner {
            height: 76px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-weight: 700;
            font-size: 28px;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
        }

        .logo span {
            font-weight: 300;
        }

        .logo img {
            height: 75px;
            width: auto;
            display: block;
        }

        .topbar .logo {
            margin-left: -175px;
        }

        .menu {
            display: flex;
            gap: 26px;
            list-style: none;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .menu a {
            color: var(--text);
            transition: color 0.2s;
        }

        .menu a:hover {
            color: var(--muted);
        }

        .menu > li {
            position: relative;
        }

        .topbar-right {
            display: flex;
            align-items: center;
            gap: 26px;
        }

        .topbar-controls {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-right: -195px;
        }

        .icon-btn {
            border: 0;
            background: transparent;
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #111;
        }

        .icon-btn svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .hamburger-icon {
            width: 22px;
            height: 18px;
            display: inline-grid;
            align-content: space-between;
        }

        .hamburger-icon span {
            display: block;
            height: 2px;
            background: #111;
            width: 100%;
        }

        /* Overlay submenu fix */
        .menu-overlay-list .has-submenu {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .menu-overlay-list .submenu {
            position: static;
            background: transparent;
            border: none;
            box-shadow: none;
            opacity: 1;
            visibility: visible;
            transform: none;
            padding: 10px 0;
        }

        .menu-overlay-list .submenu li a {
            font-size: 18px;
            color: #cfcfcf;
            text-transform: none;
            letter-spacing: 0.5px;
        }

        .menu-overlay-list .submenu li a:hover {
            color: #b7a2a2;
        }

        .menu-overlay {
            position: fixed;
            inset: 0;
            background: rgba(8, 8, 10, 0.98);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s ease;
        }

        .menu-overlay.open {
            opacity: 1;
            visibility: visible;
        }

        .menu-overlay-inner {
            min-height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 20px 40px;
        }

        .menu-overlay-list {
            list-style: none;
            display: grid;
            gap: 28px;
            text-align: center;
        }

        .menu-overlay-list a {
            font-size: clamp(12px, 5vw, 32px);
            font-weight: 600;
            letter-spacing: -0.5px;
            color: #fff;
        }

        .menu-overlay-close {
            position: absolute;
            top: 24px;
            right: 32px;
            border: 0;
            background: transparent;
            color: #fff;
            width: 40px;
            height: 40px;
            font-size: 36px;
            line-height: 1;
            cursor: pointer;
        }

        .submenu {
            position: absolute;
            top: calc(100% + 14px);
            left: 0;
            min-width: 240px;
            list-style: none;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.2s;
            z-index: 1001;
        }

        .submenu li a {
            display: block;
            padding: 8px 14px;
            font-size: 12px;
            letter-spacing: 0.7px;
            text-transform: uppercase;
            color: #333;
        }

        .submenu li a:hover {
            background: #f7f7f7;
            color: #000;
        }

        .has-submenu:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        @media (max-width: 760px) {
            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
            }

            .topbar .logo {
                margin-left: 0;
            }

            .topbar-controls {
                margin-right: 0;
            }
        }

        /* Course Page Styles */
        .hero-card {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 80px 30px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            text-align: center;
            width: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 30px 80px;
            min-height: calc(100vh - 76px);
        }

        h1 {
            font-size: 48px;
            margin: 0 0 15px 0;
            color: #fff;
            font-weight: 700;
            line-height: 1.2;
        }

        .hero-card > p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 18px;
            line-height: 1.7;
        }

        h2 {
            font-size: 24px;
            margin-bottom: 18px;
            color: #111;
            font-weight: 700;
        }

        p, li {
            color: #555;
            line-height: 1.8;
            font-size: 15px;
        }

        ul {
            padding-left: 24px;
        }

        .card {
            background: #fff;
            border-radius: 5px;
            padding: 35px 40px;
            margin-top: 25px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            border-left: 5px solid #333;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        }

        .card h2::before {
            content: '📚 ';
            margin-right: 8px;
        }

        .card:nth-child(2) h2::before {
            content: '✨ ';
        }

        .card:nth-child(3) h2::before {
            content: '🎯 ';
        }

        .card:nth-child(4) h2::before {
            content: '📞 ';
        }

        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .portfolio-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 34px;
        }

        footer h3 {
            color: #fff;
        }

        footer p {
            color: #d4d4d4;
        }

        footer a {
            color: #d4d4d4;
        }

        footer a:hover {
            color: #fff;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
        }

        /* Hamburger Animation */
        .hamburger-icon span {
            transition: all 0.3s ease;
        }

        .hamburger-icon.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-icon.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-icon.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* ===== Comprehensive Mobile Styles ===== */
        @media (max-width: 760px) {
            .topbar .logo {
                margin-left: 0;
            }

            .topbar .logo img {
                height: 50px;
            }

            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
                margin-right: 0;
            }

            /* Hero */
            .hero-card {
                padding: 50px 16px;
            }

            h1 {
                font-size: 28px;
                margin-bottom: 12px;
            }

            .hero-card > p {
                font-size: 15px;
            }

            /* Content */
            .wrap {
                padding: 40px 16px 50px;
            }

            h2 {
                font-size: 20px;
                margin-bottom: 14px;
            }

            .card {
                padding: 25px 20px;
                margin-top: 18px;
            }

            p, li {
                font-size: 14px;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            .footer-content {
                padding: 0 20px;
            }

            .portfolio-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
            }

            .portfolio-head > div {
                width: 100%;
            }

            footer .logo {
                margin: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }

            /* Overlay adjustments */
            .menu-overlay-close {
                top: 16px;
                right: 16px;
            }

            .menu-overlay-list {
                gap: 20px;
            }

            .menu-overlay-list a {
                font-size: clamp(18px, 5vw, 26px);
            }

            .menu-overlay-list .submenu li a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-top: 76px;
            }

            h1 {
                font-size: 24px;
            }

            .hero-card {
                padding: 40px 12px;
            }

            .wrap {
                padding: 30px 12px 40px;
            }

            .card {
                padding: 20px 16px;
            }

            h2 {
                font-size: 18px;
            }
        }
        



     
        /* Page Hero */
        .page-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 60px 20px;
            text-align: center;
            color: #fff;
        }

        .page-hero h1 {
            font-size: clamp(36px, 6vw, 64px);
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: 1px;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: rgba(255,255,255,0.85);
        }

        .breadcrumb a {
            color: #fff;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .breadcrumb a:hover {
            opacity: 0.8;
        }

        .breadcrumb span {
            color: rgba(255,255,255,0.6);
        }

        /* About Section */
        .about-main-section {
            padding: 100px 0;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-bottom: 80px;
        }

        .about-image-container {
            position: relative;
            background: #f8f8f8;
            padding: 60px 40px;
            border-radius: 8px;
        }

        .about-image {
            background: #fff;
            border: 12px solid #fff;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transform: rotate(-3deg);
            margin-bottom: 40px;
        }

        .about-image img {
            width: 100%;
            height: 320px;
            object-fit: cover;
            display: block;
            border-radius: 4px;
        }

        .about-content {
            padding-left: 20px;
            position: relative;
        }

        .about-background-text {
            position: absolute;
            top: 50%;
            right: -100px;
            transform: translateY(-50%) rotate(-90deg);
            transform-origin: center;
            font-size: clamp(60px, 8vw, 120px);
            font-weight: 300;
            color: #f0f0f0;
            z-index: 1;
            pointer-events: none;
            user-select: none;
            letter-spacing: 8px;
        }

        .about-content .section-title {
            font-size: clamp(22px, 3vw, 32px);
            line-height: 1.3;
            margin-bottom: 30px;
            font-weight: 600;
            color: #1a1a1a;
            position: relative;
            z-index: 2;
        }

        .about-content p {
            color: #6b6b6b;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        /* Features Section */
        .features-section {
            background: #f8f8f8;
            padding: 80px 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .feature-card {
            background: #fff;
            padding: 40px 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #fff;
            font-size: 24px;
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: #1a1a1a;
        }

        .feature-card p {
            color: #6b6b6b;
            font-size: 14px;
            line-height: 1.6;
        }

        /* Values Section */
        .values-section {
            padding: 80px 0;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 50px;
        }

        .value-card {
            background: #fff;
            border: 1px solid var(--line);
            padding: 30px 25px;
            text-align: center;
        }

        .value-card h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #1a1a1a;
        }

        .value-card p {
            color: #6b6b6b;
            font-size: 14px;
            line-height: 1.6;
            font-style: italic;
        }

        /* Footer Styles */
        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
            margin: 0 auto;
            margin-left: 100px;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        footer h3 {
            color: #fff;
            margin-bottom: 14px;
        }

        footer p, footer a {
            color: #d4d4d4;
            font-size: 14px;
        }

        footer a:hover {
            color: #fff;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 30px;
            text-align: left;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
            text-align: center;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .about-grid,
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        @media (max-width: 760px) {
            .about-grid,
            .features-grid,
            .values-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .about-content {
                padding-left: 0;
                text-align: center;
            }

            .about-background-text {
                display: none;
            }

            .about-image {
                transform: rotate(0deg);
                margin: 0 auto 20px;
                max-width: 400px;
            }

            .about-image-container {
                padding: 40px 20px;
                text-align: center;
            }

            .about-main-section {
                padding: 60px 0;
            }

            .features-section,
            .values-section {
                padding: 60px 0;
            }

            .page-hero {
                padding: 80px 20px;
                min-height: 40vh;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: left;
                gap: 32px;
            }

            footer .logo {
                margin: 0;
            }

            footer .logo img {
                margin-left: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }
        }


 

        /* Course Page Styles */
        .hero-card {
            background: linear-gradient(rgba(0, 0, 0, 0.916), rgba(0, 0, 0, 0.916));
            padding: 80px 30px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            text-align: center;
            width: 100%;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 30px 80px;
            min-height: calc(100vh - 76px);
        }

        h1 {
            font-size: 48px;
            margin: 0 0 15px 0;
            color: #fff;
            font-weight: 700;
            line-height: 1.2;
        }

        .hero-card > p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 18px;
            line-height: 1.7;
        }

        h2 {
            font-size: 24px;
            margin-bottom: 18px;
            color: #111;
            font-weight: 700;
        }

        p, li {
            color: #555;
            line-height: 1.8;
            font-size: 15px;
        }

        ul {
            padding-left: 24px;
        }

        .card {
            background: #fff;
            border-radius: 5px;
            padding: 35px 40px;
            margin-top: 25px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            border-left: 5px solid #333;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        }

        .card h2::before {
            content: '📚 ';
            margin-right: 8px;
        }

        .card:nth-child(2) h2::before {
            content: '✨ ';
        }

        .card:nth-child(3) h2::before {
            content: '🎯 ';
        }

        .card:nth-child(4) h2::before {
            content: '📞 ';
        }

        footer {
            background: #111;
            color: #fff;
            padding: 70px 0;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .portfolio-head {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 34px;
        }

        footer h3 {
            color: #fff;
        }

        footer p {
            color: #d4d4d4;
        }

        footer a {
            color: #d4d4d4;
        }

        footer a:hover {
            color: #fff;
        }

        footer .logo img {
            height: 44px;
            width: auto;
            display: block;
        }

        footer .logo {
            display: inline-flex;
            margin: 0 auto;
        }

        .copyright {
            color: #9b9b9b;
            font-size: 13px;
        }

        /* Hamburger Animation */
        .hamburger-icon span {
            transition: all 0.3s ease;
        }

        .hamburger-icon.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-icon.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-icon.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* ===== Comprehensive Mobile Styles ===== */
        @media (max-width: 760px) {
            .topbar .logo {
                margin-left: 0;
            }

            .topbar .logo img {
                height: 50px;
            }

            .menu {
                display: none;
            }

            .topbar-right {
                gap: 10px;
            }

            .topbar-controls {
                gap: 8px;
                margin-right: 0;
            }

            /* Hero */
            .hero-card {
                padding: 50px 16px;
            }

            h1 {
                font-size: 28px;
                margin-bottom: 12px;
            }

            .hero-card > p {
                font-size: 15px;
            }

            /* Content */
            .wrap {
                padding: 40px 16px 50px;
            }

            h2 {
                font-size: 20px;
                margin-bottom: 14px;
            }

            .card {
                padding: 25px 20px;
                margin-top: 18px;
            }

            p, li {
                font-size: 14px;
            }

            /* Footer mobile stacking */
            footer {
                padding: 50px 0;
                text-align: left;
            }

            .footer-content {
                padding: 0 20px;
            }

            .portfolio-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 32px;
            }

            .portfolio-head > div {
                width: 100%;
            }

            footer .logo {
                margin: 0;
            }

            footer h3 {
                font-size: 18px;
                margin-bottom: 8px;
            }

            footer p {
                font-size: 14px;
            }

            .copyright {
                text-align: center;
                margin-top: 10px;
            }

            /* Overlay adjustments */
            .menu-overlay-close {
                top: 16px;
                right: 16px;
            }

            .menu-overlay-list {
                gap: 20px;
            }

            .menu-overlay-list a {
                font-size: clamp(18px, 5vw, 26px);
            }

            .menu-overlay-list .submenu li a {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding-top: 76px;
            }

            h1 {
                font-size: 24px;
            }

            .hero-card {
                padding: 40px 12px;
            }

            .wrap {
                padding: 30px 12px 40px;
            }

            .card {
                padding: 20px 16px;
            }

            h2 {
                font-size: 18px;
            }
        }
        