/* Custom styles for the modern look */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e2e8f0;
}

/* Animated gradient backgrounds for hero slides */
.animated-gradient-1 {
    background: linear-gradient(-45deg, #0f172a, #115e59, #000000, #164e63);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}
.animated-gradient-2 {
    background: linear-gradient(-45deg, #0f172a, #065f46, #000000, #155e75);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}
.animated-gradient-3 {
    background: linear-gradient(-45deg, #0f172a, #134e4a, #000000, #0c4a6e);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism effect for the header */
.header-glass {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled {
     background: rgba(10, 10, 10, 0.85);
     border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Custom button style - Note: These use Tailwind's @apply directive.
   For a pure CSS file, you would replace these with standard CSS properties.
   However, since Tailwind is loaded via CDN, it processes these at runtime. */
.btn-primary {
    @apply px-6 py-3 font-bold text-white bg-teal-600 rounded-lg shadow-lg hover:bg-teal-700 transition-all duration-300 transform hover:scale-105;
}

.btn-secondary {
    @apply px-6 py-3 font-bold text-white bg-gray-700 rounded-lg shadow-lg hover:bg-gray-600 transition-all duration-300 transform hover:scale-105;
}

.theme-card {
    @apply bg-gray-800 p-8 rounded-xl shadow-lg transform hover:-translate-y-2 transition-all duration-300;
    position: relative;
    overflow: hidden;
}
.theme-card:hover {
    box-shadow: 0 0 25px rgba(13, 148, 136, 0.4);
}

/* Scroll-based animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

#globe-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}

/* Dropdown menu styles */
.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
}

/* Hero Slideshow styles */
#home {
    position: relative;
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* New class for the background image layer */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Semi-transparent */
    z-index: 1; /* Behind the content */
}

.slide-content {
    position: relative;
    z-index: 2; /* On top of the background image */
    max-width: 56rem; /* max-w-4xl */
    margin: auto;
}
.slide-content .reveal-slide {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}
.slide.active .slide-content .reveal-slide {
    opacity: 1;
    transform: translateY(0);
}

.slide-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}
.slide-nav-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s;
}
.slide-nav-dot.active {
    background-color: white;
}
