@font-face {
    font-family: "Itim", cursive;
    font-style: normal;
    src: url(../fonts/Itim-Regular.woff2) format('woff2'),
     url(../fonts/Itim-Regular.woff) format('woff'),
     url(../fonts/Itim-Regular.ttf) format('truetype');
}

body {
    font-family: "Itim", cursive;
}

.row.text-center.align-items-center {
    display: flex; /* Biến hàng thành container linh hoạt */
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
    height: 100%; /* Đảm bảo chiều cao đầy đủ */
    min-height: 530px; /* Đặt chiều cao tối thiểu để khối không bị co lại */
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo video phủ toàn bộ vùng */
    z-index: -1; /* Đưa video ra sau nội dung */
    position: fixed;
}

@media (max-width: 767.98px) {
    .navbar-brand {
        display: none !important;
    }
}
@media (max-width: 768px) {
    header {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        margin: 0;
        overflow: hidden;
        display: flex;
        align-items: stretch;
    }
    .video-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        object-fit: cover;
        z-index: -1;
        transform: none;
    }
    body {
        background: #000;
    }
}

header {
    position: relative;
    /* background: url(../images/header-bg.jpg) no-repeat center/cover; */
    color: #fff;
    padding-top: 20px;
    padding-bottom: 220px;
}

/* header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url(../images/header-bg.jpg) no-repeat center/cover;
    background-position: center top;
    filter: blur(3px);
    z-index: 1;
    pointer-events: none;
    opacity: 1; /* tuỳ chỉnh độ mờ */
*/

header > * {
    position: relative;
    z-index: 2;
}

/* Điều chỉnh kích thước logo */
header img,
.navbar-brand img,
.logo img {
    width: 180px;    /* hoặc giá trị bạn muốn */
    height: auto;    /* giữ tỉ lệ ảnh */
    margin-left: 20px; /* Đẩy logo sang phải */
}

header .row.text-center  {
    margin-left: 40px;
    margin-bottom: 30px;
    
    
}
header .row.text-center .col-md-6 {
    font-size: 3.5rem; /* hoặc giá trị bạn muốn */
    color: #FFF;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1; /* Giảm khoảng cách giữa các dòng */
    
}

header .row.text-center .nd {
    font-size: 1.4rem; /* hoặc giá trị bạn muốn */
    color: #6B707B;
    text-align: left;
    line-height: normal;
    margin-top: 10px; /* Khoảng cách giữa tiêu đề và mô tả */
    
}

.nav-link {
    text-transform: uppercase;
    font-size:  1.2rem; /* Kích thước chữ */
    font-optical-sizing: auto;
    font-weight: 500;
    background: -webkit-linear-gradient(90deg, #0066ff, #ffffff); /* Màu gradient cho trình duyệt cũ */
    background: linear-gradient(90deg, #0066ff, #ffffff); /* Màu gradient */
    -webkit-background-clip: text; /* Áp dụng gradient cho chữ */
    -webkit-text-fill-color: transparent; /* Làm chữ trong suốt để hiển thị gradient */
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #FFF;
    font-weight: bold;
}

.poster-img {
    max-width: 400px; /* hoặc giá trị lớn hơn tuỳ ý */
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin: auto;
}

@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(30, 31, 32, 0); /* Nền tối trong suốt */
        padding: 1rem 0.5rem;
        text-align: left;
    }
    .navbar-nav {
        align-items: flex-start;
    }
    .navbar-nav .nav-link {
        color: #0066ff;
        background: linear-gradient(90deg, #0066ff, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1.2rem;
        text-align: left;
        padding-left: 1rem;
        width: 100%;
        display: block;
    }
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: #fff;
        -webkit-text-fill-color: #fff;
        background: none;
        font-weight: bold;
    }
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* icon trắng đậm */
    width: 2em;
    height: 2em;
    background-size: 100% 100%;
}

.nav-link:focus, .nav-link:hover {
    /* color: yellow; */
    color: rgba(255, 255, 255, 1);
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1.4rem;
        padding-left: 1.4rem;
    }
}

@media (max-width: 768px) {
    .nd3 .col-md-4 {
        margin: 30px 0;
    }
}

