/* ========== Common Section Styles ========== */
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 12px;
}

.section-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    opacity: 0.9;
    margin: 0;
}

.line-1{
    display: inline-block;
    position: relative;
    padding: 0 65px;
}

.line-1::before{
    content: '';
    position: absolute;
    top: 48%;
    left: 0;
    width: 50px;
    height: 1px;
    background: #C8A968;
}

.line-1::after{
    content: '';
    position: absolute;
    top: 48%;
    right: 0;
    width: 50px;
    height: 1px;
    background: #C8A968;
}

.section-divider {
    width: 32px;
    height: 32px;
    margin: 5px auto 0;
    opacity: 0.8;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    animation: gradientShift 5s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(45, 70, 57, 0.35);
    color: #fff;
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #b8956a 0%, var(--accent-gold) 40%, var(--accent-gold-light) 70%, #b8956a 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    animation: gradientShift 4s ease infinite;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 162, 101, 0.4);
    color: #fff;
}

.btn-gold:hover .arrow {
    transform: translateX(4px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== H01-S1 Hero Slider ========== */
.hero-section {
    position: relative;
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    min-height: 520px;
    max-height: 800px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease-out;
}

.hero-swiper .swiper-slide-active .hero-slide__bg {
    transform: scale(1);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(30, 48, 40, 0.72) 0%,
        rgba(45, 70, 57, 0.45) 45%,
        rgba(45, 70, 57, 0.15) 100%
    );
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding-bottom: 40px;
}

.hero-slide__inner {
    max-width: 640px;
    display: flex;
    flex-direction: column;
}

.hero-slide__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.45;
    margin: 0 0 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-slide__subtitle-box {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(30, 48, 40, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    margin-bottom: 32px;
    border-left: 3px solid var(--accent-gold);
}

.hero-slide__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
}

.hero-slide__content .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: heroBtnIn 0.8s ease 0.6s forwards;
}

@keyframes heroBtnIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-swiper .swiper-slide-active .hero-slide__title {
    animation: heroTitleIn 1s ease forwards;
}

.hero-swiper .swiper-slide-active .hero-slide__subtitle-box {
    animation: heroSubtitleIn 1s ease 0.2s forwards;
    opacity: 0;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero pagination */
.hero-swiper .swiper-pagination {
    bottom: 32px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 5px;
    background: linear-gradient(90deg, #fff, var(--accent-gold));
}

/* ========== H01-S2 Services ========== */
.services-section {
    position: relative;
    padding: 80px 0 90px;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--primary-light) 100%);
    background-size: 200% 200%;
    animation: sectionGradient 12s ease infinite;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes sectionGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.services-section__header {
    text-align: center;
    color: #fff;
    margin-bottom: 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.service-card {
    text-align: center;
    color: #fff;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
}


.service-card__icon-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: solid 1px #C8A968;
    margin-top: -45px;
    background-color: #2D4639;
}


.service-card__image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
}

.service-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 70, 57, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-card__image-wrap::after {
    opacity: 1;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
    transform: scale(1.06);
}

.service-card__icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 0px;
    opacity: 0.85;
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 4px;
}

.service-card__title-en {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.75;
    margin: 0 0 12px;
    letter-spacing: 0.03em;
}

.service-card__desc {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}

.services-section__cta {
    text-align: center;
}

/* ========== H01-S3 Audience ========== */
.audience-section {
    padding: 80px 0 90px;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.audience-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 70, 57, 0.15), transparent);
}

.audience-section__header {
    text-align: center;
    margin-bottom: 56px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.audience-card {
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-6px);
}

.audience-card__image-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audience-card:hover .audience-card__image-wrap {
    box-shadow: var(--shadow-md);
}

.audience-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.audience-card:hover .audience-card__image {
    transform: scale(1.05);
}

.audience-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 4px;
    color: var(--primary-color);
}

.audience-card__title-en {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ========== H01-S4 About ========== */
.about-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-section__label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.about-section__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    margin: 0 0 28px;
    line-height: 1.4;
}

.about-section__text {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.about-section__text:last-of-type {
    margin-bottom: 32px;
}

.about-section__image-wrap {
    position: relative;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.about-section__image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 70, 57, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.about-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 480px;
        max-height: none;
        height: 85vh;
    }

    .about-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section__image-wrap {
        border-radius: 16px;
        margin-right: 0;
        max-height: 400px;
        aspect-ratio: 16/10;
    }

    .about-section__image-col {
        order: -1;
    }
}

@media (max-width: 600px) {
    .services-section,
    .audience-section,
    .about-section {
        padding: 60px 0;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-section__header,
    .audience-section__header {
        margin-bottom: 40px;
    }

    .hero-slide__subtitle-box {
        display: block;
    }

    .hero-swiper .swiper-pagination {
        bottom: 20px !important;
    }

    .link-box{
        text-align: center;
    }



}

@media (max-width: 480px) {
    .hero-section {
        height: 75vh;
        min-height: 420px;
    }

    .btn-primary,
    .btn-gold {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .audience-card__title-en{
        position: relative; margin-top: -7px; font-size: 13px; color: #888;
    }

    .hero-slide__title{
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.45rem, 3vw, 2.25rem);
        font-weight: 500;
        line-height: 1.4;
        margin: 0 0 2px;
    }

    .hero-slide__inner{
        max-width: 95vw;
    }

    .about-section__label{
        margin-bottom: 0;
    }

    .section-subtitle{
        font-size: 13px;
    }


    


}
