/* ==================== 1. VARIABEL GLOBAL ==================== */
        :root {
            --bg: #111218;
            --accent-blue: #2c7ac4;
            --accent-yellow: #e9b33a;
            --accent-green-light: #72b947;
            --accent-green-dark: #3f9046;
            --glass: rgba(255, 255, 255, 0.08);
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
            --radius: 16px;
            --preloader-duration: 1.6s;
            --site-padding: 24px;
            --max-width: 1100px;
            --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
            --navbar-logo-bg-color: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow)); /* Nilai ini diubah */
        }

        /* ==================== 2. RESET DASAR & TYPOGRAPHY ==================== */
        * {
            box-sizing: border-box;
        }

        html,
        body {
            height: 100%;
        }

        body {
            margin: 0;
            font-family: var(--font-sans);
            color: #eaf5ea;
            background: linear-gradient(180deg, var(--bg) 0%, #1a1b24 50%, #15161f 100%);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }
        
        h1 {
            font-size: 44px;
            margin: 0 0 14px;
            line-height: 1.05;
            letter-spacing: -0.6px;
        }
        
        h2 {
            font-size: 32px;
            margin: 0 0 12px;
        }

        p.lead {
            color: rgba(235, 245, 230, 0.85);
            font-size: 18px;
            margin: 0 0 22px;
        }
        
        h3 {
            margin: 12px 0 6px;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 60px var(--site-padding);
        }

        /* ==================== 3. PRELOADER & ANIMASI DASAR ==================== */
        .preloader {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(17, 18, 24, 0.75), rgba(0, 0, 0, 0.85));
            z-index: 9999;
            backdrop-filter: blur(6px);
        }

        .logo-wrap {
            position: relative;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow));
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
            overflow: hidden;
            animation: preloader-pulse var(--preloader-duration) ease-in-out infinite;
        }

        .logo-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .logo-img-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .orbit {
            position: absolute;
            inset: -14px;
            display: block;
            border-radius: 50%;
            border: 6px solid rgba(255, 255, 255, 0.06);
            animation: orbit-rotate var(--preloader-duration) linear infinite;
            filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
        }

        .orbit::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.01) inset
        }

        .pulse-ring {
            position: absolute;
            inset: -24px;
            border-radius: 50%;
            pointer-events: none;
            animation: pulse var(--preloader-duration) ease-in-out infinite
        }

        @keyframes orbit-rotate {
            from {
                transform: rotate(0)
            }
            to {
                transform: rotate(360deg)
            }
        }

        @keyframes pulse {
            0% {
                opacity: .15;
                transform: scale(.9)
            }
            50% {
                opacity: .6;
                transform: scale(1.06)
            }
            100% {
                opacity: .15;
                transform: scale(.9)
            }
        }

        @keyframes preloader-pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.04);
            }
            100% {
                transform: scale(1);
            }
        }

        .reveal {
            opacity: 0;
            transform: translateY(24px) scale(.99);
            transition: all .7s cubic-bezier(.2, .9, .3, 1)
        }

        .reveal.in-view {
            opacity: 1;
            transform: none
        }

        /* ==================== 4. HEADER & NAVIGASI ==================== */
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px var(--site-padding);
            background: rgba(17, 18, 24, 0.85);
            backdrop-filter: blur(8px);
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .brand .mark {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            background: var(--navbar-logo-bg-color);
            display: grid;
            place-items: center;
            color: white;
            font-weight: 900;
            overflow: hidden;
        }

        .logo-img-header {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
            padding: 8px;
        }

        nav {
            display: flex;
            gap: 16px
        }

        nav a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 10px;
            font-weight: 600
        }

        nav a:hover {
            background: rgba(255, 255, 255, 0.04)
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 28px;
            color: white;
            z-index: 1001;
        }

		/*video*/
		.video-grid {
		  display: grid;
		  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		  gap: 20px;
		}

		.video-box {
		  position: relative;
		  padding-top: 56.25%; /* 16:9 aspect ratio */
		  overflow: hidden;
		  border-radius: 12px;
		  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
		}

		.video-box iframe {
		  position: absolute;
		  top: 0; left: 0;
		  width: 100%;
		  height: 100%;
		  border: none;
		  border-radius: 12px;
		}

		

		/* Countdown */
			.countdown {
			  display: flex;
			  justify-content: left;
			  gap: 20px;
			  margin: 40px 0;
			  flex-wrap: wrap;
			}

			.time-box {
			  text-align: center;
			  background: #004d40; /* hijau tua */
			  color: #fff;
			  padding: 15px 20px;
			  border-radius: 12px;
			  min-width: 80px;
			  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
			}

			.time-box .number {
			  font-size: 2.5rem;
			  font-weight: bold;
			  display: inline-block;
			  transition: transform 0.3s ease, opacity 0.3s ease;
			}

			.time-box .label {
			  font-size: 0.9rem;
			  margin-top: 5px;
			  display: block;
			}

