/* Categories Section Styles */
.categories-section {
    padding: 40px 0;
    background: #ffffff;
    padding-bottom: 260px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.category-card {
    background: linear-gradient(90deg,rgba(82, 22, 182, 1) 0%, rgba(37, 150, 190, 1) 50%, rgba(103, 190, 217, 1) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.category-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-subtitle {
    font-size: 35px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.category-info {
    /*padding: 70px;*/
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-header h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.price-range {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guarantee {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}

.view-all-btn {
    background: #ffffff;
    color: #f51731;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Footer Sections Styles */
.security-section {
    background: linear-gradient(135deg, #ff6b9d, #ffc0cb);
    padding: 60px 0;
    position: relative;
    overflow: visible;
    /*margin-bottom: 50px;*/
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.security-character {
    flex-shrink: 0;
}

.security-character img {
    max-width: 418px;
    /*height: auto;*/
    margin-bottom: -60px;
    z-index: 20;
    position: absolute;
    left: 0;
    bottom: -161px;
}

.security-info {
    text-align: center;
    color: white;
    flex-grow: 1;
    margin: 0 40px;
    left: 300px;
}

.security-info h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.security-info .subtitle {
    font-size: 25px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.security-buttons {
    margin-bottom: 20px;
}

.btn-security-primary,
.btn-security-secondary {
    padding: 2px 30px;
    margin: 0 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-security-primary {
    background: white;
    color: #f13f53;
}

.btn-security-secondary {
    background: #8b55e5;
    color: white;
    /*border: 2px solid white;*/
}

.btn-security-primary:hover {
    background: #f8f9fa;
    color: #ff6b9d;
    text-decoration: none;
}

.btn-security-secondary:hover {
    background: white;
    color: #ff6b9d;
    text-decoration: none;
}

.security-note {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.5;
    color: #000000;
}

.support-section {
    /*background: linear-gradient(135deg, #8b5cf6, #a855f7);*/
    padding: 60px 0;
    color: white;
}

.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.support-character img {
    max-width: 100%;
    height: auto;
    margin-right: -400px;
    border-radius: 40px;
}

.support-info {
    flex-grow: 1;
    text-align: center;
    margin-left: -1700px;
}

.support-info h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.support-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fbbf24;
}

.support-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-support {
    background: #ffffff;
    color: #f03d51;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-support:hover {
    background: #f59e0b;
    color: #1f2937;
    text-decoration: none;
}

.support-qr {
    flex-shrink: 0;
    margin-right: 110px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.policy-banner {
    background: #1f2937;
    padding: 20px 0;
    color: white;
}

.policy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-text {
    font-weight: bold;
    font-size: 16px;
}

.policy-details {
    font-size: 14px;
    opacity: 0.8;
}

.policy-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.main-footer {
    background: #0b035c;
    padding: 40px 0 20px;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.tiktok { background: #000; }
.social-link.zalo { background: #0068ff; }
.social-link.instagram { background: #e1306c; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #60a5fa;
}

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

.footer-column li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #60a5fa;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 14px;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .security-content,
    .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .security-character,
    .support-character {
        margin-bottom: 20px;
    }
    
    .security-info,
    .support-info {
        margin: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        flex-direction: row;
        justify-content: center;
    }
    
    .policy-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}