/*
Theme Name: Thiên Vĩ
Description: Theme cho công ty Thiên Vĩ - Giải pháp công nghệ toàn diện
Version: 1.0
Author: Thiên Vĩ
Text Domain: thienvi.com
*/

/* Reset and base styles */
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    /* background: linear-gradient(135deg, #0066cc 0%, #004499 100%); */
    background: #fff;
    min-height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(45deg, #6c757d, #495057);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 40%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.5);
    transform: rotate(-45deg);
    animation: searchLights 2.5s ease-out 1s infinite;
    z-index: 1;
}

@keyframes searchLights {
    0% {
        left: -100px;
        top: 0;
    }
    100% {
        left: 250px;
        top: 0;
    }
}

.logo img {
    height: 50px;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

.logo img::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.5);
    transform: rotate(-45deg);
    animation: searchLights 2.5s ease-out 1s infinite;
    z-index: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 40%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hotline-button {
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 40%, #594aed 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 188, 250, 0.3);
    position: relative;
    overflow: hidden;
}

.hotline-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 40%, #594aed 100%);
    z-index: -1;
}

.hotline-button:hover {
    background: linear-gradient(45deg, #594aed 0%, #4a8bef 60%, #00bcfa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 250, 0.4);
}

.hotline-button:hover::before {
    background: linear-gradient(45deg, #594aed 0%, #4a8bef 60%, #00bcfa 100%);
}

.hotline-icon {
    font-size: 16px;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00bcfa 0%, #2a9ef5 20%, #4a8bef 40%, #5a7aeb 60%, #594aed 80%, #4a8bef 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

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

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; }

.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: lineMove 4s ease-in-out infinite;
}

.line:nth-child(1) {
    top: 20%;
    width: 200px;
    left: -200px;
    animation-delay: 0s;
}

.line:nth-child(2) {
    top: 40%;
    width: 150px;
    right: -150px;
    animation-delay: 1s;
    animation-direction: reverse;
}

.line:nth-child(3) {
    top: 60%;
    width: 180px;
    left: -180px;
    animation-delay: 2s;
}

.line:nth-child(4) {
    top: 80%;
    width: 120px;
    right: -120px;
    animation-delay: 3s;
    animation-direction: reverse;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
    animation: pulse 3s ease-in-out infinite;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #6c757d, #495057);
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(45deg, #495057, #6c757d);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

.cta-button:hover::before {
    background: linear-gradient(45deg, #495057, #6c757d);
}

/* Main Content */
.main-content {
    background: white;
    margin: 0;
    padding: 80px 0;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.about-section h2,
.consultation-section h2,
.contact-section h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.section p {
    font-size: 18px;
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 2px solid #f0f8ff;
    transition: all 0.3s ease;
    position: relative;
}

.hot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #594aed;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(89, 74, 237, 0.4);
    animation: hotPulse 2s ease-in-out infinite;
    z-index: 10;
}

.top-sale-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00bcfa;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 188, 250, 0.4);
    animation: topSalePulse 2s ease-in-out infinite;
    z-index: 10;
}

.trend-hub-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
    animation: trendHubPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes hotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(89, 74, 237, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(89, 74, 237, 0.6);
    }
}

@keyframes topSalePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 188, 250, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 188, 250, 0.6);
    }
}

@keyframes trendHubPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(108, 117, 125, 0.6);
    }
}

.product-card:hover {
    /* transform: translateY(-5px) !important; */
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2) !important;
    border-color: #667eea !important;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card h3 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-list li {
    padding: 8px 0;
    color: #333333;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Card View More Button */
.card-view-more-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 188, 250, 0.3);
}

