:root {
    --brand-pink: #ff0066;
    --brand-pink-light: rgba(255, 0, 102, 0.1);
    --brand-teal: #00b8a9;
    --brand-teal-light: rgba(0, 184, 169, 0.1);
    --dark-bg: #1A1F2C;
    --darker-bg: #2A303C;
    --light-gray: #f1f1f1;
    --text-white: #ffffff;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --text-gray-600: #4b5563;
    --layout-border-color: #e5e7eb;
    --layout-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --layout-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --layout-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --radius-full: 9999px;
    --layout-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--dark-bg);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-img {
    width: 85px;
}

/* Utility classes */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--layout-shadow);
    transition: var(--layout-transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--layout-shadow-lg);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background gradients */
.bg-gradient {
    position: fixed;
    border-radius: 50%;
    z-index: -10;
    filter: blur(3rem);
}

.bg-gradient-1 {
    top: 20px;
    right: 20px;
    width: 18rem;
    height: 18rem;
    background-color: rgba(255, 0, 102, 0.1);
}

.bg-gradient-2 {
    bottom: 20px;
    left: 20px;
    width: 20rem;
    height: 20rem;
    background-color: rgba(0, 184, 169, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--layout-transition);
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--brand-teal);
    color: white;
    border-radius: var(--radius-full);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.btn-primary:hover {
    background-color: rgba(0, 184, 169, 0.9);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-gray-300);
}

.btn-ghost:hover {
    background-color: var(--darker-bg);
    color: white;
}

.btn-outline {
    border: 1px solid var(--brand-teal);
    color: var(--brand-teal);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background-color: rgba(255, 0, 102, 0.05);
}

.btn-cta {
    background-color: var(--brand-teal);
    color: white;
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-cta:hover {
    background-color: rgba(255, 0, 102, 0.9);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #1C1C1C;
    color: var(--text-white);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background-color: var(--brand-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
}

.main-nav {
    display: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray-300);
    transition: var(--layout-transition);
    margin-left: 1.5rem;
}

.nav-link:hover {
    color: var(--brand-teal);
}

.search-box {
    position: relative;
    display: none;
}

.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    width: 16rem;
    border-radius: var(--radius-full);
    background-color: var(--darker-bg);
    border: none;
    color: white;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-teal);
;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-400);
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background-color: #1C1C1C;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #F5F5F5;

}

.hero-subtitle {
    max-width: 24rem;
    color: #F5F5F5;

}

.hero-search {
    position: relative;
    max-width: 24rem;
}

.hero-search input {
    width: 100%;
    padding: 0.75rem 1.25rem 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--layout-border-color);
    background-color: white;
}

.hero-search input:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 2px rgba(255, 0, 102, 0.1);
}

.hero-search .search-icon {
    position: absolute;
    right: 0.25rem !important;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    border-radius: 50%;
    background-color: var(--brand-teal);
    color: white;
    cursor: pointer;
    width: 32px;
}

.hero-image {
    position: relative;
}

.image-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--layout-shadow-lg);
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.03);
}

.stats-card {
    position: absolute;
    padding: 1rem;
    z-index: 10;
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: var(--layout-shadow);
    font-size: 0.875rem;
    font-weight: 500;
}

.stats-card-bottom {
    bottom: -1.5rem;
    left: -1.5rem;
    max-width: 12.5rem;
}

.stats-card-top {
    top: -1rem;
    right: -1rem;
    max-width: 11.25rem;
}

.avatar-group {
    display: flex;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: 2px solid white;
    margin-right: -0.5rem;
}

/* Partners Section */
.partners {
    padding: 3rem 0;
    background-color: rgba(241, 241, 241, 0.3);
}

.partners-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partners-header p {
    font-size: 0.875rem;
    color: var(--text-gray-600);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner {
    display: flex;
    align-items: center;
}

.partner-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray-600);
}

.partner-name {
    font-weight: 500;
    color: var(--text-gray-600);
}

/* Courses Section */
.courses {
    padding: 4rem 0;
}

.courses-header {
    margin-bottom: 2.5rem;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-teal);
    margin-bottom: 0.25rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 0.875rem;
    color: var(--text-gray-600);
    max-width: 24rem;
}

.categories-slider {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    gap: 0.75rem;
}

.categories-slider::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--light-gray);
    color: var(--dark-bg);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--layout-transition);
}

.category-btn:hover {
    background-color: rgba(241, 241, 241, 0.8);
}

.category-btn.active {
    background-color: var(--brand-teal);
    color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.course-card {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--layout-shadow);
    transition: var(--layout-transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--layout-shadow-lg);
}

.course-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.course-content {
    padding: 1.25rem;
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    color: #f59e0b;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid var(--layout-border-color);
}

.course-price {
    font-weight: 700;
    font-size: 1.125rem;
}

.course-view-btn {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--brand-teal);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--layout-transition);
}

.course-view-btn:hover {
    color: rgba(255, 0, 102, 0.9);
}

.courses-footer {
    margin-top: 3rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1rem;
    color: var(--text-gray-600);
    max-width: 24rem;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    background-color: #1C1C1C;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-gray-400);
    transition: var(--layout-transition);
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-gray-400);
}

/* Media Queries */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        margin-left: 2rem;
    }

    .search-box {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .courses-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 8rem;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}