/* 
* TechVanguard - About Page Stylesheet
* Extension of styles.css
* Version 1.0
*/

/* =================== YELLOW CIRCLE =================== */
.yellow-circle {
    position: absolute;
    background: radial-gradient(circle, #FADE83 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(7.8125vw);
    z-index: 0;
    opacity: 0.6;
}

.about-circle-1 {
    width: 62.5vw;
    height: 62.5vw;
    top: 0;
    right: -10%;
}

.about-circle-2 {
    width: 62.5vw;
    height: 62.5vw;
    top: 25%;
    left: -40%;
}

.about-circle-3 {
    width: 57.2917vw;
    height: 57.2917vw;
    bottom: 32%;
    left: -10%;
    transform: translateX(-50%);
    opacity: 0.4;
}

/* =================== ABOUT HERO SECTION =================== */
.about-hero {
    min-height: 100vh;
    padding-top: 6.25vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-title {
    font-family: 'Nasalization', sans-serif;
    font-size: 3.3333vw;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1.5625vw;
    text-align: center;
    letter-spacing: 0.4em;
}

/* ANIMATION CHO CÁC CHỮ */
.letter {
    display: inline-block;
    opacity: 0;
    animation: slideIn 1s ease-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.letter.left {
    transform: translateX(-52.0833vw);
}

.letter.right {
    transform: translateX(52.0833vw);
}

@keyframes slideIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-intro {
    max-width: 46.875vw;
    margin: 0 auto;
    text-align: center;
}

/* =================== INTRODUCTION SECTION =================== */
.introduction {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.introduction p {
    max-width: 41.6667vw;
    margin: 0 auto;
    text-align: center;
    font-weight: var(--fw-medium);
    font-size: 0.8333vw;
    opacity: 0.6;
}

.introduction-text {
    padding-bottom: 10.4167vw;
}

.introduction-content {
    display: flex;
    flex-direction: column;
    gap: 5.2083vw;
}

.introduction-content-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5.2083vw;
}

.introduction-image {
    border: 0.1042vw solid var(--color-white-with-opacity);
    width: 30.6771vw;
    height: 24.7917vw;
    background-color: transparent;
    border-radius: 1.0417vw;
    overflow: hidden;
}

.introduction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 50%;
}

.row-2 .introduction-image img {
    object-position: 34% 50%;
}

.row-3 .introduction-image img {
    object-position: 30% 50%;
}

.introduction-cards {
    width: 29.6875vw;
    height: 8.8542vw;
}

.introduction-card h3 {
    text-align: left;
    padding-bottom: 0.8854vw;
}

.introduction-card p {
    text-align: left;
    font-weight: var(--fw-regular);
    color: var(--color-gray);
    opacity: 1;
}

.introduction-card ul {
    padding-top: 0.1563vw;
    list-style-type: disc;
    text-align: left;
    padding-left: 1.0417vw;
}

.introduction-card li {
    margin-bottom: 0.1042vw;
    font-weight: var(--fw-regular);
    color: var(--color-gray);
    opacity: 1;
    line-height: 1.5;
    font-size: 0.8333vw;
}

/* =================== COMPETITIVE ADVANTAGE SECTION =================== */
.competitive {
    position: relative;
    min-height: 41.6667vw;
}

.competitive .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.0417vw;
}

.competitive-column {
    flex: 1;
    min-width: 15.625vw;
}

.competitive .circle {
    position: relative;
    width: 41.6667vw;
    height: 41.6667vw;
    left: 25%;
    top: 50%;
    transform: translate(-10%, -50%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 3.125vw;
    background: transparent;
    z-index: 0;
    border: none;
    border-right: 0.2083vw solid var(--color-white-with-opacity);
    transition: border 0.3s ease;
}

.competitive .circle-2 {
    position: absolute;
    width: 41.6667vw;
    height: 41.6667vw;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

.competitive h2 {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--color-white);
    margin-bottom: 1.0417vw;
    margin-top: 4.1667vw;
    align-items: center;
}

.competitive .circle-2 p {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 23.4375vw;
    margin: 0;
    font-weight: 250;
    font-size: 0.8333vw;
    opacity: 0.9;
    color: var(--color-gray);
    align-items: center;
    padding-left: 1.5625vw;
}

.dot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.625vw;
    height: 0.625vw;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.dot {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 0.625vw;
    height: 0.625vw;
    top: 50%;
    left: 50%;
    opacity: 0.7;
    transform-origin: center;
}

.dot:nth-child(2) {
    width: 1.3542vw;
    height: 1.3542vw;
    transform: rotate(0deg) translate(20.2083vw) rotate(0deg);
}

.dot:nth-child(3) {
    width: 1.25vw;
    height: 1.25vw;
    transform: rotate(22.5deg) translate(19.8958vw) rotate(-22.5deg);
}

.dot:nth-child(4) {
    width: 1.0417vw;
    height: 1.0417vw;
    transform: rotate(45deg) translate(20.1563vw) rotate(-45deg);
}

.dot:nth-child(5) {
    opacity: 0;
    transform: rotate(67.5deg) translate(20.8333vw) rotate(-67.5deg);
}

.dot:nth-child(6) {
    opacity: 0;
    transform: rotate(90deg) translate(20.8333vw) rotate(-90deg);
}

.dot:nth-child(7) {
    opacity: 0;
    transform: rotate(112.5deg) translate(20.8333vw) rotate(-112.5deg);
}

.dot:nth-child(8) {
    opacity: 0;
    transform: rotate(135deg) translate(20.8333vw) rotate(-135deg);
}

.dot:nth-child(9) {
    opacity: 0;
    transform: rotate(157.5deg) translate(20.8333vw) rotate(-157.5deg);
}

.dot:nth-child(10) {
    opacity: 0;
    transform: rotate(180deg) translate(20.8333vw) rotate(-180deg);
}

.dot:nth-child(11) {
    opacity: 0;
    transform: rotate(202.5deg) translate(20.8333vw) rotate(-202.5deg);
}

.dot:nth-child(12) {
    opacity: 0;
    transform: rotate(225deg) translate(20.8333vw) rotate(-225deg);
}

.dot:nth-child(13) {
    opacity: 0;
    transform: rotate(247.5deg) translate(20.8333vw) rotate(-247.5deg);
}

.dot:nth-child(14) {
    opacity: 0;
    transform: rotate(270deg) translate(20.8333vw) rotate(-270deg);
}

.dot:nth-child(15) {
    opacity: 0;
    transform: rotate(292.5deg) translate(20.8333vw) rotate(-292.5deg);
}

.dot:nth-child(16) {
    width: 1.5625vw;
    height: 1.5625vw;
    transform: rotate(315deg) translate(20.8333vw) rotate(-315deg);
}

.dot:nth-child(17) {
    width: 1.4583vw;
    height: 1.4583vw;
    transform: rotate(337.5deg) translate(20.5208vw) rotate(-337.5deg);
}

.competitive-cards {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 4.1667vw;
}

.competitive-card h3 {
    text-align: left;
}

.competitive-card p {
    text-align: left;
    max-width: 18.2292vw;
    margin: 0;
    font-weight: 200;
    font-size: 0.6771vw;
    opacity: 0.9;
    color: var(--color-gray);
    align-items: center;
}

.competitive-card .competitive-card-text {
    font-weight: 200;
    font-size: 0.625vw;
    opacity: 0.5;
    text-align: left;
}

.competitive-card:nth-child(1) {
    margin-bottom: 2.6042vw;
    margin-left: 5.2083vw;
}

.competitive-card:nth-child(2) {
    margin-bottom: 3.6458vw;
    margin-left: 13.0208vw;
}

.competitive-card:nth-child(3) {
    margin-bottom: 3.6458vw;
    margin-left: 18.2292vw;
}

.competitive-card:nth-child(4) {
    margin-bottom: 2.6042vw;
    margin-left: 13.0208vw;
}

.competitive-card:nth-child(5) {
    margin-left: 5.2083vw;
}

/* =================== CLIENT TESTIMONIALS SECTION =================== */
.testimonials {
    padding: 3.125vw 0;
    position: relative;
    min-height: 41.6667vw;
    margin-top: 3.6458vw;
}

.testimonials h2 {
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--color-white);
    margin-bottom: 5.2083vw;
    margin-top: 3.125vw;
    align-items: center;
}

.testimonial-cards {
    display: flex;
    gap: 3.125vw;
    padding: 0.7813vw;
}

.testimonial-cards:nth-child(1) {
    justify-content: flex-start;
}

.testimonial-cards:nth-child(2) {
    justify-content: flex-end;
}

.testimonial-card-author,
.testimonial-card-author-2 {
    border-radius: 2.0833vw;
    width: 24.4792vw;
    height: 10.4167vw;
    padding: 1.5625vw;
    display: flex;
    align-items: center;
    background: var(--gradient-2);
    border: 0.1042vw solid var(--color-border-light);
    border-top: none;
    border-left: none;
    border-bottom: none;
}

.testimonial-card-author-2 {
    background: var(--gradient-1);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.testimonial-card-author p {
    margin: 0;
    padding-left: 2.0833vw;
    width: 70%;
    text-align: left;
    font-size: 0.9375vw;
    font-family: 'Nasalization', sans-serif;
    color: var(--color-white);
    font-weight: 400;
}

.testimonial-card-author-2 p {
    margin: 0;
    width: 100%;
    text-align: right;
    font-size: 0.9375vw;
    font-family: 'Nasalization', sans-serif;
    color: var(--color-white);
    font-weight: 400;
}

.testimonial-card-text p {
    margin: 0;
    text-align: left;
    font-size: var(--text-small);
    font-weight: 400;
}

.testimonial-card-text-2 p {
    margin: 0;
    text-align: right;
    font-size: var(--text-small);
    font-weight: 400;
}

.testimonial-card-text,
.testimonial-card-text-2 {
    border-radius: 2.0833vw;
    width: 28.6458vw;
    height: 10.4167vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.testimonial-card-text {
    border-right: 0.1042vw solid var(--color-border-light);
    border-bottom: 0.1042vw solid #DFCA8460;
    border-top: 0.1042vw solid #DFCA8460;
    border-left: 0.1042vw solid #DFCA8460;
}

.testimonial-card-text-2 {
    border-left: 0.1042vw solid var(--color-border-light);
    border-bottom: 0.1042vw solid #DFCA8460;
    border-top: 0.1042vw solid #DFCA8460;
    border-right: 0.1042vw solid #DFCA8460;
}

#wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#wrapper #box {
    position: relative;
    width: 26.0417vw;
    height: 10.4167vw;
    border-radius: 2.0833vw;
    background: transparent;
}

#wrapper #box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2.0833vw;
    background: var(--color-dark);
}

#wrapper #box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2.0833vw;
    z-index: -1;
    background: linear-gradient(to right, transparent 0%, transparent 50%, transparent 60%, #FADE83 100%);
    filter: blur(0.5208vw);
}

#wrapper:nth-child(1) #box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2.0833vw;
    z-index: -1;
    background: linear-gradient(to left, transparent 0%, transparent 50%, transparent 60%, #FADE83 100%);
    filter: blur(0.5208vw);
}

#wrapper #box p {
    position: absolute;
    display: block;
    inset: 0.0781vw;
    border-radius: 1.9792vw;
    z-index: 2;
    color: var(--color-gray);
    padding: 1.0417vw;
    display: flex;
    align-items: center;
    font-family: "Roboto", sans-serif;
    font-size: 0.6771vw;
    font-weight: var(--fw-regular);
    background-color: var(--color-dark);
}

