/* ===== VIETSAO TRAVEL - MAIN STYLES ===== */

/* Import Components CSS */
@import url('components.css');

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --yellow-accent: #fbbf24;
    --header-bg: #1e40af;
    --banner-bg: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
body {
    font-family: 'Inter', 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Prevent horizontal scrolling on all pages */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* ===== CONTAINER SYSTEM ===== */
/* Bootstrap container overrides for consistent layout */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* Custom container system with responsive breakpoints */
.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix navbar cho tất cả các trang */
.navbar {
    overflow: visible !important;
}

.navbar-collapse {
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    /* Tăng max-width cho menu items trên desktop */
    .main-nav .navbar-nav .nav-link {
        max-width: 220px !important;
        font-size: 15px !important; /* Tăng font-size cho desktop */
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Tăng max-width cho menu items trên màn hình lớn */
    .main-nav .navbar-nav .nav-link {
        max-width: 240px !important;
        font-size: 16px !important; /* Tăng font-size cho màn hình lớn */
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Tăng max-width cho menu items trên màn hình rất lớn */
    .main-nav .navbar-nav .nav-link {
        max-width: 260px !important;
        font-size: 17px !important; /* Tăng font-size cho màn hình rất lớn */
    }
}

/* ===== HEADER STYLES ===== */

/* Header Top - Thông tin liên hệ */
.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .contact-info {
    color: white;
    text-decoration: none;
}

.header-top .contact-info:hover {
    color: var(--light-blue);
}

.header-top .social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.header-top .social-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    transition: all 0.3s ease;
}

.header-top .social-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px) scale(1.05);
}

/* Header Banner - Logo và quảng cáo */
.header-banner {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-banner .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
}

.header-banner .logo img {
    height: 50px;
    margin-right: 10px;
}

.header-banner .ad-banner {
    text-align: right;
}

.header-banner .hotline {
    color: var(--danger-color);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.header-banner .service-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.header-banner .d-flex {
    color: #666;
    font-size: 12px;
}

/* Main Navigation */
.main-nav {
    background: var(--primary-color) !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    position: relative;
    z-index: 1000;
}

.main-nav.navbar {
    background: var(--primary-color) !important;
}

.main-nav .navbar-nav {
    background: var(--primary-color);
    gap: 0; /* Giảm khoảng cách giữa các menu item */
}

.main-nav .navbar-collapse {
    background: var(--primary-color);
}

.main-nav .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 14px !important; /* Giảm font-size từ default xuống 14px */
    padding: 15px 12px !important; /* Giảm padding từ 20px xuống 12px */
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px !important; /* Tăng max-width lên 200px để hiển thị đủ text */
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.main-nav .navbar-nav .nav-link:hover {
    color: var(--yellow-accent) !important;
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--yellow-accent);
}

/* Active menu item styles */
.main-nav .navbar-nav .nav-link.active,
.main-nav .navbar-nav .nav-link.current-menu-item,
.main-nav .navbar-nav .nav-item.current-menu-item > .nav-link {
    color: var(--yellow-accent) !important;
    border-bottom: 3px solid var(--yellow-accent);
    background: rgba(255,255,255,0.1);
}

/* Hover effect cho menu items */
.main-nav .navbar-nav .nav-link:hover {
    color: var(--yellow-accent) !important;
    border-bottom: 3px solid var(--yellow-accent);
    background: rgba(255,255,255,0.1);
}

/* Fix cho menu items dài - tắt text-overflow */
.main-nav .navbar-nav .nav-link[href*="tour"] {
    text-overflow: unset !important;
    overflow: visible !important;
    white-space: normal !important;
    max-width: none !important;
}

.main-nav .dropdown-menu {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 0;
    padding: 10px 0;
    min-width: 200px;
    z-index: 9999;
    position: absolute;
    top: 100%;
    left: 0;
}

/* Fix dropdown cho tất cả các trang */
.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    display: none;
}

.navbar .dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    top: 100% !important;
}

/* Force dropdown hiển thị khi hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* Fix cho Bootstrap dropdown */
.dropdown-menu.show {
    display: block !important;
}

/* Fix cho tất cả các trang */
.nav-item.dropdown .dropdown-menu {
    display: none;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.show .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav .dropdown-item {
    color: var(--primary-color);
    padding: 8px 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px !important; /* Giảm font-size cho dropdown items */
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.main-nav .dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Fix dropdown toggle arrow */
.main-nav .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
}

.main-nav .search-box {
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 8px 15px;
}

.main-nav .search-box::placeholder {
    color: rgba(255,255,255,0.7);
}

.main-nav .search-box:focus {
    background: white;
    color: var(--primary-color);
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

.main-nav .btn-outline-light {
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.main-nav .btn-outline-light:hover {
    background: var(--yellow-accent);
    border-color: var(--yellow-accent);
    color: var(--primary-color);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-top .social-links {
        justify-content: center;
        margin-top: 5px;
    }
    
    .header-banner .ad-banner {
        text-align: center;
        margin-top: 10px;
    }
    
    .main-nav {
        background: var(--primary-color) !important;
        z-index: 1000;
    }
    
    .main-nav .navbar-collapse {
        background: var(--primary-color) !important;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1001;
    }
    
    .main-nav .navbar-nav {
        background: var(--primary-color);
        padding: 10px 0;
    }
    
    .main-nav .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
        background: var(--primary-color);
        max-width: none;
        white-space: normal;
        word-wrap: break-word;
        font-size: 13px !important; /* Giảm font-size cho mobile */
    }
    
    .main-nav .navbar-nav .nav-link:hover {
        border-left-color: var(--yellow-accent);
        border-bottom-color: transparent;
        background: rgba(255,255,255,0.1);
    }
    
    .main-nav .search-box {
        margin-bottom: 10px;
        background: rgba(255,255,255,0.1);
    }
    
    .main-nav .dropdown-menu {
        background: var(--primary-color);
        border: 1px solid rgba(255,255,255,0.2);
        min-width: 100%;
        z-index: 9999;
        position: static;
        display: none;
    }
    
    .main-nav .dropdown-item {
        color: white;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .main-nav .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: var(--yellow-accent);
    }
    
    /* Fix dropdown cho mobile */
    .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
    }
    
    /* Disable hover trên mobile */
    .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }
}

