/* =====================================
   GLOBAL RESET
===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body{
  height: 100%;
  overflow-x: hidden;
}

body{
  background: #0c0f1b;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* Disable scroll saat drawer buka */
body.no-scroll{
  overflow: hidden;
}

/* =====================================
   PAGE TRANSITION
===================================== */
.page-transition{
  position: fixed;
  inset: 0;
  background: #0c0f1b;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: .4s;
}

/* =====================================
   NAVBAR
===================================== */
header.navbar{
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(15,20,35,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.12);

  z-index: 999;
}

.nav-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo{
  width: 38px;
  height: 38px;
}

.brand{
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .5px;
}

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

.themeToggle,
.menu-btn{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .3s;
}

.themeToggle:hover,
.menu-btn:hover{
  background: rgba(255,255,255,.25);
}

/* =====================================
   DRAWER
===================================== */
.drawer{
  position: fixed;
  top: 0;
  right: -310px;

  width: 300px;
  height: 100vh;
  padding: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: rgba(15,20,35,.96);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255,255,255,.15);

  transition: .35s ease;
  z-index: 1100;
}

.drawer.open{
  right: 0;
}

.drawer-header{
  display: flex;
  padding: 25px;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h2{
  font-size: 1.2rem;
}

.drawerClose{
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.drawer a{
  padding-left: 25px;
  padding-right: 25px;
  text-decoration: none;
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: #d7e3ff;
  cursor: pointer;
  transition: .3s;
}

.drawer a i{
  width: 20px;
  margin-right: 6px;
}

.drawer a:hover{
  color: #7cb4ff;
  transform: translateX(4px);
}

.drawer-image {
  width: 100%;
  text-align: center;
  padding-top: 45px;
}

.drawer-image img {
  padding-top: 50%;
  width: 100%;
  height: auto;
  opacity: .85;
  object-fit: contain;
}

/* Overlay */
.overlay{
  position: fixed;
  inset: 0;
  background: #0000007a;
  opacity: 0;
  pointer-events: none;
  transition: .35s;
  z-index: 1000;
}

.overlay.active{
  opacity: 1;
  pointer-events: auto;
}

/* =====================================
   HERO
===================================== */
.hero{
  margin-top: 90px;
  min-height: 75vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  position: relative;
  padding: 0 18px;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
  rgba(100,140,255,.15), transparent 60%);
  pointer-events: none;
}

.hero h1{
  font-size: 2.6rem;
  font-weight: 800;
}

.hero h1 span{
  color: #7fb3ff;
}

.hero h2{
  margin-top: 8px;
  font-size: 1.3rem;
  color: #b9ccff;
}

.hero p{
  margin-top: 10px;
  opacity: .8;
}

.primary{
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg,#7fb3ff,#9dd1ff);
  color: #001026;
  cursor: pointer;
  font-weight: 600;
  transition: .3s;
}

.primary:hover{
  transform: translateY(-2px);
}

/* =====================================
   PROJECT SECTION
===================================== */
.projects{
  padding: 40px 18px;
}

.projects h3{
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.project-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 14px;
}

/* =====================================
   SPONSOR MARQUEE
===================================== */
.sponsor{
  margin-top: 20px;
  overflow: hidden;
}

.marquee{
  white-space: nowrap;
}

/* =====================================
   FOOTER
===================================== */
footer{
  margin-top: 40px;
  padding: 30px 18px;
  background: rgba(10,13,25,.9);
  border-top: 1px solid rgba(255,255,255,.15);
}

.footer-grid{
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}

.footer-grid h4{
  margin-bottom: 8px;
  color: #999999;
}

.footer-grid a{
  text-decoration: none;
  display: block;
  color: #787878;
  margin-top: 4px;
  cursor: pointer;
  transition: .3s;
}

.footer-grid a:hover{
  color: white;
  transform: translateX(3px);
}

.social{
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social a{
  font-size: 22px;
  color: #808080;
}

.social a:hover{
  color: white;
}

.copy{
  text-align: center;
  margin-top: 16px;
  opacity: .6;
}

/* ===== PROJECT SECTION ===== */
.projects{
  padding: 50px 18px;
  max-width: 1150px;
  margin: auto;
}

.projects h3{
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.projects h3 i{
  color: #ff7b5a;
}

/* GRID */
.project-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 18px;
}

/* CARD */
.project-card{
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  transition: .35s ease;
  cursor: pointer;
}

.project-card:hover{
  transform: translateY(-6px);
  border-color: rgba(130,170,255,.7);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

/* IMAGE */
.project-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.project-info{
  padding: 14px;
}

.project-info h4{
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.project-info p{
  font-size: .9rem;
  opacity: .8;
}

/* DATE */
.project-date{
  margin-top: 8px;
  font-size: .8rem;
  opacity: .6;
}

/* ===== SPONSOR ===== */
.sponsor{
  width: 100%;
  margin-top: 35px;
  padding: 25px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}

.marquee{
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: sponsorMove 12s linear infinite;
  will-change: transform;
}

.sponsor-item{
  height: 40px;
  opacity: .8;
  transition: .3s;
  filter: brightness(0) invert(1);
}

.sponsor-item:hover{
  opacity: 1;
  transform: scale(1.1);
}

@keyframes sponsorMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =====================================
   RESPONSIVE
===================================== */
@media(max-width: 768px){
  .hero h1{
    font-size: 2rem;
  }
}