* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html{
  scroll-behavior:smooth;
}

.navbar {
  width: 100%;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  font-size: 14px;
  position: relative;
  z-index: 1000;
}

.logo {
  width: 100px;
  cursor: pointer;
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 20px;
  position: relative;
  font-size: 16px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.sidebar-only {
  display: none !important;
}

.nav-links li a:hover {
  color: lightblue;
}

.nav-links li:not(.sidebar-only)::after {
  content: '';
  height: 3px;
  width: 0;
  background: lightblue;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.5s;
}

.nav-links li:not(.sidebar-only):hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; 
    flex-direction: column;
    width: 70%; 
    height: 100vh;
    background: #232739; 
    position: fixed;
    top: 0;
    right: -70%;
    transition: right 0.4s ease;
    padding: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    right: 0; 
  }

  .sidebar-only {
    display: block !important;
  }

  .sidebar-title {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .sidebar-title a {
    font-weight: bold;
    font-size: 18px;
    text-transform: none !important;
  }

  .nav-links li {
    margin: 0; 
    width: 100%;
    text-align: left; 
  }

  .nav-links li a {
    display: block;
    padding: 18px 25px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links li a:hover, 
  .nav-links li.active a {
    background: #3a86ff; 
    color: white;
  }

  .sidebar-footer {
    margin-top: auto; 
    padding: 20px 25px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li::after {
    display: none; 
  }

  .hamburger {
    display: block;
    z-index: 1001; 
  }
}

.header-text{
    position: relative; 
    z-index: 10;       
    flex: 1;           
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    color: white;
    text-align: center;
    pointer-events: none;
}

.header-text h1{
  font-size: 90px;
  margin: 10px;
}

.header-text p{
  font-size: 30px;
  margin: 10px;
}

.landing {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.landing .text {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  text-align: center;
}

.landing .text h1 {
  color:  #0072ff;
  font-size: 90px;
}

.header-text p{
  margin: 20px auto;
  font-weight: 100;
  line-height: 25px;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.slide.active {
    opacity: 1;
}

.bg_img1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url("image/ANGKATAN 70.JPG");
}

.bg_img2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url("image/ANGKATAN\ 69.jpg"); 
}

.bg_img3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url("image/ANGKATAN\ 68.jpg"); 
}

.section2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 125vh;
}

