/* Custom styles for Gopto Laser website */

/* Service Block Icon Styles */
.service-block-icon {
    padding: 30px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-block-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-block-icon .service-icon {
    margin-bottom: 20px;
}

.service-block-icon h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-block-icon p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Partner Item Styles */
.partner-item {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partner-item .partner-logo {
    text-align: center;
    width: 100%;
}

.partner-item .partner-logo img {
    max-height: 100px;
    width: auto;
    margin: 0 auto;
}

/* Product Item Styles */
.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-item .product-image {
    overflow: hidden;
    height: 370px;
    position: relative;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-item .product-info {
    padding: 20px;
}

.product-item .product-info h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-item .product-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-block-icon {
        min-height: 180px;
        margin-bottom: 15px;
    }
    
    .partner-item {
        min-height: 120px;
        margin-bottom: 15px;
    }
    
    .product-item .product-image {
        height: 200px;
    }
}

/* Equal height columns */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Margin utilities */
.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-18 {
    margin-bottom: 18px;
}

/* Custom Animation Styles for Smoother Animations */
.animated {
    animation-duration: 1.5s !important;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Slower specific animations */
.animated.fadeInUp {
    animation-duration: 2s !important;
}

.animated.fadeInLeft {
    animation-duration: 1.8s !important;
}

.animated.fadeInRight {
    animation-duration: 1.8s !important;
}

.animated.fadeInDown {
    animation-duration: 1.8s !important;
}

.animated.zoomIn {
    animation-duration: 1.2s !important;
}

.animated.bounce {
    animation-duration: 2s !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
    color: #FFF;
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    color: #FFF;
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 30px;
}

/* Animation for WhatsApp Button */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
}
