/* 
 * Main CSS Stylesheet for Credit Card Cash Advance & Renewal Service Landing Page
 * Author: Copilot
 * Version: 1.0
 */

/* ============= Base Styles & Variables ============= */
:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #f6ad55;
    --dark-color: #1a202c;
    --light-color: #f8fafc;
    --gray-color: #718096;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #e53e3e;

    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease-in-out;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -15px;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

.section-header p, .section-header .subtitle {
    color: #566573;
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.05rem;
    text-align: center !important;
    line-height: 1.6;
    padding: 0 15px;
    width: 100%;
    display: block !important;
}

/* Thêm quy tắc cụ thể cho class subtitle để đảm bảo căn giữa */
.subtitle {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 800px !important;
    display: block !important;
}

/* Đảm bảo tất cả các phần tử p trong section-header đều căn giữa */
.section-header p[data-aos] {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px !important;
    width: 100% !important;
    display: block !important;
}

/* ============= Header & Navigation ============= */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1rem 0;
    z-index: 1000;
    background-color: rgba(0, 45, 91, 0.7); /* Màu nền tối để chữ trắng nổi bật */
    transition: var(--transition);
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    backdrop-filter: blur(5px); /* Hiệu ứng blur để trông hiện đại hơn */
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.scrolled .nav-link {
    color: #2c5282; /* Màu chính của trang web */
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background-color: #f6ad55; /* Sử dụng màu accent chính của trang web */
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: #f6ad55; /* Sử dụng màu accent của trang web */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.scrolled .nav-link:hover,
.scrolled .nav-link.active {
    color: #f6ad55; /* Màu accent khi hover trong chế độ scrolled */
    text-shadow: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-color);
}

.scrolled .nav-toggle {
    color: var(--dark-color);
}

/* ============= Hero Section ============= */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/trang_chinh.png');
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: var(--light-color);
    max-width: 800px;
    z-index: 1;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.animate-title .title-part {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    transform: translateY(30px);
}

.animate-title .title-part:nth-child(1) {
    animation-delay: 0.3s;
}

.animate-title .title-part:nth-child(2) {
    animation-delay: 0.6s;
}

.animate-title .title-part:nth-child(3) {
    animation-delay: 0.9s;
}

.animate-title .title-part:nth-child(4) {
    animation-delay: 1.2s;
}

.animate-text {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    line-height: 1.8;
}

.hero-buttons {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0 0.5rem;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ============= Features Section ============= */
.features {
    background-color: white;
    padding-bottom: 7rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1.5rem;
    min-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0));
    z-index: 1;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: white;
    flex-grow: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -45px auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background-color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* ============= Service Cards Section ============= */
.features {
    padding: 5rem 0;
    background-color: #f8fafc;
}



.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.service-card {
    position: relative;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: none;
}

/* Blue border around cards */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #2c5282;
    border-radius: 15px;
    pointer-events: none;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::after {
    border-color: #3182ce;
}

.service-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0;
    background-color: white;
    margin-top: 10px;
}

.service-icon {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #2c4c7c;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 0 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #3182ce; /* Màu sáng hơn khi hover */
}

.service-card p {
    padding: 0 1.5rem 1.75rem;
    color: #4a5568; /* Màu xám đậm hơn để dễ đọc */
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Hiệu ứng hover cho hình ảnh */
.service-card:hover .service-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(44, 76, 124, 0.2);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

/* ============= Service Slider Section ============= */
.service-slider {
    background-color: #f1f5f9;
    overflow: hidden;
    padding: 3rem 0; /* Thêm padding trên dưới để tạo khoảng cách */
}

.service-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px; /* Khoảng cách giữa hai hàng */
}

.service-item {
    flex: 0 0 48%; /* Chiếm 48% chiều rộng để tạo khoảng cách giữa các cột */
}

.service-slide {
    position: relative;
    height: 320px; /* Giảm chiều cao để phù hợp với grid layout */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-slide::before {
    content: '\f06e'; /* Biểu tượng con mắt từ Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Cho phép click xuyên qua vào ảnh */
}

.service-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-slide:hover::before {
    opacity: 0.8;
}

.service-slide img {
    width: 90%; /* Giảm chiều rộng xuống 90% */
    height: 85%; /* Giảm chiều cao xuống 85% */
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
    border-radius: var(--border-radius);
    cursor: pointer; /* Thêm con trỏ để người dùng biết có thể nhấn vào */
}

.service-slide:hover img {
    transform: scale(1.1);
}

.service-slide.active .service-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-info {
    position: absolute;
    bottom: 0;
    left: 5%; /* Căn lề trái 5% để phù hợp với ảnh bo nhỏ */
    width: 90%; /* Giảm chiều rộng xuống 90% để phù hợp với ảnh bo nhỏ */
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(44, 82, 130, 0.95)); /* Sử dụng màu chủ đạo */
    color: white;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    border-radius: 0 0 var(--border-radius) var(--border-radius); /* Bo góc phần dưới */
    opacity: 0; /* Ẩn mặc định */
    visibility: hidden; /* Ẩn mặc định */
    transform: translateY(20px); /* Dịch chuyển xuống dưới */
}

.service-info h3 {
    margin-bottom: 0.7rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    padding-bottom: 8px;
}

.service-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.service-info p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    color: #f0f8ff; /* Màu hơi xanh nhạt cho văn bản trên nền tối */
}

