:root {
    --primary-color: #0f1a2c;
    --secondary-color: #f6ac0f;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --extra-light: #f8fafc;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Playfair Display", serif;
}

.img2,
video {
  width: 100%;
  display: flex;
}
.about2 {
    position: relative;
    isolation: isolate;
}

.about2::before {
    position: absolute;
    content: "";
    bottom: 0;
    right: 0;
    height: 75%;
    width: 100%;
    background-image: url("../image/Launch5.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
}

.about__container2 {
    display: grid;
    gap: 4rem 2rem;
}

.about__grid2 {
    display: grid;
    gap: 1rem;
}

.about__card2 {
    height: 100%;
    padding: 2rem;
    display: grid;
    place-content: center;
    text-align: center;
}

.about__card2 span {
    margin-bottom: 1rem;
    font-size: 3rem;
    color: var(--secondary-color);
}

.about__card2 h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--header-font);
    color: var(--text-dark);
}

.about__card2 p {
    color: var(--text-light);
}

.about__card2:nth-child(4) {
    background-color: #617259;;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__card2:nth-child(4) :is(h4, p) {
    color: var(--white);
}

.about__image2 img {
    height: 100%;
    object-fit: cover;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.about__content2 .section__description {
    margin-bottom: 2rem;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
    margin-top: 60px;
}

.section__subheader {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.section__header {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--header-font);
    color: var(--text-dark);
}

.section__description {
    margin-top: 1rem;
    color: var(--text-light);
}

.btn2 {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--secondary-color);
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.section__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section__nav span {
    padding: 10px 15px;
    font-size: 1.25rem;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.section__nav span:hover {
    background-color: var(--secondary-color);
}



@media (width > 480px) {
    .about__grid2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__image2:nth-child(1) {
        grid-area: 1/2/2/3;
    }

    .about__image2:nth-child(1),
    .about__card2:nth-child(4) {
        transform: translateY(2rem);
    }
}

@media (width > 768px) {
    .about2::before {
        height: 75%;
        width: 75%;
    }

    .about__container2 {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }


}


@media (width > 1024px) {
    .about__grid2 {
        gap: 2rem;
    }


}