/* Hero Section */

#hero{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 48px;
}

#hero h1{
font-weight: 700;
font-size: 36px;
color: var(--primary-color);
animation: onload 0.6s ease-in-out forwards;
}

#hero p{
color: hsl(180 5% 45%);
font-size: 20px;
animation: onload 0.7s ease-in-out forwards;
}

/* Cards Section */

#cards .cards-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
padding: 16px 0;
padding-bottom: 32px;
}

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

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

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

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

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

#cards .card .info-list ul li a:nth-child(1),
#cards .card .info-list ul li a:nth-child(2),
#cards .card .info-list ul li a:nth-child(3) {
    animation: onload 1.3s ease-in-out forwards;
}

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

#cards .card .text2 h4:nth-child(1),
#cards .card .text2 h4:nth-child(2) {
    animation: onload 1.3s ease-in-out forwards;
}

#cards .card .tag2 span:nth-child(1),
#cards .card .tag2 span:nth-child(2) {
    animation: onload 1.3s ease-in-out forwards !important;
}

#cards .card .buttons .btn1:nth-child(1),
#cards .card .buttons .btn1:nth-child(2) {
    animation: onload 1.4s ease-in-out forwards !important;
}

#cards .card .buttons .btn2:nth-child(1),
#cards .card .buttons .btn2:nth-child(2) {
    animation: onload 1.4s ease-in-out forwards !important;
}

#cards .card {
padding: 24px;
border-radius: 12px;
background-color: #fff;
transition: transform 0.25s ease, box-shadow 0.25s ease;
transform: scale(1);
box-shadow: 0 6px 18px hsla(165, 75%, 25%, 0.25);
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

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

.card .tag{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}

.card .tag svg{
color: var(--primary-color) !important;
}

.card .tag button{
border: 0;
padding: 4px 10px;
margin-bottom: 8px;
border-radius: 5px;
font-size: 12px;
font-weight: 600;
background-color: hsl(175deg 60% 35% / 10%);
color: hsl(175 60% 35%);
cursor: text;
}

.card .title h3{
font-weight: 600;
font-size: 20px;
margin: 6px 0px;
}

.card .text p{
font-size: 16px;
color: hsl(180 5% 45%);
}

.card .info-list ul{
padding-left: 0;
line-height: 30px;
}

.card .info-list li{
list-style: none;
color: hsl(180 5% 15%);
}

.card .info-list li a{
color: hsl(180 5% 15%);
text-decoration: none;
}

.card .info-list li a:hover{
color: hsl(175 60% 35%);
}

.card .info-list li svg{
margin-right: 10px;
color: hsl(180 5% 45%);
height: 16px !important;
width: 16px !important;
}

.card .text2 h4{
font-weight: 700;
font-size: 14px;
margin-bottom: 10px;
}

.card .tag2{
line-height: 27px;
}

.card .tag2 span{
color: hsl(175 60% 25%);
font-size: 12px;
padding: 4px 8px;
background-color: hsl(175 40% 92%);
white-space: nowrap;
}

.card .buttons{
gap: 8px;
padding-top: 8px;
margin-top: 16px;
display: flex;
justify-content: center;
align-items: center;
}

.card .buttons .btn1{
font-weight: 500;
font-size: 14px;
padding: 6px 12px;
border-radius: 11px;
border: 0.1px solid;
border-color: hsl(180 10% 88%);
background: var(--hero-gradient);
color: hsl(0 0% 100%);
flex-grow: 1;
}

.card .buttons .btn1:hover{
background: var(--hero-gradient-hover);
}

.card .buttons .btn2{
font-weight: 500;
font-size: 14px;
padding: 6px 12px;
border-radius: 11px;
border: 0.1px solid;
border-color: hsl(180 10% 88%);
background-color: transparent;
}

.card .buttons .btn2:hover{
color: hsl(175 60% 25%);
background-color: hsl(175 40% 92%);
}

/* Contact Section */

#contact .container{
background: var(--hero-gradient);
padding: 24px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: start;
border-radius: 11px;
margin-bottom: 50px;
}

#contact .container h3{
color: #fff;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#contact .container p{
color: #fff;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#contact .container .btn{
color: #000;
background-color: #eead2b;
border-radius: 11px;
padding: 8px 16px;
animation: appear ease-in-out;
animation-timeline: view();
animation-range: entry 0% cover 30%;
}

#contact .container .btn:hover{
background-color: hsl(40deg 85% 55% / 80%);
}

/* Media Query */

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