/* Responsive styles for service grid */
@media screen and (max-width: 768px) {
    .service-row {
        flex-direction: column;
        margin-bottom: 0;
    }
    
    .service-item {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .service-slide {
        height: 280px;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ============= Pricing Section ============= */
.pricing {
    background-color: white;
}

/* New Modern Table-Style Pricing */
.new-pricing-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.table-header {
    display: flex;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-family: var(--heading-font);
    text-align: center;
}

.header-cell {
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background-color: rgba(49, 130, 206, 0.05);
}

.table-row.highlight {
    background-color: #f8fafc;
}

.row-cell {
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-align: center;
    transition: all 0.3s ease;
}

.row-cell:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* Add hover animation */
.table-row:hover .row-cell {
    transform: translateY(-2px);
}

/* Pricing notes and actions */
.pricing-notes {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f8fafc;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.note-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.note-item i {
    font-size: 1.2rem;
    color: var(--success-color);
    margin-right: 15px;
}

.note-item p {
    margin: 0;
    font-size: 1.05rem;
}

.pricing-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-actions .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Make the table responsive on very small screens */
@media screen and (max-width: 768px) {
    .table-header, .table-row {
        min-width: 600px; /* Match desktop view */
    }
    
    .new-pricing-table {
        overflow-x: auto;
    }
}

/* ============= Gallery Section ============= */
.gallery {
    background-color: #f1f5f9;
    overflow: hidden;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    color: white;
    text-align: center;
    padding: 1rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
}

/* ============= Locations Section ============= */
.locations {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.locations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.location-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: transparent;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
    padding-left: 20px;
}

.location-icon i {
    font-size: 2.5rem;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.location-item:hover .location-icon i {
    transform: scale(1.1);
    opacity: 1;
}

.location-content {
    padding: 1.5rem;
    background-color: white;
    position: relative;
    z-index: 2;
}

.location-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.location-content p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.location-content i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.location-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.8rem;
    background-color: #FF4757;
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.25);
}

.location-btn::before {
    content: '\f095';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}

.location-btn:hover {
    background-color: #FF3545;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 71, 87, 0.35);
}

.location-image {
    height: 180px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-item:hover .location-image img {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .locations-container {
        grid-template-columns: 1fr;
    }
    
    .location-icon {
        height: 70px;
    }
    
    .location-icon i {
        font-size: 2rem;
    }
    
    .location-image {
        height: 160px;
    }
    
    .location-content h3 {
        font-size: 1.3rem;
    }
}

/* ============= Testimonials Section ============= */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    overflow: hidden;
    padding-bottom: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--gray-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============= FAQ Section ============= */
.faq {
    background-color: #f1f5f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-icon i {
    transition: var(--transition);
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* ============= Contact Section ============= */
.contact {
    background-color: white;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

/* ============= Map Section ============= */
.map {
    height: 450px;
    position: relative;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============= Floating Contact Buttons ============= */
.fixed-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn i {
    font-size: 22px;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Nút Messenger - màu xanh dương đậm */
.messenger-btn {
    background-color: #0084ff; /* Màu xanh dương Facebook Messenger */
}

/* Nút SMS - màu xanh lá */
.sms-btn {
    background-color: #8BC34A; /* Màu xanh lá chuẩn trong hình */
    position: relative;
}

.sms-btn i {
    font-size: 20px;
}

/* Nút điện thoại - màu xanh dương */
.phone-btn {
    background-color: #00BCD4; /* Màu xanh dương như trong hình */
}

/* Nút Zalo - màu xanh nhạt với viền trắng */
.zalo-btn {
    background-color: #0180c7; /* Màu xanh Zalo */
    background: linear-gradient(135deg, #0180c7, #2cb9ff);
    border: 3px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
    position: relative;
}

.zalo-icon {
    color: white;
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-align: center;
    letter-spacing: -0.5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ============= Back to Top Button ============= */
/* Đã thay thế bằng .scroll-top-btn */

/* ============= Footer ============= */
.footer {
    background-color: #1a365d; /* Màu xanh đậm hơn chút so với primary-color */
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #e2e8f0;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links ul li a::before,
.footer-services ul li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-links ul li a:hover::before,
.footer-services ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact p i {
    margin-right: 1rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-bottom p {
    color: #e2e8f0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============= Responsive Styles ============= */
/* 
 * Desktop-like layout for all devices
 * This ensures elements stay in horizontal layout on mobile instead of stacking vertically
 */

/* Font size adjustments for readability */
@media screen and (max-width: 1024px) {
    html {
        /* Force desktop view on mobile devices with zoom */
        min-width: 1200px;
    }
    
    body {
        /* Ensure minimum width to prevent stacking */
        min-width: 1200px;
        overflow-x: auto;
    }
    
    /* Keep font sizes from desktop version */
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    /* Maintain horizontal arrangement for all grid and flexbox layouts */
    .features-grid,
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
        min-width: 1000px;
    }
    
    /* Ensure pricing stays horizontal */
    .pricing-table {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        min-width: 1000px;
    }
    
    .pricing-card {
        max-width: 350px;
        width: 32%;
        flex: 0 0 auto;
    }
    
    .pricing-card.popular {
        transform: scale(1.05);
    }
    
    /* Gallery stays in grid */
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
        min-width: 1000px;
    }
    
    /* Contact section stays side by side */
    .contact-wrapper {
        display: flex;
        flex-direction: row;
        min-width: 1000px;
    }
    
    /* Footer maintains desktop layout */
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-width: 1000px;
    }
    
    /* Navigation adjustments */
    .header {
        width: 100%;
        min-width: 1200px;
    }
    
    .container {
        width: 100%;
        min-width: 1200px;
        max-width: 1400px;
        padding: 0 15px;
    }
    
    /* Keep hamburger menu functionality but with desktop styling */
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
    }
    
    .nav-link {
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .scrolled .nav-link {
        color: #333333;
        text-shadow: none;
    }
}

/* Desktop-like experience for all devices */
@media screen and (max-width: 576px) {
    /* No special styles for mobile - force desktop view */
}