/* ===== HEADER ===== */
.main-header {
    width: 100%;
    background: #0a3d91;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 15px 0;
    transition: 0.3s;
}

.main-header.scrolled {
    background: #082d6b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: red;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.main-menu a:hover {
    color: red;
}

/* tránh header che nội dung */
body {
    padding-top: 80px;
}
.hotline-float {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background: red;
    padding: 15px 20px;
    border-radius: 50px;
    z-index: 999;
}

.hotline-float a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.main-footer {
    background: #082d6b;
    color: #fff;
    padding: 50px 10%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-col h3, .footer-col h4 {
    color: red;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}
/* ===== HERO PRO ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.content {
    position: absolute;
    bottom: 30%;
    left: 10%;
    color: #fff;
    z-index: 2;
}

.content h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.content p {
    font-size: 22px;
}

/* NAV */
.slider-nav span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    padding: 10px 15px;
    background: rgba(0,0,0,0.4);
}

.prev { left: 20px; }
.next { right: 20px; }

.slider-nav span:hover {
    background: red;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.dots span {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.6;
    cursor: pointer;
}

.dots span.active {
    background: red;
    opacity: 1;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 10%;
    text-align: center;
}

.services h2 {
    color: #0a3d91;
    margin-bottom: 50px;
}

.grid {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.4s;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card h3 {
    padding: 20px;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Fade up animation */
.fade-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
/* ====== SLIDER PRO ====== */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: none;
    transform: scale(1.15);
    transition: opacity 1s ease, transform 1.4s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-inner {
    position: absolute;
    left: 10%;
    bottom: 30%;
    color: #fff;
    text-align: left;
}

.slide-inner h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.slide-inner p {
    font-size: 22px;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Controls */
.slider-controls span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 18px;
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev-slide { left: 30px; }
.next-slide { right: 30px; }

.slider-controls span:hover {
    background: red;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

.slider-dots span {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 6px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.slider-dots span.active {
    background: red;
    opacity: 1;
}
.services-section {
    padding: 80px 10%;
}

.service-block {
    margin-bottom: 80px;
}

.service-block h2 {
    font-size: 28px;
    color: #0a3d91;
    margin-bottom: 30px;
    border-left: 5px solid red;
    padding-left: 15px;
}

.service-grid {
    display: flex;
    gap: 30px;
}

.service-item {
    flex: 1;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-item h3 {
    padding: 15px;
    font-size: 18px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}