/* ---------- CSS VARIABLES ---------- */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');

:root {

    /* Colors */
    --primary-color: #99bc5f;
    --secondary-color: #20c997;
    --dark-color: color-mix(in srgb, var(--primary-color) 12%, #ffffff);
    --light-color: #f9fafb;
    --white-color: #ffffff;
    --black-color: #000000;
    --border-color: #e5e7eb;
    --light-green-color: color-mix(in srgb, var(--secondary-color) 10%, #ffffff);
    --btn-color: var(--primary-color);
    --star-color: #FFE52A;

    /* Fonts */
    --font-primary: 'Comfortaa', sans-serif;
    --font-secondary: 'Comfortaa', sans-serif;

    /* Font Sizes */
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-md: 16px;
    --fs-lg: 18px;
    --fs-xl: 24px;
    --fs-xxl: 45px;

    /* Spacing */
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 20px;
    --space-lg: 40px;
    --space-xl: 80px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadow */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-md);
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

/* ---------- TYPOGRAPHY ---------- */
h1 {
    font-size: var(--fs-xxl);
}

h2 {
    font-size: var(--fs-xl);
    color: var(--black-color);
}

h3 {
    font-size: var(--fs-lg);
}

p {
    font-size: var(--fs-md);
    color: var(--gray-color);
}

/* ---------- LINKS ---------- */
a {
    text-decoration: none;
    color: inherit;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

/* ---------- UTILITIES ---------- */
.text-center {
    text-align: center;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* Header */
.main-header {
    padding: 20px var(--space-md);
}

/* Rounded container */
.nav-wrapper {
    max-width: 1100px;
    margin: auto;
    background: var(--primary-color);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    height: 40px;
    /* adjust as needed */
    width: auto;
    display: block;
}


/* Menu */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--black-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.main-nav ul li a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
}

/* Banner Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-section h1 {
    margin-top: 50px;
    margin-bottom: 10px;
    color: var(--black-color);
}

.hero-section p {
    margin-bottom: 20px;
    color: var(--black-color);
    margin-left: auto;
    margin-right: auto;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    margin: 0;
    /* remove default spacing */
}

/* top categories */
.top-categories {
    padding: 60px 20px;
    background-color: var(--white-color);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--black-color);
}

.section-description {
    font-size: 1rem;
    color: var(--black-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--dark-color);
    border-radius: 15px;
    /* Rounded corners */
    padding: 10px 10px;
    box-shadow: var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--border-color);
}

.category-card h3 {
    font-size: 1.2rem;
    color: var(--black-color);
}

/* AUTO SCROLL CAROUSEL */
.scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    position: relative;
}

.scroll-track {
    display: flex;
    width: max-content;
    /* Ensure width fits all images */
    gap: 20px;
    /* The Animation */
    animation: scroll-left 20s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
    /* Optional: Pauses when you hover */
}

.gallery-img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Keyframes for infinite scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move exactly half the width (because we duplicated the images) */
        transform: translateX(-50%);
    }
}

/* LIGHTBOX (MODAL) STYLES */
.hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--black-color);
}

.hero h1 span {
    font-family: var(--font-primary);
    color: var(--black-color);
    /* For the asterisk */
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}


.hero p {
    color: var(--black-color);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-btn {
    background: var(--btn-color);
    color: var(--white-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* AUTO SCROLL CAROUSEL */
.scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    position: relative;
}

.scroll-track {
    display: flex;
    width: max-content;
    /* Ensure width fits all images */
    gap: 20px;
    /* The Animation */
    animation: scroll-left 20s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
    /* Optional: Pauses when you hover */
}

.gallery-img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: var(--border-color);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Keyframes for infinite scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move exactly half the width (because we duplicated the images) */
        transform: translateX(-50%);
    }
}

.container {
    max-width: 1200px;
    margin: auto;
}


@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer Wrapper */
.footer-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Right side form */
.subscribe-form button {
    background-color: var(--btn-color);
    color: var(--black-color);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}


.privacy-text {
    font-size: 0.75rem;
    color: #8caba9;
}

.privacy-text a {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Container */
.main-footer {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Space between top row and bottom row */
}

/* --- Top Section Layout --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s;
}

.social-link:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Logo Styling */
.logo-wrapper {
    position: relative;
    padding-left: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

.logo-text .highlight {
    color: #ffa500;
    /* Yellow/Orange for "Edu" */
}

/* The green curve/swoosh under the logo */
.logo-curve {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 35px;
    height: 35px;
    border-bottom: 4px solid #1f7a70;
    border-left: 4px solid #1f7a70;
    border-radius: 0 0 0 100%;
    /* Creates the curve shape */
    transform: rotate(-10deg);
}

/* Navigation Links */
.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}


/* Subscribe Button */
.btn-subscribe {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* --- Bottom Section Layout --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--white-color);
    font-size: 14px;
}

.copyright a {
    color: var(--white-color);
    text-decoration: underline;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        /* Stack socials on top of copyright on mobile */
        gap: 20px;
        text-align: center;
    }
}

