/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 550px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
    margin: -80px;
    
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.4s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text-wrapper {
    max-width: 57%;
    
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--secondary);
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--white);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.slide-title .highlight {
    color: var(--tertiary-b);
    display: block;
    margin-top: 8px;
}

.slide-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--secondary);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    width: 24px;
    border-radius: 10px;
}

/* ========== STATISTICS SECTION - Overlapping Hero ========== */
.stats-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding: 0 0 40px 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 20px 12px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(7,11,115,0.1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.stat-icon {
    margin-bottom: 12px;
}

.stat-icon i {
    font-size: 2rem;
    color: inherit;
}

/* Individual icon colors based on their type - optional */
.stat-card:nth-child(1) .stat-icon i { color: #0ed1c1; }
.stat-card:nth-child(2) .stat-icon i { color: #070b73; }
.stat-card:nth-child(3) .stat-icon i { color: #f4bd00; }
.stat-card:nth-child(4) .stat-icon i { color: #0ed1c1; }
.stat-card:nth-child(5) .stat-icon i { color: #070b73; }
.stat-card:nth-child(6) .stat-icon i { color: #d10019; }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== ABOUT BRIEF ========== */
.about-brief {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    padding: 40px 0;
}

.about-brief-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-text p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ========== HIGHLIGHTS ========== */
.highlights {
    background: rgb(196, 227, 250);
    padding: 40px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.highlight-card {
    background: var(--white);
    padding: 24px 16px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(7,11,115,0.15);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--white);
}

.highlight-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: var(--font-alt);
    font-weight: 700;
}

.highlight-card p {
    color: var(--gray-600);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ========== SPEAKERS ========== */
.speakers {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    padding: 60px 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.speaker-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(7,11,115,0.1);
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.speaker-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.speaker-card h3 {
    font-size: 1.1rem;
    margin: 16px 16px 4px;
    font-family: var(--font-alt);
    color: var(--primary);
}

.speaker-title {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive for 8 speakers */
@media (max-width: 1024px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .speaker-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .speaker-image {
        height: 240px;
    }
}

/* ========== SPONSORS ========== */
.sponsors {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: 40px 0;
}

.sponsors-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 30px 0;
}

.sponsor-logo {
    height: 60px;
    object-fit: contain;
    filter: grayscale(0.3);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* ========== NEWS SECTION ========== */
.news {
    background: rgb(196, 227, 250);
    padding: 40px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(7,11,115,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.news-date {
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: var(--font-alt);
}

.news-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    color: var(--primary);
    gap: 10px;
}

/* ========== GALLERY SLIDER SECTION ========== */
.gallery-slider-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: 40px 0;
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7,11,115,0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--secondary);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}