.card-section{
    background-color: var(--color-bg-1);
    margin-bottom: 6rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.card-section .section-header{
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 4rem;
}

.section-tag{
    font-family: var(--font-body);
    color: var(--accent-color);
    font-weight: var(--light);
    font-size: var(--text-label);
    letter-spacing: var(--label-spacing);
    line-height: var(--heading-height);
}

.card-section h2,
.image-section h2{
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: var(--semibold);
    font-size: var(--text-heading);
    line-height: 1.1;
    letter-spacing: var(--title-letter-spacing);
}

.section-header p{
    font-family: var(--font-body);
    font-size: var(--text-subheading);
    font-weight: var(--regular);
    line-height: var(--subheading-height);
    letter-spacing: var(--regular-spacing);
    color: var(--secondary-color);
    max-width: 52ch;
    text-align: center;
    margin: 0;
}

.thirdHeader{
    max-width: 24ch;
    text-align: center;
}

.section-header h1{
    font-family: var(--font-heading);
    font-weight: var(--semibold);
    font-size: var(--text-heading);
    letter-spacing: var(--title-letter-spacing);
    line-height: 1.1;
    margin: 0;
}
/* Card */

.cards{
    width: 100%;
}

.card{
    display: flex;
    justify-content: center;
}

.card__inner{
    display: flex;
    align-items: center;
    background-color: var(--color-bg-1);
    border-radius: 12px;
    overflow: hidden;
    width: min(1000px, 100%);
    height: 500px;
    padding: 40px 60px;
    gap: 75px;
    will-change: transform;
    transform-origin: center top;
    border: 1px solid var(--accent-color);
}

.exp-content{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.exp-label{
    font-size: var(--button-text);
    font-family: var(--font-body);
    font-style: italic;
    line-height: var(--heading-height);
    letter-spacing: var(--label-spacing);
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.exp-body{
    font-size: var(--text-subheading);
    font-family: var(--font-body);
    font-weight: var(--regular);
    line-height: var(--subheading-height);
    letter-spacing: var(--label-spacing);
    color: var(--secondary-color);
    margin-bottom: 6rem;
}

.exp-title{
    font-size: var(--cta-text);
    font-family: var(--font-heading);
    font-weight: var(--semibold);
    line-height: var(--heading-height);
    letter-spacing: var(--hero-letter);
    color: var(--primary-color);
}

.exp-image{
    width: 340px;
    align-self: center;
    flex-shrink: 0;
    height: 100%;
}

.exp-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
.card-section h1,
.card-section h2 {
    font-size: 32px;
    letter-spacing: normal;
}

.card-section .section-header{
    gap: 0.5rem;
}

.section-header p {
    font-size: var(--text-label);
    max-width: 90%;
}

h1{
    font-size: var( --text-mobile-heading);
}

.card__inner {
    flex-direction: column;
    height: auto;
    padding: 0;
    gap: 32px;
    border-radius: 12px;
    width: 90%;
}

.card:not(:last-child) {
    margin-bottom: 48px;
}


.exp-image {
    width: 100%;
    height: 200px;
    order: -1;
}

.exp-image img {
    border-radius: 12px 12px 0 0;
    object-position: center;
    object-fit: cover;
}

.exp-content {
    padding: 0 24px 32px;
}

.exp-body {
    margin-bottom: 1.5rem;
    font-size: var(--text-label);
}

.exp-title {
    font-size: 32px;
}
}