/* ============================================================
   index.php — extracted inline styles (P3-14)
   Preserves original cascade order from three former <style> blocks.
   ============================================================ */

/* --- Block 1 (was line 315) -------------------------------- */

/* CLS prevention: until Swiper initializes, show only the first slide so the
   container doesn't render at the full stacked-slides height and then collapse. */
.swiper-loading .swiper-slide:not(:first-child) { display: none !important; }

/* Custom gradient backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom shadows */
.custom-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Floating card animations */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    animation-delay: 0s;
}

.floating-card-2 {
    animation-delay: 1s;
}

.floating-card-3 {
    animation-delay: 2s;
}

.floating-card-4 {
    animation-delay: 3s;
}

.floating-card-5 {
    animation-delay: 4s;
}

.floating-card-6 {
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hover effects for cards */
.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    transition: transform 0.3s ease;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Floating card animations for hiring models */
.floating-card-1 {
    animation: floatCard1 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: floatCard2 2.8s ease-in-out infinite;
}

.floating-card-3 {
    animation: floatCard3 3.2s ease-in-out infinite;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
        opacity: 1;
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-6px) rotate(-1deg);
        opacity: 1;
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 1;
    }
}

/* --- Block 2 (was line 1303) -------------------------------- */

.typing-cursor {
    animation: blink 1s infinite;
    color: #100190;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* --- Block 3 (was line 2935) -------------------------------- */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.floating-icon-1 {
    animation: float 3s ease-in-out infinite;
}

.floating-icon-2 {
    animation: floatReverse 4s ease-in-out infinite;
}

.floating-icon-3 {
    animation: pulse 2s ease-in-out infinite;
}

.floating-quote {
    animation: float 2.5s ease-in-out infinite;
}

.keyword-card {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0.8);
}

.keyword-card.show {
    opacity: 1;
    transform: scale(1);
}

.floating-card-1 {
    animation: floatCard1 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: floatCard2 2.8s ease-in-out infinite;
}

.floating-card-3 {
    animation: floatCard3 3.2s ease-in-out infinite;
}

.floating-card-4 {
    animation: floatCard4 2.6s ease-in-out infinite;
}

.floating-card-5 {
    animation: floatCard5 3.4s ease-in-out infinite;
}

.floating-card-6 {
    animation: floatCard6 2.9s ease-in-out infinite;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatCard4 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(-2deg);
    }
}

@keyframes floatCard5 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(1.5deg);
    }
}

@keyframes floatCard6 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1.5deg);
    }
}

.floating-card {
    animation: floatReverse 3.5s ease-in-out infinite;
}

/* Video Swiper Pagination Styling */
.video-pagination {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.video-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.video-pagination .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
}

/* Testimonial Navigation Buttons Styling */
.testimonial-nav-next,
.testimonial-nav-prev {
    position: absolute;
    bottom: 20px;
    width: 44px;
    height: 44px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-nav-next:hover,
.testimonial-nav-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-nav-next:active,
.testimonial-nav-prev:active {
    transform: scale(0.95);
}

.testimonial-nav-next {
    left: 50%;
    margin-left: 8px;
    transform: translateX(0);
}

.testimonial-nav-prev {
    right: 50%;
    margin-right: 8px;
    transform: translateX(0);
}

.testimonial-nav-next:hover {
    transform: scale(1.1);
}

.testimonial-nav-prev:hover {
    transform: scale(1.1);
}

.testimonial-nav-next::after,
.testimonial-nav-prev::after {
    display: none;
}

.testimonial-nav-next svg,
.testimonial-nav-prev svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-slider {
        padding-bottom: 70px !important;
    }

    .testimonial-nav-next,
    .testimonial-nav-prev {
        width: 36px;
        height: 36px;
        bottom: 15px;
    }

    .testimonial-nav-next svg,
    .testimonial-nav-prev svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-nav-next {
        left: 50%;
        margin-left: 6px;
        transform: translateX(0);
    }

    .testimonial-nav-prev {
        right: 50%;
        margin-right: 6px;
        transform: translateX(0);
    }

    .testimonial-nav-next:hover {
        transform: scale(1.1);
    }

    .testimonial-nav-prev:hover {
        transform: scale(1.1);
    }
}

/* Place testimonial navigation under the slider */
.testimonial-nav-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
}

.testimonial-nav-controls .testimonial-nav-next,
.testimonial-nav-controls .testimonial-nav-prev {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0;
    transform: none;
}
