﻿
/* ==============================
   Font
============================== */
@font-face {
    font-family: 'ArbFONTS-LamaSans-SemiBold';
    src: url('../../fonts/ArbFONTS-LamaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}



/* ==============================
   CSS Reset & Global
============================== */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'ArbFONTS-LamaSans-SemiBold';
}

/* ==============================
   Typography
============================== */
h1, h2, h3, h4, h5, h6, p,a, button ,body{
    font-family: 'ArbFONTS-LamaSans-SemiBold';
}



:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #6D28D9;
    --secondary: #06D6A0;
    --accent: #FF6B6B;
    --dark: #1E293B;
    --darker: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --success: #10B981;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-light: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ArbFONTS-LamaSans-SemiBold';
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.8rem;
    color: var(--darker);
}

h3 {
    font-size: 1.8rem;
    color: var(--dark);
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-light);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

    .btn span {
        position: relative;
        z-index: 2;
    }

    .btn i {
        position: relative;
        z-index: 2;
    }

    .btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(124, 58, 237, 0.4);
    }

        .btn:hover::before {
            opacity: 1;
        }

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #06B893 100%);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.3);
}

    .btn-secondary::before {
        background: linear-gradient(135deg, #06B893 0%, var(--secondary) 100%);
    }

    .btn-secondary:hover {
        box-shadow: 0 12px 25px rgba(6, 214, 160, 0.4);
    }

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #FF8E8E 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

    .btn-accent::before {
        background: linear-gradient(135deg, #FF8E8E 0%, var(--accent) 100%);
    }

    .btn-accent:hover {
        box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

    .btn-outline::before {
        background: var(--primary);
    }

    .btn-outline:hover {
        color: white;
    }

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--darker);
}

    .logo-text span {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

    nav ul li a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        transition: color 0.3s;
        position: relative;
        padding: 8px 0;
        font-size: 1.05rem;
    }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background: var(--gradient);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        nav ul li a:hover {
            color: var(--primary);
        }

            nav ul li a:hover::after {
                width: 100%;
            }

.header-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0) 70%);
        border-radius: 50%;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -20%;
        right: -5%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, rgba(6, 214, 160, 0) 70%);
        border-radius: 50%;
    }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

    .hero-text h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
        color: var(--dark);
        opacity: 0.9;
    }

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 18px;
    width: 320px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

    .floating-card:nth-child(1) {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
        background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    }

    .floating-card:nth-child(2) {
        bottom: 20%;
        right: 0%;
        animation-delay: 2s;
        background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    }

    .floating-card:nth-child(3) {
        top: 50%;
        left: 0%;
        animation-delay: 4s;
        background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    }

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.card-content h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--darker);
}

.card-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray);
}

.hero-main-visual {
    width: 450px;
    height: 450px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.3);
    animation: morph 10s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 140px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 6px;
        background: var(--gradient);
    }

    .feature-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.feature-card h3 {
    margin-bottom: 20px;
}

/* Courses Section */
.courses {
    padding: 140px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
}

.section-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

    .course-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

.course-image {
    height: 220px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.course-content {
    padding: 30px;
}

.course-category {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray);
}

.course-rating {
    color: #FFC107;
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
    }

    .cta::after {
        content: '';
        position: absolute;
        bottom: -40%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
    }

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 3.2rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 50px;
}

.cta .btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .cta .btn::before {
        background: rgba(255, 255, 255, 0.9);
    }

    .cta .btn:hover {
        color: var(--primary-dark);
    }

/* Footer */
footer {
    background-color: var(--darker);
    color: white;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    margin-bottom: 70px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 4px;
        background: var(--gradient);
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 15px;
    }

    .footer-links a {
        color: #94A3B8;
        text-decoration: none;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .footer-links a:hover {
            color: white;
            transform: translateX(-5px);
        }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: white;
        text-decoration: none;
        transition: all 0.3s;
        font-size: 1.2rem;
    }

        .social-links a:hover {
            background: var(--gradient);
            transform: translateY(-5px);
        }

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.95rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        gap: 80px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .hero-main-visual {
        width: 380px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .section-header-with-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .hero-main-visual {
        width: 320px;
        height: 320px;
        font-size: 5rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .features-grid, .courses-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }
}

