.main-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Trang Chủ */
body {
    margin: 0;
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #ff69b4;
}

body.trangchu-ct {
    font-family: var(--font-TimesNewRoman, "Times New Roman", serif);
    line-height: 1.6;
    color: var(--text-color, #333);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--primary-pink, var(--light-gray-bg, #f0f2f5));
}

.hero-section {
  background-image: url('/picture/trangchu_files/trangchu2.png');
  background-size: contain; /* dùng 'contain' để đảm bảo hình không bị cắt */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  width: 100%;
  min-height: 60vh; /* nhỏ hơn 80vh một chút */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px; /* thêm padding để tránh dính mép */
  box-sizing: border-box;
}

/* Responsive cho tablet & mobile */
@media (max-width: 768px) {
  .hero-section {
    min-height: 30vh;
    background-size: cover; /* dùng cover để lấp đầy nhưng vẫn giữ tỷ lệ */
    background-position: top;
    padding: 40px 16px;
  }
}




.main1-header {
    background-color: #ff69b4;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.main1-header h1 {
    margin: 0;
    font-size: 3em;
    letter-spacing: 2px;
    font-weight: bold;
}

.main1-header p {
    margin: 5px 0 0;
    font-size: 1.2em;
    opacity: 0.9;
}

.center-center {
    justify-content: center;
    padding: 0 20px 10px 40px;
    background-color: var(--white);
}

.center-content {
    
    position: relative;
    width: 100%;
    height: 100%;
    margin: 50px auto;
    overflow: hidden;
}

.center-content p {
    padding: 15px;
    line-height: 1.6;
    font-size: 1.15em;
    box-sizing: border-box;
    width: 100%;
    overflow-wrap: break-word;
}

.center-img {
    float: right;
    width: 400px;
    height: auto;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 5px;
}

.main1-header {
    text-align: center;
    padding: 5px 0;
}

.main1-header h1 {
    font-size: 2em;
    color: #FEDE58;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.main1-header h2 {
    font-size: 2.5em;
    color: #FEDE58;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.main1-header h3 {
    font-size: 1.5em;
    color: #FFF;
    margin: 0;
}

.course-top-header {
    text-align: center;
    background-color: #FFF;
}

.course-top-header h1 {
    font-size: 2em;
    color: #ff69b4;
    font-weight: 400;
}

.course-top-header h2 {
    font-size: 2.25em;
    color: #ff69b4;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 0 0 10px 0;
}

.container-tc {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.header-tc {
    background-color: #ff69b4;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.header-tc h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1.5px;
    color: #FEDE58
}

.location-section-tc {
    background-color: var(--white);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: center;
}

.location-title-tc {
    color: var(--dark-header);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
}

.address-tc {
    color: var(--light-text-color);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.image-gallery-tc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item-tc {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item-tc img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-tc img:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .top-cards {
        flex-direction: column;
        align-items: center;
    }

    .card,
    .card.center-card {
        width: 80%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-tc h1 {
        font-size: 2em;
    }

    .location-title-tc {
        font-size: 1.5em;
    }

    .address-tc {
        font-size: 1em;
    }

    .image-gallery-tc {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .main1-header h1 {
        font-size: 2.5em;
    }

    .main1-header p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header-tc h1 {
        font-size: 1.8em;
    }

    .location-section-tc {
        padding: 15px;
        margin-bottom: 20px;
    }

    .image-gallery-tc {
        grid-template-columns: 1fr;
    }

    .gallery-item-tc {
        max-width: 90%;
        margin: 0 auto;
    }

    .main1-header h1 {
        font-size: 2em;
    }

    .top-cards {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card,
    .card.center-card {
        padding: 15px;
    }
}

.top-section {
    background-color: #ff69b4;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    justify-items: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container-tc {
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0px;
    margin: 0 auto;
}

.top-cards {
    background-color: #ff69b4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card {
    background-color: #ff69b4;
    flex: 1;
    max-width: 40%;
    text-align: center;
}

.center-card {
    background-color: #ff69b4;
    flex: 1.1;
    max-width: 60%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-tc h3 {
    font-size: 1.5em;
    color: #ddd;
    margin: 0;
    padding: 10px;
}

.container-tc p {
    font-size: 1.15em;
    color: #ff69b4;
    margin: 0;
}

.top-cards img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card,
.center-card {
    border: 3px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

/* Trang chủ  */
/* Giới thiệu */
.introduce-section {
    justify-content: center;
    padding: 10px;
    background-color: var(--white);
}

.introduce-header {
    text-align: center;
    padding: 5px 0;
}

.introduce-header h1 {
    font-size: 2em;
    color: #0A192F;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.introduce-header h2 {
    font-size: 5em;
    color: #ff69b4;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.introduce-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 30px auto;
    overflow: hidden;
}

.introduce-content p {
    padding: 15px;
    line-height: 1.6;
    font-size: 1.15em;
    box-sizing: border-box;
    width: 100%;
    overflow-wrap: break-word;
    font-family: "Times New Roman", serif !important;
}

.introduce-image {
    float: right;
    width: 400px;
    height: auto;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 5px;
}

.address1 {
    color: var(--light-text-color);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.address-list1 {
    list-style: none;
    margin: 50px auto;
}

.address-list1 a {
    display: block;
    margin-bottom: 15px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.container1 {
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0px;
    margin: 0 auto;
}

.header1 {
    background-color: #ff69b4;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.header1 h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1.5px;
    color: #ffffff
}
.partner h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1.5px;
    color: #ff69b4
}

.location-section1 {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: center;
}

.location-title1 {
    color: #000;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
}

.image-gallery1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item1 {
    width: 100%;
    max-width: 400;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item1 img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item1 img:hover {
    transform: scale(1.05);
}

.logo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

.logo-list img {
    height: 170px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

.logo-list img:hover {
    transform: scale(1.05);
  }.teaching-links-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
}
.teaching-links-section h2 {
    color: #ff69b4; /* Red color from the image */
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.teaching-links-section p {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 50px;
    line-height: 1.6;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows logos to wrap on smaller screens */
    gap: 40px; /* Space between logos */
}

.logo-item {
    flex-shrink: 0; /* Prevent logos from shrinking */
    width: 120px; /* Adjust as needed */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    }
        @media (max-width: 768px) {
            .teaching-links-section h2 {
                font-size: 2em;
            }

            .teaching-links-section p {
                font-size: 1em;
                margin-bottom: 30px;
            }

            .logos-container {
                gap: 20px;
            }

            .logo-item {
                width: 100px;
            }
        }

        @media (max-width: 480px) {
            .teaching-links-section {
                padding: 30px 15px;
            }

            .teaching-links-section h2 {
                font-size: 1.8em;
            }

            .logos-container {
                gap: 15px;
            }

            .logo-item {
                width: 80px;
            }
        }
@media (max-width: 768px) {
    .header1 h1 {
        font-size: 2em;
    }

    .location-title1 {
        font-size: 1.5em;
    }

    .address1 {
        font-size: 1em;
    }

    .image-gallery1 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .header1 h1 {
        font-size: 1.8em;
    }

    .location-section1 {
        padding: 15px;
        margin-bottom: 20px;
    }

    .image-gallery1 {
        grid-template-columns: 1fr;
    }

    .gallery-item1 {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Giới thiệu */
/* Dịch vụ */
.service-content {
    background-color: #fff;
}

.container-service {
    width: 100%;
    max-width: 1500px;
    padding: 40px 20px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 15px;
    padding: 5px 0;

}

.service-header h1 {
    font-size: 2.5em;
    color: #ff69b4;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.service-header h2 {
    font-size: 2em;
    color: #ffa500;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.service-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: var(--white);
    padding: 30px;
    margin-bottom: 5px;
    border-radius: 8px;
    width: 100%;
}

.service-section h2 {
    font-size: 1.5em;
    color: #ff69b4;
    margin-top: 25px;
    margin-bottom: 10px;
}

.service-section:nth-child(even) .service-image {
    order: -1;
    margin-right: 30px;
    margin-left: 0;
}

.service-section:nth-child(odd) .service-image {
    margin-left: 30px;
    margin-right: 0;
}

.service-course-content {
    flex: 2;
    min-width: 300px;
}

.service-course-content p {
    color: #0A192F;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.objectives-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 10px;
}

.objectives-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.objectives-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 1.25em;
}

.service-image {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .container-service {
        padding: 20px 15px;
    }

    .service-header h1 {
        font-size: 1.5em;
    }

    .service-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .service-section:nth-child(even) .service-image,
    .service-section:nth-child(odd) .service-image {
        order: unset;
        margin-right: 0;
        margin-left: 0;
        margin-top: 20px;
    }

    .service-course-content {
        min-width: unset;
        width: 100%;
    }

    .service-image {
        min-width: unset;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .service-header h1 {
        font-size: 1.8em;
    }

    .course-title {
        font-size: 1.4em;
        color: #ff69b4;
    }

    .service-course-content p,
    .objectives-list li {
        font-size: 0.95em;
    }

    .objectives-list {
        padding-left: 15px;
    }
}

/* Dịch vụ */
/* Tin tức - Sự kiện */
.news-events-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px; /* Hoặc độ rộng mong muốn của bạn */
    margin: 40px auto;
    gap: 30px; /* Khoảng cách giữa phần tin tức và sự kiện */
    padding: 0 10px; /* Thêm padding ngang cho container */
}

/* News Section Styling */
.news-section {
    flex: 3; /* Chiếm khoảng 60% (3/5) của container */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
   /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);*/
}

.news-section h2, .events-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ff69b4;
    font-size: 2em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

/* News Card Styling */
.news-card {
    display: flex;
    margin-bottom: 25px;
    background-color: #fff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
    text-decoration: none; /* Loại bỏ gạch chân mặc định của thẻ a */
    color: inherit; /* Kế thừa màu chữ từ cha */
    transition: transform 0.2s ease-in-out, 
    /*box-shadow 0.2s ease-in-out;*/
}

.news-card:hover {
    transform: translateY(-5px); /* Hiệu ứng khi di chuột qua */
    /*box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);*/
}

.news-card img {
    width: 50%; /* Ảnh chiếm 50% chiều rộng của card */
    height: 180px; /* Chiều cao cố định cho ảnh */
    object-fit: contain; /* Đảm bảo ảnh được căn chỉnh và không bị méo */
}

.news-content {
    width: 50%; /* Nội dung chiếm 50% chiều rộng của card */
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #000;
    font-size: 1.3em;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn 3 dòng cho nội dung */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.page-button:hover:not(:disabled) {
    background-color: #000;
}

.page-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}

.page-number {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-number:hover {
    background-color: #e0e0e0;
}

.page-number.active {
    background-color: #ff69b4; /* Pink color from your h2 */
    color: white;
    border-color: #ff69b4;
    font-weight: bold;
}

/* Hide news cards that are not on the current page */
.news-card.hidden {
    display: none;
}
/* Events Section Styling */
.events-section {
    flex: 2; /* Chiếm khoảng 40% (2/5) của container. Để 30% bạn có thể dùng flex: 1.5; */
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);*/
    display: flex;
    flex-direction: column; /* Sắp xếp các sự kiện theo chiều dọc */
    align-items: center; /* Căn giữa các ảnh sự kiện */
}

/* Event Item Styling */
.event-item {
    display: block; /* Đảm bảo thẻ a là block để áp dụng margin */
    margin-bottom: 20px; /* Khoảng cách giữa các sự kiện */
    width: 100%; /* Đảm bảo item chiếm toàn bộ chiều rộng có thể */
    max-width: 250px; /* Giới hạn chiều rộng tối đa cho ảnh sự kiện */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.event-item:hover {
    transform: translateY(-5px); /* Hiệu ứng khi di chuột qua */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.event-item img {
    width: 100%; /* Ảnh sự kiện chiếm toàn bộ chiều rộng của event-item */
    height: 250px; /* Chiều cao cố định cho ảnh sự kiện, có thể điều chỉnh */
    object-fit: cover;
    display: block; /* Loại bỏ khoảng trắng dưới ảnh */
    border-radius: 8px; /* Bo tròn góc ảnh */
}

/* Responsive adjustments */
@media (min-width: 900px) and (max-width: 1200px){
        .news-section, .events-section {
        max-width: 480px; /* Giảm kích thước bao quanh cho cả hai phần */
        margin-bottom: 25px; /* Giảm khoảng cách dưới */
    }

    .news-card img {
        height: 160px; /* Giảm chiều cao ảnh tin tức */
    }

    .news-content h3 {
        font-size: 1.2em; /* Điều chỉnh kích thước tiêu đề tin tức */
    }

    .news-content p {
        font-size: 0.9em; /* Điều chỉnh kích thước nội dung tin tức */
    }

    .event-item {
        max-width: 250px; /* Giảm kích thước ảnh sự kiện */
    }

    .event-item img {
        height: 200px; /* Giảm chiều cao ảnh sự kiện */
    }
}
@media (min-width: 300px) and (max-width: 900px) {
    .news-events-container {
        flex-direction: column; /* Xếp chồng các phần khi màn hình nhỏ */
        align-items: center; /* Căn giữa các khối */
    }

    .news-section, .events-section {
        width: 100%;
        max-width: 600px; /* Giới hạn chiều rộng trên màn hình nhỏ */
        margin-bottom: 30px;
    }

    .news-card {
        flex-direction: column; /* Xếp chồng ảnh và nội dung trong tin tức */
    }

    .news-card img, .news-content {
        width: 100%; /* Ảnh và nội dung chiếm 100% chiều rộng */
    }

    .news-card img {
        height: 200px; /* Điều chỉnh chiều cao ảnh trên mobile */
    }

    .event-item {
        max-width: 300px; /* Giới hạn chiều rộng ảnh sự kiện trên mobile */
    }
}
/* Tin tức - Sự kiện */
/* Tuyển dụng */
.job {
    width: 100%;
    max-width: 1800px;
    padding: 40px 20px;
}

.job-header {
    text-align: center;
    margin-bottom: 40px;
}

.job-header h1 {
    font-size: 2.5em;
    color: #ff69b4;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-align: CENTER;
}

.general-info {
    background-color: var(--card-background);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: left;
}

.sub-heading {
    font-size: 1.3em;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.general-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.general-info ul li {
    margin-bottom: 5px;
    font-size: 1.1em;
}

.general-info p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.general-info a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
}

.general-info a:hover {
    text-decoration: underline;
}

.job-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .job-header h1 {
        font-size: 2em;
    }

    .general-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .job-header h1 {
        font-size: 1.8em;
    }

    .general-info p,
    .general-info ul li {
        font-size: 0.9em;
    }
}

/* Tuyển dụng */
/* Tài Nguyên Trung Tâm */
.resources-tntt {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 5px;
}

.tntt h1 {
    padding: 50px 0 0 0;
    text-align: center;
    color: #ff69b4;
}

.card-tn-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 1200px;
    max-width: 90%;
    margin: 20px auto;
    margin-bottom: 20px;
}

.card-tn {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-tn-link:hover .card-tn {
    transform: translateY(-5px);
    cursor: pointer;
}

.card-tn-image {
    flex: 1;
    min-width: 0;
}

.card-tn-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-tn-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-tn-content h2 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.card-tn-content p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

@media (max-width: 768px) {
    .card-tn {
        flex-direction: column;
    }

    .card-tn-image,
    .card-tn-content {
        flex: none;
        width: 100%;
    }

    .card-tn-image {
        height: 200px;
    }

    .card-tn-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .card-tn-content {
        padding: 15px;
    }

    .card-tn-content h2 {
        font-size: 1.5em;
    }

    .card-tn-content p {
        font-size: 0.9em;
    }
}

/* Tài Nguyên Trung Tâm */
/* Tài Liệu Tham Khảo */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #ff69b4;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
    background-color: #fff;
    border-radius: 8px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/* Tài Liệu Tham Khảo */
/* Liên hệ */
.contact {
    width: 100%;
    max-width: 1800px;
    padding: 40px 20px;
}

.contact-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-header h1 {

    font-size: 2.5em;
    color: #ff69b4;
    margin: 0;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.contact-info-section {
    display: flex;
  flex-direction: column;
   /* 👈 Căn giữa toàn bộ nội dung trong section */
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.contact1 {
    width: 100%;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    min-width: 300px;
}

.contact-text {
    padding-left: 50px;
    text-align: left;
}

.contact-text p {

    color: #000;
    text-decoration: none;
    margin: 0;
    line-height: 1.4;
}

.contact-text a {

    color: #000;
    text-decoration: none;
    margin: 0;
    line-height: 1.4;
}

.map-section {
    background-color: var(--light-gray-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.map-title {
    font-size: 1.8em;
    color: var(--map-title-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.map-container {
    position: relative;
    padding-bottom: 70%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 0;
    padding-left: 17%;
}

@media (max-width: 768px) {
    .contact-item {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .contact-item i {
        font-size: 1.3em;
        margin-right: 15px;
    }

    .map-title {
        font-size: 1.6em;
    }

    .map-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-text p {
        font-size: 0.95em;
    }

    .map-title {
        font-size: 1.4em;
    }
}

/* Liên hệ */
/* Cơ sở vật chất */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.header {
    background-color: #000;
    color: #ddd;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1.5px;
}

.location-section {
    background-color: #FFF;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: center;
}

.location-title {
    color: var(--dark-header);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
}

.address {
    color: var(--light-text-color);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .location-title {
        font-size: 1.5em;
    }

    .address {
        font-size: 1em;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8em;
    }

    .location-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Liên Hệ */

.contact-item-address {
    color: #001F3F;
    text-decoration: none;
    transition: color 0.2s;
    text-decoration: underline;
}

.contact-item-address:hover {
    color: #FF69B4;
}