/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* White background */
    color: #333; /* Dark gray text */
    line-height: 1.6;
}

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

/* Navigation Bar */
.navbar {
    position: fixed;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
}

.navbar nav {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link {
    color: #007bff; /* Accent color - blue */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0056b3; /* Darker blue on hover */
}

/* Hero Section */
.hero-section {
    padding: 60px 20px; /* Reduced padding */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Reduced minimum height */
    background-color: #f8f8f8;
}

.hero-content {
    max-width: 800px;
}

.instructor-photo {
    width: 300px;
    height: 300px;
    border-radius: 95%;
    object-fit: cover;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #333;
}

.hero-section .subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.hero-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #623CEA; /* Accent color */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #623CEA; /* Darker blue on hover */
    transform: translateY(-2px);
}

.social-icons {
    margin-top: 30px;
}

.social-icon {
    color: #623CEA;
    font-size: 1.5em;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #623CEA;
}

/* Courses Section */
.courses-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.courses-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center; /* Centered text and inline-block elements */
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.course-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.contact-section a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar nav {
        flex-direction: column;
    }

    .nav-link {
        margin: 10px 0;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section .subtitle {
        font-size: 1em;
    }

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