body {
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	color: #1f2329;
	font-size: 14px;
	line-height: 1.5;
	background-color: #F8F9FA;
}

a,
a:focus,
a:hover {
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	outline: none !important;
}

ol,
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: none;
	border-color: transparent;
	box-shadow: none;
}


li {
	list-style-type: none;
}

.fs-12 {
	font-size: 13px;
}

.fs-14 {
	font-size: 14px;
}

.fs-16 {
	font-size: 16px;
}



.cursor-pointer {
	cursor: pointer;
  }

/* News List Styles Update */
.news-date {
    background-color: transparent;
    padding: 0;
    min-width: 100px;
}

.news-content {
    flex: 1;
}

.news-image {
    flex-shrink: 0;
}

#navbar.nav-masthead .nav-link::after, 
.nav-masthead .nav-link::after {
	background-color: #006CFC;
}

/* Only use white line on transparent background */
#navbar.bg-transparent .nav-masthead .nav-link::after {
	background-color: #fff;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    display: flex;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: inherit;
}

.breadcrumb-item a:hover {
    color: #006CFC;
    text-decoration: underline;
}

/* News Show Styles */
.article-detail,
.latest-news {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.article-content h2 {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 22px;
    font-weight: 600;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF0000;
}

.news-title-sm {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
    color: #374151;
}

.article-content b,
.article-content strong {
    font-weight: 700;
    color: #1a1f2e;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 16px;
    line-height: 1.8;
    color: #1a1f2e;
}

.article-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 24px 0 12px;
    line-height: 1.8;
    color: #1a1f2e;
}

/* News List Styles */
/* ========== Category Filters ========== */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.category-filter {
    display: inline-block;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.5;
}

.category-filter:hover {
    color: #006CFC;
    border-color: #006CFC;
    background: rgba(0, 108, 252, 0.04);
}

.category-filter.active {
    color: #fff;
    background: #006CFC;
    border-color: #006CFC;
    font-weight: 600;
}

/* ========== News Grid List ========== */
.news-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-grid-cover {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f1f3;
}

.news-grid-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-grid-card:hover .news-grid-cover img {
    transform: scale(1.05);
}

.news-grid-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-grid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.news-grid-tag {
    display: inline-block;
    font-size: 12px;
    color: #006CFC;
    background: rgba(0, 108, 252, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
    line-height: 1.6;
}

.news-grid-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-title a {
    color: #1a1f2e;
    text-decoration: none;
}

.news-grid-title a:hover {
    color: #006CFC;
}

.news-grid-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-grid-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #9ca3af;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.news-grid-meta i {
    margin-right: 3px;
    font-size: 14px;
}

/* Custom font size for date day */
.fs-36 {
    font-size: 38px;
    color: #000000;
    font-weight: bold;
}

.fs-20 {
    font-size: 20px;
}

.hover\:text-primary:hover {
    color: #006CFC !important;
}

.nav-masthead .nav-link {
	position: relative;
	color: #171A1D;
	font-size: 14px;
	text-decoration: none;
	font-weight: normal;
	transition: all .4s ease 0s;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
	color: #006CFC;
}

.nav-masthead .nav-link+.nav-link {
	margin-left: 2rem;
}

.nav-masthead .active {
	color: #006CFC;
	font-weight: 600;
}

.nav-masthead .nav-link:hover::after,
.nav-masthead .nav-link.active::after {
	transform: translateX(-50%) scaleX(1);
}

.nav-masthead .nav-link::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 20px;
	height: 2px;
	transition: transform 0.3s ease, background-color 0.3s ease;
	transform-origin: center;
}

#navbar {
	/* Transition removed as requested */
}

#navbar.nav-bg-light, .nav-bg-light {
	background: #fff!important;
	-webkit-box-shadow: inset 0 -1px 0 0 rgba(17, 31, 44, .05);
    box-shadow: inset 0 -1px 0 0 rgba(17, 31, 44, .05);
}

#navbar.text-dark {
	color: #1f2329 ;
}

#navbar a {
	transition: color 0.3s;
}

#navbar.text-dark .nav-link {
	color: #1f2329;
}

#navbar .nav-link {
	color: #000 !important;
}