/* Animasi flip saat angka berubah 
.number.flip {
  transform: rotateX(360deg);
  opacity: 0.7;
}*/


		

        /* ==================== 5. BAGIAN HERO (UTAMA) ==================== */
        .content-wrapper {
            padding-top: 80px;
        }

        .hero {
            min-height: 78vh;
            display: grid;
            grid-template-columns: 1fr 420px;
            gap: 40px;
            align-items: center;
            padding: 40px 0
        }

        .hero-left {
            padding-right: 20px
        }
        
        .cta {
            display: flex;
            gap: 14px
        }
        
        .btn {
            background: var(--accent-green-light);
            color: white;
            padding: 12px 18px;
            border-radius: 12px;
            border: 0;
            font-weight: 700;
            box-shadow: 0 8px 18px rgba(114, 185, 71, 0.18);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transition: left 0.3s ease;
            z-index: 1;
        }
        
        .btn:hover::before {
            left: 0;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(114, 185, 71, 0.25);
        }
        
        .btn.alt {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: inherit;
            box-shadow: none;
        }
        
        .btn.alt:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.12);
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }
        
        .ribbon {
            position: relative;
            padding: 10px 16px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
            color: white;
            font-weight: 800;
            display: inline-block
        }

        /* ==================== 6. CAROUSEL & STATS ==================== */
		.showcase {
			background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.05));
			border-radius: 16px;
			padding: 10px;
			box-shadow: var(--card-shadow);
			position: relative;
			overflow: hidden;
			width: 100%;
			max-width: 1200px;
		}

		.carousel-inner {
			position: relative;
			width: 100%;
			height: 300px;
			overflow: hidden;
			border-radius: 12px;
		}

		.carousel-item {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			opacity: 0;
			transition: opacity 0.8s ease-in-out;
			background-size: cover;
			background-position: center;
			border-radius: 12px;
			display: flex;
			align-items: center;
			justify-content: center;
			color: white;
			font-weight: 900;
			font-size: 1.5em;
			text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
		}

		.carousel-item.active {
			opacity: 1;
		}

		.carousel-item:after { /* Menambahkan pseudo-element untuk shading */
			content: '';
			position: absolute;
			inset: 0;
			background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
			z-index: 1;
		}

		.carousel-item h4 { /* Menambahkan styling untuk teks agar di atas shading */
			position: relative;
			z-index: 2;
			margin: 0;
		}

		.dots {
			display: flex;
			gap: 8px;
			position: absolute;
			bottom: 75px;
			left: 18px;
			z-index: 10;
		}

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .dot.active {
            background: var(--accent-yellow)
        }

        .dot:hover {
            background: rgba(255, 255, 255, 0.4);
        }
        
        .stats {
            display: flex;
            gap: 18px;
            margin: 30px 0
        }
        
        .stat {
            background: var(--glass);
            padding: 18px;
            border-radius: 12px;
            min-width: 120px;
            text-align: center
        }
        
        .stat:hover {
			transform: translateY(-8px) scale(1.02);
			box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
		}

		.stat h4 {
			margin: 0;
			font-size: 28px;
		}

		.stat p {
			margin: 6px 0 0;
			font-size: 13px;
			color: rgba(255, 255, 255, 0.75);
		}
		
		
		/* ==================== 6.1. VIDEO SECTION ==================== */
		.video-container {
			position: relative;
			width: 100%;
			padding-bottom: 56.25%; /* Rasio aspek 16:9 */
			height: 0;
			border-radius: var(--radius);
			overflow: hidden;
			box-shadow: var(--card-shadow);
		}

		.video-container iframe,
		.video-container video {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			border: 0;
		}
		
		
		/* ==================== 6.2. TIMELINE SECTION ==================== */
.timeline-section {
    padding-bottom: 60px;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2); /* Mengubah warna garis */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--glass);
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.timeline-dot {
    height: 16px;
    width: 16px;
    background-color: var(--accent-yellow); /* Mengubah warna dot */
    position: absolute;
    top: 28px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
    }
}

		
		/* ==================== 6.4. GALLERY SECTION ==================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d; /* Penting untuk efek 3D */
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.photo:hover img {
    transform: scale(1.05) rotateZ(1deg);
}

/* ==================== Image Pop-up Styling ==================== */
.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-popup.active {
    display: flex;
    opacity: 1;
}

.popup-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.image-popup.active .popup-image {
    transform: scale(1);
}

