﻿body {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
}
a{
    font-weight: 400;
}
h1 {
    font-weight: bold;
    font-size: 2.9rem;
}
/* Tiêu đề */
.title-section {
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #e0e0e0;
}

.title-section h2 {
    font-size: 2.5rem;
    color: #284f9e;
    font-weight: 600;
    display: inline-block;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #284f9e;
}

@media (max-width: 768px) {
    .title-section h2 {
        font-size: 2rem;
    }
}



#btn-dangky {
    background-color: #e60909;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 10px !important;
    text-decoration: none;
    color: #fff;
    padding: 0.5rem 1.8rem;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

/* ============= Vi sao chon LHU ===================*/

#vi-sao-chon-lhu h1 {
    color: #FDC830;
    font-weight: 800;
}

.mark {
    background-color: #FDC830;
    padding: 0 1rem;
    margin-right: 1rem;
}

.gioi-thieu-header {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #424242;
    line-height: 2.5rem;
}

.gioi-thieu-des {
    margin: 1rem 0 2rem 0;
    color: #424242;
}


/* ============= Tân sinh viên ===================*/
#tan-sinh-vien {
    background-color: #1565c0;
    color: #FFFFFF;
    font-weight: 500;
    clip-path: polygon(50% 10%, 100% 0, 100% 100%, 0 100%, 0 0);
    padding-top: 9rem;
    padding-bottom: 4rem;
}

#tan-sinh-vien p {
    text-align: justify;
}

#tan-sinh-vien img {
    max-width: 100%;
}
/* =========== Ngành học ====================*/

        /*.title-section {
            text-align: center;
            margin-bottom: 50px;
        }

        .title-section h2 {
            font-size: 2.5rem;
            color: #333;
            font-weight: 600;
        }
*/
        .cards-grid {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .cards-grid-bottom {
            display: flex;
            justify-content: center;
            gap: 30px;
            max-width: 1500px;
            margin-left: auto;
            margin-right: auto;
        }

        .card {
            background: white;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
            width: 250px;
            flex-shrink: 0;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .icon-wrapper {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            position: relative;
        }

        .icon-wrapper::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: inherit;
            border-radius: 50%;
            transform: rotate(45deg);
        }

        .icon-wrapper i {
            font-size: 2.5rem;
            color: #284f9e;
            position: relative;
            z-index: 1;
        }

        /* Màu chủ đạo #284f9e cho tất cả các card */
        .icon-wrapper { 
            background: #c6dcfd;
        }

        .card-content {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .nganh-item {
            margin: 8px 0;
            padding-left: 5px;
            text-align: left;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            color: #333333;
            font-weight: 500;
        }

        .nganh-item i {
            color: #284f9e;
            font-size: 0.75rem;
        }

        /*================ DU HỌC SINH ===================*/
        #du-hoc-sinh .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    z-index: -1;
    background: #315b96;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#553be6', endColorstr='#a87ffa', GradientType=1);
    opacity: 1;
    height: 600px;
}

#du-hoc-sinh img {
    max-width: 100%;
    width: 100%;
    -webkit-transform: scale(1);
    transform: scale(1);
    z-index: -1;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    z-index: 1;
}

.highlight {
    background-color: #FDC830;
    color: #fff;
    border-radius: 15px;
    padding: 4px 8px;
    font-size: 96%;
}

#du-hoc-sinh img:hover {
    -webkit-transform: scale(1.075);
    transform: scale(1.075);
}

#du-hoc-sinh .text-overlay {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c6dcfd;
    padding: 1rem;
    color: #284f9e;
}

#du-hoc-sinh .text-overlay span:nth-of-type(1) {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 20px;
    text-align: center;
}

#du-hoc-sinh .text-overlay span + span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #424242;
    text-align: center;
}



/* ============= Doi Song Sinh VIen ===================*/
#cuoc-song-sinh-vien .first-col > div {
    background-color: #ECC354;
    padding: 4rem;
    color: #fff;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#doi-song-sinh-vien {
    /*background-color: #2265c5;*/
    padding: 1rem 0;
}

#doi-song-sinh-vien .owl-item .item {
    position: relative;
    margin: 0 0.5rem;
}

#doi-song-sinh-vien .owl-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(49, 51, 150, 0.7);
    color: #ffffff;
    padding: 0.5rem;
    text-align: center;
}

#doi-song-sinh-vien .owl-controls.clickable {
    display: none !important;
}
/*================ NGUOI TA NÓI GÌ ===================*/
.noi-gi-thumb{
    text-align: center;
}
.noi-gi-title{
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 20px;
    text-align: center;
    color: #284f9e;
}
.noi-gi-des{
    text-align: center;
}