#navbar.text-light .nav-link {
	color: #fff !important;
}

/* body padding-top removed to eliminate gap between header and index-video-wrap */
.news-banner {
	margin-top: 70px;
}

.index-video-wrap {
	margin-top: 70px; /* Adjusted to match header height */
	position: relative;
	overflow: hidden;
	text-align: center;
	background-size: 100% 100%;
	transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	/* Set aspect ratio based on banner image: increased height to ~140% of original (16:7) */
	aspect-ratio: 16 / 6;
}

.index-video-wrap .video-react {
	/* position:relative */
}

.index-video-wrap video {
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden
}

@media screen and (min-width:1368px) {
	.index-video-wrap video {
		-o-object-fit: cover;
		object-fit: cover;
		-o-object-position: 50% 60%;
		object-position: 50% 60%
	}
}

@media screen and (max-width:1220px) {
	.index-video-wrap video {
		-o-object-fit: cover;
		object-fit: cover
	}
}

.index-video-wrap .video-react-video {
	position: absolute;
	top: 0;
	left: 0;
}

.index-video-wrap .carousel {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.index-video-wrap .carousel-inner, 
.index-video-wrap .carousel-item {
	width: 100%;
	height: 100%;
}

.index-video-wrap .carousel-item img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 1220px) {
	.index-video-wrap .carousel-item img {
		object-position: center;
	}
}

video {
	outline: none;
	width: 100%;
	-o-object-fit: fill;
	object-fit: fill
}

@media screen and (min-width:1368px) {
	video {
		-o-object-fit: cover;
		object-fit: cover;
		-o-object-position: 50% 60%;
		object-position: 50% 60%
	}
}

@media screen and (max-width:1220px) {
	video {
		-o-object-fit: cover;
		object-fit: cover
	}
}

.home-wrapper {
	padding-top: 75px;
}

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	background: rgba(0, 18, 252, .2);
}

.home-wrapper .container,
.home-wrapper .row {
	height: 60px;
}

.slogan-subtitle {
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 5px;
	text-align: center;
	margin: 0 0 16px;
	font-style: normal;
	font-weight: 400;
	color: #fff;
}

.slogan-title {
	font-size: 42px;
	color: #fff;
	font-weight: 600;
	line-height: 72px;
}

@media (min-width: 1200px) {
    .slogan-subtitle {
        font-size: 24px;
        line-height: 32px;
    }

    .slogan-title {
        font-size: 56px;
        line-height: 80px;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    .slogan-subtitle {
        font-size: 22px;
        line-height: 30px;
    }

    .slogan-title {
        font-size: 60px;
        line-height: 75px;
    }
}


.digital-wrapper {
	height: 180px;
	width: 100%;
	min-width: 1200px;
	position: relative;
	color: #fff;
}

.digital-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url(../images/index-bg-02.png);
	z-index: -1;
}

.number-container {
	font-size: 40px;;
}

.number {
	font-size: 62px;
	font-weight: bold;
}

.banner{
	height: 420px;
    width: 100%;
    min-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-position: 50% center;
    background-size: cover;
}

/* International Course Section Styles */
.service-index {
    background-color: #f8f9fa;
}

.service-index .course-card {
    background-color: #ffffff;
    padding: 50px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-index .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.service-index .course-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.service-index .course-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-index .course-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}
.class-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.culture-wrapper {
	height: 488px;
	width: 100%;
	min-width: 1200px;
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url(../images/index-bg-05.png);
	color: #fff;
}


.pages {
	overflow: hidden;
	margin-bottom: 30px;
	text-align: center;
}

.pages a,
.pages strong {
	display: inline-block;
	margin: 0px 5px;
	border: 1px solid #006cfc;
	font-size: 16px;
	color: #006cfc;
	height: 38px;
	line-height: 38px;
	text-align: center;
	transition: 0s linear;
	-webkit-transition: 0s linear;
	-o-transition: 0s linear;
	-moz-transition: 0s linear;
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 3px;
}

.pages a:hover,
.pages strong {
	background: #006cfc;
	color: #fff;
	border: 1px solid #006cfc;
	height: 38px;
	line-height: 38px;
}