:root {
    /* Màu chính từ logo - hài hòa với mệnh Hải trung kim */
    --primary-blue: #4285F4;    /* Xanh dương chính từ logo */
    --primary-blue-light: #6ba3f7;
    --primary-blue-dark: #1a73e8;
    --primary-blue-rgb: 66, 133, 244;

    --accent-gold: #F4B400;     /* Vàng kim từ logo - tốt cho mệnh kim */
    --accent-gold-light: #ffd54f;
    --accent-gold-dark: #ff8f00;
    --accent-gold-rgb: 244, 180, 0;

    --success-green: #0F9D58;   /* Xanh lá từ logo */
    --success-green-light: #4caf50;
    --success-green-dark: #2e7d32;

    --warning-coral: #DB4437;   /* Đỏ từ logo - dùng ít do xung khắc kim */
    --warning-coral-light: #f44336;
    --warning-coral-soft: rgba(219, 68, 55, 0.1);

    /* Màu nền và bề mặt - theo mệnh kim */
    --header-bg: #f8fafd;       /* Trắng xanh nhạt */
    --header-text: #37474f;     /* Xám đậm */
    --light-bg: #fafcff;        /* Trắng tinh khiết */
    --surface: #f5f7fa;         /* Xám bạc nhạt */
    --surface-hover: #eef2f6;   /* Bạc nhạt */
    --white: #ffffff;

    /* Màu văn bản */
    --text-primary: #263238;    /* Xám than */
    --text-secondary: #546e7a;  /* Xám xanh */
    --text-muted: #90a4ae;      /* Xám nhạt */

    /* Màu viền */
    --border-light: #e1e8ed;    /* Xám bạc */
    --border-medium: #cfd8dc;   /* Bạc */

    /* Áp dụng màu chính */
    --accent: var(--primary-blue);
    --accent-hover: var(--primary-blue-dark);
    --accent-rgb: var(--primary-blue-rgb);
    --secondary: var(--accent-gold);
    --secondary-hover: var(--accent-gold-dark);
    --success: var(--success-green);
    --success-hover: var(--success-green-dark);
    --warning: var(--accent-gold);
    --warning-hover: var(--accent-gold-dark);
    --muted: var(--text-muted);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
    background: #fff;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    background: var(--surface);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.partner-logo {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 3px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    border-color: var(--accent);
}

.partner-logo img {
    max-height: 32px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* Banner Section */
.banner-section {
    background: linear-gradient(rgba(45, 49, 148, 0.8), rgba(45, 49, 148, 0.8)),
    url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?q=80&w=1920&auto=format&fit=crop') center/cover;
    color: #fff;
    position: relative;
}

.banner-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-text {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Right Sidebar */
.sidebar-right {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 20px;
}

.sidebar-header {
    background: var(--accent);
    color: var(--white);
    padding: 0.875rem;
    border-radius: 0;
    text-align: center;
}

.sidebar-header h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-products {
    padding: 0.875rem;
    max-height: 280px;
    overflow-y: auto;
}

.sidebar-product {
    display: flex;
    gap: 0.625rem;
    padding: 0.625rem;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.sidebar-product:hover {
    background: var(--surface);
}

.sidebar-product:last-child {
    border-bottom: none;
}

.sidebar-product img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 2px;
}

.product-info h6 {
    font-size: 0.8rem;
    margin: 0 0 0.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-info .price {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
}

/* Top header mobile specific */
@media (max-width: 767.98px) {
}

@media (max-width: 576px) {
}


/* Footer Styles */
.footer {
    background: #37474f;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.footer-main {
    padding: 48px 0 32px;
    position: relative;
    z-index: 2;
}

.footer-column {
    margin-bottom: 32px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--accent-gold);
    font-size: 1.1em;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 0;
}

/* About Us Section */
.footer-about {
    max-width: 100%;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

.footer-logo img {
    max-height: 36px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-info li:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--accent-gold);
    width: 18px;
    text-align: center;
}

/* Categories Section */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-radius: 6px;
    position: relative;
}

.footer-links a::before {
    content: "";
    width: 3px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* User Links Section */
.user-links {
    display: grid;
    gap: 12px;
}

.user-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.user-link:hover {
    background: rgba(66, 133, 244, 0.15);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.2);
}

.user-link i {
    color: var(--accent-gold);
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.user-link:hover i {
    transform: scale(1.1);
}

/* Map Section */
.footer-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-iframe {
    width: 100%;
    height: 280px;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.footer-map:hover .map-iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-overlay h6 {
    margin: 0 0 4px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.map-overlay p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Social Links */
footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* Newsletter */
.newsletter-form {
    margin-top: 24px;
}

.newsletter-input {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.925rem;
    transition: all 0.3s ease;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--accent-gold-dark);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.925rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.925rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-column {
        margin-bottom: 32px;
    }

    .footer-title {
        font-size: 1.125rem;
        margin-bottom: 20px;
    }

    .map-iframe {
        height: 220px;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 32px 0 24px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .map-iframe {
        height: 200px;
    }

    .user-link {
        padding: 10px 12px;
        font-size: 0.925rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Service Cards Hover Effects */
.svc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent) !important;
}
