:root {
    --primary: #58CC02;
    --blue: #1CB0F6;
    --orange: #FF9600;
    --bg: #F7F7F7;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    user-select: none;
    -webkit-user-select: none;
}

main {
    padding-top: 80px;
}

.container {
    width: 90%;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

/* NAV MENU */
.nav-menu {
    display: flex;
    gap: 40px; /* proper spacing */
    list-style: none;
}

/* LINKS RESET */
.nav-menu li a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

/* UNDERLINE ANIMATION (MOVE FROM LI TO A) */
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: #58CC02;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* HOVER EFFECT */
.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: #58CC02;
}

/* ACTIVE STATE (FIXED) */
.nav-menu li.active a {
    color: #58CC02;
}

/* ACTIVE UNDERLINE ALWAYS VISIBLE */
.nav-menu li.active a::after {
    width: 100%;
}

/* COOL SCALE ANIMATION */
.nav-menu li {
    transition: transform 0.2s ease;
}

.nav-menu li:hover {
    transform: translateY(-2px) scale(1.05);
}
/* DOWNLOAD BUTTON */
.download-btn {
    background: linear-gradient(135deg, #58CC02, #46a302);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 0 #3a8f01;
    transition: all 0.2s ease;
}

/* BUTTON CLICK EFFECT */
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 5px rgba(0,0,0,0.1);
}

.download-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #3a8f01;
}

/* ==================== MOBILE MENU ==================== */
@media (max-width: 768px) {

    /* Hide menu on mobile */
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        z-index: 1000;
    }

    /* Show when active */
    .nav-menu.active {
        display: flex;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
    }

    .nav-wrapper {
        position: relative;
    }
}

/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
}

/* HERO */
/* HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(135deg, #d9f99d, #bae6fd); /* SAME BG */
    padding: 40px 0 10px 0;
    overflow: hidden;
}

/* ABSTRACT SHAPES */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

/* LEFT SHAPE */
.hero::before {
    width: 300px;
    height: 300px;
    background: rgba(255, 200, 0, 0.2);
    bottom: -120px;
    left: -100px;
}

/* RIGHT SHAPE */
.hero::after {
    width: 350px;
    height: 350px;
    background: rgba(0, 200, 255, 0.2);
    top: -120px;
    right: -100px;
}

/* BACKGROUND TEXT */
.bg-text {
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translateY(-50%);
    
    font-size: 130px;
    font-weight: 900;
    line-height: 0.8;

     color: rgba(255,255,255,0.4);
    -webkit-text-stroke: 2px rgba(255,255,255,0.7);
    
    opacity: 0.8;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* CONTENT LAYER */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* TEXT */
.hero-text {
    max-width: 370px;
}

.hero-text h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 48px;
    line-height: 1.2;
}

.section-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    margin-top: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    margin: 15px 0;
    color: #555;
}

/* BUTTON */
.btn {
    background: #58CC02;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 0 #46a302;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #46a302;
}

.btn.secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 3px 0 #d4d4d4;
}

.btn.secondary:hover {
    transform: translateY(-2px);
}

/* IMAGE */
.hero-img img {
    width: 100%;
    max-width: 420px;
    margin-bottom: -30px;
}

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

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .bg-text {
        top: 50%;
        left: 50%;
        font-size: 60px;
        text-align: center;
    }
}

.btn {
    background: var(--primary);
    color: white;
    padding: 14px 25px;
    margin: 15px 0;
    border: none;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 0 #46a302;
    cursor: pointer;
    transition: 0.2s;
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #46a302;
}

.section-header {
    margin-top: 20px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 20px;
    margin-top: 10px;
}

.icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

h4 {
    margin-top: 12px;
    margin-bottom: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
}

.card {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-link {
    text-decoration: none;
}

.subtitle-pun {
    color: #000;
}

.subtitle-eng {
    color: #494949;
}

/* Hover Effect */
.card:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Text color change on hover */
.card:hover h4,
.card:hover p {
    color: #fff;
}

/* Icon animation */
.card:hover .icon img {
    transform: scale(1.1) rotate(3deg);
    transition: 0.3s ease;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* IMAGE ICON */
.logo-img {
    height: 40px;
    object-fit: contain;
}

/* TEXT */
.logo-text {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

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

/* ICON */
.icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.logo:hover .logo-img {
    transform: rotate(-10deg) scale(1.1);
    transition: 0.3s;
}

.logo:hover .logo-text {
    color: #58CC02;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #58CC02;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    z-index: 9999;

    /* Glow Effect */
    box-shadow:
        0 0 8px rgba(88, 204, 2, 0.6),
        0 0 15px rgba(88, 204, 2, 0.4),
        0 0 25px rgba(88, 204, 2, 0.2);
}

.cursor.active {
    transform: translate(-50%, -50%) scale(1.8);

    box-shadow:
        0 0 12px rgba(88, 204, 2, 0.9),
        0 0 25px rgba(88, 204, 2, 0.6),
        0 0 40px rgba(88, 204, 2, 0.4);
}

.footer {
    background: #f1f1f1;
    padding: 40px 0 10px 30px;
    margin-top: 50px;
    position: relative;
}

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

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #444;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #58CC02;
}

.footer-col ul .active a {
    color: #ff6b00;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 900;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #46a302;
    border-color: #46a302;
    transform: scale(1.1);
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-links a:hover img {
    transform: rotate(-15deg);
}

.contact-info-footer {
    gap: 5px;
    margin-bottom: 5px;
    font-size: 14.5px;
}

.contact-info-footer a{
    text-decoration: none;
    color: #444;
}

.btn-contact {
    background: #58CC02;
    color: white;
    margin-top: 12px;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 0 #46a302;
    cursor: pointer;
    transition: 0.2s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-contact:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #46a302;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(88, 204, 2, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(88, 204, 2, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(88, 204, 2, 0.4);
    }
}

.cursor {
    animation: glowPulse 1.5s infinite;
}

/* TOGGLE BUTTON */
.menu-toggle {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

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

    .menu-toggle {
        display: block;
    }

    .nav-wrapper {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);

        /* hidden by default */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.3s;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu li {
        padding: 10px 0;
    }

    /* HERO STACK */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    /* GRID SMALL */
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

     .nav-right {
        display: none;
    }
}


/* COURSE CARD IMAGE */
.course-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* COURSE CARD HOVER EFFECT */
.course-card {
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* BUTTON FULL WIDTH */
.course-card .btn {
    width: 100%;
}

.back-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;

    background: #ff9800;
    color: white;

    text-decoration: none;
    font-weight: 700;

    border-radius: 12px;

    transition: 0.3s ease;
}

.back-btn:hover{
    background: #f57c00;
    transform: translateY(-2px);
}