@charset "UTF-8";

/* =========================================
   Scope: Homepage Specific (.page-home)
   ========================================= */

/* 注意：所有样式均前缀 .page-home 以实现样式隔离
   防止污染内页 (Inner Pages)
*/

/* =========================================
   Hero Section
   ========================================= */
.page-home .ac-hero {
    background-image: url('../img/kvbg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 710px;
    position: relative;
}

.page-home .ac-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,25,55,0.95) 0%, rgba(0,35,75,0.7) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
	display: none;
}

.page-home .ac-hero .container {
    position: relative;
    z-index: 2;
}

.page-home .ac-hero-title {
    font-size: 3rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-home .ac-hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
}

.page-home .ac-hero-btn {
    border-radius: 50px;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    font-weight: 500;
}

@media (max-width: 991px) {
    .page-home .ac-hero .ac-hero-title {
        font-size: 2rem;
    }
}

/* =========================================
   Intro Section
   ========================================= */
.page-home .ac-intro .ac-section-title {
    font-size: 2rem;
    letter-spacing: 0.05em;
}

.page-home .ac-intro .text-muted {
	font-size: 1.2rem;
}

.page-home .ac-image-wrapper img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* =========================================
   Features Section
   ========================================= */
.page-home .ac-features {
	padding-bottom: 8rem;
}

.page-home .ac-features .border-start {
    border-left-width: 5px !important;
    border-color: var(--ac-teal-accent) !important;
    padding-left: 1rem !important;
}

.page-home .ac-features h3 {
    font-size: 1.5rem;
}

.page-home .ac-features .ac-feature-card {
    background-color: var(--ac-bg-light-blue);
    transition: transform 0.3s;
    border: none;
}

.page-home .ac-features .ac-feature-card:hover {
    transform: translateY(-5px);
}

.page-home .ac-features .ac-feature-card .ac-icon {
    height: 80px;
    display: flex;
    align-items: center;
}

.page-home .ac-features .ac-feature-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.page-home .ac-features .ac-feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================
   Core Positioning Section
   ========================================= */
.page-home .ac-core {
    background-color: #00387D;
    color: #fff;
}

.page-home .ac-core .ac-video-wrapper .text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-home .ac-core .ac-video-wrapper.cursor-pointer {
    cursor: pointer;
}

.page-home .ac-core .ac-video-wrapper:hover img {
    transform: scale(1.05);
}

.page-home .ac-core .ac-video-wrapper .ac-video-overlay {
    opacity: 0.3 !important;
    transition: opacity 0.3s ease;
}

.page-home .ac-core .ac-video-wrapper:hover .ac-video-overlay {
    opacity: 0.3;
}

.page-home .ac-core .ac-play-btn {
    width: 80px;
    height: 80px;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.page-home .ac-core .ac-video-wrapper:hover .ac-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Keyframes need to be global, but we rename it to be specific */
@keyframes ac-home-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.page-home .ac-core .ac-play-btn {
    animation: ac-home-pulse 2s infinite;
}

/* Modals are usually direct children of body, but if inside wrapper: */
.page-home .modal-header .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    background-size: 1.5rem;
}

.page-home .modal-header .btn-close-white:hover {
    opacity: 1;
}

/* =========================================
   Founder Section
   ========================================= */
.page-home .ac-founder {
    background-color: #fff;
    overflow: hidden; 
}

.page-home .ac-founder .ac-founder-label {
    color: #4dafe8; 
    font-size: 0.9rem;
}

.page-home .ac-founder .ac-founder-name {
    color: var(--ac-navy);
    font-size: 2.2rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.page-home .ac-founder .ac-founder-role {
    font-size: 1.1rem;
    color: var(--ac-text-body);
    font-weight: 500;
}

.page-home .ac-founder .ac-founder-desc {
    font-size: 1.1rem;
	color: var(--ac-text-body);
    line-height: 1.8;
}

.page-home .ac-founder .ac-btn-service {
	width: 240px;
}

.page-home .ac-founder .ac-founder-img-container {
    padding-right: 20px;
    padding-bottom: 20px;
}

.page-home .ac-founder .ac-founder-img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.page-home .ac-founder .ac-founder-bg-shape {
    position: absolute;
    top: 40px;      
    right: 0;       
    width: 90%;     
    height: 100%;   
    background-color: var(--ac-gray-bg);
    border-radius: 12px;
    z-index: 1;
}

/* Mobile Adjustments for Founder */
@media (max-width: 991px) {
    .page-home .ac-founder .ac-founder-img-container {
        padding-right: 0;
        padding-bottom: 0;
        margin-top: 2rem;
    }
    .page-home .ac-founder .ac-founder-bg-shape {
        top: 20px;
        right: -10px;
        width: 95%;
    }
    .page-home .ac-founder .ac-founder-name {
        font-size: 1.6rem;
    }
}

/* =========================================
   Team Section
   ========================================= */
.page-home .ac-team .ac-team-title {
    color: var(--ac-navy);
    padding-bottom: 1rem;
    border-bottom: 4px solid #4eb4e8;
    position: relative;
    z-index: 2;
}

.page-home .ac-team .ac-team-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e6e6e6; 
    z-index: 1;
}

.page-home .ac-team .ac-team-card {
    background-color: transparent;
}

.page-home .ac-team .ac-team-img-box {
    background-color: var(--ac-gray-bg);
    aspect-ratio: 4/3; 
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.page-home .ac-team .ac-team-img-box img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-home .ac-team .ac-team-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap; 
    overflow: hidden;  
    box-sizing: border-box;
}

