﻿.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%; /* 3 slide => 300% */
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

    .slide img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
    }

/* Nút prev/next */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    user-select: none;
    transition: background 0.3s;
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

    .prev:hover, .next:hover {
        background: rgba(0,0,0,0.8);
    }

/* Dots */
.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .dot.active, .dot:hover {
        background-color: #ff6600;
    }

/*Đường kẻ*/
.line-orange {
    width: 100%;
    height: 4px;
    background: #ff6600;
    margin: 0;
    border-radius: 2px; /* bo tròn mép cho đẹp */
}
/* Thông tin cty*/
.content-section {
    padding: 80px 5%;
    background: #fff;
}

    .content-section.alt {
        background: #f9f9f9;
    }

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.content-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

    .content-image img:hover {
        transform: scale(1.05);
    }

.content-text {
    flex: 1;
}

    .content-text h2 {
        font-size: 2.3rem;
        color: #002d5b;
        margin-bottom: 20px;
    }

    .content-text p {
        font-size: 1.1rem;
        color: #444;
        line-height: 1.7;
        margin-bottom: 20px;
    }
/* Style chung cho nút */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Orange */
.btn-orange {
    background: linear-gradient(45deg, #ff6600, #ff9800);
}

    .btn-orange:hover {
        background: linear-gradient(45deg, #ff9800, #ff6600);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(255, 102, 0, 0.5);
    }

/* Blue */
.btn-blue {
    background: linear-gradient(45deg, #002d5b, #1976d2);
}

    .btn-blue:hover {
        background: linear-gradient(45deg, #1976d2, #002d5b);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(25, 118, 210, 0.5);
    }

/* Green */
.btn-green {
    background: linear-gradient(45deg, #2e7d32, #66bb6a);
}

    .btn-green:hover {
        background: linear-gradient(45deg, #66bb6a, #2e7d32);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(46, 125, 50, 0.5);
    }

/*Hieu ung vet sang*/
/* Thêm hiệu ứng shine */
.btn-effect {
    position: relative;
    overflow: hidden; /* Giữ vệt sáng trong nút */
}

    .btn-effect::before {
        content: "";
        position: absolute;
        top: 0;
        left: -75%; /* bắt đầu ngoài trái */
        width: 50%;
        height: 100%;
        background: linear-gradient( 120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-20deg); /* tạo cảm giác xiên hiện đại */
        animation: shine 3s infinite;
    }

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%; /* chạy hết qua phải */
    }
}

/* --- Hiệu ứng Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

    .fade-left.active,
    .fade-right.active {
        transform: translateX(0);
    }

/* Responsive */
@media (max-width: 991px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .content-text {
        margin-top: 20px;
    }
}
/*Màu chữ*/
.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;

}
    .section-title.blue {
        color: #002d5b; /* xanh navy mặc định */
        border-left: 5px solid #002d5b;
        padding-left: 12px;
        /* Gradient chữ xanh navy → xanh blue → xanh dương nhạt */
        background: linear-gradient(90deg, #002d5b, #1976d2, #64b5f6, #002d5b);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-position 0.8s ease-in-out;
    }

    .section-title.blue:hover {
        background-position: -200%;
    }

    .section-title.orange {
        color: #ff6600; /* cam mặc định */
        border-left: 5px solid #ff6600;
        padding-left: 12px;
        /* Gradient chữ cam */
        background: linear-gradient(90deg, #ff6600, #ff9800, #ffcc80, #ff6600);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-position 0.8s ease-in-out;
    }

    .section-title.orange:hover {
        background-position: -200%;
    }

.section-title.green {
    color: #2e7d32; /* xanh lá mặc định */
    border-left: 5px solid #2e7d32;
    padding-left: 12px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a, #2e7d32);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.8s ease-in-out;
}

    .section-title.green:hover {
        background-position: -200%;
    }

 
/*viền hình ảnh*/
/* Khung ảnh mặc định */
.content-image {
    position: relative;
    display: inline-block;
}

    .content-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        padding: 5px; /* tạo khoảng cho viền gradient */
        transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.8s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* --- Viền xanh lá --- */
    .content-image.green img {
        background: linear-gradient(135deg, #43a047, #2e7d32);
    }

        .content-image.green img:hover {
            background: linear-gradient(135deg, #66bb6a, #1b5e20);
        }

    /* --- Viền xanh dương --- */
    .content-image.blue img {
        background: linear-gradient(135deg, #002d5b, #1976d2);
    }

        .content-image.blue img:hover {
            background: linear-gradient(135deg, #0d47a1, #64b5f6);
        }

    /* --- Viền cam --- */
    .content-image.orange img {
        background: linear-gradient(135deg, #ff9800, #f57c00);
    }

        .content-image.orange img:hover {
            background: linear-gradient(135deg, #ffb74d, #e65100);
        }

  /*hinh dong gif*/

.gif-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.gif-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Ảnh GIF */
.gif-section {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    box-sizing: border-box;
}

.gif-container {
    width: 100%;
    max-width: 1500px; /* Giới hạn tối đa trên desktop */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.gif-image {
    max-width: 100%; /* co theo chiều ngang màn hình */
    max-height: 600px; /* giới hạn chiều cao tối đa */
    height: auto; /* giữ đúng tỉ lệ gốc */
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
    object-fit: contain; /* đảm bảo ảnh không bị cắt */
}

    .gif-image:hover {
        transform: scale(1.05); /* Hiệu ứng zoom nhẹ */
    }

/* Responsive mobile */
@media (max-width: 768px) {
    .gif-section {
        padding: 10px;
    }

    .gif-image {
        border-radius: 8px;
    }
}