/* =================== RESPONSIVE STYLES =================== */
@media (max-width: 768px) {
    .introduction h2, .testimonials h2 {
        font-size: 5.555vw;
    }

    .about-title {
        font-size: 8.6806vw;
        letter-spacing: 0.1em;
    }

    .introduction p {
        max-width: 80%;
        box-sizing: border-box;
        font-size: 2.6042vw;
    }

    .introduction-text {
        padding-bottom: 17.3611vw;
        max-width: 90%;
        margin: 0 auto;
    }

    .introduction-content {
        gap: 8.6806vw;
    }

    .introduction-content-row {
        flex-direction: column;
        gap: 5.2083vw;
        margin: 0 3.4722vw;
    }

    .introduction-image {
        width: 100%;
        max-width: 78.125vw;
        height: 52.0833vw;
    }

    .introduction-cards {
        width: 100%;
        height: auto;
    }

    .introduction-card h3 {
        font-size: 4.1667vw;
        padding: 0;
        margin: 1.7361vw 0.8681vw;
    }

    .introduction-card p {
        font-size: 2.6042vw;
        margin: 0.8681vw 0;
    }

    .introduction-card li {
        font-size: 2.4306vw;
    }

    .competitive {
        margin: 0;
    }

    .competitive .container {
        flex-direction: column;
    }

    .competitive .circle {
        width: 100%;
        height: 86.8056vw;
        left: 0;
        transform: none;
        border-right: none;
        border-bottom: 0.6944vw solid var(--color-white-with-opacity);
        padding-left: 0;
        backdrop-filter: blur(8.6806vw);
        box-shadow: 0 0.6944vw 1.0417vw rgba(0, 0, 0, 0.1);
    }

    .competitive .circle-2 {
        width: 100%;
        height: auto;
        position: relative;
        padding: 3.4722vw;
    }

    .competitive .circle-2 p {
        padding-left: 0;
        max-width: 90%;
        margin: 0 auto;
        font-size: 2.6042vw;
    }

    .dot {
        display: none;
    }

    .competitive-cards {
        margin-top: 5.2083vw;
    }

    .competitive-card {
        margin-left: 0 !important;
        margin-bottom: 5.2083vw !important;
        text-align: center;
    }

    .competitive-card h3 {
        text-align: center;
        font-size: 4.1667vw;
    }

    .competitive-card p {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        font-size: 2.6042vw;
    }

    .testimonials {
        margin: 0;
    }

    .testimonials h2, .competitive h2{
        font-size: 5.555vw;
        margin-bottom: 8.6806vw;
    }

    .testimonial-cards {
        flex-direction: row;
        gap: 2.6042vw;
        align-items: center;
        justify-content: center;
        max-width: 86.8056vw;
    }

    .testimonial-card-author,
    .testimonial-card-author-2 {
        width: 40%;
        height: auto;
        min-height: 22.5694vw;
        padding: 2.6042vw;
        border-radius: 4.3403vw;
        flex-shrink: 0;
    }

    .testimonial-card-text,
    .testimonial-card-text-2 {
        width: 60%;
        height: auto;
        min-height: 22.5694vw;
        flex-shrink: 0;
    }

    #wrapper #box {
        width: 100%;
        height: auto;
        min-height: 22.5694vw;
        border-radius: 4.3403vw;
    }
    
    #wrapper #box::before,
    #wrapper #box::after {
        border-radius: 4.3403vw;
    }

    #wrapper #box p {
        position: relative;
        min-height: 19.0972vw;
        font-size: 1.9097vw;
        border-radius: 3.9931vw;
        padding: 2.6042vw;
        margin-right: 0.3472vw;
    }

    .testimonial-card-author p,
    .testimonial-card-author-2 p {
        font-size: 2.0833vw;
        padding-left: 1.7361vw;
        width: 100%;
    }

    .testimonial-cards:nth-child(1),
    .testimonial-cards:last-child {
        margin-right: 10.4167vw;
        padding-left: 0;
        padding-right: 0;
    }

    .testimonial-cards:nth-child(2) {
        margin-left: 5.2083vw;
    }

    .yellow-circle {
        opacity: 0.4;
    }

    .about-circle-1 {
        right: -30%;
    }

    .about-circle-2 {
        left: -80%;
    }

    .about-circle-3 {
        bottom: 40%;
        left: -30%;
    }

}