:root {
    --primary-color: #ff6b00;
    --secondary-color: #4CAF50;
    --dark-color: #263238;
    --light-color: #f5f5f5;
    --gray-color: #607D8B;
}

body {
    font-family: 'Chakra Petch', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9em;
}

.top-bar a {
    color: white;
    text-decoration: none;
}
.text-primary {
    color: var(--primary-color) !important;
}
.news-ticker {
    overflow: hidden;
    height: 24px;
    position: relative;
}

.news-ticker-container {
    position: absolute;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.news-item {
    display: inline-block;
    margin-right: 30px;
    padding: 0 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.news-item:nth-child(1) { background-color: #FF5722; }
.news-item:nth-child(2) { background-color: #9C27B0; }
.news-item:nth-child(3) { background-color: #3F51B5; }
.news-item:nth-child(4) { background-color: #009688; }

/* Header */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    background-color: white;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu Fix */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.dropdown-item {
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.user-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.user-info {
    line-height: 1.2;
}

.user-info .user-role {
    color: var(--primary-color); /* Sử dụng màu chính của website (màu cam) */
    font-weight: 600; /* Làm đậm chữ */
}

.user-name {
    font-weight: 600;
    color: var(--dark-color);
}

.user-role {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.btn-auth {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-register {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-register:hover {
    background-color: #e86100;
    border-color: #e86100;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    height: 650px;
}

@media (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        min-height: 550px;
    }
}

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

.swiper-container.hero-swiper {
    height: 100%;
}

.swiper-wrapper {
    height: 100%;
}

.hero-slide {
    position: relative;
    padding: 80px 0;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background-size: cover !important;
    background-position: center !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.slide-subtitle {
    margin-bottom: 20px;
}

.slide-subtitle .badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(90deg, #ff6b00, #ff9d00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.text-highlight {
    display: inline-block;
    position: relative;
    color: white;
    padding: 0 5px;
}

.text-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 10px;
    background-color: rgba(255, 107, 0, 0.5);
    z-index: -1;
    transform: skewX(-15deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 550px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Stats in Hero Slide */
.slide-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-slide .stat-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    margin-bottom: 0;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-slide .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-slide .stat-icon {
    width: 40px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    height: 40px;
    background: linear-gradient(135deg, #ff6b00, #ff9d00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.hero-slide .stat-text {
    line-height: 1.2;
}

.hero-slide .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-slide .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Features in Slide */
.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item .feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-right: 10px;
}

.feature-text {
    font-weight: 500;
}

/* Slider Pricing */
.slide-pricing {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.slide-pricing .pricing-option {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    text-align: center;
    position: relative;
    flex: 1;
}

.slide-pricing .pricing-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slide-pricing .pricing-option.featured {
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slide-pricing .pricing-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.slide-pricing .pricing-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.slide-pricing .pricing-unit {
    font-size: 1rem;
    vertical-align: super;
    margin-left: 2px;
}

.slide-pricing .pricing-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #ff6b00, #ff9d00);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 107, 0, 0.3);
}

.slide-pricing .pricing-saving {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #4CAF50;
    font-weight: 600;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #e86100;
    border-color: #e86100;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Slide Buttons */
.slide-buttons {
    display: flex;
    gap: 15px;
}

.btn-lg {
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-gradient {
    background: linear-gradient(90deg, #ff6b00, #ff9d00);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Image */
.hero-slide .hero-image {
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    position: relative;
    z-index: 2;
    transition: all 0.5s;
    animation: float 6s ease-in-out infinite;
}

.main-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.floating-element {
    position: absolute;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #263238;
    font-size: 0.9rem;
    white-space: nowrap;
    animation: floatElement 8s ease-in-out infinite;
}

.floating-element i {
    color: #ff6b00;
}

.element-1 {
    top: 20%;
    left: -5%;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: white;
    width: 30px;
    border-radius: 50px;
}

/* Why Choose Us */
.why-us-section {
    padding: 40px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.1));
    border-radius: 50%;
    top: -300px;
    left: -300px;
    z-index: 0;
}

.why-us-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0.1));
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 15px auto 0;
}

.feature-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    margin-bottom: 40px;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.1));
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 107, 0, 0.1);
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
    transition: transform 0.8s, background 0.3s, color 0.3s;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: all 0.3s;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.feature-box {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 0;
    left: 0;
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    border-radius: 0 0 5px 5px;
}

.feature-box:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-box:hover::after {
    height: 100%;
}

.feature-box-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 25px;
    transition: all 0.4s;
}

.feature-box:hover .feature-box-icon {
    background-color: var(--secondary-color);
    color: white;
    transform: rotateY(360deg);
}

.feature-box-content {
    flex: 1;
}

.feature-box-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s;
}

.feature-box:hover .feature-box-content h4 {
    color: var(--primary-color);
}

.feature-box-content p {
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 40px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.pricing-tab {
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    background-color: transparent;
    color: var(--gray-color);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.pricing-tab.active {
    color: var(--primary-color);
}

.pricing-tab.active::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 10%;
    border-radius: 10px;
}

.pricing-content {
    display: none;
    position: relative;
    z-index: 1;
}

.pricing-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-section .pricing-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.pricing-section .pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

.pricing-section .popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--secondary-color);
    color: white;
    transform: rotate(45deg);
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.pricing-section .pricing-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.pricing-section .pricing-specs {
    color: var(--gray-color);
    margin-bottom: 25px;
    font-size: 1rem;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.pricing-section .pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-color), #ff9d00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-section .pricing-period {
    color: var(--gray-color);
    font-size: 1rem;
    margin-bottom: 20px;
    display: block;
}

.pricing-section .pricing-discount {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    display: inline-block;
}

.pricing-section .pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-section .pricing-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--gray-color);
}

/*.pricing-section .pricing-features li::before {*/
/*    content: '\f00c';*/
/*    font-family: 'Font Awesome 5 Free';*/
/*    font-weight: 900;*/
/*    color: var(--secondary-color);*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 10px;*/
/*}*/

.pricing-section .btn-pricing {
    width: 100%;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    background: linear-gradient(90deg, var(--primary-color), #ff9d00);
    border: none;
    color: white;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-section .btn-pricing::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff9d00, var(--primary-color));
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: -1;
}

.pricing-section .btn-pricing:hover {
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    transform: translateY(-3px);
}

.pricing-section .btn-pricing:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--dark-color);
    background-color: white;
    border-radius: 15px !important;
    transition: all 0.3s;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 20px 25px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 40px 0;
    background-color: white;
    position: relative;
}

.blog-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    margin-bottom: 5px;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(90deg, var(--primary-color), #ff9d00);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    z-index: 1;
    text-decoration: none;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.blog-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.blog-link:hover {
    color: #e86100;
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* Footer Support */
.footer-support {
    background-color: var(--primary-color);
    padding: 30px 0;
    color: white;
}

.support-item {
    display: flex;
    align-items: center;
}

.support-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.3rem;
}

.support-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.support-info p {
    margin-bottom: 0;
}

.support-info a {
    color: white;
    text-decoration: none;
}

.btn-support {
    background-color: white;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-support:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-link a:hover {
    color: white;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    margin-top: 40px;
}

.social-icons {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon i {
    color: white;
    font-size: 1rem;
}

/* Login/Register Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-modal {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-google {
    background-color: #dd4b39;
    color: white;
}

.modal-footer {
    border-top: none;
    padding: 0 30px 30px;
    justify-content: center;
}

.modal-switch {
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        min-height: 550px;
    }

    .hero-slide {
        min-height: auto;
        padding: 60px 0;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .image-container {
        height: 350px;
        display: none;
    }

    .support-item {
        margin-bottom: 0px;
    }

    .feature-card,
    .stats-section .stat-item,
    .pricing-section .pricing-card,
    .blog-card {
        margin-bottom: 30px;
    }
}

/* Topbar selectors (language + currency) */
.topbar-selectors {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

.topbar-btn {
    color: white !important;
    text-decoration: none !important;
    padding: 2px 8px;
    font-size: 0.85em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 3px;
    transition: background 0.2s;
}

.topbar-btn:hover {
    background: rgba(255,255,255,0.1);
}

.topbar-btn::after {
    font-size: 0.6em;
    vertical-align: middle;
}

.topbar-divider {
    color: rgba(255,255,255,0.3);
    margin: 0 2px;
    font-size: 0.8em;
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
        padding: 6px 0;
    }

    .top-contact {
        margin-bottom: 5px;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 4px 10px;
        font-size: 0.8em;
    }

    .top-contact > .me-4 {
        margin-right: 6px !important;
    }

    /* Compact email on small mobile */
    .top-contact > .me-4 a {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: bottom;
    }

    .topbar-selectors {
        margin-left: 0;
    }

    .topbar-btn {
        padding: 1px 5px;
        font-size: 0.8em;
    }

    /* News ticker full width on mobile */
    .news-ticker {
        font-size: 0.8em;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
        padding: 15px !important;
    }

    .hero-slide {
        min-height: auto;
        padding: 30px 0;
    }

    .hero-slider-section {
        height: auto;
        min-height: 450px;
    }

    .slide-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .btn-login, .btn-register {
        margin: 5px;
    }

    .slide-stats,
    .slide-features,
    .slide-pricing {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .slide-buttons .btn {
        width: 100%;
        padding: 10px 15px;
        margin: 0;
        font-size: 14px;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .feature-box-icon {
        margin: 0 auto 20px;
    }
}

@media (max-width: 575px) {
    .hero-slide {
        padding: 30px 0;
        min-height: 400px;
    }

    .slide-title {
        font-size: 1.75rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    .feature-item {
        padding: 6px 10px;
    }
}

/* Style cho dropdown ngôn ngữ */
.language-dropdown .dropdown-toggle {
    color: white;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.language-dropdown .dropdown-toggle:hover,
.language-dropdown .dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown .dropdown-menu {
    min-width: 180px;
    margin-top: 10px;
    background-color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.language-dropdown .dropdown-item {
    padding: 8px 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.language-dropdown .dropdown-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
}

.language-dropdown .dropdown-item.active {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.language-dropdown .dropdown-item img {
    width: 16px;
    height: 16px;
    object-fit: cover;
    margin-right: 8px;
}

/* Cải thiện news ticker */
.news-ticker {
    overflow: hidden;
    height: 24px;
    position: relative;
}

.news-ticker-container {
    position: absolute;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
    display: flex;
}

/* Khi hover, dừng animation để có thể click */
.news-ticker:hover .news-ticker-container {
    animation-play-state: paused;
}

.news-item {
    display: inline-flex;
    align-items: center;
    margin-right: 30px;
    padding: 0 10px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Cập nhật keyframes cho chuyển động liên tục */
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Style for Currency Dropdown */
.currency-dropdown .dropdown-toggle {
    color: white;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.currency-dropdown .dropdown-toggle:hover,
.currency-dropdown .dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.currency-dropdown .dropdown-menu {
    min-width: 160px;
    margin-top: 10px;
    background-color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.currency-dropdown .dropdown-item {
    padding: 8px 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.currency-dropdown .dropdown-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
}

.currency-dropdown .dropdown-item.active {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}
.notification-bell {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.notification-circle {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(255, 71, 87, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

.notification-dropdown {
    position: absolute;
    right: -10px;
    top: 40px;
    width: 320px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    background-color: #f8f9fa;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-body.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    color: #adb5bd;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.empty-state i {
    font-size: 2.5rem;
    color: #dee2e6;
    margin-bottom: 10px;
}

.notification-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-icon i {
    color: white;
}

.bg-primary {
    background-color: #4361ee;
}

.bg-success {
    background-color: #06d6a0;
}

.bg-warning {
    background-color: #ffd166;
}

.bg-danger {
    background-color: #ef476f;
}

.bg-info {
    background-color: #0dcaf0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.notification-text {
    margin: 3px 0;
    font-size: 0.8rem;
    color: #6c757d;
}

.notification-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

.notification-status {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.unread-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4361ee;
}

.notification-footer {
    padding: 10px 15px;
    text-align: center;
    border-top: 1px solid #f1f1f1;
}

.view-all {
    font-size: 0.85rem;
    text-decoration: none;
    color: #4361ee;
}

.view-all:hover {
    text-decoration: underline;
}