.page-home .ac-team .ac-team-swiper:not(.swiper-initialized) .swiper-slide {
    display: block;
    flex-shrink: 0;  
    box-sizing: border-box;
    width: 85%;      
    margin-right: 24px;
}

@media (min-width: 576px) {
    .page-home .ac-team .ac-team-swiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
    }
}

@media (min-width: 992px) {
    .page-home .ac-team .ac-team-swiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 90px) / 4);
        margin-right: 30px;
    }

    .page-home .ac-team .ac-team-swiper:not(.swiper-initialized) .swiper-slide:last-child {
        margin-right: 0;
    }
}

/* Team Controls */
.page-home .ac-team-controls {
	display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
}

.page-home .ac-swiper-btn.swiper-button-disabled {
    background-color: #006EB4;
    cursor: default;
    opacity: 0.6;
}

.page-home .ac-team-controls .swiper-pagination {
    position: static !important;
    width: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0 !important;
}

.page-home .ac-swiper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--ac-navy);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0; 
    padding: 0;    
}

.page-home .ac-swiper-btn:hover {
    background-color: #00406b;
    transform: scale(1.05);
}

.page-home .ac-swiper-btn:disabled,
.page-home .ac-swiper-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #ccc;
    transform: none;
}

.page-home .ac-swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    gap: 12px;
}

.page-home .ac-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid var(--ac-navy);
    opacity: 0.5;
    margin: 0 !important; 
    border-radius: 50%;
    display: block;
    transition: all 0.3s;
}

.page-home .ac-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--ac-navy);
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .page-home .ac-team .ac-team-title {
        font-size: 1.5rem;
    }
    .page-home .ac-team-controls {
        gap: 1rem !important;
    }
    .page-home .ac-swiper-btn {
        width: 36px;
        height: 36px;
    }
}

/* =========================================
   Services Section
   ========================================= */
.page-home .ac-services {
    background-image: url('../img/service_bg.jpg'); 
    background-size: cover;
    background-position: center top;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-home .ac-services .ac-services-overlay {
    position: absolute;
    top: 0;
    left: 0;
	height: 50%;
    right: 0;
    bottom: 0;
    background: url(../img/ac-servicesbg.jpg) top center no-repeat, linear-gradient(180deg, rgba(34, 115, 184, 0.92) 0%, rgba(20, 80, 140, 0.95) 100%);
    background-size: cover;
	z-index: 1;
}

.page-home .ac-services .ac-service-header-text p {
    font-size: 1.2rem;
    line-height: 1.8;
	max-width: 800px;
	margin: 0 auto;
    letter-spacing: 0.02em;
}

.page-home .ac-services .ac-service-card {
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.page-home .ac-services .ac-service-card:hover {
    transform: translateY(-5px);
}

.page-home .ac-services .ac-card-img-wrapper {
    height: 220px; 
    width: 100%;
}

.page-home .ac-services .ac-card-title {
    color: #002a45;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.page-home .ac-services .ac-card-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1rem; 
    color: #555;     
    line-height: 1.8;
}

.page-home .ac-services .ac-bullet {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #333;
}

.ac-card-icon-wrapper{
	text-decoration:none;
}

.page-home .ac-services .ac-service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #5abce0; 
    color: #5abce0;          
    font-size: 0.8rem;
    transition: all 0.3s;
    cursor: pointer;
}

.page-home .ac-services .ac-service-card:hover .ac-service-arrow {
    background-color: #5abce0;
    color: #fff;
    border-color: #5abce0;
}

@media (max-width: 991px) {
    .page-home .ac-services {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .page-home .ac-services .ac-card-img-wrapper {
        height: 200px;
    }
    
    .page-home .ac-services .ac-card-body {
        padding: 1.5rem !important;
    }
    
    .page-home .ac-services .ac-card-title {
        font-size: 1.2rem;
    }
    
    .page-home .ac-services .ac-card-icon-wrapper {
        margin: 1.5rem !important; 
    }
}

/* =========================================
   Online Course Section
   ========================================= */
.page-home .ac-online {
    background-color: #eefbfd; 
}

.page-home .ac-online p {
	font-size: 1.2rem;
	color: #404040;
}

.page-home .ac-online .ac-btn-dark-navy {
    background-color: #002a45; 
    border-color: #002a45;
    font-size: 0.95rem;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.page-home .ac-online .ac-btn-dark-navy:hover {
    background-color: #00406b;
    border-color: #00406b;
}

/* =========================================
   News & Insights Section
   ========================================= */
.page-home .ac-news {
    background-color: #fff;
}

.page-home .ac-news .ac-section-title {
    color: var(--ac-navy);
    border-bottom: 4px solid #ddd; 
    position: relative;
    z-index: 1;
    border-bottom-color: #008b9b;
}

.page-home .ac-news .ac-section-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e5e5; 
    z-index: 0;
}

.page-home .ac-news .ac-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px; 
    left: 0;
    width: 100%; 
    height: 4px;
    background-color: #e5e5e5;
    z-index: -1;
}

/* News Cards */
.page-home .ac-news-card {
    border-color: #eee !important;
    transition: transform 0.3s, box-shadow 0.3s;
}

.page-home .ac-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.page-home .ac-news-img-wrapper {
    height: 180px;
    overflow: hidden;
}

.page-home .ac-news-content {
	min-height: 240px;
	padding-top: 2.2rem!important;
}

.page-home .ac-news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #5abce0;
    color: #5abce0;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.page-home .ac-news-card:hover .ac-news-arrow {
    background-color: #5abce0;
    color: #fff;
}

.page-home .ac-news-btn-more {
    color: #333;
    border-color: #ddd;
    background-color: #fff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.page-home .ac-news-btn-more:hover {
    background-color: #f8f9fa;
    color: #000;
}