@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');


* {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700;
}

p, span, a, li, td, th, label, input, textarea, button {
    font-family: 'Roboto', sans-serif !important;
}

#top-bar {
    background-image: url(../images/logos/bg.webp);
    background-position: center;
    background-size: cover;
    min-height: 150px;
    position: relative;
}

.logofooter {
    max-width: 515px;
    width: 100%;
}

.logo {
    max-width: 33vh;
}

/* Slider fix */
.hero-slide {
    opacity: 0;
    transition: opacity 0.7s ease;
}

    .hero-slide.hero-slide-active {
        opacity: 1 !important;
        z-index: 1;
    }

.hero-dot.hero-dot-active {
    background-color: rgba(255, 255, 255, 1) !important;
    opacity: 1;
}

.hero-section {
    height: 67vh;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.hero-dots-wrap {
    bottom: 0px;
}

.sm-slider-wrap * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sm-slider-wrap {
    --blue: #1a4a7a;
    --blue2: #1d5fa6;
    --gold: #c8a84b;
    --radius: 1.25rem;
    --peek-pad: 56px;
    max-width: 1360px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

/* Clip – ngăn scroll ngang */
.sm-clip {
    overflow: hidden;
    border-radius: var(--radius);
}

.sm-outer {
    position: relative;
    padding: 0 var(--peek-pad);
}

.sm-swiper {
    overflow: visible !important;
    border-radius: var(--radius);
}

    /* ── Slide ──────────────────────────────────────────────────── */
    .sm-swiper .swiper-slide {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        /* Chiều cao cố định – ảnh dọc sẽ được contain bên trong */
        height: 420px;
        background-color: #0a1a3a;
        cursor: pointer;
        transition: transform .45s ease, opacity .45s ease, box-shadow .45s ease;
    }

        .sm-swiper .swiper-slide:not(.swiper-slide-active) {
            transform: scale(0.87);
            opacity: 0.55;
            box-shadow: none;
        }

        .sm-swiper .swiper-slide.swiper-slide-active {
            transform: scale(1);
            opacity: 1;
            box-shadow: 0 24px 60px rgba(0,0,0,.45);
        }

/* ── Blur backdrop – fill vùng trống 2 bên ─────────────────── */
.sm-slide-blur {
    position: absolute;
    inset: -20px; /* tràn ra ngoài để blur không thấy viền */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(18px) brightness(.55) saturate(1.2);
    transform: scale(1.05); /* tránh viền trắng do blur */
    z-index: 0;
}

/* ── Ảnh thật – hiển thị đầy đủ, không crop ───────────────── */
.sm-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* ← quan trọng: không cắt ảnh */
    object-position: center;
    z-index: 1;
    transition: transform .6s ease;
    display: block;
}

.sm-swiper .swiper-slide-active .sm-slide-img {
    transform: scale(1.02);
}

/* ── Caption ─────────────────────────────────────────────────── */
.sm-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10,25,65,.93) 50%, transparent);
    padding: 2.5rem 2rem .9rem;
    text-align: center;
    z-index: 2;
}

.sm-caption-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(.8rem, 1.4vw, 1rem);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
    display: block;
}

/* ── Quote box ───────────────────────────────────────────────── */
.sm-quote {
    position: absolute;
    left: 2rem;
    bottom: 4.5rem;
    max-width: 260px;
    background: rgba(255,255,255,.93);
    border-left: 4px solid var(--gold);
    padding: .7rem .9rem;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: .72rem;
    line-height: 1.55;
    color: #1a2a3a;
    font-style: italic;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s .3s ease, transform .5s .3s ease;
    pointer-events: none;
    z-index: 3;
}

.sm-swiper .swiper-slide-active .sm-quote {
    opacity: 1;
    transform: translateY(0);
}

/* ── Link bao toàn slide ─────────────────────────────────────── */
.sm-slide-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
}

/* ── Pagination ──────────────────────────────────────────────── */
.sm-pagination.swiper-pagination {
    position: relative !important;
    margin-top: .9rem;
    bottom: auto !important;
}

.sm-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #94a3b8;
    opacity: 1;
    transition: background .3s, transform .3s;
}

.sm-pagination .swiper-pagination-bullet-active {
    background: var(--blue2);
    transform: scale(1.35);
}

/* ── Nav arrows ──────────────────────────────────────────────── */
.sm-outer .swiper-button-prev,
.sm-outer .swiper-button-next {
    color: var(--blue2) !important;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    top: 50% !important;
    transform: translateY(-70%);
}

    .sm-outer .swiper-button-prev::after,
    .sm-outer .swiper-button-next::after {
        font-size: 14px !important;
        font-weight: 900;
    }

.sm-outer .swiper-button-prev {
    left: 8px !important;
}

.sm-outer .swiper-button-next {
    right: 8px !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sm-swiper .swiper-slide {
        height: 340px;
    }
}

@media (max-width: 768px) {
    .sm-slider-wrap {
        --peek-pad: 24px;
    }

    .sm-swiper .swiper-slide {
        height: 260px;
    }

    .sm-quote {
        display: none;
    }
}

@media (max-width: 480px) {
    .sm-slider-wrap {
        --peek-pad: 0px;
    }

    .sm-swiper .swiper-slide {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 28vh;
        min-height: 28vh;
    }
    .logofooter {
        max-width: 100%;
    }
}



