* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c5530;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo i {
  font-size: 2rem;
  color: #009aae;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #2c5530;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #d4a574;
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  /* min-height: 120vh; */
  height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #00e1ff 0%, #40ff008a 100%);
  color: white;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hp-only {
  display: none;
}

.bg-hero {
  background: url(img/2.jpeg);
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}
.hero-image1 {
  display: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 0 50px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  /* background: linear-gradient(45deg, #0000009e, #60afd4); */
  background-color: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(45deg, #0091ff, #3a8bd7);
  color: white;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.6);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-image {
  flex: 1;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background-color: #181818; */
  position: relative;
  height: 500px;
}

.hero-image img {
  width: 80%;
  height: 100%;
  object-position: center;
  margin: 5px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  overflow: hidden;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #2c5530;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  /* background: linear-gradient(45deg, #00d0ff, #b5895b); */
  background: linear-gradient(45deg, #0091ff, #3a8bd7);

  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: #2c5530;
  margin-bottom: 2rem;
  position: relative;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  /* background: #d4a574; */
  background: linear-gradient(45deg, #0091ff, #3a8bd7);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat h4 {
  font-size: 2.5rem;
  /* color: #d4a574; */
  color: #0091ff;

  margin-bottom: 0.5rem;
  font-weight: 700;
}

.about-image {
  position: relative;
  height: 400px;
}

.about-image img {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s;
  height: 100%;
  object-fit: cover;
  object-position: 0% 30%;
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Programs Section */
.programs {
  padding: 120px 0;
  background: white;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.program-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(212, 165, 116, 0.1);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* background: linear-gradient(90deg, #d4a574, #b5895b, #d4a574); */
  background: linear-gradient(45deg, #0091ff, #3a8bd7);
}

.program-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.program-card i {
  font-size: 4rem;
  /* color: #d4a574; */
  color: #0091ff;

  margin-bottom: 1.5rem;
  display: block;
}

.program-card h3 {
  font-size: 1.6rem;
  color: #2c5530;
  margin-bottom: 1.2rem;
}

.program-card p {
  color: #666;
  line-height: 1.7;
}

/* Gallery Section */
.gallery {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 280px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44, 85, 48, 0.95));
  color: white;
  padding: 2.5rem 2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  /* background: linear-gradient(135deg, #2c5530 0%, #1a3a20 100%); */
  /* background: linear-gradient(45deg, #0091ff, #b5b5b5); */
  background: linear-gradient(45deg, #d3efff9e, #006a98);

  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: #1a1a1a;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 15px;
  flex-shrink: 0;
}

.contact-item h4 {
  /* color: #d4a574; */
  color: #1a1a1a;

  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #d4a574;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

.smp {
  background-color: white;
  /* height: 100px; */
  /* width: 600px; */
  /* position: absolute; */
  /* bottom: -20px; */
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  color: #1a1a1a;
  padding: 10px;
}
.smp img {
  object-fit: contain;

  width: 80px;
  height: 80px;
}
.nama-sekolah {
  padding: 5px;
  margin-left: 20px;
  font-size: large;
}

.daftar-logo {
  background-color: #006a98;
  height: 100px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nama-logo {
  display: flex;
  padding: 10px;
  margin: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10%;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  .hp-only {
    display: block;
    /* background-color: #1a1a1a; */
    margin: auto;
    margin-right: 100px;
    flex-direction: column;
  }

  .hp-only .smp {
    display: flex;
    flex-wrap: wrap;
  }
  .nav-menu.active {
    left: 0;
  }
  .nama-sekolah {
    display: none;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    /* padding-top: 100px; */
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    min-height: 170vh;
    padding: 100px 0;
  }
  .hero-image .pst {
    display: none;
  }

  .daftar-logo {
    background-color: #006a98;
    height: 100px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
    /* gap: 0; */
  }

  .logo2 {
    background-color: #000000;
    height: 100%;
    width: 90%;
    /* padding: 10px; */
    display: flex;
    gap: 5%;
    justify-content: center;
    align-items: center;
  }

  .hero-image {
    display: flex;
  }
  .hero-image .smp {
    display: flex;
    flex-direction: row-reverse;
    width: 50%;
    flex-wrap: wrap;
    /* background-color: white; */
    /* height: 100%; */
    justify-content: center;
    margin-top: 100px;
  }

  .hero-content {
    max-width: 100%;
    /* background-color: #2c5530; */
    align-items: center;
  }
  .hero-content p {
    text-align: center;
    width: 90%;
    margin: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
    .hero-image1 {
      width: 90%;
    }
  }

  .smp {
    display: none;
    top: 20px;
    width: 90%;
    font-size: x-small;
    /* flex-direction: column; */
    align-items: center;
    /* position: relative; */
    /* flex-direction: column; */
    /* justify-content: center; */
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
.visi-misi {
  margin: 10px;
}

.visi {
  margin: 10px;
  /* background-color: #006a98; */
}
.misi {
  margin: 10px;
}

/* slide show */

.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  height: 100vh;
  min-height: 500px;
}

/* Slides */
.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Images */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide Content */
.slide-content {
  position: absolute;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  width: 100%;
  padding: 40px;
  text-align: left;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.slide-content .btn {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.slide-content .btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Navigation Arrows */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 2rem;
  transition: 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 0 5px 5px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots Indicators */
.dots-container {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #ff6b35;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .slide-content h2 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1.1rem;
  }
  .slide-content {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 480px) {
  .slide-content h2 {
    font-size: 1.5rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
}
