body {
    margin: 0;
    font-family: "Alice", serif;
    background: #efeded;
}

h1 {
    text-align: center;
    font-size: 45px;
}

p,
h4,
h2 {
    text-align: center;
}

a {
    text-decoration: none;
}

.hr {
    border: none;
    height: 4px;
    background: #d0d0dd;
    margin: 40px auto;
    width: 90%;
    border-radius: 10px;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: url("courses.webp") no-repeat center center; 
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40vh;
    color: rgba(0, 0, 0);
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.3rem;
    font-family: "Inter", sans-serif;
    opacity: 0.9;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 5rem;
}

.hero-text {
    animation: bounceUp 2s ease-out;
    color: white;
    font-weight: 300;
}

@keyframes bounceUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    60% {
        opacity: 1;
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

.overlay {
    padding: 120px 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.content-text {
    flex: 2;
    text-align: left;
}

.content-text h1 {
    margin-bottom: 20px;
}

.content-text p {
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
}

.content-button {
    flex: 1;
    display: flex;
    justify-content: center;
}

.content-button a {
    font-weight: 10px;
    text-align: center;
}

.content-btn {
    padding: 60px 40px;
    background: #6304048f;
    color: black;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s ease;
    border: 2px solid #ffffff;
    border-radius: 30px;
}

.content-btn:hover {
    background: #8e24248f;
}

.legend {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.legend h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    margin: 5px 15px;
    font-size: 16px;
    color: #555;
}

.course-list {
    padding: 40px;
    position: relative;
}

.course-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 20px;;
}

.course-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.course-track::-webkit-scrollbar {
    display: none;
}

.course-card {
    max-width: 300px;
    min-height: 350px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
}

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

.course-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
}

.course-card h2 {
    margin-top: 65px;
    text-align: center;
}

.course-card p {
    text-align: center;
    color: #000000;
}

.left-btn,
.right-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #6304048f;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
    z-index: 10;
    border: 2px solid white;
}

.left-btn:hover,
.right-btn:hover {
    background: #8e24248f;
}

.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}

.comparison-section,
.recommendations,
.courses-cta {
    max-width: 1100px;
    margin: 30px auto;
}

.comparison-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.comparison-card {
    background: white;
    padding: 30px;

    width: 400px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    transition: 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-8px);
}

.honors {
    border-top: 6px solid gold;
}

.ap {
    border-top: 6px solid #33f350;
}

.comparison-card h2 {
    text-align: center;
}

.comparison-card ul {
    padding-left: 25px;
}

.comparison-card li {
    margin-bottom: 10px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-right: 20px;
    margin-left: 20px;
}

.recommendation-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.recommendation-card h3 {
    margin-bottom: 10px;
}

.courses-cta {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #6304048f;
    color: black;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #8e24248f;
}