.card-view-more-btn:hover {
    background: linear-gradient(45deg, #594aed 0%, #4a8bef 50%, #00bcfa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 250, 0.4);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
    padding: 80px 0;
    margin: 0;
}

.about-section h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.about-section > .container > p {
    font-size: 18px;
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about-text p {
    text-align: left;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: #666666;
    font-size: 14px;
    margin-top: 5px;
}

.stat-description {
    color: #888888;
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
    padding: 80px 0;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 2px solid #f0f8ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    /* transform: translateY(-8px) !important; */
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15) !important;
    border-color: #667eea !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 2;
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card h3 {
    font-size: 22px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.service-features li {
    padding: 8px 0 !important;
    color: #333333 !important;
    position: relative !important;
    padding-left: 25px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.service-features li:before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

/* Consultation Section */
.consultation-section {
    background: white;
    color: #333333;
    padding: 80px 0;
}

.consultation-section h2 {
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.consultation-section > .container > p {
    font-size: 18px;
    color: #333333;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.consultation-content {
    display: flex;
    justify-content: center;
    align-items: start;
}

.consultation-form-container {
    max-width: 800px;
    width: 100%;
}

/* Consultation Form */
.consultation-form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 2px solid #f0f8ff;
}

.consultation-form-card h3 {
    color: #000000;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
    color: #333333;
    padding: 80px 0;
}

.contact-section h2 {
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.contact-section > .container > p {
    font-size: 18px;
    color: #666666;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333333;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e6f3ff;
    border-radius: 8px;
    background: #f8fbff;
    color: #333333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #0066cc;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group select option {
    background: white;
    color: #333333;
}

.submit-btn {
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #594aed 0%, #4a8bef 50%, #00bcfa 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 250, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px;
    background: rgba(0, 200, 81, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(0, 200, 81, 0.3);
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.form-success h4 {
    color: #00c851;
    margin-bottom: 15px;
    font-size: 24px;
}

.form-success p {
    color: #666666;
    margin-bottom: 25px;
}

.new-request-btn {
    background: linear-gradient(45deg, #00c851, #00a041);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-request-btn:hover {
    background: linear-gradient(45deg, #00a041, #00c851);
    transform: translateY(-2px);
}

.product-icon:hover, .service-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 188, 250, 0.4);
}

/* Contact Info */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 2px solid #f0f8ff;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card h3 {
    color: #000000;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fbff;
    border-radius: 12px;
    border: 1px solid #e6f3ff;
    transition: all 0.3s ease;
    flex: 1;
}

.contact-info-item:hover {
    background: #e6f3ff;
    transform: translateY(-2px);
}

.contact-info-icon {
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    border-radius: 50%;
    flex-shrink: 0;
    color: white;
    line-height: 1;
    /* box-shadow: 0 8px 25px rgba(0, 188, 250, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2); */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 188, 250, 0.4);
}

.contact-info-icon:hover::before {
    opacity: 1;
}

.contact-details h4 {
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-details p {
    color: #666666;
    margin: 4px 0;
    font-size: 14px;
}

.contact-details p strong {
    color: #333333;
    font-size: 16px;
}

.map-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 2px solid #f0f8ff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-container h3 {
    color: #000000;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

.map-wrapper {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-wrapper iframe {
    flex: 1;
    min-height: 300px;
}

.map-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.map-note {
    background: #f8fbff;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%) 1;
    transition: all 0.3s ease;
}

.map-note:hover {
    background: #e6f3ff;
    transform: translateY(-2px);
}

.map-note h4 {
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent ;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.map-note p {
    color: #666666;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.map-note p strong {
    color: #333333;
}

/* Float Contact */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-btn:hover::before {
    opacity: 1;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Tooltip styles */
.float-contact .tooltip {
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    pointer-events: none;
}

.float-contact .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(0, 0, 0, 0.9);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.float-contact .zalo-tooltip {
    top: 0;
}

.float-contact .facebook-tooltip {
    top: 75px;
}

.float-contact .telegram-tooltip {
    top: 150px;
}

.float-contact .call-tooltip {
    top: 225px;
}

.float-contact .top-tooltip {
    top: 300px;
}

.float-contact .contact-btn:hover + .tooltip {
    opacity: 1;
    visibility: visible;
}

.zalo-btn {
    background: linear-gradient(45deg, #0068ff, #0052cc);
}

.facebook-btn {
    background: linear-gradient(45deg, #1877f2, #0d5aa7);
}

.telegram-btn {
    background: linear-gradient(45deg, #0088cc, #006699);
}

.call-btn {
    background: linear-gradient(45deg, #00c851, #00a041);
    animation: pulse-call 2s ease-in-out infinite;
}

.sms-btn {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
}

.top-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 200, 81, 0.6);
    }
}

/* Mobile Bottom Menu */
.mobile-contact-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 50%, rgba(241, 245, 249, 0.95) 100%); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12), 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 10px 0 14px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    overflow-x: hidden;
}

/* .mobile-contact-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 188, 250, 0.4), rgba(74, 139, 239, 0.4), rgba(89, 74, 237, 0.4));
    border-radius: 2px;
    margin-top: 8px;
} */

.mobile-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0 8px;
    align-items: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.mobile-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #475569;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 8px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 188, 250, 0.08) 0%, rgba(74, 139, 239, 0.08) 50%, rgba(89, 74, 237, 0.08) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.mobile-contact-btn:hover {
    transform: translateY(-4px);
    color: #0f172a;
}

.mobile-contact-btn:hover::before {
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0, 188, 250, 0.15);
}

.mobile-contact-btn:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

.mobile-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    /* Changed to theme's main gradient */
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 188, 250, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    color: white;
    line-height: 44px;
}

/* Special styling for image icons like Zalo */
.mobile-contact-item img.mobile-contact-icon{
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: contain;
    background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
    padding: 8px;
    box-sizing: border-box;
}

.mobile-contact-btn:hover .mobile-contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 188, 250, 0.4);
    /* Enhanced gradient on hover */
    background: linear-gradient(45deg, #594aed 0%, #4a8bef 50%, #00bcfa 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-call-btn .mobile-contact-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 30px !important;
    margin-bottom: 0px;
    border: 2px solid rgba(0, 200, 81, 0.3);
    box-shadow: 0 4px 16px rgba(0, 200, 81, 0.15) !important;
    animation: gentle-pulse 2.5s 
ease-in-out infinite !important;
    transform: translateY(-35%) !important;
    color: #00c851;
    background: rgba(0, 200, 81, 0.12);
    line-height: 60px !important;
}

.mobile-call-btn:hover .mobile-contact-icon {
    transform: scale(1.15) rotate(0deg) translateY(-35%);
    box-shadow: 0 8px 28px rgba(0, 200, 81, 0.25);
    /* Removed background gradient */
    color: #00a041;
    border-color: rgba(0, 200, 81, 0.5);
    background: rgba(0, 200, 81, 0.12);
    animation: none;
}

.mobile-contact-label {
    font-size: 11px;
    text-align: center;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.mobile-contact-btn:hover .mobile-contact-label {
    opacity: 1;
    color: #00bcfa;
    transform: translateY(-1px);
}

.mobile-call-btn .mobile-contact-label {
    font-size: 13px;
    font-weight: 700;
    color: #00c851;
    margin-top: -24px !important;
}

.mobile-call-btn:hover .mobile-contact-label {
    color: #00a041;
    transform: translateY(-2px);
}

.mobile-contact-text{
    display: none;
}

/* Gentle pulse animation for call button */
@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(0, 200, 81, 0.3), 0 3px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-35%) scale(1);
    }
    50% {
        box-shadow: 0 8px 28px rgba(0, 200, 81, 0.4), 0 4px 14px rgba(0, 0, 0, 0.12);
        transform: translateY(-35%) scale(1.02);
    }
}

/* Footer */
.footer {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: #cccccc;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #333333;
}

.footer .admin-link {
    color: #00bcfa;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

.footer .admin-link:hover {
    color: #4a8bef;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    background: linear-gradient(45deg, #6c757d, #495057);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    /* Hide desktop float contact on tablet and mobile */
    .float-contact {
        display: none !important;
    }

    /* Show mobile contact menu on tablet and mobile */
    .mobile-contact-menu {
        display: block !important;
    }

    /* Optimize mobile contact menu for tablet */
    .mobile-contact-grid {
        padding: 0 12px;
        gap: 8px;
    }

    .mobile-contact-icon {
        width: 48px; /* Larger icons for tablet */
        height: 48px;
        font-size: 22px;
        line-height: 48px;
    }

    .mobile-contact-icon img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
        padding: 4px;
        box-sizing: border-box;
    }

    .mobile-contact-btn {
        padding: 10px 10px;
    }

    .mobile-call-btn .mobile-contact-icon {
        width: 72px;
        height: 72px;
        font-size: 34px;
        line-height: 72px;
    }

    .mobile-contact-label {
        font-size: 12px; /* Larger text for tablet */
    }

    .mobile-call-btn .mobile-contact-label {
        font-size: 14px;
        margin-top: -28px !important;
    }

    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 70px; /* Reduced from 80px */
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .nav-right {
        gap: 15px;
    }

    .hotline-button {
        padding: 8px 15px;
        font-size: 12px;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero h1 {
        font-size: 36px;
        color: transparent;
    }

    .hero h1::before {
        content: "Tư duy công nghệ Tầm nhìn Thiên Vĩ";
        color: white;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
    }

    .hero p {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2,
    .about-text p {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    /* Consultation form responsive */
    .consultation-form-container {
        max-width: 100%;
    }

    .consultation-form-card {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Contact responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-card,
    .map-container {
        padding: 25px;
    }

    .map-container h3 {
        font-size: 22px;
    }

    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-note {
        padding: 20px;
    }

    /* Hide desktop float contact on mobile */
    .float-contact {
        display: none !important;
    }

    /* Show mobile contact menu */
    .mobile-contact-menu {
        display: block !important;
    }

    /* Optimize for mobile */
    .mobile-contact-grid {
        padding: 0 8px;
        gap: 4px;
    }

    .mobile-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
    }

    .mobile-contact-icon img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
        padding: 3px;
        box-sizing: border-box;
    }

    .mobile-contact-btn {
        padding: 8px 6px;
    }

    .mobile-call-btn .mobile-contact-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        line-height: 60px;
    }

    .mobile-contact-label {
        font-size: 10px;
    }

    .mobile-call-btn .mobile-contact-label {
        font-size: 12px;
        margin-top: -22px !important;
    }

    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 65px; /* Reduced from 75px */
    }
}

/* Extra small mobile responsive */
@media (max-width: 480px) {

    .mobile-contact-menu {
        padding: 8px 0 12px;
        border-radius: 16px 16px 0 0;
    }

    /* .mobile-contact-menu::before {
        width: 32px;
        height: 3px;
        margin-top: 6px;
    } */

    .mobile-contact-grid {
        padding: 0 4px;
        gap: 2px;
    }

    .mobile-contact-icon {
        width: 36px;
        height: 36px;
        font-size: 16px !important;
        margin-bottom: 4px;
        line-height: 36px !important;
    }

    .mobile-contact-icon img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        background: linear-gradient(45deg, #00bcfa 0%, #4a8bef 50%, #594aed 100%);
        padding: 3px;
        box-sizing: border-box;
    }

    .mobile-contact-btn {
        padding: 8px 4px;
    }

    /* .mobile-call-btn .mobile-contact-icon {
        width: 54px;
        height: 54px;
        font-size: 24px !important;
        line-height: 54px !important;
    } */

    .mobile-contact-label {
        font-size: 9px;
    }

    .mobile-call-btn .mobile-contact-label {
        font-size: 11px;
        margin-top: -18px !important;
    }

    body {
        padding-bottom: 60px; /* Reduced from 70px */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, 10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes lineMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Scroll Animation Styles */
[data-scroll-animation] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-scroll-animation].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Up Animation */
[data-scroll-animation="fadeInUp"] {
    transform: translateY(50px);
}

[data-scroll-animation="fadeInUp"].animate {
    transform: translateY(0);
}

/* --- OVERRIDE: Remove height for WP Dashboard theme name --- */
.theme-browser .theme .theme-name {
     height: auto !important;
}

/* Fade In Left Animation */
[data-scroll-animation="fadeInLeft"] {
    transform: translateX(-50px);
}

[data-scroll-animation="fadeInLeft"].animate {
    transform: translateX(0);
}

/* Fade In Right Animation */
[data-scroll-animation="fadeInRight"] {
    transform: translateX(50px);
}

[data-scroll-animation="fadeInRight"].animate {
    transform: translateX(0);
}

/* Zoom In Animation */
[data-scroll-animation="zoomIn"] {
    transform: scale(0.8);
}

[data-scroll-animation="zoomIn"].animate {
    transform: scale(1);
}

/* Slide In Up Animation */
[data-scroll-animation="slideInUp"] {
    transform: translateY(100px);
}

[data-scroll-animation="slideInUp"].animate {
    transform: translateY(0);
}

/* Staggered Animation Delays */
[data-scroll-delay="100"] { transition-delay: 0.1s; }
[data-scroll-delay="200"] { transition-delay: 0.2s; }
[data-scroll-delay="300"] { transition-delay: 0.3s; }
[data-scroll-delay="400"] { transition-delay: 0.4s; }
[data-scroll-delay="500"] { transition-delay: 0.5s; }
[data-scroll-delay="600"] { transition-delay: 0.6s; }
[data-scroll-delay="700"] { transition-delay: 0.7s; }
[data-scroll-delay="800"] { transition-delay: 0.8s; }
[data-scroll-delay="900"] { transition-delay: 0.9s; }
[data-scroll-delay="1000"] { transition-delay: 1.0s; }
[data-scroll-delay="1200"] { transition-delay: 1.2s; }
[data-scroll-delay="1400"] { transition-delay: 1.4s; }

/* Đảm bảo thông báo cảm ơn WordPress luôn ở cuối trang, không sticky */
.about__footer-upgrade,
.upgrade-message,
#footer-upgrade,
.wp-admin .about__footer-upgrade,
.wp-admin .upgrade-message,
.wp-admin #footer-upgrade {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 1 !important;
    box-shadow: none !important;
    background: none !important;
}


/* Giảm tốc độ hiển thị dropdown menu Dashboard WordPress */
.wp-admin .wp-submenu, .wp-admin .sub-menu, .wp-admin .dropdown-menu, .wp-admin .admin-menu .wp-has-submenu ul {
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    -webkit-transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1) !important;
    transition-property: opacity, visibility !important;
}