/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #2C3093;
    --primary-hover: #2C3093;
    --secondary-color: #47b2e4;
    --font-family: 'Noto Sans', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: #f8f9fb;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
}

/* Update specific heading styles */
#hero h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

#hero h2 {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.heroSwiper {
    width: 100%;
    height: 100vh;
}
.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    background: none; /* hoặc thêm hình nền nếu muốn */
}

.section-title h2 {
    font-weight: 600;
    letter-spacing: -0.5px;
}


.why-us .box h4 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

.cta h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: var(--primary-color);
    transition: all 0.5s;
    z-index: 997;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(44, 48, 147, 0.15);
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#header .logo a {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

#header .logo a:hover {
    color: rgba(255, 255, 255, 0.8);
}

#header .logo img {
    max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    text-transform: none;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #47b2e4;
}

/* Dropdown base */
.navbar .dropdown {
    position: relative;
}

/* Hide dropdown menus by default */
.navbar ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(44, 48, 147, 0.1);
    border-radius: 4px;
    min-width: 200px;
    z-index: 99;
    padding: 10px 0;
}

/* Show dropdown on hover (desktop) */
.navbar li:hover > ul {
    display: block;
}

/* Deep dropdown (submenu) */
.navbar ul ul ul {
    left: 100%;
    top: 0;
}

/* Dropdown item style */
.navbar ul ul a {
    padding: 10px 20px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 400;
    background: none;
    display: block;
    white-space: nowrap;
}

.navbar ul ul a:hover {
    color: #47b2e4;
    background: rgba(71, 178, 228, 0.05);
}

/* Dropdown arrow icons */
.navbar .dropdown > a:after {
    content: " \f078";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.navbar .dropdown .dropdown > a:after {
    content: " \f054";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

/* Mobile styles */
@media (max-width: 991px) {
    #header {
        background: rgba(40, 58, 90, 0.9);
    }
    .navbar ul {
        flex-direction: column;
    }
    .navbar ul ul {
        position: static;
        box-shadow: none;
        min-width: 100%;
        padding: 0;
        background: none;
    }
    .navbar .dropdown > ul,
    .navbar .dropdown .dropdown > ul {
        display: none;
    }
    .navbar-mobile .dropdown-active {
        display: block !important;
    }
    #header .navbar a, #header .navbar a:focus {
        color: #fff;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)), url("../img/hero-bg.jpg") center center;
    background-size: cover; */
    margin-top: 50px;
}

#hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

#hero h2 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}

#hero .btn-get-started {
    font-size: 18px;
    padding: 12px 40px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    transition: 0.3s;
    font-weight: 500;
    border: none;
}

#hero .btn-get-started:hover {
    background: var(--primary-hover);
    color: #fff;
}

#hero .btn-watch-video {
    font-size: 16px;
    transition: 0.5s;
    margin-left: 25px;
    color: #fff;
    font-weight: 600;
}

#hero .btn-watch-video i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

#hero .btn-watch-video:hover i {
    color: #fff;
}

@media (max-width: 991px) {
    #hero {
        height: 100vh;
        text-align: center;
    }

    #hero .hero-img {
        text-align: center;
    }

    #hero .hero-img img {
        width: 90%;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    #hero .hero-img img {
        width: 70%;
    }
}

.hero-img {
    width: 100%;
    max-width: 900px;   /* hoặc giá trị bạn muốn, ví dụ 400px */
    height: 450px;      /* chiều cao cố định */
    object-fit: cover;  /* hoặc contain nếu muốn toàn bộ ảnh hiển thị */
    object-position: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px; /* tuỳ chọn bo góc */
    background: #f3f3f3; /* màu nền khi ảnh chưa load */
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-left: 28px;
    position: relative;
}

.about .content ul li+li {
    margin-top: 10px;
}

.about .content ul i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .btn-learn-more {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.3s;
    line-height: 1;
    color: var(--primary-color);
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid var(--primary-color);
}

.about .content .btn-learn-more:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: var(--primary-color);
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

#footer .credits a {
    color: #fff;
}

/* Footer links color */
.footer-link {
    color: rgba(255, 255, 255, 0.9);
    padding-top: 30px;
}

#footer ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

#footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

#footer ul li a:hover {
    color: #fff;
}

#footer .follow-us a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

#footer .follow-us a:hover {
    color: #fff;
}

/* Footer Logo */
#footer .footer-link h3 {
    color: #47b2e4;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

#footer .footer-link h3 a {
    color: #47b2e4;
    text-decoration: none;
    transition: color 0.3s;
}

#footer .footer-link h3 a:hover {
    color: #fff;
}

/*--------------------------------------------------------------
# Main Content Padding
--------------------------------------------------------------*/
#main {
  margin-top: 80px; /* Adjust this value based on your header's actual height */
}

#image_person{
    width: 350px;
}

/*--------------------------------------------------------------
# Contact Form
--------------------------------------------------------------*/
/* Cải thiện giao diện form liên hệ */
.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    margin: 0 auto;
}

#contact-form .form-control {
    border-radius: 8px;
    font-size: 1rem;
    min-height: 44px;
}

#contact-form .btn-primary {
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 0;
    background: #2563eb;
    border: none;
    transition: background 0.2s;
}

#contact-form .btn-primary:hover {
    background: #1d4ed8;
}

#contact-form label {
    font-weight: 500;
}

/*--------------------------------------------------------------
# Service & Pricing Item Hover Effect
--------------------------------------------------------------*/
/* Hover effect cho service-item và pricing-item */
.service-item.hover-effect {
  transition: box-shadow 0.3s;
  cursor: pointer;
  border: 2px solid transparent; /* mặc định */
}