.section-heading {
    margin-bottom: 75px;
    padding-top: 10px;
}
.section-heading h2 {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0px;
    background: -webkit-linear-gradient(90deg, #0066ff, #ff6600); /* Màu gradient cho trình duyệt cũ */
    background: linear-gradient(90deg, #0066ff, #ff6600); /* Màu gradient */
    -webkit-background-clip: text; /* Áp dụng gradient cho chữ */
    -webkit-text-fill-color: transparent; /* Làm chữ trong suốt để hiển thị gradient */
}


.section-heading span {
    color: #2e2e2e;
    display: block;
    margin-top: 3px; /* hoặc giá trị bạn muốn */
}

.Sumenh, .portfolio, .about-us, .team, .contact-us {
    padding-top: 80px;
    padding-bottom: 100px;
}


.Sumenh .nd3 .col-md-4 .ndsm {
    display: block;
    margin-top: 18px; /* hoặc giá trị bạn muốn */
}

.Sumenh .nd3 .col  {
    margin-left: 13px;
    margin-right: 13px;
    text-align: center;
  
}
.photosm {
   
    margin-top: 40px; /* Khoảng cách phía trên */
    padding-top: 40px; /* Khoảng cách phía trên */
}
.photosm2 img {
    width: 50%; /* Đặt chiều rộng ảnh bằng 100% của cột */
    height: auto; /* Giữ tỉ lệ ảnh */
    object-fit: cover; /* Đảm bảo ảnh phủ đầy cột mà không bị méo */
    border-radius: 10px; /* Bo tròn góc nếu cần */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Thêm hiệu ứng đổ bóng */
}

.photosm1 img:nth-child(1) {
    width: 35%; /* Đặt chiều rộng ảnh bằng 100% của cột */
    height: auto; /* Giữ tỉ lệ ảnh */
    object-fit: cover; /* Đảm bảo ảnh phủ đầy cột mà không bị méo */
    border-radius: 1px; /* Bo tròn góc nếu cần */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Thêm hiệu ứng đổ bóng */
    margin: 20px 10px; /* Thêm khoảng cách bên trong nếu cần */
}
.photosm1 img:nth-child(2) {
    width: 40%; /* Đặt chiều rộng ảnh bằng 100% của cột */
    height: auto; /* Giữ tỉ lệ ảnh */
    object-fit: cover; /* Đảm bảo ảnh phủ đầy cột mà không bị méo */
    border-radius: 10px; /* Bo tròn góc nếu cần */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Thêm hiệu ứng đổ bóng */
    margin: 20px 10px; /* Thêm khoảng cách bên trong nếu cần */
}

.photosm3 img {
    width: 50%; /* Đặt chiều rộng ảnh bằng 100% của cột */
    height: auto; /* Giữ tỉ lệ ảnh */
    object-fit: cover; /* Đảm bảo ảnh phủ đầy cột mà không bị méo */
    border-radius: 10px; /* Bo tròn góc nếu cần */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Thêm hiệu ứng đổ bóng */
    margin: 20px 10px; /* Thêm khoảng cách bên trong nếu cần */
}


.nd3 .col-md-4:hover {
    color: #0066ff; /* Đổi màu chữ sang trắng */
    transform: scale(1.1); /* Tăng kích thước phần tử */
    transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt */
    background: #f0f0f000; /* Đổi màu nền khi hover */
    background: -webkit-linear-gradient(90deg, #0066ff, #3ae4fa); /* Màu gradient cho trình duyệt cũ */
    background: linear-gradient(90deg, #0066ff, #3ae4fa); /* Màu gradient */
    -webkit-background-clip: text; /* Áp dụng gradient cho chữ */
    -webkit-text-fill-color: transparent; /* Làm chữ trong suốt để hiển thị gradient */
}

.nd3 .col-md-4 {
    background: #ffffff00; /* Màu nền mặc định */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt */
}


.Sumenh {
    background: #FFF;
    scroll-margin-top: 0px; /* Khoảng cách trừ đi khi cuộn */
}

.portfolio {
    background: #1e1f205a;
    color: #fff;
    padding-bottom: 130px;
    scroll-margin-top: -50px; /* Khoảng cách trừ đi khi cuộn */
}

@media (min-width: 768px) {
.portfolio .chonct .col-md-6 {
    padding: 30px;
    margin: 20px 10px;
    border: solid 1px #fff;
    height: 230px;
    border-radius: 10px;
    width: calc(50% - 20px); /* Giảm bớt khoảng cách giữa các cột */
    display: flex;
    align-items: center;
    justify-content: center; /* căn giữa ngang các cột */
}
}

@media (max-width: 768px) {
.portfolio .chonct .col-md-6 {
    padding: 30px;
    margin: 10px 10px;
    border: solid 1px #fff;
    height: 300px;
    border-radius: 10px;
    width: calc(100% - 20px); /* Giảm bớt khoảng cách giữa các cột */
    display: flex;
    align-items: center;
    justify-content: center; /* căn giữa ngang các cột */

}
}

.portfolio .chonct .col-md-6:nth-child(1) {
    background: url(../images/nghe-designer.jpg) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
    background-position:  top center; 
}
.portfolio .chonct .col-md-6:nth-child(2) {
    background: url(../images/6_\ Bức\ tranh\ tổng\ thể\ về\ chuyên\ ngành\ Công\ nghệ\ đa\ phương\ tiện.png) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
    background-position:  top center; 
}
.portfolio .chonct .col-md-6:nth-child(4) {
    background: url(../images/ky-nang-lam-viec-nhom-hieu-qua-cai-thien-2.jpg) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
    background-position:  top center; 
}

.portfolio .chonct .col-md-6:nth-child(3) {
    background: url(../images/475751701_1324061145448951_1663050765886231221_n.jpg) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
}
.portfolio .chonct .col-md-6:nth-child(5) {
    background: url(../images/phan-mem-ban-quyen-la-gi-tai-sao-nen-su-dung-ban-quyen\ \(6\).jpg) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
}
.portfolio .chonct .col-md-6:nth-child(6) {
    background: url(../images/untitled-design-111.jpg) center/cover no-repeat;
    font-size: 20px;
    text-shadow: 0 0 5px #222, 0 0 10px #222, 0 0 20px #222, 0 0 40px #222; /* Hiệu ứng nổi */
}
/*hover - chonct*/

.row.chonct .col-md-6 {
    position: relative; /* Đảm bảo lớp phủ và nội dung hoạt động đúng */
    color: rgb(255, 255, 255); /* Làm chữ sáng hơn */
    transition: filter 0.2s ease, color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease; /* Hiệu ứng mượt */
    padding: 0px 20px; /* Khoảng cách bên trong */
    border-radius: 10px;
    overflow: hidden; /* Ẩn phần tử con vượt ra ngoài */
    font-size: large;
    line-height: 1.3; /* Giảm khoảng cách giữa các dòng */
    margin-top: 0px; /* Bỏ khoảng cách trên */
}

.row.chonct .col-md-6::before {
    content: ""; /* Tạo lớp phủ */
    position: absolute;
    top: 100%; /* Bắt đầu từ bên dưới */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Màu nền mờ */
    transform: translateY(0); /* Vị trí ban đầu */
    transition: transform 0.5s ease; /* Hiệu ứng mượt */
    z-index: -1; /* Đặt lớp phủ dưới nội dung */
}

.row.chonct .col-md-6:hover::before {
    transform: translateY(-100%); /* Di chuyển lớp phủ từ dưới lên trên */
}

.row.chonct .col-md-6 > * {
    position: relative;
    z-index: 2; /* Đặt nội dung phía trên lớp phủ */
}

.row.chonct .col-md-6:hover {
    transform: scale(1.01); /* Tăng kích thước nhẹ khi hover */  
}

.about-us  {
    background-color: #FFF;
}


.about-us h3 {
    color: #222;
    font-size: 22px;
    font-weight: bold;
}
.about-us h3 span {
    text-transform: uppercase;
    display: block;
}
.about-us p {
    color: #4b4b4b;
    font-size: 18px;
}
.about-us .photo {
    position: relative;
    padding-top: 100%; /*Tỷ lệ 1:1*/
    margin-bottom: 20px;
}
.about-us .row .col {
    display: flex;
    flex-direction: column; /* Sắp xếp nội dung theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều dọc */
    
}
@media (min-width: 992px) {
    .about-us .photo {
        margin-bottom: 40px;
        margin-top: 40px;
    }
}


@media (max-width: 992px) {
    .about-us {
        margin-bottom: 00px;
        margin-top: 0px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.about-us .photo div {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border: solid 3px #F1F1F1;
    border-radius: 13%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.604); /* Đổ bóng */
    
}

.about-us .photo div:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.604); /* Đổ bóng */
}
.about-us .photo1 div {
    background-image: url(../images/VCC.jpg);
}
.about-us .photo2 div {
    background-image: url(../images/SVN.png);
}

.about-us .photo3 div {
    background-image: url(../images/AdobeStock_190061878-scaled.jpeg);
}
.about-us .photo4 div {
    background-image: url(../images/Kehoach.png);
}
.about-us .story div {
    background-color: #818181;
    color: #fff;
    text-transform: uppercase;
    display: flex; /* Biến phần tử thành container linh hoạt */
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
    text-align: center; /* Căn giữa văn bản */
    height: 100%; /* Đảm bảo chiều cao đầy đủ */
    padding: 10px; /* Thêm khoảng cách bên trong nếu cần */
    font-size: 18px; /* Kích thước chữ */
    font-weight: bold; /* Làm chữ đậm */
}


.team .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;      /* căn giữa các cột */
    gap: 32px;                    /* khoảng cách đều giữa các cột, chỉnh giá trị tuỳ ý */
}

.team .col-md-4,
.team .col-md-6 {
    background-color: #f9f9f9; /* Màu nền */
    border: 1px solid #FFF; /* Viền */
    border-radius: 15px; /* Bo tròn góc */
    padding: 20px; /* Khoảng cách bên trong */
    text-align: center; /* Căn giữa nội dung */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.904); /* Đổ bóng */
    transition: transform 0.3s ease; /* Hiệu ứng khi hover */
    height: 300px; /* Chiều cao cố định */
    box-sizing: border-box; /* Bao gồm padding và border trong kích thước */
    margin: 10px;                    /* bỏ margin mặc định nếu có */
    flex: 0 1 250px;              /* giữ kích thước cột cố định, hoặc điều chỉnh cho responsive */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ảnh nền cho từng ô, ví dụ: */
.team .col-md-4:nth-child(1) {
    background-image: url(../images/construction.jpg);
}
.team .col-md-4:nth-child(2) {
    background-image: url(../images/architec.jpg);
}
.team .col-md-4:nth-child(3) {
    background-image: url(../images/TA3.jpg);
}

.team .col-md-6:nth-child(1) {
    background-image: url(../images/app.png);
}
.team .col-md-6:nth-child(2) {
    background-image: url(../images/6_\ Bức\ tranh\ tổng\ thể\ về\ chuyên\ ngành\ Công\ nghệ\ đa\ phương\ tiện.png);
}

.team .col-md-4:hover,
.team .col-md-6:hover {
    transform: scale(1.05); /* Phóng to nhẹ khi hover */
    box-shadow: 0 0px 10px rgb(26, 168, 250); /* Tăng đổ bóng khi hover */
    border: #0066ff solid 2px; /* Đổi màu viền khi hover */
}


.team-name {
    font-size: 18px; /* Kích thước chữ */
    margin-top: 20px; /* Khoảng cách phía trên */
    border-radius: 10px; /* Bo tròn góc */
    padding: 3%; /* Khoảng cách bên trong */
    background-color: #1b2935df; 
    color: #FFF; /* Màu chữ */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Đổ bóng bên trong */
    text-shadow: #222 0 2px; /* Đổ bóng chữ */
    height: 220px; /* Chiều cao cố định */
    display: flex; /* Biến phần tử thành container linh hoạt */
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center; /* Căn giữa theo chiều dọc */
    
}

.team {
    background: #1e1f2070;
    color: #FFF;
    scroll-margin-top: -20px; /* Khoảng cách trừ đi khi cuộn */
}

.contact-us {
    padding-top: 650px;
    background: #1e1f2070 
}

.contact-us h3 {
    color: #d8d8d8;
    
    margin-bottom: 0px;
}


footer {
    padding: 10px 0px;
    background-color: #1e1f2000;
    color: #FFF;
}

footer img {
    width: 130px;
    margin: 0 auto; /* Căn giữa ảnh */
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(240, 136, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    display: none; /* Ẩn mặc định */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.back-to-top:hover {
    background-color: rgba(0, 238, 255, 0.8);
}


@media (min-width: 768px) {
    .lienhe1 {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        text-align: left;
    }
    .lienhe2 {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;  
    }
    .lienhe3 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        text-align: right;
    }
    .lienhe1 h3, .lienhe2 h3, .lienhe3 h3 {
        margin: 0;
        width: 100%;
        font-size: 20px; /* Kích thước chữ */
        margin-bottom: 10px; /* Khoảng cách phía dưới */
    }
    
    .contact-us {
        padding-bottom: 20px !important;  /* Khoảng cách dưới */
    }

    .slogan {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6B707B;
        font-size: 1.2rem;
        text-align: center;
        height: 100%;
        margin-top: 25px; /* Khoảng cách phía trên */
    }
}

.lienhe2 a {
    text-decoration: none;
}

 