﻿.navbar-brand-logo {
    width: 100%;
    min-width: 7.5rem !important;
    max-width: 7.5rem !important;
}


/* Header styling for better visibility on gradient background */
#header.navbar-absolute-top {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effects for cards */
.hover-shadow-lg {
    transition: all 0.3s ease;
}

.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Badge styling */
.bg-soft-primary {
    background-color: rgba(91, 163, 245, 0.1) !important;
}

/* Hero 3D Gradient Background - Royal Blue / Deep Blue */
.hero-gradient-3d {
    background: linear-gradient(135deg, 
        #5ba3f5 0%, 
        #4a90e2 20%, 
        #357abd 40%, 
        #2c5aa0 60%, 
        #1e3a8a 80%, 
        #172554 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: hero-shine 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-gradient-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(91, 163, 245, 0.35) 0%, transparent 50%),
        linear-gradient(225deg, rgba(74, 144, 226, 0.25) 0%, transparent 50%),
        linear-gradient(45deg, rgba(53, 122, 189, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-gradient-3d > * {
    position: relative;
    z-index: 1;
}

@keyframes hero-shine {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

.contact-floating {
    position: fixed;
    bottom: 100px; /* nâng lên 100px so với đáy */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999; /* nổi trên mọi phần tử */
}


    .contact-floating a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background-color: #007bff;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 0 0 rgba(0,0,0,0.3);
        animation: devvn_zoom 2s infinite ease-in-out;
        overflow: visible; /* đảm bảo box-shadow không bị cắt */
    }

    .contact-floating .btn-call i {
        font-size: 22px;
    }

    .contact-floating .btn-zalo img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

/* Hiệu ứng “nổi bật” */
@keyframes devvn_zoom {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0,123,255,0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0,123,255,0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0,123,255,0.5);
    }
}
