@import url('https://fonts.cdnfonts.com/css/long-shot');

body {
    margin: 0;
    font-family: Bahnschrift, sans-serif;
    color: rgb(0, 0, 0);
    background: #000;
}

header {
    background-image: url(/image/tam.webp);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 1200px;
    overflow: hidden;
    position: relative;
}

:root {
    --cut-size: 45px;
}

.container {
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 120px;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin-left: auto;
    transform: translateX(-90px);
}

:root {
    --cut-size: 45px;
}

.card-wrapper {
    background: linear-gradient(135deg, #808285, #3A383A, #58595B);
    padding: 2px;
    display: inline-block;
    clip-path: polygon(0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size)));
}

.service-card {
    background: #000;
    padding: 30px 32px;
    clip-path: polygon(0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size)));
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.service-card img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 5px;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -40px;
}

.service-info h3 {
    color: #D9A91C;
    margin-bottom: 10px;
    font-size: 35px;
    font-family: 'Long Shot', sans-serif;
}

.service-info p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}

.button-image {
    width: 200% !important;
    max-width: 180px !important;
    height: auto !important;
    cursor: pointer;
    margin-top: 30px !important;
}

.service-card:nth-child(3) {
    position: relative;
    background: #000;
    padding: 30px 32px;
    clip-path: polygon(0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size)));
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    z-index: 1;
}

.service-card:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(135deg, #808285, #3A383A, #58595B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    clip-path: polygon(0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size)));
    border-radius: 0;
}

.service-card:nth-child(3) .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    clip-path: polygon(0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size)));
}

.service-card:nth-child(3):hover .overlay {
    visibility: visible;
    opacity: 1;
}

.overlay .lock-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    object-fit: contain;
}

.overlay .coming-soon {
    font-size: 24px;
    font-weight: bold;
    color: #353535;
    text-transform: uppercase;
}

