* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;   
 font-family: 'Poppins', 'Segoe UI', sans-serif;

}

:root {
    --primary-color: #3AB54A;
    --secondary-color: #9AC23B;
    --accent-color: #FFF1A7B2;
    --text-dark: #2C2626;
    --text-light: #5F6368;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-beige: #F5FFF7;
    --bg-secondary: #F1F5F9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 45px;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 28px;
}

.card-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-language {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 4px 13px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    width: fit-content;
}

/* ===== TOP BAR STYLES ====== */
.top-bar {
    background-color: var(--bg-beige);
    padding: 12px 0;
    border-bottom: 1px solid #E1F1BA;
}

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

/* Enquiry button and social media icons on the left */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    width: fit-content;
}

.primary-btn:hover {
    background-color: #2d9a3c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(58, 181, 74, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
}

.social-links {
    display: flex;
    list-style: none;
    gap: 12px;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.social-links li a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Phone and email links in the middle */
.top-bar-center {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    line-height: 18px;
    letter-spacing: 0%;

}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link:hover .contact-icon {
    transform: scale(1.1);
}

/* Download app section on the right */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-text {
    color: var(--text-light);
    white-space: nowrap;
    font-style: Medium;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0%;

}

.app-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.app-link:first-of-type {
    background-color: var(--primary-color);
}

.app-link:last-of-type {
    background-color: var(--primary-color);
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.app-link i {
    font-size: 18px;
}

/* Icons that appear only on mobile screens */
.mobile-icons {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    background-color: #2d9a3c;
}

.mobile-icon-link:active {
    transform: scale(0.95);
}

.mobile-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Button active state */
.primary-btn:active {
    transform: scale(0.98);
}

.contact-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* ========================================
   HERO SECTION STYLES
   Main banner with headline and student image
======================================== */
.hero-section {
    background-image: url("icons/ellipse.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0px 0 60px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

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

/* Left side content */
.hero-left {
    padding-right: 40px;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #4A4A4A;
    margin-bottom: 20px;
}

.hero-title-green {
    color: var(--primary-color);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.secondary-btn {
    background: linear-gradient(180deg, #9AC23B, #C6AD2E);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.secondary-btn:hover {
    background-color: #B3A05C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 181, 104, 0.3);
}

/* Right side with image and badges */
.hero-right {
    position: relative;

}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 120px;
}

.hero-image > img {
    width: 100%;
    max-width: 456px;
    height: auto;
    object-fit: contain;
}

/* Total Students badge (top right) */
.hero-badge-total {
    position: absolute;
    top: 100px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background-color: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.badge-label {
    font-size: 12px;
    color: var(--text-light);
}

/* Enrolled Students section (left side) */
.hero-enrolled {
    position: absolute;
    top: 30%;
    left: -80px;
    transform: translateY(-50%);
    padding: 24px;
    min-width: 200px;
    animation: float 3s ease-in-out infinite;
}

.enrolled-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.enrolled-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Student avatars */
.enrolled-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    object-fit: cover;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4A4A4A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: -12px;
    border: 3px solid white;
}

/* Next button (bottom right) */
.hero-next {
    position: absolute;
    bottom: 210px;
    right: 0px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
}

.next-text {
    font-size: 18px;
    font-weight: 600;
    color: #C8B568;
}

.next-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #C6802E;
    transition: var(--transition);
}

.dot.active {
    width: 5cap;
    border-radius: 6px;
    background-color: #C6802E;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ====== NAVIGATION BAR STYLES (The main menu with logo and links) ====== */
.navbar {
    background-color: var(--bg-white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Website logo image */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation menu links (Home, Courses, etc.) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Free Trial and Take Exam buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.primary-2btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    width: fit-content;
}

.primary-2btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(58, 181, 74, 0.3);
}

.primary-2btn:active{
    transform: scale(0.98);
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.user-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hamburger menu button (3 lines icon) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
}

/* Mobile menu that slides down */
.mobile-nav {
    display: none;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mobile-nav-links li {
    margin-bottom: 4px;
}

.mobile-nav-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--bg-beige);
    color: var(--primary-color);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.mobile-nav-actions button {
    width: 100%;
}

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

/* Tablet screens (medium size) */
@media (max-width: 1024px) {
    .top-bar-center {
        gap: 20px;
    }
    
    .contact-link span {
        font-size: 13px;
    }
    
    .download-text {
        font-size: 13px;
    }
    
    /* Scrollable navigation for tablet */
    .navbar-content {
        position: relative;
    }
    
    .nav-links {
        flex: 1;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 24px;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Mobile phones (small screens) */
@media (max-width: 768px) {
    .top-bar-center,
    .top-bar-right {
        display: none;
    }
    
    .mobile-icons {
        display: flex;
    }
    
    .top-bar-content {
        flex-wrap: wrap;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-links li a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* Navbar Mobile */
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .navbar-content {
        gap: 20px;
    }
    
    /* Hero section mobile styles */
    .hero-section {
        padding: 40px 0 30px;
        background-size: 90rem auto;
        background-position: top right;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column-reverse;
    }
    .hero-right {
        margin-top: -140px;
        margin-bottom: 140px;
    }
    
    .hero-left {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-badge-total {
        right: 0px;
        padding: 8px 16px;
        gap: 8px;
    }
    
    .badge-icon {
        width: 32px;
        height: 32px;
    }
    
    .badge-number {
        font-size: 20px;
    }
    
    .hero-enrolled {
        left: 0px;
        min-width: 160px;
    }
    
    .enrolled-number {
        font-size: 24px;
    }
    
    .hero-next {
        bottom: 40px;
        right: 20px;
    }
}

/* Very small mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-left {
        gap: 12px;
    }
    
    .primary-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    
    .social-links {
        gap: 6px;
    }
    
    .social-links li a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .mobile-icons {
        gap: 8px;
    }
    
    .mobile-icon-link {
        width: 32px;
        height: 32px;
    }
    
    .mobile-icon-link i {
        font-size: 14px;
    }
    
    /* Hero section for very small screens */

    .hero-section {
    padding: 40px 0;
    margin-top: 0px;
    background-size: 70rem auto;
    }

    .hero-right {
        margin-top: -120px;
    }
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-enrolled{
        top: 45%;
    }
    
    .hero-btn-primary,
    .secondary-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .hero-badge-total {
        top: 70px;
        padding: 6px 12px;
        gap: 6px;
        right: 0px;
        padding: 0;
        margin: 0;
    }
    
    .badge-icon {
        width: 28px;
        height: 28px;
    }
    
    .badge-icon i {
        font-size: 14px;
    }
    
    .badge-number {
        font-size: 16px;
    }
    
    .badge-label {
        font-size: 10px;
    }
    
    .hero-enrolled {
        left: 5px;
        padding: 12px;
        min-width: 140px;
    }
    
    .enrolled-number {
        font-size: 20px;
    }
    
    .enrolled-label {
        font-size: 12px;
    }
    
    .avatar,
    .avatar-more {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
    
    .hero-next {
        bottom: 20px;
        right: 10px;
    }
    
    .next-text {
        font-size: 14px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 30px;
    }
}

/* hero section responsiveness in very small screen */

@media (max-width: 375px) {

    .hero-section {
    background-size: 60rem auto;
    }
    
}

@media (max-width: 320px) {

    .hero-section {
    background-size: 50rem auto;
    }
    .hero-badge-total{
    gap: 6px;
    top: 60px;
    right: 0px;
    padding: 0;
    margin: 0;
    }

    .badge-label{
    overflow-wrap: break-word;
    }
    
}
/* ========== BLOG SECTION ========== */
.blog-section {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.blog-category {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.blog-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.blog-category::after {
    content: '|';
    margin-left: 12px;
    color: var(--text-muted);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

.blog-link i {
    font-size: 14px;
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* Responsive design for blog section */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .blog-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 240px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-badge {
        font-size: 14px;
        padding: 6px 20px;
    }
    
    .blog-title {
        font-size: 24px;
    }
    
    .blog-image {
        height: 220px;
    }
    
    .blog-content {
        padding: 16px;
    }
    
    .blog-card-title {
        font-size: 18px;
    }
    
    .blog-description {
        font-size: 14px;
    }
}