body {
    font-family: 'Inter', sans-serif;
}

/* Smooth Transitions */
.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* Slide Visibility Control */
.slide {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Slider Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-content>* {
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
}

.slide.active .slide-content>*:nth-child(1) {
    animation-delay: 0.2s;
}

.slide.active .slide-content>*:nth-child(2) {
    animation-delay: 0.4s;
}

.slide.active .slide-content>*:nth-child(3) {
    animation-delay: 0.6s;
}

.slide.active .slide-content>*:nth-child(4) {
    animation-delay: 0.8s;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: countUp 1s ease-out forwards;
    animation-play-state: paused;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Process Steps */
.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: #f97316;
    color: white;
}

.page-section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
    transition: transform 6s linear, opacity 1s ease-in-out;
}

.slide-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Marquee for Partners */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Navigation Active State */
.nav-link.active {
    color: #f97316;
    font-weight: 700;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.3s;
}

.nav-link.active::after {
    width: 100%;
}

/* Glassmorphism Nav */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* --- Advanced Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
}

.lightbox-content:active {
    cursor: grabbing;
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: 15px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #f97316;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* Controls */
.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lightbox-btn:hover {
    background: rgba(249, 115, 22, 0.9);
    transform: scale(1.1);
}

.close-lightbox {
    top: 20px;
    right: 20px;
    font-size: 24px;
    z-index: 2001;
    width: 50px;
    height: 50px;
}

.prev-btn,
.next-btn {
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    width: 60px;
    height: 60px;
    z-index: 2001;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 2001;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: #f97316;
}

/* Gallery Items */
.gallery-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    backface-visibility: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Dropdown Menu */
.dropdown:hover .dropdown-menu {
    display: block;
}