.service-item.hover-effect:hover {
  border: 2px solid var(--secondary-color); /* màu border khi hover (có thể thay) */
}

.service-item .img {
  overflow: hidden;
  border-radius: 1rem;
  height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
  
}

.service-item .img img {
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  width: 100%;
  height: auto;
  display: block;
}

.service-item.hover-effect:hover .img img {
  transform: scale(1.08);
}



.service-item {
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
    height: 100%;
    transition: 0.3s;
    margin-bottom: 20px;
}



.service-item p {
    color: #666;
    margin-bottom: 0;
}

/*Hiệu ứng cho service*/


.service-item h4{
    color: black !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}
.service-item.hover-effect:hover h4 {
    color: var(--secondary-color) !important;
  }

/* Team member image hover effect */
.team-member {
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    width: 350px;
    height: 350px;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

/* Vision Box Styles */
.vision-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.vision-box h3 {
    color: var(--secondary-color);
    font-weight: 600;
}

.vision-box p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h1, .section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-title h1 {
    font-size: 42px;
    font-weight: 800;
}

.section-title p {
    margin-bottom: 0;
    color: #666;
}


/* Why Us Section */
.why-us {
    padding: 60px 0;
    background: #f8f9fa;
}

.why-us .box {
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
    height: 100%;
    transition: 0.3s;
}

.why-us .box:hover {
    transform: translateY(-5px);
}

.why-us .box span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us .box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.why-us .box p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)), url("../img/cta-bg.jpg") center center;
    background-size: cover;
    padding: 60px 0;
    text-align: center;
}

.cta h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta .cta-btn {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    color: #fff;
    background: var(--primary-color);
    text-decoration: none;
}

.cta .cta-btn:hover {
    background: var(--primary-hover);
}

/* Active Navigation Link */
.navbar .nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 500;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

#header select {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

#header select:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

#header select:focus {
    outline: none;
    border-color: #47b2e4;
    box-shadow: 0 0 0 2px rgba(71, 178, 228, 0.2);
}

@media (max-width: 991px) {
    #header select {
        margin: 10px 15px;
        width: calc(100% - 30px);
    }
}

/*--------------------------------------------------------------
# Contact Page Hero Section
--------------------------------------------------------------*/
.contact-hero-section {
    background: #2C3093;
    padding: 60px 0 40px 0;
    color: #fff;
}
.contact-hero-section .contact-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-hero-section .contact-desc {
    font-size: 15px;
    margin-bottom: 24px;
    color: #e3eaf1;
}
.contact-hero-section .contact-breadcrumbs {
    font-size: 14px;
    color: #b5c7d6;
}
.contact-hero-section .contact-breadcrumbs a {
    color: #b5c7d6;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-hero-section .contact-breadcrumbs a:hover {
    color: rgb(53, 130, 230);
    text-decoration: none;
}
.contact-hero-section .contact-breadcrumbs span.active {
    color: #fff;
    font-weight: 500;
}
.contact-hero-section .contact-breadcrumbs span {
    margin: 0 6px;
}

.banner-services {
    width: 100%;
    height: 600px;
    /* Chiều cao mong muốn hiển thị phần giữa */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-services img {
    width: 80%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}





/* Container với kích thước cố định */
.custom-service-fixed {
    width: 650px; /* Chiều rộng cố định */
    height: 450px; /* Chiều cao cố định */
    border: 1px solid #ddd; /* Đường viền */
    border-radius: 8px; /* Bo góc */
    overflow: hidden; /* Ẩn phần ảnh thừa */
    position: relative; /* Đặt position relative để định vị phần content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Đổ bóng */
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Hiệu ứng khi hover */
}

.custom-service-fixed:hover {
    transform: translateY(-5px); /* Dịch container lên một chút khi hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Tăng đổ bóng khi hover */
}

/* Phần ảnh */
.custom-service-fixed .custom-service-img {
    width: 100%; /* Chiếm toàn bộ chiều rộng container */
    height: 100%; /* Chiếm toàn bộ chiều cao container */
    overflow: hidden; /* Ẩn phần ảnh thừa */
    position: relative;
}

.custom-service-fixed .custom-service-img img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center; 
    transition: transform 1s ease; /* Hiệu ứng zoom ảnh */
}

.custom-service-fixed:hover .custom-service-img img {
    transform: scale(1.2); /* Zoom ảnh lên 1.6 lần khi hover */
}

/* Phần nội dung */
.custom-service-fixed .custom-service-content {
    width: 500px;
    position: absolute;
    top: 80%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: rgba(255, 255, 255, 0.908); 
    padding: 16px; 
    text-align: center; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: color 0.5s ease; /* Hiệu ứng đổi màu chữ */
}

.custom-service-fixed .custom-service-content h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 8px;
    transition: color 0.75s ease; 
}

.custom-service-fixed:hover .custom-service-content h4 {
    color: #0008e9; 
}

.custom-service-fixed .custom-service-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/*--------------------------------------------------------------
# Service Detail Page
--------------------------------------------------------------*/

.service-detail .container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  gap: 30px;
}

.service-detail .content {
  flex: 3;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease;
}

.service-detail .banner-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.service-detail .text {
  padding: 25px;
}

.service-detail h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.service-detail .intro {
  color: #0b0b0b;
  line-height: 1.6;
}

.service-detail .content-text {
  color: #0b0b0b;
  line-height: 1.6;
}

.service-detail .highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}


.service-detail .highlights li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  transition: 0.3s;
}

.service-detail .highlights li:hover {
  transform: translateX(5px);
  color: #007bff;
}

.service-detail .highlights li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #007bff;
}

.service-detail .p {
  line-height: 1.6;
  color: #0b0b0b;
}

.service-detail .benefits {
  margin-top: 15px;
}