@import url(/public/css/main.css);

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background: linear-gradient(to right, rgba(65, 105, 225, 0.1), rgba(128, 0, 128, 0.1));
    flex-wrap: wrap;
}

.hero-text {
    max-width: 550px;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: royalblue;
}

.hero-text p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.hero-text button {
    background: linear-gradient(90deg, royalblue, purple);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.hero-text button:hover {
    background: purple;
}

.hero img {
    width: 400px;
    max-width: 100%;
    border-radius: 15px;
    margin-top: 20px;
}

/* ===== About ===== */
.about {
    text-align: center;
    padding: 80px 10%;
    background: white;
}

.about h2 {
    color: royalblue;
    margin-bottom: 20px;
}

/* ===== Courses ===== */
.courses {
    text-align: center;
    padding: 60px 10%;
}

.courses h2 {
    color: purple;
    margin-bottom: 25px;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.course {
    background: white;
    width: 280px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.course:hover {
    transform: translateY(-5px);
}

.course img {
    width: 100%;
    border-radius: 10px;
}

/* ===== Reviews ===== */
.reviews {
    background: #f2f2f2;
    text-align: center;
    padding: 80px 10%;
}

.reviews h2 {
    color: royalblue;
    margin-bottom: 20px;
}

.review {
    background: white;
    border-radius: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 15px auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.review img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin-bottom: 10px;
}

.reviews button {
    margin-top: 25px;
    background: linear-gradient(90deg, royalblue, purple);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
}

/* ===== Info Sections ===== */
.info-section {
    padding: 60px 10%;
}

.info-section h2 {
    color: purple;
    margin-bottom: 10px;
}

.info-section ul,
.info-section p {
    margin-bottom: 15px;
}

/* ===== Contact ===== */
.info-section a {
    color: royalblue;
    text-decoration: none;
}