:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: rgba(255, 255, 255, 0.9);
    --dark-text: #2c3e50;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    color: var(--dark-text);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-animation {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9));
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    animation: headerEntrance 1s ease-out;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input {
    width: 100%;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    pointer-events: none;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.course-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    min-height: 180px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.semester-tag {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

.footer {
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    background: var(--primary-color);
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes headerEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        padding: 1rem 2rem;
    }
    
    .container {
        margin: 1rem;
        padding: 1rem;
    }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 1rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}*/

.developer-info {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.developer-info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    /*color: var(--accent-color);*/
    color: var(--secondary-color);
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    /*background: var(--accent-color);*/
    background: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.social-link:hover::after {
    width: 100%;
    left: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-link {
        font-size: 1.2rem;
    }
}
