/*
Theme Name: Ktech
Author: Ktech
Template: flatsome
Version: 1.0.0
*/

/* Hotline Button Styles */
#hotline-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    animation: pulse 2s infinite;
}

#hotline-button a {
    display: block;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
}

#hotline-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.hotline-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.hotline-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
    animation: shake-phone 1s infinite;
}

@keyframes shake-phone {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(-5deg); }
    60% { transform: rotate(5deg); }
    70% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.hotline-text {
    white-space: nowrap;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #hotline-button {
        left: 15px;
        bottom: 15px;
    }
    
    .hotline-content {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Fade in/out left animation for .col in .import-and-export-sec */

.import-and-export-sec {
    overflow: hidden;
}

.fade-left .col-inner {
    opacity: 0.5 !important;
    transform: translateX(-100%);
    transition: opacity 1s ease-in, transform 2s;
}

.import-and-export-sec.active .fade-left .col-inner {
    opacity: 1 !important;
    transform: translateX(0);
}

.fade-right .col-inner {
    opacity: 0 !important;
    transform: translateX(100%);
    transition: opacity 1s, transform 2s;
}

.import-and-export-sec.active .fade-right .col-inner {
    opacity: 1 !important;
    transform: translateX(0);
}

.fade-top .col-inner {
    opacity: 0 !important;
    transform: translateY(-100%);
    transition: opacity 1s, transform 2s;
}

.import-and-export-sec.active .fade-top .col-inner {
    opacity: 1 !important;
    transform: translateY(0);
}