.image-popup .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}
		
		
        /* ==================== 7. SEKSI KONTEN & CARD ==================== */
        .card {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
            border-radius: var(--radius);
            padding: 18px;
            box-shadow: var(--card-shadow);
            transform-style: preserve-3d;
            transition: transform .28s cubic-bezier(.2, .9, .3, 1), box-shadow .28s;
            cursor: pointer
        }

        .card .img {
            height: 160px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--accent-yellow), var(--accent-green-light));
            display: flex;
            align-items: end;
            padding: 12px;
            color: white;
            font-weight: 800
        }
		
		.card .img.workshop {
		  background-image: url("2dekade.png");
		}

		.card .img.kompetisi {
		  background-image: url("2dekade.png");
		}

		.card .img.kegiatan {
		  background-image: url("2dekade.png");
		}

        .card p {
            margin: 0;
            color: rgba(255, 255, 255, 0.8)
        }

        .card:hover {
            transform: translateY(-10px) rotateX(3deg) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6)
        }

        .card.tilt {
            transition: none
        }
        
        .timeline {
            padding: 40px 0
        }

        .timeline-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px
        }

        /* ==================== 8. GALERI & FOOTER ==================== */
        .gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px
        }

        .photo {
            height: 140px;
            border-radius: 12px;
            overflow: hidden;
            position: relative
        }

        .photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .6s
        }

        .photo:hover img {
            transform: scale(1.06)
        }

        footer {
            padding: 30px 0 80px;
            color: rgba(255, 255, 255, 0.7)
        }
        
        .go-top {
            position: fixed;
            right: 20px;
            bottom: 20px;
            background: linear-gradient(135deg, var(--accent-green-light), var(--accent-blue));
            width: 54px;
            height: 54px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            cursor: pointer;
            z-index: 1000;
            transform: translateY(80px);
            transition: transform .3s ease-out;
        }

        /* ==================== 9. RESPONSIVE ==================== */
        @media (max-width:980px) {
            .hero {
                grid-template-columns: 1fr;
            }

            .timeline-grid {
                grid-template-columns: repeat(2, 1fr)
            }

            .gallery {
                grid-template-columns: repeat(2, 1fr)
            }
        }

        @media (max-width:520px) {
            nav {
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: 70%;
                background: var(--bg);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.3s ease-in-out;
                z-index: 999;
            }

            nav.active {
                right: 0;
                box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
            }

            .hamburger {
                display: block;
            }

            .timeline-grid {
                grid-template-columns: 1fr
            }

            .gallery {
                grid-template-columns: 1fr
            }

            h1 {
                font-size: 28px
            }
            
            h2 {
                font-size: 24px;
            }

            .carousel-inner {
                height: 200px; /* Menyesuaikan tinggi carousel untuk mobile */
            }

            .brand > div:last-child {
                
            }
        }
		
		/* ==================== 7. FOOTER SECTION ==================== */
footer {
    background: var(--glass); /* Menggunakan efek kaca yang konsisten */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
    animation: pulse-glow 2s infinite alternate; /* Animasi kecil untuk logo */
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.5;
}

.copyright {
    color: white;
    font-weight: 600;
}

.credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Animasi untuk logo */
@keyframes pulse-glow {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(1.05);
        opacity: 0.85;
    }
}



/* --- Responsive Section --- */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-green-light);
  text-align: center;
}

.section .text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fffff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card-glass {
  background: var(--glass);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-glass .icon {
  width: 36px;
  height: 36px;
  color: var(--accent-green-light);
  margin-bottom: 12px;
}


.card-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-glass img {
  max-width: 100%;
  border-radius: 12px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .grid-2 .h2 {
    order: 1; /* teks turun ke bawah gambar */
  }

  .grid-2 .card-glass {
    order: 2; /* gambar naik ke atas teks */
  }
  .grid-2 .p {
    order: 3; /* teks turun ke bawah gambar */
  }
}

@media (max-width: 600px) {
  .section h2 {
    font-size: 1.6rem;
  }

  .section .text {
    font-size: 0.95rem;
  }

  .card-glass {
    padding: 16px;
  }
}


#mobile-nav a:hover {
  color: #fff;
  background: #1e7e34; /* hijau lebih gelap untuk hover */
  border-radius: 6px;
}

#mobile-nav a.active {
  color: #fff;
  background: #28a745; /* hijau */
  border-radius: 6px;
  padding: 4px 8px;
}


/* Styling untuk Card Media Partner */
.media-partner-grid {
    /* Sudah didefinisikan di inline HTML, tapi ini untuk memastikan */
}

/* Efek Hover untuk Card Media Partner */
.partner-card:hover {
    transform: translateY(-5px) scale(1.02); /* Card terangkat */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Bayangan lebih kuat saat hover */
}

/* Efek Grayscale pada Logo saat tidak di-hover (Opsional) */
.partner-card img {
    filter: grayscale(10%);
    transition: filter 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%);
}

