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("apclasses.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;
}


.comparison-section {
    max-width: 1300px;
    margin: 30px auto;
}

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

.comparison-card {
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border-color: #6304048f;
    border-width: 2px;
    border-style: solid;
}

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


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

.timeline-section {
    padding: 50px;
}

.timeline-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 30px;
    scroll-behavior: smooth;
    background: #efeded;
}

.timeline-container::-webkit-scrollbar {
    height: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #6304048f;
    border-radius: 20px;
}

.timeline-stage {
    min-width: 300px;
    background: #6304048f;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.timeline-stage h2 {
    text-align: center;
    margin-bottom: 20px;
}

.timeline-card {
    background: #efeded;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
}

/* Container for the FAQ */
.dropdown-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* Individual dropdown styling */
.dropdown-content {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    margin: 5px;
    padding: 15px;
    transition: all 0.3s ease;
    width: auto;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Style the question (Summary) */
.dropdown-content summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #630404;
    cursor: pointer;
    outline: none;
    list-style: none;
    /* Hides the default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom dropdown arrow */
.dropdown-content summary::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotates the arrow when the dropdown is open */
.dropdown-content[open] summary::after {
    transform: rotate(180deg);
}

/* The answer text */
.dropdown-content p {
    margin-top: 10px;
    color: #000000;
    line-height: 1.5;
    animation: fadeIn 0.4s ease-in-out;
}

/* Pop-in animation for the answer */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}