/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: #1d4ed8;
}

.navbar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links:hover {
    color: #2563eb;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #4b5563;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Top Section / Hero */
.top {
    padding-top: 6rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.top .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.top h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.top p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.top-buttons {
    display: flex;
    gap: 1rem;
}

.top-clickable {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-clickable:first-child {
    background-color: #2563eb;
    color: white;
}

.top-clickable:first-child:hover {
    background-color: #1d4ed8;
}

.top-clickable:last-child {
    border: 2px solid #2563eb;
    color: #2563eb;
}

.top-clickable:last-child:hover {
    background-color: #f0f9ff;
}

.top-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Courses Section */
.courses {
    padding: 5rem 0;
    background-color: #ffffff;
}

.courses h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
}

.courses .para {
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.course-icon {
    padding: 2rem;
}

.course-icon h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.course-icon p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.course-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: #1d4ed8;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #f3f4f6;
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials .para {
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-card blockquote p {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
}

.testimonial-card img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: #1f2937;
    display: block;
}

.testimonial-card span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    padding: 3rem 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 1rem;
    }

    .navbar ul.active {
        display: flex;
    }

    .top .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .top h1 {
        font-size: 2.5rem;
    }

    .top-buttons {
        justify-content: center;
    }

    .course-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}
