﻿/* Reset and Base Styles */

:root {
      /*đỏ */
    --main-color-1: #EE0033;
    /*    đen*/
    --main-color-2: #000000;
    /*    xam than*/
    --main-color-3: #44494D;
    /*    xam trung */
    --main-color-4:#B5B4B4;
}

/*font-viettel */
@font-face {
    font-family: 'roboto-black';
    src: url('../fonts/Roboto/Roboto-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-bold';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-italic';
    src: url('../fonts/Roboto/Roboto-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-light';
    src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-medium';
    src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto-regular';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}


@font-face {
    font-family: 'roboto-thin';
    src: url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype');
}


body * {
    font-family: 'roboto-regular',sans-serif !important;
}

i, span.fa , a.fa {
    font-family: FontAwesome !important;
}

a {
    text-decoration: none !important;
}

.a-color {
    color: var(--main-color-2) !important;
}

ol, ul {
    list-style: none !important;
    padding: 0px;
}

.cursor-pointer {
    cursor: pointer;
    user-select: none;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
}

html {
    scroll-behavior: smooth;
}

body {
/*    font-family: 'Inter', sans-serif;*/
    line-height: 1.6;
/*    color: var(--text-color);*/
    color: var(--main-color-2);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    padding: 1rem 5%;*/
    max-width: 1400px;
    margin: 0 auto;
    position:relative ; 
}

.navbar-tmpl {
    padding: 1rem 5% !important;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-tmpl {
    margin: 0px 0px !important;
    width: 140px !important;
}

.logo-tmpl img {
    height:auto ; 
    width:100% ; 
}


.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size:16px ; 
    padding:10px !important;
    text-transform:uppercase ; 
}


.dt-header__nav-menu-item:before,
.dt-header__nav-menu-item:hover:before {
    transform: translate(-50%) scaleX(0) !important;
    transition: none !important;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    /*overflow: hidden;*/
}

    .hero div#KBEFlight {
        position: absolute;
        width: 100%;

    }



    .slideshow-container {
        position: relative;
        width: 100%;
        height: 100%;
    }


.hero .box-header-vtbay {
    width:100% ; 
    height:100% ; 
}

    .hero .box-header-vtbay .box-searchform-vtbay {
        position:absolute ; 
        width:100% ; 
        min-height:430px ; 
        bottom:0px ;
    }

    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

.slide.active {
    opacity: 1 !important;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 3;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Navigation Dots */
.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list i {
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
}

.contact-container {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Partners Section */
.partners-viettel {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

    .partners-viettel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.2), transparent);
    }

    .partners-viettel::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.2), transparent);
    }

    .partners-viettel .section-header {
        margin-bottom: 3rem;
    }

        .partners-viettel .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

            .partners-viettel .section-header h2::after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
                width: 50px;
                height: 3px;
                background: var(--primary-color);
                border-radius: 2px;
            }

.partners-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(200px * 12);
    will-change: transform;
}

.partner-item {
    flex: 0 0 200px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .partner-item img {
        max-width: 100%;
        height: auto;
        transition: all 0.5s ease;
        transform: scale(0.95);
        filter: brightness(0.95);
        mix-blend-mode: multiply;
        object-fit: contain;
    }

        /* Xử lý riêng cho từng loại logo */
        .partner-item img[alt*="Vietjet"],
        .partner-item img[alt*="AirAsia"],
        .partner-item img[alt*="Thai-Airways"],
        .partner-item img[alt*="Air-France"] {
            mix-blend-mode: normal;
            background: transparent;
        }

        .partner-item img[alt*="bidv"],
        .partner-item img[alt*="vcb"] {
            mix-blend-mode: multiply;
            background: white;
        }

    .partner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

        .partner-item:hover img {
            transform: scale(1);
            filter: brightness(1);
        }

/* Add gradient overlay for smooth edges */
.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
    }
}

/* Optimize animation performance */
.partners-track {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000;
    -webkit-perspective: 1000;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* Smooth pause and resume */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-viettel {
        padding: 3rem 5%;
    }

        .partners-viettel .section-header h2 {
            font-size: 2rem;
        }

    .partner-item {
        flex: 0 0 150px;
        padding: 1rem;
        margin: 0 5px;
    }

    .partners-track {
        width: calc(150px * 12);
    }

    .partners-slider::before,
    .partners-slider::after {
        width: 50px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 6));
        }
    }
}

/* Footer */
.footer {
/*    background: #00285f;*/
    background:var(--main-color-2);
    color: white;
    padding: 2rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

.footer-content {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background: var(--primary-color);
    }

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 1rem;
    }

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

    .footer-section a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .footer-section a:hover {
        color: white;
        transform: translateX(5px);
    }

        .footer-section a:hover::after {
            width: 100%;
        }

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

    .social-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.5rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

        .social-links a:hover {
            color: white;
            background: var(--primary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 5% 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: none;
    }

    .footer-info-mb {
        font-size:13px ; 
    }
}


.logo-tmpl-mobile {
    width:100px ; 
}


.box-signin {
    /*border: 2px solid gray;*/
    padding: 2px 0px;
/*    border-radius: 7px;*/
}

.select-language {
    border-left: 2px solid;
    padding-left: 3px;
    font-size: 16px;
}

.page-signin, .page-signup {
/*    font-size:15px ; */
    font-size:16px ; 
}
.page-signin:hover, .page-signup:hover {
    border-bottom:2px solid var(--main-color-2) ; 
}

#offcanvasvtbay {
    /*background: linear-gradient(to bottom right, white 60% , var(--main-color-1) 120%);*/
    color: var(--main-color-2);
}
    #offcanvasvtbay .offcanvas-header {
        border-bottom:2px solid ; 
    }

.menu-mobile ul li i {
    width:20px;
    color:var(--main-color-1) ; 
}

.box-langue-current {
    width:30px;
    height:22px ; 
    display:flex ; 
    align-items:center ; 
}
    .box-langue-current img {
        object-fit:cover ; 
    }

.page-signin-mobile, .page-signup-mobile {
    color:var(--main-color-2) ; 

}
.infomation-member > div p {
/*    font-size: 15px;*/
/*    max-width: 120px;*/
    font-size: 16px;
    max-width: 130px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: end;
}

.image-member {
    width: 28px;
    height: 28px;
}

.popup-member {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border: none !important;
    border-radius: 12px !important;
}

    .popup-member li button:hover {
        background-color: var(--main-color-1) !important;
        color: white;
    }

    .popup-member li button i {
        font-family: "Font Awesome 6 Free" !important;
    }


#KBEFlightFlight {
    margin-top: 75px !important;
}
/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .prev, .next {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }

    .about {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .hero {
        position: static;
        height: auto;
    }
    .slideshow-container {
        height: 300px;
    }

    .hero div#KBEFlight {
        position: static; 
        width: 100%;
    }

    .logo-tmpl {
        width: 100px !important;
    }

    .hero .box-header-vtbay .box-searchform-vtbay {
        position:static ; 
    }

    .image-member {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    #KBEFlightFlight {
        margin-top: 60px !important;
    }   
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.infomation-member > div:first-child {
/*    border-radius: 30px;*/
/*    background-color: aliceblue;*/
/*    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);*/
}

.menu-item-mb {
    color:var(--main-color-2) ; 
}


