/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

h1, h2, h3, h4 {
    color: #6A0DAD;
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1500x600') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-box input {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-box button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #FFD700;
    color: white;
    cursor: pointer;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    padding: 40px 20px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step i {
    font-size: 40px;
    color: #6A0DAD;
}

.step h3 {
    margin: 20px 0 10px;
}

.step p {
    color: #555;
}

/* Featured Tutors & Students Section */
.featured {
    padding: 40px 20px;
    background-color: #F9F9F9;
    text-align: center;
}

.featured-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-item {
    flex: 1;
    max-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.featured-item img {
    max-width: 100%;
    border-radius: 10px;
}

.featured-item h3 {
    margin: 10px 0;
}

.featured-item p {
    color: #888;
}

.featured-item .btn {
    background-color: #6A0DAD;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

/* Testimonials Section */
.testimonials {
    padding: 40px 20px;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: auto;
}

.testimonial-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-item p {
    font-style: italic;
}

.testimonial-item h4 {
    margin-top: 10px;
    color: #6A0DAD;
}

/* Footer Styles */
footer {
    background-color: #F1F1F1;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    max-width: 200px;
    margin: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #6A0DAD;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #333;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #666;
}


/* Courses & Categories Section */
.courses {
    padding: 40px 20px;
    text-align: center;
    background-color: #F9F9F9;
}

.courses h2 {
    margin-bottom: 30px;
    color: #6A0DAD;
}

.courses-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.course-item {
    flex: 1;
    max-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.course-item img {
    max-width: 100%;
    border-radius: 10px;
}

.course-item h3 {
    margin: 10px 0;
    color: #6A0DAD;
}

.course-item p {
    color: #555;
}

