/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ecf0f1;
    color: #34495e;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a3a5a;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

header a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.welcome-section {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #ecf0f1;
}

.highlight {
    color: #3498db;
    font-weight: 600;
}

.courses-section {
    margin-top: 30px;
    transition: all 0.3s;
}

.collapsible {
    cursor: pointer;
    padding: 20px;
    font-size: 1.2em;
    background-color: #ecf0f1;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.collapsible:hover {
    background-color: #e0e6ed;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.collapsible::after {
    content: '\002B';
    font-size: 1.5em;
    color: #3498db;
    transition: transform 0.3s;
}

.collapsible.active::after {
    content: '\2212';
    transform: rotate(180deg);
}

.button-group {
    display: none;
    padding: 15px 0;
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.button {
    display: block;
    margin: 10px 0;
    padding: 15px;
    background-color: #3498db;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    clip-path: circle(30% at 70% 70%);
    opacity: 0.15;
    z-index: -1;
    animation: bgMove 15s infinite alternate ease-in-out;
}

.about-me-button {
    display: block;
    margin: 30px auto 10px;
    padding: 15px 30px;
    background-color: #3498db;
    color: white;
    text-align: center;
    border-radius: 50px;
    border: none;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.about-me-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.about-me-button a {
    color: white;
    text-decoration: none;
}

@keyframes bgMove {
    0% { clip-path: circle(30% at 70% 70%); }
    50% { clip-path: circle(40% at 30% 30%); }
    100% { clip-path: circle(35% at 50% 50%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 30px;
    }

    header h1 {
        font-size: 2em;
    }

    .collapsible {
        font-size: 1.1em;
        padding: 15px;
    }

    .button {
        padding: 12px;
    }

    .about-me-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* Additional Enhancements */
.section-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.course-description {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 5px;
}

.button-icon {
    margin-right: 10px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
    color: #7f8c8d;
    font-size: 0.9em;
    background-color: #f9f9f9;
    padding: 20px 0;
    border-radius: 0 0 20px 20px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #3498db;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
}

/* Enhanced Color Scheme */
body {
    background-color: #ecf0f1;
    color: #34495e;
}

.highlight, header a {
    color: #16a085;
}

.button, .about-me-button {
    background-color: #16a085;
}

.button:hover, .about-me-button:hover {
    background-color: #f39c12;
}

.background-animation {
    background: linear-gradient(135deg, #34495e, #16a085);
}

/* Additional Animations */
.container {
    animation: fadeIn 1s ease-in;
}

.collapsible {
    transition: all 0.3s ease;
}

.button-group {
    animation: slideDown 0.5s ease-in-out;
}

.button {
    transition: all 0.3s ease;
}

.about-me-button {
    transition: all 0.3s ease;
}

.footer {
    animation: fadeIn 1s ease-in;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    margin-top: 20px;
    color: #e74c3c;
    font-size: 1.2em;
    font-weight: 600;
    animation: fadeIn 1s ease-in;
}
