/* Custom Styls */

@import url('https://fonts.googleapis.com/css2?family=Carattere&family=Oleo+Script&display=swap');
/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff006f 0%, #d67200 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d6005d 0%, #b35f00 100%);
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    animation: marquee 30s linear infinite;
}

.marquee-container:hover {
    animation-play-state: paused;
}

/* Blob Animation for Background */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text Gradient Utility */
.text-gradient {
    background: linear-gradient(90deg, rgba(255, 0, 111, 1) 0%, rgba(214, 114, 0, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Active State */
.nav-link.active {
    color: #ff006f;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #ff006f, #d67200);
    border-radius: 2px;
}

/* Hero Slider Transitions */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

/* Custom Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================================
   Device Specific Media Queries & System Themes
   ========================================= */

/* --- Phones (Small Devices: < 640px) --- */
@media screen and (max-width: 640px) {
    :root {
        --header-height: 60px;
    }

    /* Improved touch targets for mobile */
    button,
    a.nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Typographic adjustments for small screens */
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Refine spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --- Tablets (Medium Devices: 641px - 1024px) --- */
@media screen and (min-width: 641px) and (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    /* Adjust margins for tablet layouts */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* --- Monitors (Large Devices: > 1025px) --- */
@media screen and (min-width: 1025px) {
    :root {
        --header-height: 80px;
    }

    /* Enhance max-width constraints for ultra-wide screens */
    .max-w-7xl {
        max-width: 90rem;
        /* 1440px */
    }
}
/* =========================================
   Preloader Styles
   ========================================= */

.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, #af007e 0%, #9b4b00 50%, #af007e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.preloader-container.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.circular-loader {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.circular-loader::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ff006f; 
    border-right-color: #d67200;
    animation: rotate 2s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 0, 111, 0.5));
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-container {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulselogo 2s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 111, 0.4);
}

@keyframes pulselogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.welcome-text {
    color: #ffffff;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  font-style: bold;
  font-size: 24px;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
    animation: textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 0, 111, 0.5);
}

@keyframes textGlow {
    0%, 100% { 
        opacity: 0.7;
        text-shadow: 0 0 20px rgba(255, 0, 111, 0.5);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 30px rgba(255, 0, 111, 0.8);
    }
}

.progress-bar {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006f, #d67200);
    border-radius: 10px;
    animation: fillProgress 3s ease-in-out forwards;
    box-shadow: 0 0 15px rgba(255, 0, 111, 0.6);
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .loader-wrapper {
        width: 150px;
        height: 150px;
    }

    .circular-loader,
    .circular-loader::before {
        width: 130px;
        height: 130px;
    }

    .logo-container {
        width: 90px;
        height: 90px;
    }

    .progress-bar {
        width: 250px;
    }
}