.testimonials {
    background-image: url('/image/testimonials.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 20px;
    min-height: 400px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    padding-top: 10px;
}

.testimonials h2 {
    color: #D9A91C;
    font-size: 100px;
    text-transform: uppercase;
    position: relative;
    font-family: 'Long Shot', 'san serif'
}

.testimonials h2::after {
    position: absolute;
    top: -10px;
    right: -30px;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.testimonial-card img {
    width: 400px;
    padding: 20px;
}

/* Max-width: 1200px */
@media (max-width: 1200px) {
    header {
        min-height: 1000px !important;
        /* Giảm chiều cao cho màn hình nhỏ hơn */
        background-size: cover;
        background-position: left center;
    }

    .container {
        padding: 30px 15px;
        margin-top: 100px;
    }

    .services {
        max-width: 450px;
        transform: translateX(-70px);
    }

    .service-card {
        max-width: 450px;
        padding: 30px 28px 30px 40px;
    }

    .service-card img {
        width: 45%;
    }

    .service-info h3 {
        font-size: 30px;
        margin-top: 40px;
    }

    .service-info p {
        font-size: 12px;
        margin-bottom: 0;
    }

    .button-image {
        max-width: 160px !important;
    }

    .testimonials {
        padding: 50px 15px;
        min-height: 350px;
    }

    .testimonials h2 {
        font-size: 80px;
    }

    .testimonial-card img {
        width: 350px;
        padding: 15px;
    }

    .testimonial-cards {
        flex-wrap: wrap;
    }
}

/* Max-width: 1024px */
@media (max-width: 1024px) {
    header {
        min-height: 900px !important;
        /* Đúng như bạn đặt */
        background-size: cover;
        background-position: left center;
    }

    .container {
        margin-top: 80px;
    }

    .testimonials {
        padding: 40px 10px;
        min-height: 300px;
    }

    .testimonials h2 {
        font-size: 60px;
    }

    .testimonial-card img {
        width: 300px;
        padding: 10px;
    }
}

/* Max-width: 767px */
@media (max-width: 767px) {
    header {
        min-height: 700px !important;
        /* Giảm từ 1400px để phù hợp mobile */
        background-size: cover;
        background-position: left center;
    }

    .container {
        padding: 20px 10px;
        margin-top: 60px;
        align-items: center;
    }

    .services {
        max-width: 90%;
        transform: translateX(0);
        margin-left: 0;
    }

    .service-card {
        max-width: 100%;
        padding: 20px 20px 20px 40px;
        align-items: center;
    }

    .service-card img {
        width: 80%;
        max-width: 200px;
    }

    .service-info {
        margin-top: 0;
    }

    .service-info h3 {
        font-size: 40px;
        margin-top: 5px;
    }

    .service-info p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .button-image {
        max-width: 160px !important;
        margin-top: 20px !important;
    }

    /* Third card: Match first two cards */
    .services:nth-child(3) {
        max-width: 90%;
        transform: translateX(0);
        margin-left: 0;
    }

    .service-card:nth-child(3) {
        max-width: 100%;
        padding: 20px 20px 20px 40px;
        align-items: center;
    }

    .testimonials {
        padding: 30px 10px;
        min-height: 250px;
    }

    .testimonials h2 {
        font-size: 60px;
    }

    .testimonial-card img {
        width: 250px;
        padding: 8px;
    }
}

/* Max-width: 587px */
@media (max-width: 587px) {
    header {
        min-height: 800px !important;
        /* Giảm từ 1400px để phù hợp mobile */
        background-size: cover;
        background-position: left center;
    }

    .container {
        margin-top: 40px;
    }

    .services {
        max-width: 95%;
    }

    .service-card {
        padding: 30px 8px 30px 30px;
    }

    .service-card:nth-child(3) {
        padding: 30px 8px 30px 30px;
    }

    .service-card img {
        width: 60%;
        max-width: 180px;
    }

    .service-info h3 {
        font-size: 30px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 14px;
    }

    .button-image {
        max-width: 160px !important;
        margin-top: 10px !important;
    }

    .testimonials {
        padding: 20px 8px;
    }

    .testimonials h2 {
        font-size: 45px;
    }

    .testimonial-card img {
        width: 200px;
        padding: 6px;
    }
}

/* Max-width: 480px */
@media (max-width: 480px) {
    header {
        min-height: 900px !important;
        /* Giảm từ 1400px để phù hợp mobile */
        background-size: cover;
        background-position: left center;
    }

    .container {
        padding: 10px 5px;
        margin-top: 30px;
    }

    .services {
        max-width: 100%;
    }

    .service-card {
        padding: 20px 12px 20px 30px;
    }

    .service-card img {
        width: 60%;
        max-width: 180px;
    }

    .service-info h3 {
        font-size: 30px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 14px;
    }

    .button-image {
        max-width: 140px !important;
        margin-top: 5px !important;
    }

    .service-card:nth-child(3) .overlay {
        clip-path: polygon(0 0,
                calc(100% - 30px) 0,
                100% 30px,
                100% 100%,
                30px 100%,
                0 calc(100% - 30px));
    }

    .overlay .lock-icon {
        width: 50px;
        height: 50px;
    }

    .overlay .coming-soon {
        font-size: 18px;
    }

    .testimonials {
        padding: 15px 5px;
        min-height: 200px;
    }

    .testimonials h2 {
        font-size: 35px;
    }

    .testimonial-card img {
        width: 180px;
        padding: 5px;
    }
}

/* Max-width: 415px */
@media (max-width: 415px) {
    header {
        min-height: 800px !important;
        /* Giảm từ 1400px để phù hợp mobile */
        background-size: cover;
        background-position: left center;
    }

    .container {
        padding: 10px 5px;
        margin-top: 30px;
    }

    .services {
        max-width: 100%;
    }

    .service-card {
        padding: 20px 12px 20px 30px;
    }

    .service-card img {
        width: 50%;
        max-width: 180px;
    }

    .service-info h3 {
        font-size: 20px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 12px;
    }

    .button-image {
        max-width: 120px !important;
        margin-top: 5px !important;
    }

    .overlay .lock-icon {
        width: 50px;
        height: 50px;
    }

    .overlay .coming-soon {
        font-size: 18px;
    }

    .testimonials {
        padding: 15px 5px;
        min-height: 200px;
    }

    .testimonials h2 {
        font-size: 35px;
    }

    .testimonial-card img {
        width: 250px;
        padding: 5px;
    }
}

/* Max-width: 367px */
@media (max-width: 367px) {
    .container {
        padding: 10px 5px;
        margin-top: 30px;
    }

    .services {
        max-width: 100%;
    }

    .service-card {
        padding: 30px 12px 30px 30px;
    }

    .service-card img {
        width: 55%;
        max-width: 140px;
    }

    .service-info h3 {
        font-size: 20px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 9px;
    }

    .button-image {
        max-width: 120px !important;
        margin-top: -10px;
    }
}

/* Max-width: 350px */
@media (max-width: 350px) {
    header {
        min-height: 750px !important;
        /* Giảm từ 1400px để phù hợp mobile */
        background-size: cover;
        background-position: left center;
    }

    :root {
        --cut-size: 35px;
    }

    .container {
        padding: 10px 5px;
        margin-top: 30px;
    }

    .services {
        max-width: 100%;
    }

    .service-card {
        padding: 20px 12px 20px 30px;
    }

    .service-card img {
        width: 50%;
        max-width: 140px;
    }

    .service-info h3 {
        font-size: 18px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 9px;
    }

    .button-image {
        max-width: 100px !important;
        margin-top: -10px;
    }

    .card-wrapper {
        clip-path: polygon(0 0,
                calc(100% - var(--cut-size)) 0,
                100% var(--cut-size),
                100% 100%,
                var(--cut-size) 100%,
                0 calc(100% - var(--cut-size)));
    }
}

/* Max-width: 300px */
@media (max-width: 300px) {
    .container {
        padding: 10px 5px;
        margin-top: 30px;
    }

    .services {
        max-width: 100%;
    }

    .service-card {
        padding: 20px 12px 20px 20px;
    }

    .service-card img {
        width: 45%;
    }

    .service-info h3 {
        font-size: 18px;
        margin-top: 10px;
    }

    .service-info p {
        font-size: 8px;
    }

    .button-image {
        max-width: 80px !important;
        margin-top: -10px;
    }

    .service-card:nth-child(3) .overlay {
        clip-path: polygon(0 0,
                calc(100% - 30px) 0,
                100% 30px,
                100% 100%,
                30px 100%,
                0 calc(100% - 30px));
    }

    .overlay .lock-icon {
        width: 50px;
        height: 50px;
    }

    .overlay .coming-soon {
        font-size: 18px;
    }

    .testimonials {
        padding: 15px 5px;
        min-height: 200px;
    }

    .testimonials h2 {
        font-size: 28px;
    }

    .testimonial-card img {
        width: 180px;
        padding: 5px;
    }
}

/* Roadmap */
.wrapper-roadmap {
    background: #0F100E;
}

.container-roadmap {
    padding: 4rem 0;
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.sidebar-roadmap {
    flex: 0 0 300px;
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px 20px;
    border: 2px solid #909090;
}

.phase-item {
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Long Shot', 'san serif';
}

.phase-item:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #d9a91c;
}

.phase-item.active {
    background: linear-gradient(135deg, #d9a91c, #4b3b0a, #000);
    border-color: #d9a91c;
}

.content-area {
    flex: 1;
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    min-height: 600px;
    border: 2px solid #909090;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-header {
    background: linear-gradient(135deg, #d9a91c, #4b3b0a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Long Shot', 'san serif';
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.step-number {
    background: linear-gradient(135deg, #d9a91c, #4b3b0a);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.step-title {
    color: #d9a91c;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-description {
    color: #ccc;
    line-height: 1.6;
}

.deliverable {
    background: linear-gradient(135deg, #d9a91c, #4b3b0a);
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.welcome-message {
    text-align: center;
    color: #ccc;
}

.welcome-message p {
    text-align: center;
    color: #ccc;
    font-size: 1.8rem;
    margin-top: 50px;
}

.welcome-title {
    background: linear-gradient(135deg, #d9a91c, #4b3b0a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Long Shot', 'san serif';
}

.legend {
    margin-top: 40px;
    padding: 20px;
    background: #333;
    border-radius: 10px;
    display: inline-block;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #ccc;
}

.legend-color {
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #d9a91c, #4b3b0a);
    border-radius: 15px;
    flex-shrink: 0;
}

.info-sections {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-section {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid #333;
}

.section-title {
    color: #d9a91c;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-item {
    margin-bottom: 25px;
}

.payment-item h3 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.payment-item ul,
.info-section ul {
    list-style: none;
    padding-left: 0;
}

.payment-item li,
.info-section li {
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.payment-item li:before,
.info-section li:before {
    content: "•";
    color: #ccc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-roadmap {
    background: #d9a91c;
    color: #000;
    border: none;
    padding: 15px 30px 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-family: 'Long Shot','san serif';
    text-decoration: none; /* Xóa underline */
    margin-top: 30px;
    display: inline-block; /* Đảm bảo nó có thể hoạt động như một nút */
}

.contact-roadmap:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Tùy chỉnh cho <a> */
.contact-roadmap:focus {
    outline: none; /* Xóa outline mặc định khi được nhấn */
}

@media (max-width: 1024px) {
    .container-roadmap {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-roadmap {
        flex: 0 0 100%;
        padding: 20px;
    }

    .content-area {
        padding: 20px;
    }
}

/* Responsive cho di động */
@media (max-width: 768px) {
    .container-roadmap {
        flex-direction: column; /* Xếp các phần tử dọc */
        gap: 20px;
    }

    .sidebar-roadmap {
        flex: 0 0 100%;
    }

    .phase-item {
        font-size: 1.3rem;
    }

    .content-header {
        font-size: 24px;
    }

    .step-grid {
        grid-template-columns: 1fr; /* Một cột */
    }

    .step-card {
        padding: 20px;
    }
}