.left {
  background: linear-gradient(135deg, #d9d9d9, #ffffff);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

.left h1 {
  font-size: 3em;
  margin: 0 0 20px;
  color: #333;
}

.left h2 {
  font-size: 2em;
  margin: 0 0 15px;
  color: #555;
}

.left p {
  font-size: 1.2em;
  margin: 10px 0;
  color: #444;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  margin-top: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  border: none;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.6);
}

.right {
  background-image: url("image/Flyer72.png"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg_img3 {
  background-color: aliceblue;
  background-position: center;
  background-size: cover;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1050px;
  margin: 50px auto;
  aspect-ratio: 16 / 9;
  background: #000; 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-link {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-family: sans-serif;
  font-size: 12px;
  transition: background 0.3s;
  z-index: 10;
}

.yt-link:hover {
  background: rgba(255, 0, 0, 0.9); 
}

.yt-link img {
  width: 20px;
  margin-right: 8px;
}

.section-why {
    padding: 80px 20px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    color: #333;
    background-color: aliceblue;
}

.sw-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.sw-line {
    width: 120px;
    height: 4px;
    background-color: #448aff; 
    margin: 0 auto 25px;
}

.sw-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.sw-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; 
}

.sw-item {
    flex: 1;
    min-width: 280px;
    padding: 10px;
}

.sw-icon {
    margin-bottom: 20px;
}

.sw-icon .material-symbols-outlined {
    font-size: 50px;
    color: #448aff;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.sw-item h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.sw-item p {
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

header:hover {
      background-color: #357ab8;
    }

.news-container {
  display: flex;            
  gap: 25px;
  margin-top: 30px;
  overflow-x: auto;         
  padding-bottom: 15px;     
  scroll-snap-type: x mandatory;
}

.news-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 calc(33.333% - 20px); 
  scroll-snap-align: start;
  min-width: 250px;
}

.news-container::-webkit-scrollbar {
  height: 8px;
}
.news-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-thumb {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.news-body {
  padding: 15px;
}

.news-body h3 {
  margin: 0;
  font-size: 18px;
  color: #222;
}

.news-body .date {
  font-size: 12px;
  color: #777;
  display: block;
  margin: 5px 0;
}

.news-body p {
  font-size: 14px;
  color: #555;
  margin: 8px 0;
}

.read-more {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
  font-size: 14px;
}

.read-more:hover {
  text-decoration: underline;
}

.news1 {
  background-image: url("image/malam\ kreativitas.png");
}

.news2 {
  background-image: url("image/IMG_2236.jpg");
}

.news3 {
  background-image: url("image/pesparawi.png");
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

.popup:target {
  display: block;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: #fff;
  margin: 8% auto;
  padding: 30px;
  width: 60%;
  max-width: 800px;
  max-height: 70%;
  border-radius: 10px;
  text-align: justify;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  overflow-y: auto;
}

.popup-header {
  text-align: center;
  margin-bottom: 20px;
}

.popup-title {
  font-size: 28px;
  font-weight: bold;
  color: #004aad; 
  text-transform: uppercase;
  margin-bottom: 10px;
}

.popup-subtitle {
  font-size: 18px;
  font-style: italic;
  color: #d35400; 
}

.popup-images {
  display: flex;
  gap: 20px;              
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;        
}

.popup-img-box {
  flex: 1;
  text-align: center;
}

.popup-img-box img {
  width: 100%;
  max-width: 400px;       
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.caption {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.caption {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.popup-body p {
  margin-bottom: 15px;
  text-align: justify;
}

.highlight {
  background: #fdf2d0;
  border-left: 5px solid #f39c12;
  padding: 10px 15px;
  font-style: italic;
  margin: 20px 0;
  color: #333;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  color: #888;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@media (max-width: 600px) {
  .popup-content {
    width: 95%;
    padding: 15px;
  }
  .popup-title {
    font-size: 22px;
  }
}


.cta-section {
    text-align: center;
    padding: 100px 40px;
    color: white; 
    background: linear-gradient(135deg, #b8c6db 0%, #f5f7fa 100%); 
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%); 
    background: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 100%); 
    background: linear-gradient(135deg, #aec6cf, #e1bee7, #ffecb3);
    
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.cta-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem); 
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-description {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-join {
    display: inline-block;
    background-color: #f38d31;
    color: white;
    padding: 16px 45px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(243, 141, 49, 0.3);
}

.btn-join:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 141, 49, 0.4);
}

footer {
  background: black;
  position: relative;
  width: 100%;
  height: auto;
  padding: 50px 0px;
}

footer .f-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
  grid-gap: 5px;
}

.footer-center,
.footer-right {
  padding-top: 50px;
}

footer h2 {
  position: relative;
  color: white;
  font-weight: 500;
  margin-bottom: 30px;
}

footer h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0px;
  width: 150px;
  height: 2px;
  background-color: white;
}

footer li {
  list-style-type: none;
}

.footer-left {
  display: flex;
  align-content: center;
  justify-content: center;
}

.footer-left img {
  margin: auto;
  width: 300px;
  height: 300px;
}

.footer-center li a {
  color: white;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 20px;
}

.footer-center li a:hover {
  color: lightblue;
}

.icon {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 50px);
  grid-gap: 20px;
}

.icon li {
  list-style-type: none;
}

.icon li a {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: grey;
  display: grid;
  align-content: center;
  justify-content: center;
  border-radius: 40%;
}

.icon li a img {
  width: 30px;
  height: 30px;
}

.icon li a:hover {
  background: lightblue;
}

@media (max-width: 768px) {
  .section2 {
    grid-template-columns: 1fr;
  }
  .right {
    height: 50vh;
  }
  .sw-container {
        flex-direction: column;
        align-items: center;
  }
  .sw-item {
        max-width: 400px;
  }
  .cta-section {
        padding: 60px 20px;
  }
  footer .f-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-center, .footer-right {
    padding-top: 10px;
  }
}

.copyright {
  width: 100%;
  background: rgb(27, 27, 27);
  padding: 8px 0px;
  text-align: center;
  color: white;
}

.section2, .section-why, .container, .section4, .cta-section, footer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}