/* =========================================================
   ABOUT SECTION
========================================================= */

.about {
    position: relative;

    width: 100%;
    min-height: 100vh;

    padding: 120px 6% 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    color: #ffffff;
}


/* =========================================================
   ABOUT CONTAINER
========================================================= */

.about-container {
    position: relative;

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
}


/* =========================================================
   ABOUT CONTENT
========================================================= */

.about-content {
    position: relative;

    width: 100%;

    padding: 55px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 0 30px rgba(255, 255, 255, 0.015);

}


/* =========================================================
   GRADIENT BORDER
========================================================= */

.about-content::before {

    content: "";

    position: absolute;

    inset: 0;

    padding: 1px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 191, 255, 0.55),
            transparent 35%,
            transparent 65%,
            rgba(123, 77, 255, 0.45)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}


/* =========================================================
   DECORATIVE GLOW
========================================================= */

.about-content::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -160px;
    right: -120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 191, 255, 0.13),
            transparent 70%
        );

    filter: blur(20px);

    pointer-events: none;
}


/* =========================================================
   HEADING
========================================================= */

.about-heading {
    position: relative;

    z-index: 2;

    text-align: center;

    margin-bottom: 35px;
}


.about-label {

    display: inline-block;

    margin-bottom: 12px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    color: #00cfff;

    text-shadow:
        0 0 12px rgba(0, 207, 255, 0.65);
}


.about-heading h2 {

    margin: 0;

    font-size: 3.2rem;

    line-height: 1.1;

    font-weight: 800;

    color: #ffffff;

    text-shadow:
        0 0 12px rgba(0, 191, 255, 0.65),
        0 0 30px rgba(0, 191, 255, 0.25);
}


.about-heading h3 {

    margin: 15px 0 0;

    font-size: 1.25rem;

    font-weight: 600;

    color: #5acd71;
}


/* =========================================================
   ABOUT TEXT
========================================================= */

.about-text {

    position: relative;

    z-index: 2;

    max-width: 1050px;

    margin: 0 auto 40px;
}


.about-text p {

    margin: 0 0 20px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;

    line-height: 1.85;

    font-weight: 400;

    text-align: center;
}


.about-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ABOUT CARDS
========================================================= */

.about-cards {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 40px;
}


/* =========================================================
   CARD
========================================================= */

.card {

    position: relative;

    min-height: 155px;

    padding: 25px 20px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid rgba(255, 255, 255, 0.11);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   CARD HOVER
========================================================= */

.card:hover {

    transform:
        translateY(-7px);

    background:
        rgba(0, 191, 255, 0.07);

    border-color:
        rgba(0, 191, 255, 0.45);

    box-shadow:
        0 0 20px rgba(0, 191, 255, 0.22);
}


/* =========================================================
   CARD NUMBER
========================================================= */

.card-number {

    display: block;

    margin-bottom: 18px;

    color:
        rgba(0, 207, 255, 0.65);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.card h4 {

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;
}


/* =========================================================
   CARD MAIN TEXT
========================================================= */

.card p {

    margin: 0 0 5px;

    color: #00cfff;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   CARD SUBTEXT
========================================================= */

.card small {

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   TECHNOLOGY TAGS
========================================================= */

.about-stack {

    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

    margin-top: 35px;
}


.about-stack span {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 15px;

    border-radius: 50px;

    color: #7edfff;

    background:
        rgba(0, 191, 255, 0.08);

    border:
        1px solid rgba(0, 191, 255, 0.28);

    font-size: 12px;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.about-stack span:hover {

    transform:
        translateY(-3px);

    background:
        rgba(0, 191, 255, 0.16);

    border-color:
        rgba(0, 207, 255, 0.65);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.about-content > * {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.about.show .about-content > * {

    opacity: 1;

    transform:
        translateY(0);
}


.about.show .about-heading {
    transition-delay: 0.1s;
}


.about.show .about-text {
    transition-delay: 0.25s;
}


.about.show .about-cards {
    transition-delay: 0.4s;
}


.about.show .about-stack {
    transition-delay: 0.55s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .about {

        padding:
            100px 30px 80px;
    }


    .about-content {

        padding:
            45px 35px;
    }


    .about-cards {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .about {

        padding:
            80px 15px 60px;
    }


    .about-content {

        padding:
            35px 20px;

        border-radius: 24px;
    }


    .about-heading h2 {

        font-size:
            2.35rem;
    }


    .about-heading h3 {

        font-size:
            1rem;

        line-height:
            1.5;
    }


    .about-label {

        font-size:
            11px;

        letter-spacing:
            3px;
    }


    .about-text p {

        font-size:
            14px;

        line-height:
            1.75;

        text-align:
            left;
    }


    .about-cards {

        grid-template-columns:
            1fr;

        gap:
            14px;
    }


    .card {

        min-height:
            135px;
    }


    .about-stack {

        justify-content:
            flex-start;
    }


    .about-stack span {

        font-size:
            11px;

        padding:
            7px 12px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .about-content {

        padding:
            30px 17px;
    }


    .about-heading h2 {

        font-size:
            2rem;
    }


    .about-text p {

        font-size:
            13px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-content > *,
    .card,
    .about-stack span {

        transition:
            none;
    }
}