/* Custom Styles beyond Tailwind */
.swiper-pagination-bullet {
    background: #d4af37 !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #173f5f !important;
    opacity: 1;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(23, 63, 95, 0.9) 0%, rgba(23, 63, 95, 0.4) 100%);
}

.cta-overlay {
    background: rgba(23, 63, 95, 0.85);
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    background-color: #173f5f;
    color: white;
}

.phone-pulse {
    animation: pulse-sky 2s infinite;
}

@keyframes pulse-sky {
    0% {
        box-shadow: 0 0 0 0 rgba(49, 174, 228, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(49, 174, 228, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(49, 174, 228, 0);
    }
}

/* 3D Flip Card Logic */
.flip-card {
    perspective: 1200px;
}

.flip-card-inner {
    transform-style: preserve-3d;
    height: 100%;
    width: 100%;
}

/* On Hover: Rotate the inner container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.animate-spin-slow {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Videos Gallery */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}