.page-template-template-about .site-header{
    /*border-bottom: 1px solid var(--white-color);*/
}
.page-template-template-blog .header-logo img,
.page-template-template-website .header-logo img,
.page-template-template-project .header-logo img,
.post-type-archive-project .header-logo img,
.page-template-template-about .header-logo img {
    filter: brightness(0) invert(1) contrast(100%);
}
.page-template-template-blog .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
.site-header.header--light .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
.page-template-template-website .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
.page-template-template-project .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
.post-type-archive-project .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
.page-template-template-about .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: rgba(255, 255, 255, 0.7);
}
.page-template-template-blog .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.site-header.header--light .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.page-template-template-website .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.page-template-template-project .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.post-type-archive-project .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
.page-template-template-about .header_nav #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--white-color);
}
.page-hero{
    height: 100vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}
.video-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
.video-background video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-hero:after {
    content: "";
    position: absolute;
    background: linear-gradient(180deg, transparent 0, var(--primary-color));
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 1;
    height: 100%;
    width: 100%;
}
.inner-page-hero{
    position: relative;
    z-index: 2;
    padding-bottom: 85px;
    color: var(--white-color);
}


/* Text hover ra ảnh ở trang about */
.hover-image {
  position: relative;
  display: inline-block;
  font-size: 16vw;
  font-weight: 700;
  color: #ffffff; /* màu chữ ban đầu */
  cursor: pointer;
  overflow: visible;
  margin: 0 -5px;
/*   font-family: 'SVN-Poppins'; */
}

.hover-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://framerusercontent.com/images/epYmEFUkGf5RAdraSFF73cFeg.png?scale-down-to=512&width=499&height=598");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.2s ease;
  z-index: 2; /* Ảnh nằm trên chữ */
}
h1 .hover-image.text-h::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009071.svg");
}
h1 .hover-image.text-a::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009078.svg");
}
h1 .hover-image.text-p::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009082.svg");
}
h1 .hover-image.text-a2::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009080.svg");
}
h1 .hover-image.text-g::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009064.svg");
}
h1 .hover-image.text-e::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009084.svg");
}
h1 .hover-image.text-n::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009072.svg");
}
h1 .hover-image.text-c::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000009062.svg");
}
h1 .hover-image.text-y::after{
	  background-image: url("https://demo.hap.agency/wp-content/uploads/2025/11/Group-1000008998.svg");
}
.hover-image:hover::after {
  opacity: 1;
  transform: scale(1.1); /* zoom ảnh nhẹ lên */
}
.hover-image.text-a2:hover::after {
    opacity: 1;
    transform: scale(1.6);
}
.hover-image.text-p:hover::after{
    opacity: 1;
    transform: scale(1.4);
}
/* h1.hover-image.text-p {
    margin-right: 21px;
} */
.inner-page-hero.page-about {
    padding: 0px;
}
.hero-title {
    display: flex;
    justify-content: space-between;
}
.hero-title .box1, .hero-title .box2 {
    display: inline-flex;
    flex-wrap: nowrap;
}
/* hết */
/* @media only screen and (min-width: 768px) and (max-width: 1200px) {
		.hover-image {
		font-size: 14vw;
	}
} */

@media (max-width: 993px) {
    .inner-page-hero{
        padding-bottom: 60px;
    }
}
@media (max-width: 768px) {
    .inner-page-hero{
        padding-bottom: 40px;
    }
	.hero-title {
/* 		text-align: center; */
    	display: unset;
	}
	.hover-image {
		font-size: 25vw;
		margin: 0px -4px;
	}
	
}
@media (max-width: 480px) {
    .inner-page-hero{
        padding-bottom: 20px;
    }
}
.page-hero__left,
.page-hero__right{
    margin-bottom: 15px;
}
.page__title{
    font-size: clamp(2.8rem, 7vw ,5rem);
    letter-spacing: -0.8px;
    line-height: 1;
    margin-top: 0;
}
.page-hero__left{
    display: flex;
    align-items: flex-end;
}
.inner-page-hero__left{
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}
.page__subtitle{
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    max-width: clamp(200px, 20vw, 300px);
}
.page-hero__left i{
    font-size: clamp(30px, 4vw, 40px);
}
@media (max-width: 768px) {
    .inner-page-hero{
        flex-direction: column;
    }
    .page-hero__right{
        order: 1;
        margin-bottom: 40px;
    }
    .page-hero__left{
        order: 2;
        margin-bottom: 40px;
    }
}
.page-text.section{
    transform: translateY(-1px);
    padding-top: 60px;
}
.page__text{
    font-size: clamp(30px, 4vw, 60px);
    font-weight: 500;
    line-height: 1.3;
}
.page__text span {
    display: inline-block;
    white-space: pre; /* giữ khoảng trắng */
}

/*section about intro*/
.about-intro__image{
    max-width: 100%;
    aspect-ratio: 1 / 1;
}
.about-intro__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 993px) {
    .about-intro__image{
        aspect-ratio: 16/9;
    }
}
@media (max-width: 768px) {
    .about-intro__image{
        aspect-ratio: auto;
        margin-bottom: 20px;
    }
}

