:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* To account for the fixed navbar height */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s linear;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.countdown-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

/* Speakers */
.speaker-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.speaker-img-wrapper {
    position: relative;
    overflow: hidden;
}

.speaker-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.speaker-card:hover .speaker-img {
    transform: scale(1.1);
}

.speaker-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(99, 102, 241, 0.9);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.speaker-card:hover .speaker-socials {
    bottom: 0;
}

.speaker-info {
    padding: 20px;
}

/* Scientific Program */
.nav-pills .nav-link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 10px;
    border-radius: 10px;
    text-align: left;
    padding: 15px 25px;
}

.nav-pills .nav-link.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.program-item {
    background: var(--glass-bg);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 15px 15px 0;
}

/* Registration */
.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.05);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

/* Contact Section */
#contact {
    padding-bottom: 50px;
    /* Reduced to allow space for map */
}

.contact-info-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
}

.contact-info-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form .form-control {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: 10px;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--light-color);
}

/* Map Section */
.map-container {
    height: 450px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.map-area {
    margin-bottom: 100px;
    /* Space between map and footer */
}

/* Footer */
footer {
    background: #070b14;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.btn-primary-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.btn-primary-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    color: white;
}