/* Security Tips Carousel Styles */
.security-carousel-container {
    position: relative;
    max-width: 90%;
    width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.security-carousel-title {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
}

.security-carousel-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
    border-radius: 3px;
}

.security-carousel {
    position: relative;
    height: 180px;
    margin-bottom: 30px;
}

.security-tip {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
    text-align: center;
    padding: 1rem;
}

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

.security-tip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.security-tip-icon {
    color: #007bff;
    font-size: 2.5rem;
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.security-tip-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.5;
    flex: 1;
    text-align: left;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #007bff;
    transform: scale(1.2);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-control {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.carousel-control:focus {
    outline: none;
}

.carousel-control i {
    color: #007bff;
    font-size: 1.2rem;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .security-carousel {
        height: 200px;
    }
    
    .security-tip-content {
        flex-direction: column;
    }
    
    .security-tip-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .security-tip-text {
        text-align: center;
    }
}