/* Hero Section */

#hero{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #1b8a6e;
}

#hero h1{
color: var(--text-light);
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
animation: onload 0.6s ease-in-out forwards;
}

#hero p{
color: var(--text-light);
max-width: 613px;
font-size: 20px;
animation: onload 0.8s ease-in-out forwards;
}

/* Cards Section */

.container-fluid{
background-color: #f7f5f2;
}

#cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
margin: 0 auto;
padding: 64px 16px;
background-color: #f7f5f2;
}

@keyframes onload-no-scale {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#cards .card:nth-child(1),
#cards .card:nth-child(2) {
    animation: onload-no-scale 0.6s ease-in-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cards .card:nth-child(1):hover,
#cards .card:nth-child(2):hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px hsla(165, 75%, 25%, 0.35);
}

/* Inner elements staggered animation for first two cards */
#cards .card:nth-child(1) .icon-circle,
#cards .card:nth-child(2) .icon-circle {
    animation: onload2 0.7s ease-in-out forwards;
}

#cards .card:nth-child(1) .title,
#cards .card:nth-child(2) .title {
    animation: onload2 0.8s ease-in-out forwards;
}

#cards .card:nth-child(1) .price-tag .tag,
#cards .card:nth-child(2) .price-tag .tag {
    animation: onload2 0.9s ease-in-out forwards;
}

#cards .card:nth-child(1) .price-tag .price,
#cards .card:nth-child(2) .price-tag .price {
    animation: onload2 0.9s ease-in-out forwards;
}

#cards .card:nth-child(1) .desc,
#cards .card:nth-child(2) .desc {
    animation: onload2 1.0s ease-in-out forwards;
}

#cards .card:nth-child(1) .info-list li,
#cards .card:nth-child(2) .info-list li {
    animation: onload2 1.1s ease-in-out forwards;
}

#cards .card:nth-child(1) .enroll-btn,
#cards .card:nth-child(2) .enroll-btn {
    animation: onload2 1.1s ease-in-out forwards;
}

/* Base card styling */
#cards .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform: scale(1);
    box-shadow: 0 6px 18px hsla(165, 75%, 25%, 0.25);
    border-radius: 11px;
    animation: appear ease-in-out;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

/* Hover effect for all cards */
#cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px hsla(165, 75%, 25%, 0.35);
}

#cards .card .price-tag{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}

.tag{
background-color: var(--background-low-light);
color: var(--secondary-color);
padding: 4px 12px;
font-size: 14px;
border-radius: 17px;
}

.price{
font-size: 24px;
font-weight: 700;
color: var(--primary-color);
}

#cards .card .description{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

#cards .card .description h3{
width: 100%;
text-align: start;
font-weight: 600;
font-size: 24px;
color: var(--primary-color);
}

#cards .card .description p{
color: var(--text-mute);
width: 100%;
margin-bottom: 20px;
}

#cards .card .info{
display: flex;
justify-content: start;
gap: 20px;
align-items: center;
width: 100%;
color: var(--text-mute);
margin-bottom: 24px;
gap: 30px;
}

#cards .card .info span{
gap: 9px;
display: flex;
align-items: center;
}

#cards .card .info-list{
width: 100%;
margin-bottom: 9px;
}

#cards .card .info-list ul{
padding: 0;
gap: 10px;
display: flex;
flex-direction: column;
}

#cards .card .info-list ul li{
display: flex;
gap: 10px;
list-style: none;
font-size: 14px;
}

#cards .card svg{
color: var(--secondary-color);
}

#cards .card .buttons{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}

#cards .card .buttons .enrollment{
width: 100%;
color: var(--text-light);
background: var(--hero-gradient);
border-radius: 10px;
padding: 8px 16px;
outline: none;
box-shadow: none;
}

#cards .card .buttons .enrollment:hover{
background: var(--hero-gradient-hover);
}

#cards .card .buttons .demo{
width: 100%;
color: var(--primary-color);
background-color: var(--background-low-light);
border-radius: 10px;
padding: 8px 16px;
border: 0.1px solid #ccc;
outline: none;
box-shadow: none;
}

#cards .card .buttons .demo:hover{
background-color: var(--secondary-color);
}

/* Guide Section */

#guide{
background-color: #ebe6e0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding-top: 64px;
padding-bottom: 64px;
}

#guide svg{
color: var(--primary-color);
margin-bottom: 16px !important;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#guide h2{
color: var(--primary-color);
font-size: 30px;
font-weight: 700;
margin-bottom: 16px;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#guide p{
color: var(--text-mute);
margin-bottom: 24px;
max-width: 576px;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#guide .guide-btn{
color: var(--text-light);
background-color: var(--secondary-color);
padding: 10px 22px;
font-weight: 500;
font-size: 14.5px;
border-radius: 11px;
outline: none;
box-shadow: none;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#guide .guide-btn:hover{
background-color: var(--dark-secondary-color);
}

/* Media Query */


@media (max-width: 1024px) {
#cards {
grid-template-columns: 1fr;
}
}