/* Responsive */
@media(max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .main-header {
        padding: 15px 15px 5px;
    }

    .nav-wrapper {
        position: relative;
        margin: 0 auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
        z-index: 1000;
        box-shadow: var(--shadow-md);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
        color: var(--black-color);
        font-size: 24px;
        cursor: pointer;
    }

    /* Responsive Typography */
    .hero-section h1, .hero h1 {
        font-size: 28px;
        text-align: center;
        line-height: 1.35;
        padding: 0 10px;
    }
    .hero-section p, .hero p {
        font-size: 15px;
        padding: 0 15px;
        text-align: center;
        margin-top: 10px;
    }
    .contact-section h2, .section-header h2, .mv-header h2, .about-header h2 {
        font-size: 28px !important;
    }
    .features-container {
        padding: 20px;
    }
    .cta-box {
        padding: 25px 20px;
    }
    .t-card {
        min-width: 280px;
        width: 280px;
        height: 380px;
        padding: 30px 20px;
        border-radius: 20px;
    }
}

@media (max-width: 360px) {
    .t-card {
        min-width: 260px;
        width: 260px;
        height: 360px;
        padding: 25px 15px;
    }
}

/* contact */
.contact-section {
    padding: 60px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    color: #777;
    margin-bottom: 40px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: flex-start;
}

/* Left Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 25px;
    border-radius: 16px;
    text-align: left;
}

.contact-card span {
    font-size: 14px;
    opacity: 0.9;
}

.contact-card h3 {
    margin: 15px 0;
    font-size: 22px;
}


.primary {
    background: var(--dark-color);
    color: var(--black-color);
}

.secondary {
    background: var(--secondary-color);
    color: var(--white-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.card-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #fff;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.card-btn.light {
    background: #f1f1f1;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-row {
    margin-bottom: 20px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* map */
.map-container {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* contact end */

/* ctn */
.cta-section {
    background: var(--white-color);
    /* purple background */
    padding: 30px 20px 60px;
}

.cta-box {
    max-width: 1100px;
    margin: auto;
    background: var(--dark-color);
    border-radius: 18px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-content {
    flex: 1;
}



.cta-content h2 {
    font-size: 32px;
    margin: 10px 0;
    color: #111;
}

.cta-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
}

.btn.primary {
    background: var(--btn-color);
    color: #fff;
    transition: background 0.3s ease;
}

.btn.primary:hover {
    background: var(--secondary-color);
}

.btn.secondary {
    border: 1px solid #ddd;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
}

.btn.secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ctn end  */

/* faq start */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: #fbfcff;
    color: var(--btn-color);
    cursor: pointer;
    font-weight: 500;
}

.tab.active {
    background: var(--btn-color);
    color: #fff;
}

/* FAQ Cards */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--dark-color);
    border-radius: 14px;
    padding: 20px 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    color: var(--black-color);
}

.faq-answer {
    margin-top: 12px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

.faq-item.active {
    background: var(--dark-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question .icon {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 600px) {
    .faq-section h2 {
        font-size: 26px;
    }
}

/* faq end */

/* feature box start */
.features-section {
    padding: 0 20px;
}

.features-container {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
}

.features-container h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.features-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-card {
    background: #f6f6f3;
    padding: 22px;
    border-radius: 14px;
}

.feature-card h4 {
    margin: 12px 0 8px;
    font-size: 17px;
    color: var(--black-color);
}

.feature-card p {
    font-size: 14px;
    color: #555;
}

.feature-card .icon {
    display: none;
    background: #1f2937;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.center-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .center-image {
        order: -1;
    }
}

/* feature box end */

/* about-section */
.about-section {
    padding: 60px 20px;
    background-color: var(--white-color)
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* Center Heading */
.about-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #1f2933;
}

.about-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Image + Content */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111;
}

.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-header h2 {
        font-size: 28px;
    }
}

/* about end  */

/* start mision and vision */
.mv-section {
    padding: 70px 20px;
    background: var(--white-color);
}

.mv-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.mv-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.mv-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1f2933;
}

.mv-header p {
    font-size: 16px;
    color: #666;
}

/* Grid */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Cards */
.mv-card {
    border-radius: 16px;
    overflow: hidden;
}

/* Light cards */
.mv-card.light {
    background: var(--dark-color);
    padding: 30px;
}

.mv-card.light h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #111;
}

.mv-card.light p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Image cards */
.image-card {
    position: relative;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Overlay text */
.image-card .overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
}

.image-card .overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.image-card .overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* vision and mision end */
.testimonial-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    background-color: #fff;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    padding-left: 5%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.t-card {
    min-width: 320px;
    width: 320px;
    height: 420px;
    border-radius: 35px;
    padding: 40px 30px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.t-num {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.t-arrow {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 22px;
    opacity: 0.6;
}

/* Typography */
.t-card h3 {
    font-size: 22px;
    margin: 0 0 12px 0;
    font-family: var(--font-primary);
    font-weight: 700;
}

.t-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
    font-family: var(--font-primary);
}

.t-author {
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.light-text {
    color: #ffffff;
}

.dark-text {
    color: #1a1a1a;
}

/* end */
/* Courses Section */
.courses-section {
    padding: 80px 20px;
    background: #ffffff;
    font-family: var(--font-primary);
}

.courses-section .container {
    max-width: 1200px;
    margin: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Course Category */
.course-category {
    margin-bottom: 20px;
}

.course-category h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Course Cards Grid */
.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Course Card */
.course-card {
    background: var(--dark-color);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Emoji Icon */
.emoji {
    width: 35px;
    height: 35px;
    vertical-align: middle;
}


/* Card Title */
.course-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

/* Card Text */
.course-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.course-card .btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--btn-color);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.course-card .btn:hover {
    background: var(--btn-color);
}

/* Category Colors (Optional Accent) */
.course-category.stem h3 {
    color: var(--black-color);
}

.course-category.humanities h3 {
    color: var(--black-color);
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .course-category h3 {
        font-size: 24px;
    }
}

/* end */