/* Tailwind CSS is loaded via CDN in header.php */

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 0 10px;
    }
    /* Additional responsive styles */
}

.container {
    max-width: 1500px !important;
    width: 100% !important;
}
	

footer, header {
    position: relative !important;
    width: 100% !important;
    transform: scale(1) !important;
}

body, html {
    font-size: 16px !important;
}



@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 5px rgba(255, 58, 58, 0.6), 0 0 10px rgba(255, 58, 58, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 58, 58, 0.9), 0 0 20px rgba(255, 58, 58, 0.7);
    }
}

.glow-animation {
    animation: glowPulse 2s infinite ease-in-out;
}



/* Apply the animation */
.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

nav {
    flex-shrink: 0; /* Prevent shrinking */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it's above everything */
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
}


/* Reset some default browser styles */
body, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Matches the dark theme of Relic */
    color: #fff;
}

header {
    background-color: #111; /* Dark background for the header */
    padding: 20px 0;
}

.logo img {
    width: 150px; /* Adjust size as needed */
}

.fixed-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

nav a:hover, 
nav a:focus {
    text-decoration: none !important;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f39c12; /* Hover color */
	 text-decoration: none !important;
}

.cta .btn {
    background-color: #e74c3c; /* Button color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta .btn:hover {
    background-color: #c0392b; /* Hover color for button */
}

footer {
    background-color: rgba(26, 26, 26, 0.95); /* Dark footer */
    padding: 20px 0;
    text-align: center;
    color: #bbb;
}

/* Fixes the overlay so it properly covers the entire background */
.overlay-bg {
    position: fixed; /* Stays fixed behind content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.8); /* Dark grey transparent effect */
    z-index: -1; /* Keeps it behind content */
}

.main-content {
    padding-top: 330px;
	max-width: 1500px;
}

.main-wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* Optional: Adds padding for better spacing on smaller screens */
}

.container, .main-content {
    width: 100%;
}

.slide-text {
    position: absolute;
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slideshow-container {
    max-width: 1500px;
    margin: 0 auto;
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Staggered Animation Delays */
.animate-delay-100 {
    animation-delay: 0.1s;
    opacity: 0;
}

.animate-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-delay-500 {
    animation-delay: 0.5s;
    opacity: 0;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Glassmorphism */
.glass-effect {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 145, 61, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Glow Effect */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(224, 145, 61, 0.4);
}

/* Improved Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-7xl {
        font-size: 3rem;
    }
    
    .text-8xl {
        font-size: 3.5rem;
    }
    
    .text-5xl {
        font-size: 2.25rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
}

/* Features Slider Styles */
.features-slider-container {
    position: relative;
    padding: 20px 0;
}

.features-slider-track {
    display: flex;
    will-change: transform;
}

.features-slide {
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.features-nav-btn {
    cursor: pointer;
    user-select: none;
}

.features-nav-btn:disabled {
    pointer-events: none;
}

.feature-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-indicator:hover {
    transform: scale(1.2);
}

/* Smooth transitions for slider */
.features-slider-track {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hide navigation arrows on very small screens */
@media (max-width: 640px) {
    .features-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .features-nav-prev {
        transform: translate(-50%, -50%) !important;
        left: 10px !important;
    }
    
    .features-nav-next {
        transform: translate(50%, -50%) !important;
        right: 10px !important;
    }
}