.about-intro__content .content {
    font-size: clamp(20px, 2vw, 40px);
    line-height: 1.4;
    font-weight: 600;
}


/*section lịch sử hình thành*/
.about-journey .sec-title {
    font-size: clamp(2.8rem, 7vw ,5rem);
    letter-spacing: -2px;
    line-height: 1;
    max-width: clamp(350px , 40vw, 600px);
    margin-bottom: clamp(50px, 8vh, 100px);
}
.about-journey .swiper-wrapper{
    align-items: center;
    min-height: 600px;
}
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}
.journey-item-header{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 250px;
    min-height: 200px;
}
.journey-year{
    color: #4a6ea1;
    font-size: 1rem;
    line-height: 0.8;
    font-weight: 500;
    transition: all 0.4s ease;

}
.journey-title{
    color: #4a6ea1;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s ease;
}
.journey-item-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 20px;
    opacity: 0;
    font-size: 16px;
    transition: all 0.4s ease;
    max-height: 250px;
    min-height: 200px;
}
.journey-swiper .swiper-slide.swiper-slide-active .journey-item-header{
    gap: 40px;
    margin-bottom: 30px;
}
.journey-swiper .swiper-slide.swiper-slide-active .journey-year{
    color: var(--white-color);
    font-size: clamp(120px, 16vw, 180px);
    font-weight: 600;
    opacity: 1;
}
.journey-swiper .swiper-slide.swiper-slide-active .journey-title{
    color: var(--white-color);
    font-size: 24px;
    font-weight: 600;
    opacity: 1;
}
.journey-swiper .swiper-slide.swiper-slide-active .journey-item-content {
    color: var(--white-color);
    opacity: 1;
    font-size: 16px;
    margin-top: 30px;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #a1a1a1; /* màu dot */
    border-radius: 50%;
    z-index: 2;
}
.journey-swiper .swiper-slide.swiper-slide-active .timeline-dot{
    background: var(--secondary-color);
}
/* navigation */
.journey-nav{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 20px;
    z-index: 2;
}
.journey-nav .journey-button-next,
.journey-nav .journey-button-prev {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    cursor: pointer;
    z-index: 1;
    font-size: clamp(30px, 4vw, 40px);
}
@media (max-width: 768px) {
    .about-journey .swiper-wrapper{
        min-height: 500px;
    }
    .journey-swiper .swiper-slide .journey-year{
        color: var(--white-color);
        font-size: clamp(120px, 16vw, 180px);
        font-weight: 600;
        opacity: 1;
    }
    .journey-swiper .swiper-slide .journey-title{
        color: var(--white-color);
        font-size: 24px;
        font-weight: 600;
        opacity: 1;
    }
    .journey-swiper .swiper-slide .journey-item-content {
        color: var(--white-color);
        opacity: 1;
        font-size: 16px;
        margin-top: 30px;
    }
    .journey-nav{
        position: absolute;
        top: unset;
        bottom: 0;
        right: 0;
        display: flex;
        gap: 20px;
        z-index: 2;
    }

}
/*section đội ngũ*/
.team-member-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}
.section-team-footer{
    margin-bottom: 70px;
    justify-content: flex-end;
}
.inner-section-team-footer{
    position: relative;
    border: none;
    padding: 0;
    z-index: 2;
    cursor: pointer;
    width: 132px;
    height: 132px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.inner-section-team-footer:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 1;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.45s
    cubic-bezier(0.17, 0.67, 0.3, 1.33);
    transition: -webkit-transform 0.45s
    cubic-bezier(0.17, 0.67, 0.3, 1.33);
    transition: transform 0.45s
    cubic-bezier(0.17, 0.67, 0.3, 1.33);
    transition: transform 0.45s
    cubic-bezier(0.17, 0.67, 0.3, 1.33), -webkit-transform 0.45s
    cubic-bezier(0.17, 0.67, 0.3, 1.33);
}
.inner-section-team-footer:hover:after {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
}
.section-team-footer__title{
    position: relative;
    text-align: center;
    width: fit-content;
    color: var(--white-color);
    max-width: 50%;
}
@media (min-width: 768px) {
    .inner-section-team-footer{
        width: 152px;
        height: 152px;
    }
}
@media (min-width: 1024px) {
    .inner-section-team-footer{
        width: 182px;
        height: 182px;
    }
}
@media (max-width: 1024px) {
    .team-member-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .team-member-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.team-member-img{
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.team-member-name{
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    margin: 10px 0 5px 0;
    color: var(--text-color);
}
.team-member-position{
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    margin: 0;
    color: var(--gray-color);
}
.about-reasons .container{
    padding-right: 20px;
}
.reasons-stats{
    margin-top: 100px;
}
.reasons-stats .stat-number{
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 600;
    margin: 0;
    color: var(--white-color);
}
.reasons-stats .stat-label{
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: var(--white-color);
}
@media (max-width: 768px) {
    .about-reasons{
        padding-bottom: 20px;
    }


}