@media (max-width: 576px) {
    .main-nav .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .main-nav .dropdown-menu {
        font-size: 14px;
    }
    
    .main-nav .dropdown-item {
        padding: 6px 15px;
    }
}

/* General Navbar Styles */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Override Bootstrap navbar background */
.navbar-expand-lg {
    background: var(--primary-color) !important;
}

.navbar-expand-lg .navbar-nav {
    background: var(--primary-color);
}

.navbar-expand-lg .navbar-collapse {
    background: var(--primary-color);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.dropdown-item {
    color: var(--primary-color);
}

.dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== CARD STYLES ===== */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== NEWS CARD STYLES ===== */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.news-card .card-text {
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-img-top {
    border-radius: 15px 15px 0 0;
}

.news-card .mt-auto {
    margin-top: auto !important;
}

/* ===== SERVICE CARD STYLES ===== */
.service-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* ===== TOUR CARD STYLES ===== */
.tour-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tour-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.tour-card .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Hero section with carousel (cho trang chủ) */
.hero-section.hero-carousel {
    height: 400px;
    padding: 0;
}

/* Hero section với static content (cho các trang khác) */
.hero-section.hero-static {
    height: auto;
    min-height: 200px;
    padding: 60px 0;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Ẩn hero section khi cần */
.hero-section.hidden {
    display: none !important;
}

/* Default styling cho hero content */
.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-section p,
.hero-section .lead {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive hero section */
@media (max-width: 768px) {
    .hero-section.hero-carousel {
        height: 300px;
    }
    
    .hero-section.hero-carousel .carousel-item {
        height: 300px !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll; /* Fix background-attachment for mobile */
    }
    
    .hero-section.hero-static {
        padding: 40px 0;
        min-height: 150px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    /* Improve carousel controls for tablet */
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 576px) {
    .hero-section.hero-carousel {
        height: 250px;
    }
    
    .hero-section.hero-carousel .carousel-item {
        height: 250px !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll; /* Essential for mobile performance */
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
    
    .hero-section.hero-static {
        padding: 30px 0;
        min-height: 120px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    /* Optimize carousel controls for mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.8);
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .hero-section.hero-carousel {
        height: 220px;
    }
    
    .hero-section.hero-carousel .carousel-item {
        height: 220px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
}

@media (max-width: 320px) {
    .hero-section.hero-carousel {
        height: 200px;
    }
    
    .hero-section.hero-carousel .carousel-item {
        height: 200px !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* Hide controls on very small screens to save space */
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

/* Cải thiện chất lượng hình ảnh */
.hero-section .carousel-item {
    background-attachment: scroll; /* Changed from fixed to scroll for better mobile performance */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Desktop only: use fixed background */
@media (min-width: 769px) {
    .hero-section .carousel-item {
        background-attachment: fixed;
    }
}

/* Bỏ gradient overlay để hình rõ hơn */
.hero-section .carousel-item::before {
    display: none; /* Ẩn hoàn toàn overlay */
}

.hero-section .carousel-item .container {
    display: none; /* Ẩn container text content */
}

/* Đảm bảo carousel chỉ hiển thị hình ảnh */
.hero-section.hero-carousel .carousel-item {
    height: 400px !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
    float: none;
    transition: all 0.6s ease-in-out;
}

/* Ẩn tất cả text content trong hero carousel */
.hero-section.hero-carousel h1,
.hero-section.hero-carousel p,
.hero-section.hero-carousel .lead,
.hero-section.hero-carousel .hero-content {
    display: none !important;
}

/* ===== CAROUSEL CONTROLS IMPROVEMENTS ===== */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7); /* Tăng độ mờ để dễ nhìn hơn */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    z-index: 4;
    position: absolute;
    cursor: pointer;
    opacity: 1;
}

.carousel-control-prev {
    left: 20px; /* Căn nút trái cách mép 20px */
}

.carousel-control-next {
    right: 20px; /* Căn nút phải cách mép 20px */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.9);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(1.2);
}

/* Cải thiện carousel indicators */
.carousel-indicators {
    bottom: 20px; /* Thay đổi từ -50px thành 20px */
    z-index: 4;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    margin: 0 4px;
    cursor: pointer;
    opacity: 1;
}

.carousel-indicators button:hover {
    background-color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

.carousel-indicators button.active {
    background-color: white;
    border-color: white;
    transform: scale(1.3);
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: var(--light-blue);
    padding: 2rem 0;
}

.search-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

/* ===== SECTION STYLES ===== */
.section-title {
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== BADGE STYLES ===== */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
}

.badge.bg-danger {
    background-color: var(--danger-color) !important;
}

.badge.bg-info {
    background-color: var(--info-color) !important;
}

/* ===== ADMIN STYLES ===== */
.sidebar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 100vh;
    color: white;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    min-width: 200px;
    flex-shrink: 0;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.main-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
}

.table th {
    background-color: var(--light-blue);
    border-color: #dee2e6;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-item .card {
    transition: transform 0.3s ease;
}

.carousel-item .card:hover {
    transform: translateY(-5px);
}

/* ===== TOUR IMAGES STYLES ===== */
.tour-image-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===== FORM STYLES ===== */
.form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-select {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 12px 15px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* ===== ALERT STYLES ===== */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 15px 15px;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 300px !important; /* Giảm thêm cho mobile */
    }
    
    .hero-section h1 {
        font-size: 1.8rem; /* Giảm font-size cho mobile */
    }
    
    .hero-section p {
        font-size: 0.9rem; /* Giảm font-size cho mobile */
    }
    
    .hero-section .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    /* Cải thiện carousel controls cho mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    .sidebar .nav-link {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    /* Cải thiện carousel controls cho mobile nhỏ */
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== LOADING SPINNER ===== */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .sidebar,
    .btn,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
} 

/* ===== PAYMENT PAGE STYLES ===== */

/* Bank Information Styling */
.bank-info {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.bank-info:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Bank Logo Styling */
.bank-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 5px;
}

/* Payment Steps */
.payment-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.step-number {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-step h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
}

.payment-step h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.payment-step h6 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Payment Method Styling */
.payment-method {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
}

.payment-method h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-method ul {
    margin-bottom: 0;
}

.payment-method li {
    margin-bottom: 8px;
}

/* Feature Card for Important Notes */
.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.feature-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bank-logo {
        width: 50px;
        height: 35px;
        margin-right: 10px;
    }
    
    .payment-step {
        padding: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .bank-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .bank-logo {
        width: 45px;
        height: 30px;
        margin-right: 8px;
    }
    
    .payment-step {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .bank-info .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .bank-info .bank-logo {
        margin-bottom: 10px;
        margin-right: 0;
    }
} 

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Footer overlay pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

/* Footer content positioning */
.footer .container {
    position: relative;
    z-index: 2;
}

/* Footer headings */
.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer h6 {
    color: var(--yellow-accent);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer paragraphs */
.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Footer links */
.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer ul li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--yellow-accent);
    font-size: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer ul li a:hover::before {
    color: white;
    transform: translateY(-50%) translateX(-2px);
}

/* Social links */
.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-links a:hover {
    background: var(--yellow-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

/* Contact info icons */
.footer .fas,
.footer .fab {
    color: var(--yellow-accent);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Newsletter subscription */
.footer .input-group .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px 0 0 25px;
    backdrop-filter: blur(10px);
}

.footer .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer .input-group .form-control:focus {
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

.footer .input-group .btn-light {
    background: var(--yellow-accent);
    border: 1px solid var(--yellow-accent);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 0 25px 25px 0;
    transition: all 0.3s ease;
}

.footer .input-group .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Footer bottom section */
.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 30px;
}

.footer .row:last-child p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer .row:last-child a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer .row:last-child a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--yellow-accent);
    transition: width 0.3s ease;
}

.footer .row:last-child a:hover {
    color: var(--yellow-accent);
}

.footer .row:last-child a:hover::after {
    width: 100%;
}

/* Logo in footer */
.footer img {
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer img:hover {
    filter: brightness(1.4);
    transform: scale(1.05);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer h5 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer .social-links {
        text-align: center;
        margin-top: 20px;
    }
    
    .footer .social-links a {
        margin: 0 5px;
    }
    
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer .input-group {
        flex-direction: column;
    }
    
    .footer .input-group .form-control {
        border-radius: 25px;
        margin-bottom: 10px;
    }
    
    .footer .input-group .btn-light {
        border-radius: 25px;
    }
}

/* Animation on load */
.footer .col-md-4,
.footer .col-md-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.footer .col-md-4:nth-child(1) { animation-delay: 0.1s; }
.footer .col-md-2:nth-child(2) { animation-delay: 0.2s; }
.footer .col-md-2:nth-child(3) { animation-delay: 0.3s; }
.footer .col-md-4:nth-child(4) { animation-delay: 0.4s; } 

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--yellow-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.back-to-top i {
    font-size: 16px;
}

/* Newsletter improvements */
.footer .newsletter-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer .newsletter-form {
    margin-top: 10px;
}

/* Footer section spacing */
.footer-section {
    height: 100%;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links {
    margin-top: 10px;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom-links a {
    margin-left: 20px;
}

.footer-bottom-links a:first-child {
    margin-left: 0;
}

.contact-info {
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Mobile back to top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 14px;
    }
    
    .footer-bottom-links {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 12px;
    }
} 

/* ===== FLOATING CONTACT BUTTONS ===== */
.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

/* Zalo Button */
.floating-zalo {
    background: linear-gradient(135deg, #0068ff, #0085ff);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    border: none;
    cursor: pointer;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-zalo:hover {
    background: linear-gradient(135deg, #0056d3, #0068ff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
    text-decoration: none;
}

.floating-zalo .zalo-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0068ff;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

/* Hotline Button */
.floating-hotline {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite 1.5s;
    border: none;
    cursor: pointer;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-hotline:hover {
    background: linear-gradient(135deg, #e63946, #ff4444);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
    text-decoration: none;
}

.floating-hotline .phone-icon {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4444;
    animation: ring 2s ease-in-out infinite;
    flex-shrink: 0;
}

.floating-hotline .phone-icon i {
    font-size: 10px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Phone Ring Animation */
@keyframes ring {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-10deg);
    }
    30% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(-5deg);
    }
    70% {
        transform: rotate(5deg);
    }
}

/* Pulse Effect */
.floating-contacts .floating-zalo::before,
.floating-contacts .floating-hotline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0.3;
    z-index: -1;
}

.floating-contacts .floating-zalo::before {
    background: #0068ff;
}

.floating-contacts .floating-hotline::before {
    background: #ff4444;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-contacts {
        right: 15px;
        bottom: 90px;
    }
    
    .floating-zalo,
    .floating-hotline {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 140px;
    }
    
    .floating-zalo .zalo-icon,
    .floating-hotline .phone-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .floating-contacts {
        right: 10px;
        bottom: 80px;
    }
    
    .floating-zalo,
    .floating-hotline {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 120px;
        border-radius: 20px;
    }
    
    .floating-zalo .zalo-icon,
    .floating-hotline .phone-icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

/* Hide on very small screens */
@media (max-width: 320px) {
    .floating-contacts {
        display: none;
    }
} 

/* ===== NEWS CARD READ MORE BUTTON ===== */
.btn-read-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-read-more:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    text-decoration: none;
}

.btn-read-more:hover .fa-arrow-right {
    transform: translateX(5px);
}

.btn-read-more .fa-arrow-right {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.btn-read-more .fa-book-open {
    font-size: 12px;
}

/* Ripple effect for read more button */
.btn-read-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-read-more:active::before {
    width: 300px;
    height: 300px;
}

/* News card hover enhancement */
.news-card:hover .btn-read-more {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-1px);
}

/* Animation delay for staggered effect */
.news-card:nth-child(1) .btn-read-more {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) .btn-read-more {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) .btn-read-more {
    animation-delay: 0.3s;
}

/* Fade in animation */
@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-read-more {
    animation: fadeInButton 0.6s ease forwards;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn-read-more {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 576px) {
    .btn-read-more {
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 20px;
    }
    
    .btn-read-more .fa-book-open,
    .btn-read-more .fa-arrow-right {
        font-size: 10px;
    }
} 

/* View all news button */
.btn-view-all {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
    min-width: 220px;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--yellow-accent), var(--warning-color));
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    text-decoration: none;
}

.btn-view-all:hover .fa-chevron-right {
    transform: translateX(8px);
}

.btn-view-all .fa-chevron-right {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.btn-view-all .fa-newspaper {
    font-size: 16px;
}

/* Pulse animation for view all button */
.btn-view-all::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse-view-all 3s infinite;
}

@keyframes pulse-view-all {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Mobile responsive for view all button */
@media (max-width: 768px) {
    .btn-view-all {
        font-size: 15px;
        padding: 12px 25px;
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .btn-view-all {
        font-size: 14px;
        padding: 10px 20px;
        min-width: 180px;
        border-radius: 25px;
    }
    
    .btn-view-all .fa-newspaper {
        font-size: 14px;
    }
    
    .btn-view-all .fa-chevron-right {
        font-size: 12px;
    }
} 

/* ===== NEWS DETAIL SIDEBAR STYLES ===== */
.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.sidebar-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Latest News Items */
.latest-news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.latest-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news-item:hover {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin: -10px;
    margin-bottom: 10px;
}

.latest-news-item:hover:last-child {
    margin-bottom: -10px;
}

/* Latest News Image */
.latest-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.latest-news-item:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Latest News Content */
.latest-news-item .flex-grow-1 {
    flex: 1;
    min-width: 0;
}

.latest-news-item h6 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 600;
}

.latest-news-item h6 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-item h6 a:hover {
    color: var(--primary-color);
}

.latest-news-item small {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Categories List */
.sidebar-card .list-group-item {
    border: none;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
}

.sidebar-card .list-group-item:hover {
    background: var(--light-blue);
    color: var(--primary-color);
    padding-left: 10px;
    border-radius: 8px;
}

.sidebar-card .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-card .badge {
    background: var(--primary-color) !important;
    font-size: 11px;
    padding: 4px 8px;
}

/* Contact Info in Sidebar */
.sidebar-card .d-flex.align-items-center {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.sidebar-card .d-flex.align-items-center:hover {
    background: var(--light-blue);
    transform: translateX(5px);
}

.sidebar-card .d-flex.align-items-center i {
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-card .d-flex.align-items-center strong {
    color: var(--primary-color);
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.sidebar-card .d-flex.align-items-center small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 991px) {
    .sidebar-card {
        margin-top: 40px;
        padding: 20px;
    }
    
    .latest-news-item img {
        width: 70px;
        height: 50px;
    }
    
    .latest-news-item h6 {
        font-size: 13px;
    }
    
    .latest-news-item small {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .sidebar-card {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .latest-news-item {
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .latest-news-item img {
        width: 60px;
        height: 45px;
    }
    
    .latest-news-item h6 {
        font-size: 12px;
    }
    
    .latest-news-item small {
        font-size: 10px;
    }
} 

/* ===== TOUR CARDS ICON STYLING ===== */
/* Icon địa điểm, thời gian và phương tiện trong tour cards */
.card .fa-map-marker-alt,
.card .fa-clock,
.card .fa-calendar,
.card .fa-bus,
.card .fa-plane {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Hover effect cho icon */
.card:hover .fa-map-marker-alt,
.card:hover .fa-clock,
.card:hover .fa-calendar,
.card:hover .fa-bus,
.card:hover .fa-plane {
    color: var(--secondary-color) !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Specific styling cho tour cards với màu sắc riêng biệt */
.card-body .fa-map-marker-alt {
    color: #e74c3c !important; /* Màu đỏ cho địa điểm */
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}

.card-body .fa-clock {
    color: #f39c12 !important; /* Màu cam cho thời gian */
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}

/* Transport icon đồng bộ style */
.card-body .fa-bus,
.card-body .fa-plane {
    color: #3498db !important; /* Màu xanh dương cho phương tiện */
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}

.card-body .fa-calendar {
    color: #27ae60 !important; /* Màu xanh lá cho lịch */
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}

/* Hover effects với màu đậm hơn và hiệu ứng scale */
.card:hover .card-body .fa-map-marker-alt {
    color: #c0392b !important;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.15), rgba(192, 57, 43, 0.08));
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
}

.card:hover .card-body .fa-clock {
    color: #e67e22 !important;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(230, 126, 34, 0.08));
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.card:hover .card-body .fa-calendar {
    color: #229954 !important;
    background: linear-gradient(135deg, rgba(34, 153, 84, 0.15), rgba(34, 153, 84, 0.08));
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 153, 84, 0.3);
}

.card:hover .card-body .fa-bus,
.card:hover .card-body .fa-plane {
    color: #2d89c9 !important;
    background: linear-gradient(135deg, rgba(45, 137, 201, 0.15), rgba(45, 137, 201, 0.08));
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 2px 8px rgba(45, 137, 201, 0.3);
}

/* Animation cho tất cả icon */
.card-body .fa-map-marker-alt,
.card-body .fa-clock,
.card-body .fa-calendar {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    font-size: 14px;
    width: auto;
    text-align: center;
}

/* Styling cho text khi có icon */
.card-body p.card-text.text-muted {
    color: #666 !important;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-body p.card-text.text-muted:last-child {
    margin-bottom: 15px;
}

/* Tour info icons trong trang detail với style đẹp hơn */
.tour-info .fa-map-marker-alt {
    color: #e74c3c !important;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
    transition: all 0.3s ease;
}

.tour-info .fa-clock {
    color: #f39c12 !important;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
    transition: all 0.3s ease;
}

.tour-info .fa-map-marker-alt:hover,
.tour-info .fa-clock:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* News date icons với màu riêng */
.news-card .fa-calendar {
    color: #8e44ad !important; /* Màu tím cho tin tức */
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(142, 68, 173, 0.05));
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}

.news-card:hover .fa-calendar {
    color: #7d3c98 !important;
    background: linear-gradient(135deg, rgba(125, 60, 152, 0.15), rgba(125, 60, 152, 0.08));
    transform: scale(1.05);
}

/* Service icons */
.service-card .fa-clock,
.service-card .fa-map-marker-alt {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

/* Icon pulse animation cho tour cards */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card:hover .card-body .fa-map-marker-alt,
.card:hover .card-body .fa-clock,
.card:hover .card-body .fa-calendar {
    animation: iconPulse 1.5s ease-in-out infinite;
}

/* Mobile responsive cho icon */
@media (max-width: 768px) {
    .card-body .fa-map-marker-alt,
    .card-body .fa-clock,
    .card-body .fa-calendar {
        font-size: 13px;
        padding: 3px 5px;
        margin-right: 5px;
    }
    
    .card-body p.card-text.text-muted {
        font-size: 13px;
        margin-bottom: 6px;
    }
} 

/* ===== TOUR PRICE STYLING ===== */
/* Giá tour màu cam với hiệu ứng */
.tour-price {
    color: #f39c12 !important;
    font-weight: bold;
    font-size: 1.00rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid rgba(243, 156, 18, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.tour-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.card:hover .tour-price {
    color: #e67e22 !important;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(230, 126, 34, 0.08));
    border-color: rgba(230, 126, 34, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.card:hover .tour-price::before {
    left: 100%;
}

/* Alternative simple orange price */
.price-orange {
    color: #f39c12 !important;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card:hover .price-orange {
    color: #e67e22 !important;
    text-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

/* Price in tours.php consistency */
.tours-page .tour-price,
.tours-page .price-orange {
    font-size: 1.1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tour-price {
        font-size: 1.1rem;
        padding: 6px 10px;
    }
    
    .price-orange {
        font-size: 1.1rem;
    }
}

/* ===== CONTACT PAGE STYLING ===== */
/* Contact info icons với màu sắc riêng biệt */
.contact-info-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.contact-info-item:first-child {
    padding-top: 5px;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item:hover {
    background: #f8f9fa;
    padding: 15px 10px;
    margin: 0 -10px;
    border-radius: 10px;
}

/* Icon containers với màu riêng biệt */
.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Địa chỉ - Màu đỏ */
.contact-icon.address {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.contact-info-item:hover .contact-icon.address {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Điện thoại - Màu xanh lá */
.contact-icon.phone {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.contact-info-item:hover .contact-icon.phone {
    background: linear-gradient(135deg, #229954, #1e8449);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Hotline - Màu cam */
.contact-icon.hotline {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.contact-info-item:hover .contact-icon.hotline {
    background: linear-gradient(135deg, #e67e22, #d68910);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Email - Màu tím */
.contact-icon.email {
    background: linear-gradient(135deg, #8e44ad, #7d3c98);
}

.contact-info-item:hover .contact-icon.email {
    background: linear-gradient(135deg, #7d3c98, #6c3483);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

/* Giờ làm việc - Màu xanh dương */
.contact-icon.hours {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-info-item:hover .contact-icon.hours {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Contact info text styling */
.contact-info-item h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-info-item p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.contact-info-item:hover h6 {
    color: #1a252f;
}

.contact-info-item:hover p {
    color: #5d6d7e;
}

/* Contact card styling */
.contact-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 15px;
    overflow: hidden;
}

.contact-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 20px;
}

.contact-card .card-header h5 {
    margin: 0;
    font-weight: 600;
}

.contact-card .card-body {
    padding: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
        font-size: 14px;
    }
    
    .contact-info-item {
        padding: 12px 0;
    }
    
    .contact-info-item h6 {
        font-size: 15px;
    }
    
    .contact-info-item p {
        font-size: 13px;
    }
}

/* Animation cho icon khi load trang */
@keyframes slideInIcon {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-icon {
    animation: slideInIcon 0.6s ease-out;
}

.contact-icon:nth-child(1) { animation-delay: 0.1s; }
.contact-icon:nth-child(2) { animation-delay: 0.2s; }
.contact-icon:nth-child(3) { animation-delay: 0.3s; }
.contact-icon:nth-child(4) { animation-delay: 0.4s; }
.contact-icon:nth-child(5) { animation-delay: 0.5s; }

/* ===== MODERN SERVICE CARDS STYLING ===== */
.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.service-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Service Image Wrapper */
.service-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.service-card-modern:hover .service-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Service Overlay */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(30, 58, 138, 0.7) 0%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(168, 85, 247, 0.3) 100%
    );
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-modern:hover .service-overlay {
    opacity: 1;
}

/* Service Icon Badge */
.service-icon-badge {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: scale(0.8) rotateY(180deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card-modern:hover .service-icon-badge {
    transform: scale(1) rotateY(0deg);
    animation: iconBounce 0.8s ease;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1) rotateY(0deg);
    }
    40% {
        transform: scale(1.1) rotateY(0deg);
    }
    60% {
        transform: scale(1.05) rotateY(0deg);
    }
}

/* Category Badge */
.service-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-category-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Service Content */
.service-content {
    padding: 25px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    min-height: 60px;
}

/* Service Footer */
.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: #f39c12;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Detail Button */
.btn-service-detail {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-service-detail:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    color: white;
    text-decoration: none;
}

.btn-service-detail:hover::before {
    left: 100%;
}

.btn-service-detail i {
    transition: transform 0.3s ease;
}

.btn-service-detail:hover i {
    transform: translateX(3px);
}

/* View All Services Button */
.btn-view-all-services {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-view-all-services::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-view-all-services:hover::after {
    width: 300px;
    height: 300px;
}

.btn-view-all-services:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-card-modern {
        margin-bottom: 20px;
        min-height: 420px;
    }
    
    .service-image-wrapper {
        height: 200px;
    }
    
    .service-content {
        padding: 20px 15px 15px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-description {
        font-size: 13px;
        min-height: 55px;
    }
}

@media (max-width: 768px) {
    .service-card-modern {
        min-height: 380px;
    }
    
    .service-image-wrapper {
        height: 180px;
    }
    
    .service-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .service-content {
        padding: 18px 15px 15px;
    }
    
    .service-description {
        min-height: 50px;
    }
    
    .btn-service-detail {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .price-value {
        font-size: 14px;
    }
    
    .service-footer {
        padding-top: 12px;
    }
}

/* Loading Animation */
@keyframes serviceCardLoad {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern {
    animation: serviceCardLoad 0.6s ease-out;
}

.service-card-modern:nth-child(1) { animation-delay: 0.1s; }
.service-card-modern:nth-child(2) { animation-delay: 0.2s; }
.service-card-modern:nth-child(3) { animation-delay: 0.3s; }
.service-card-modern:nth-child(4) { animation-delay: 0.4s; }

/* ===== SERVICE DETAIL PAGE STYLING ===== */
/* Hero section cho service detail */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

/* Service image trong detail page */
.service-detail .service-image {
    max-height: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.2);
}

.service-detail .service-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Hero section service image - specific cho service detail */
.hero-section .service-image {
    max-height: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-section .service-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(255,255,255,0.3);
}

/* Category badge */
.category-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

/* Feature card styling */
.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Service content typography */
.service-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 16px;
}

.service-content p {
    margin-bottom: 1.5rem;
}

/* Price styling trong detail page */
.service-detail-price {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.service-detail-price::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: priceShine 3s infinite;
}

@keyframes priceShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.service-detail-price .price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: block;
}

.service-detail-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.service-detail-price .price-note {
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive cho service detail */
@media (max-width: 992px) {
    .hero-section .service-image,
    .service-detail .service-image {
        max-height: 300px;
        height: 300px;
        margin-top: 30px;
    }
    
    .service-detail-hero {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-section .service-image,
    .service-detail .service-image {
        max-height: 250px;
        height: 250px;
        margin-top: 20px;
    }
    
    .service-detail-hero {
        padding: 40px 0;
    }
    
    .service-content {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .service-detail-price .price-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-section .service-image,
    .service-detail .service-image {
        max-height: 200px;
        height: 200px;
    }
    
    .service-detail-price {
        padding: 15px 20px;
    }
    
    .service-detail-price .price-value {
        font-size: 1.5rem;
    }
}

/* ===== ITINERARY CONTENT STYLING ===== */
/* Styling for rich text content from Quill editor */
.itinerary-content h1,
.activities-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--light-blue);
}

.itinerary-content h2,
.activities-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.8rem 0 0.4rem 0;
}

.itinerary-content h3,
.activities-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0.6rem 0 0.3rem 0;
}

.itinerary-content p,
.activities-content p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #4b5563;
}

.itinerary-content strong,
.activities-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.itinerary-content em,
.activities-content em {
    font-style: italic;
    color: #6b7280;
}

.itinerary-content ul,
.activities-content ul,
.itinerary-content ol,
.activities-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.itinerary-content li,
.activities-content li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.itinerary-content a,
.activities-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.itinerary-content a:hover,
.activities-content a:hover {
    color: var(--primary-color);
}

.itinerary-content img,
.activities-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.itinerary-content img:hover,
.activities-content img:hover {
    transform: scale(1.02);
}

/* Color styling for rich text */
.itinerary-content .ql-color-red,
.activities-content .ql-color-red {
    color: #dc2626 !important;
}

.itinerary-content .ql-color-blue,
.activities-content .ql-color-blue {
    color: var(--primary-color) !important;
}

.itinerary-content .ql-color-green,
.activities-content .ql-color-green {
    color: #059669 !important;
}

.itinerary-content .ql-color-orange,
.activities-content .ql-color-orange {
    color: #ea580c !important;
}

/* Background color styling */
.itinerary-content .ql-bg-yellow,
.activities-content .ql-bg-yellow {
    background-color: #fef3c7 !important;
    padding: 2px 4px;
    border-radius: 3px;
}

.itinerary-content .ql-bg-blue,
.activities-content .ql-bg-blue {
    background-color: #dbeafe !important;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Text alignment */
.itinerary-content .ql-align-center,
.activities-content .ql-align-center {
    text-align: center;
}

.itinerary-content .ql-align-right,
.activities-content .ql-align-right {
    text-align: right;
}

.itinerary-content .ql-align-justify,
.activities-content .ql-align-justify {
    text-align: justify;
}

/* Responsive styling for rich content */
@media (max-width: 768px) {
    .itinerary-content h1,
    .activities-content h1 {
        font-size: 1.3rem;
    }
    
    .itinerary-content h2,
    .activities-content h2 {
        font-size: 1.2rem;
    }
    
    .itinerary-content h3,
    .activities-content h3 {
        font-size: 1.1rem;
    }
    
    .itinerary-content p,
    .activities-content p {
        font-size: 14px;
    }
}

/* ===== END ITINERARY CONTENT STYLING ===== */

/* ===== TOUR CONTENT STYLING ===== */
/* Styling for rich text content from Quill editor in tour details */
.tour-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-blue);
}

.tour-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.2rem 0 0.6rem 0;
}

.tour-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem 0;
}

.tour-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 15px;
}

.tour-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.tour-content em {
    font-style: italic;
    color: #6b7280;
}

.tour-content ul,
.tour-content ol {
    padding-left: 2rem;
    margin-bottom: 1.2rem;
}

.tour-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tour-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tour-content a:hover {
    color: var(--primary-color);
}

.tour-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tour-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
    border-radius: 0 8px 8px 0;
}

.tour-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.tour-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Color styling for rich text */
.tour-content .ql-color-red {
    color: #dc2626 !important;
}

.tour-content .ql-color-blue {
    color: var(--primary-color) !important;
}

.tour-content .ql-color-green {
    color: #059669 !important;
}

.tour-content .ql-color-orange {
    color: #ea580c !important;
}

/* Background color styling */
.tour-content .ql-bg-yellow {
    background-color: #fef3c7 !important;
    padding: 3px 6px;
    border-radius: 4px;
}

.tour-content .ql-bg-blue {
    background-color: #dbeafe !important;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Text alignment */
.tour-content .ql-align-center {
    text-align: center;
}

.tour-content .ql-align-right {
    text-align: right;
}

.tour-content .ql-align-justify {
    text-align: justify;
}

/* Responsive styling for tour content */
@media (max-width: 768px) {
    .tour-content h1 {
        font-size: 1.5rem;
    }
    
    .tour-content h2 {
        font-size: 1.3rem;
    }
    
    .tour-content h3 {
        font-size: 1.2rem;
    }
    
    .tour-content p {
        font-size: 14px;
    }
    
    .tour-content ul,
    .tour-content ol {
        padding-left: 1.5rem;
    }
    
    .tour-content blockquote {
        padding: 0.8rem 1rem;
        margin: 1rem 0;
    }
}

/* ===== END TOUR CONTENT STYLING ===== */

/* ===== NEWS CONTENT STYLING ===== */
/* Styling for rich text content from Quill editor in news details */
.news-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-blue);
}

.news-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.2rem 0 0.6rem 0;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem 0;
}

.news-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 15px;
}

.news-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.news-content em {
    font-style: italic;
    color: #6b7280;
}

.news-content ul,
.news-content ol {
    padding-left: 2rem;
    margin-bottom: 1.2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.news-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: var(--primary-color);
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.news-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
    border-radius: 0 8px 8px 0;
}

.news-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.news-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Color styling for rich text */
.news-content .ql-color-red {
    color: #dc2626 !important;
}

.news-content .ql-color-blue {
    color: var(--primary-color) !important;
}

.news-content .ql-color-green {
    color: #059669 !important;
}

.news-content .ql-color-orange {
    color: #ea580c !important;
}

/* Background color styling */
.news-content .ql-bg-yellow {
    background-color: #fef3c7 !important;
    padding: 3px 6px;
    border-radius: 4px;
}

.news-content .ql-bg-blue {
    background-color: #dbeafe !important;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Text alignment */
.news-content .ql-align-center {
    text-align: center;
}

.news-content .ql-align-right {
    text-align: right;
}

.news-content .ql-align-justify {
    text-align: justify;
}

/* Responsive styling for news content */
@media (max-width: 768px) {
    .news-content h1 {
        font-size: 1.5rem;
    }
    
    .news-content h2 {
        font-size: 1.3rem;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .news-content p {
        font-size: 14px;
    }
    
    .news-content ul,
    .news-content ol {
        padding-left: 1.5rem;
    }
    
    .news-content blockquote {
        padding: 0.8rem 1rem;
        margin: 1rem 0;
    }
}

/* ===== END NEWS CONTENT STYLING ===== */

/* ===== SERVICE CONTENT STYLING ===== */
/* Styling for rich text content from Quill editor in service details */
.service-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-blue);
}

.service-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.2rem 0 0.6rem 0;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem 0;
}

.service-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 15px;
}

.service-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.service-content em {
    font-style: italic;
    color: #6b7280;
}

.service-content ul,
.service-content ol {
    padding-left: 2rem;
    margin-bottom: 1.2rem;
}

.service-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.service-content a:hover {
    color: var(--primary-color);
}

.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
    border-radius: 0 8px 8px 0;
}

.service-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.service-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Color styling for rich text */
.service-content .ql-color-red {
    color: #dc2626 !important;
}

.service-content .ql-color-blue {
    color: var(--primary-color) !important;
}

.service-content .ql-color-green {
    color: #059669 !important;
}

.service-content .ql-color-orange {
    color: #ea580c !important;
}

/* Background color styling */
.service-content .ql-bg-yellow {
    background-color: #fef3c7 !important;
    padding: 3px 6px;
    border-radius: 4px;
}

.service-content .ql-bg-blue {
    background-color: #dbeafe !important;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Text alignment */
.service-content .ql-align-center {
    text-align: center;
}

.service-content .ql-align-right {
    text-align: right;
}

.service-content .ql-align-justify {
    text-align: justify;
}

/* Responsive styling for service content */
@media (max-width: 768px) {
    .service-content h1 {
        font-size: 1.5rem;
    }
    
    .service-content h2 {
        font-size: 1.3rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-content p {
        font-size: 14px;
    }
    
    .service-content ul,
    .service-content ol {
        padding-left: 1.5rem;
    }
    
    .service-content blockquote {
        padding: 0.8rem 1rem;
        margin: 1rem 0;
    }
}

/* ===== END SERVICE CONTENT STYLING ===== */

/* Mobile performance optimizations */
@media (max-width: 768px) {
    .hero-section.hero-carousel {
        /* Improve mobile performance */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .hero-section.hero-carousel .carousel-item {
        /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        /* Improve image rendering on mobile */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimizeQuality;
        /* Ensure proper scaling */
        background-attachment: scroll !important;
    }
    
    /* Optimize carousel transitions for mobile */
    .hero-section.hero-carousel .carousel-inner {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Adaptive image sizing for hero carousel */
.hero-carousel-image {
    max-height: 420px;
    height: auto;
    object-fit: contain;
    background: #000;
}

@media (max-width: 992px) {
    .hero-carousel-image { max-height: 360px; }
}
@media (max-width: 768px) {
    .hero-carousel-image { max-height: 300px; }
}
@media (max-width: 576px) {
    .hero-carousel-image { max-height: 240px; }
}