/* ==================== 11. SPONSOR CARD STYLING (GABUNGAN) ==================== */

/* Pastikan styling dasar section tetap ada */
#sponsor {
    padding-top: 60px;
    padding-bottom: 60px;
}

#sponsor h2 {
    color: white; 
    margin-bottom: 30px;
}

/* Flexbox container untuk semua sponsor */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Penting untuk menyelaraskan kartu yang berbeda ukuran */
    gap: 25px;
    margin-top: 30px;
}

/* Base Card Style: White Background, Shadow, and Hover Effect */
a.sponsor-card {
    background: white; /* Latar belakang putih */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Bayangan */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    transition: transform 0.3s cubic-bezier(.2, .9, .3, 1), box-shadow 0.3s;
    cursor: pointer;
    overflow: hidden;
    color: initial; 
}

/* Efek Hover untuk SEMUA Card Sponsor */
.sponsor-card:hover {
    transform: translateY(-8px) scale(1.02); /* Card terangkat */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); 
}

/* Efek Grayscale pada Logo saat tidak di-hover (Opsional) */
.sponsor-card img {
    filter: grayscale(10%);
    transition: filter 0.3s;
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-card:hover img {
    filter: grayscale(0%);
}

/* Ukuran SPONSOR UTAMA (LARGE) - Paling besar */
.sponsor-card.large {
    width: 100%; 
    max-width: 600px;
    height: 150px;
    padding: 25px;
    margin-bottom: 25px; /* Pemisah visual dari grup lain */
}

/* Ukuran SPONSOR MEDIUM */
.sponsor-card.medium {
    width: calc(33.333% - 17px); /* 3 kolom di desktop */
    min-width: 150px;
    max-width: 200px;
    height: 90px;
    padding: 15px;
}

/* Ukuran SPONSOR KECIL (SMALL) */
.sponsor-card.small {
    width: calc(25% - 18.75px); /* 4 kolom di desktop */
    min-width: 100px;
    max-width: 150px;
    height: 70px;
    padding: 10px;
}

/* ==================== Responsiveness Sponsor Card (Gabungan) ==================== */

@media (max-width: 992px) {
    .sponsor-card.large {
        max-width: 450px;
        height: 120px;
    }

    .sponsor-card.medium {
        width: calc(50% - 12.5px); /* 2 kolom di tablet/tengah */
        max-width: 250px;
        height: 80px;
    }

    .sponsor-card.small {
        width: calc(33.333% - 16.666px); /* 3 kolom di tablet */
        max-width: 150px;
    }
}

@media (max-width: 520px) {
    .sponsor-card.large {
        width: 100%;
        max-width: none;
        height: 100px;
    }
  
    .sponsor-card.medium {
        width: calc(50% - 12.5px); /* 2 kolom di mobile */
        max-width: none;
        height: 70px;
    }
    
    .sponsor-card.small {
        width: calc(50% - 12.5px); /* 2 kolom di mobile, disamakan dengan medium agar rapi */
        max-width: none;
        height: 60px;
    }
}

@media (max-width: 520px) {
    /* Penyesuaian untuk layar Mobile (Lebar kurang dari 520px) */
    
    /* 1. SPONSOR UTAMA: Tetap 1 kolom penuh di atas */
    .sponsor-card.large {
        width: 100%; /* Ambil lebar penuh */
        max-width: none;
        height: 100px;
        order: -1; /* Memastikan kartu ini selalu di urutan teratas (seperti yang sudah dilakukan di HTML) */
    }
  
    /* 2. SPONSOR MEDIUM & KECIL: Tampil 2 kolom di bawah */
    /* Karena semua sponsor lain digabungkan, kita set agar MEDIUM dan SMALL tampil 2 kolom */
    
    .sponsor-card.medium,
    .sponsor-card.small {
        /* Menggunakan 45% lebar container untuk memberikan ruang 10% untuk gap */
        width: calc(50% - 12.5px); 
        min-width: 120px; /* Batasan minimal agar tidak terlalu kecil */
        max-width: none;
        height: 70px;
    }

    .sponsor-card.small {
        height: 60px; /* Sedikit lebih kecil dari medium */
    }
}

/* ==================== POSTER KEGIATAN BESAR STYLING & HOVER ==================== */

/* Efek Hover untuk Poster Besar */
.poster-card-large:hover {
    transform: translateY(-8px) scale(1.005); /* Sedikit terangkat */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6); /* Bayangan lebih dramatis saat hover */
}

/* Mengatur jarak bawah pada Poster Kegiatan agar lebih pendek */
#poster-kegiatan {
    padding-bottom: 10px; /* Nilai default mungkin 60px, kita kurangi jadi 30px */
}


/* ==================== STYLE UNTUK AGENDA HARIAN ==================== */

