/* CSS Variables for Global Color Pattern */
:root {
    --color-primary: #0B1C33;
    /* Deep Blue/Black */
    --color-secondary: #F26522;
    /* Vibrant Orange (from Logo) */
    --color-accent: #FFC107;
    /* Solar Yellow */
    --color-dark: #050A10;
    --color-light: #F4F7FA;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
    /* Slightly darker green manually or use a variable if we add one */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Custom Styles for non-Tailwind needs */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.clip-path-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

/* Header Specific Styles */
.logo-curve {
    position: relative;
    border-bottom-right-radius: 80px;
    padding-right: 60px;
}

.logo-curve::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: 0;
    background-color: var(--color-primary);
    border-bottom-right-radius: 80px;
    z-index: -1;
}

/* Swiper Custom Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Animations from template1/assets/css/style.css */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Image Hover Zoom Effect */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/* Floating Animation (Standard) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation (Flipped) */
@keyframes float-flipped {
    0% {
        transform: translateY(0px) scaleX(-1);
    }

    50% {
        transform: translateY(-15px) scaleX(-1);
    }

    100% {
        transform: translateY(0px) scaleX(-1);
    }
}

.animate-float-flipped {
    animation: float-flipped 6s ease-in-out infinite;
}

/* Modern Pagination Styling */
.premium-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.premium-pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    font-weight: 700;
    color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-pagination .page-numbers:hover,
.premium-pagination .page-numbers.current {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
}

.premium-pagination .page-numbers.dots {
    background: transparent;
    cursor: default;
}

.premium-pagination .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
}