:root {
    --primary: 215, 90%, 55%;
    --secondary: 195, 90%, 65%;
    --bg-dark: 210, 40%, 98%;
    --bg-card: 0, 0%, 100%;
    --text-main: 210, 30%, 20%;
    --text-muted: 210, 15%, 50%;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--text-main));
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: hsl(var(--primary));
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1a2a44;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.nav-link.active {
    color: white;
    border-bottom: 2px solid hsl(var(--secondary));
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsla(var(--primary), 0.3);
}

.mobile-menu-btn {
    display: none;
}

.footer {
    text-align: center;
    padding: 2rem;
    background-color: #1a2a44;
    color: white;
    margin-top: auto;
}

.hero {
    text-align: center;
    padding: 6rem 1rem;
    margin-bottom: 4rem;
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: hsl(var(--text-muted));
}

.profile-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1/1.15;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.ticker-wrapper {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.batch-date {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.course-card {
    background: hsl(var(--bg-card));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.course-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.course-content p {
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
    margin-bottom: 1.5rem;
    flex: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border-top: 1px solid hsla(var(--text-main), 0.1);
    padding-top: 1rem;
}

.course-price {
    color: hsl(var(--secondary));
    font-size: 1.2rem;
}

.course-duration {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #1a2a44;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Contact Page Styles */
    .contact-container {
        max-width: 800px;
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .contact-card {
        background: white;
        padding: 3rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-item {
        margin-bottom: 2.5rem;
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact-label {
        display: block;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1a2a44;
        margin-bottom: 0.5rem;
    }

    .contact-value {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a2a44;
    }

    .contact-value a {
        color: #1a2a44;
    }

    .contact-value a:hover {
        color: hsl(var(--secondary));
    }
}