/*================================================*/
/*            THÔNG TIN CHO PHỤ HUYNH                  */
/*================================================*/
.TT{
	background-color: #284F9E;
	color: #fff;
	padding: 10% 10%;
}
.TT_menu{
	background-color: #ECC354;
}
.TT_menu .Icon{
	font-size: 70px;
	color: #284F9E;
	margin: 5% 5%;
}

.TT_menu .Text h2{
	color: #fff;
	font-weight: 800;
	letter-spacing: 1.5px;
	font-size: 1.3em;
}
.TT_menu .Text p{
	color: #fff;
	margin-right: 10px;
}

.TT_menu :hover .Icon{
    color: #fff;
}

div.TT_menu:hover{
	background-color: #284F9E;
	color: #fff;
}
div.TT_menu:hover .Icon{
	color: #fff;
}
div.TT_menu:hover .Text h2{
	color: #fff;
}

/* LIÊN KẾT */


        @media (max-width: 768px) {
            .title-section h2 {
                font-size: 2rem;
            }

            .card {
                width: 100%;
                max-width: 400px;
            }

            .cards-grid,
            .cards-grid-bottom {
                flex-wrap: wrap;
                gap: 20px;
            }
        }
        @media (min-width: 769px) and (max-width: 1580px) {
            .cards-grid,
            .cards-grid-bottom {
                flex-wrap: wrap;
            }
            
            .card {
                width: calc(50% - 15px);
                min-width: 250px;
            }
        }

/*================================================*/
/*  Ảnh không được rộng hơn cột chứa nó (gây cuộn ngang trên laptop) */
/*================================================*/
.noi-gi-thumb img,
.content-part2 img {
    max-width: 100%;
    height: auto;
}

/* Laptop: vùng nội dung hẹp vì có sidebar → chữ khối du học sinh nhỏ lại cho khỏi vỡ dòng */
@media (min-width: 1200px) and (max-width: 1600px) {
    #du-hoc-sinh .text-overlay span:nth-of-type(1) {
        font-size: 1.25rem;
    }
}

/*================================================*/
/*  Mobile                                         */
/*================================================*/
@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    .title-section {
        margin-bottom: 24px;
    }
    .title-section h2 {
        font-size: 1.6rem;
        padding-bottom: 12px;
    }
    #vi-sao-chon-lhu,
    #Nganhhoc,
    #du-hoc-sinh,
    #cuoc-song-sinh-vien {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    #TQLH {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .gioi-thieu-header {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* Ngành đào tạo: thẻ gọn, icon nhỏ bên trái */
    .cards-grid,
    .cards-grid-bottom {
        gap: 12px;
        margin-bottom: 12px;
    }
    .card {
        max-width: none;
        padding: 16px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        text-align: left;
    }
    .icon-wrapper {
        width: 52px;
        height: 52px;
        margin: 0;
        flex: 0 0 52px;
    }
    .icon-wrapper i {
        font-size: 1.4rem;
    }
    .card-content {
        flex: 1;
    }
    .nganh-item {
        margin: 4px 0;
        font-size: 14px;
    }

    /* Du học sinh & Người ta nói gì: 2 cột */
    #du-hoc-sinh .row,
    #noi-gi .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    #du-hoc-sinh .row > div,
    #noi-gi .row > div {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 6px;
        padding-right: 6px;
    }
    #du-hoc-sinh .text-overlay {
        padding: 6px;
    }
    #du-hoc-sinh .text-overlay span:nth-of-type(1) {
        font-size: 1.05rem;
        padding-top: 8px;
    }
    #du-hoc-sinh .text-overlay span + span {
        font-size: 12px;
    }
    .noi-gi-title {
        font-size: 1.1rem;
        padding-top: 8px;
    }
    .noi-gi-des {
        font-size: 13px;
    }

    #cuoc-song-sinh-vien .first-col > div {
        padding: 1.5rem;
    }

    /* Thông tin phụ huynh */
    .TT {
        padding: 1.5rem;
    }
    .TT_menu .Icon {
        font-size: 40px;
        margin: 16px;
    }
    .TT_menu .Text {
        padding: 14px 12px 12px 0;
    }
    .TT_menu .Text h2 {
        font-size: 1.1em;
    }
}

/* Tablet & mobile (≤991px): ảnh du học sinh, "Người ta nói gì", video cơ sở xếp 2 cột */
@media (max-width: 991px) {
    #du-hoc-sinh .row > div,
    #noi-gi .row > div,
    #TQLH .col-xl-6 .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 767px) {
    #TQLH .col-xl-6 .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    #TQLH .col-xl-6 .row > div {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 14px !important;
    }
    #TQLH .col-xl-6 .row span {
        display: block;
        margin: 6px 0 0 !important;
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Tiêu đề "ĐẶC QUYỀN dành cho / TÂN SINH VIÊN LHU": một h1 hai dòng, giữ khoảng cách như hai h1 cũ */
#section-catshow .GT_menu h1 {
    line-height: 1.65;
}
