/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.page-center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
/* Header container wrapper */
.header-container-wrapper {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100; /* Lebih tinggi dari promobar */
}

.promo-bar {
  background-color: #004c3f;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Segoe UI", sans-serif;
  position: relative;
  /* z-index: 10; Tetap pertahankan z-index ini */
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.promo-bar a {
  color: #ffd700;
  text-decoration: underline;
  margin-left: 8px;
}

@keyframes slideDownFade {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.ruangguru-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
  /* margin-left: 30px; */
}

.logo-header img {
  height: 40px;
}

.navigation__content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.navig-link {
  padding-block: 15px;
  padding-inline: 5px;
  /* background-color: red; */
  font-weight: 500;
  cursor: pointer;
  position: relative;
  margin: 0px 5px 0px 0px;
  transition: all 0.3s ease;
}

.navig-link:hover {
  color: #2eb5c0;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000; /* Nilai sangat tinggi */
  position: relative;
  margin: 0px 15px 0px 0px;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f5f6 100%);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.container-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero__left {
  flex: 1;
  animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.font-title {
  color: #2eb5c0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.font-banner {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #2a3f54;
}

.btn-banding-paket {
  background-color: #2eb5c0;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-right: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(46, 181, 192, 0.3);
}

.btn-banding-paket:hover {
  background-color: #259ba5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 181, 192, 0.4);
}

.hero__right {
  flex: 0.5;
  text-align: center;
  animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.img-hero img {
  max-width: 150px;
  height: auto;
  transition: transform 0.5s ease;
}

/* About Smartschool Section */
.about-smartschool {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: #2a3f54;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.about-header h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2eb5c0, #4a90e2);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.about-header i {
  margin-right: 10px;
  color: #2eb5c0;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-text {
  /* flex: 1; */
  /* min-width: 300px; */
  /* padding: 0 30px; */
}

.about-text p {
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  flex: 1 1 200px;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(46, 181, 192, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(46, 181, 192, 0.3);
}

.feature-item i {
  font-size: 2rem;
  color: #2eb5c0;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.2rem;
  color: #2a3f54;
  margin-bottom: 10px;
}

.about-image {
  flex: 0.5;
  min-width: 300px;
  text-align: center;
  padding: 30px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

/* Video Profile Section */
#section-kejar-cita2 {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.video-container {
  position: relative;
  height: 420px;
  overflow: hidden;
  width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video_p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
}

.container-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefits-left,
.benefits-mid,
.benefits-right {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid rgba(46, 181, 192, 0.1);
}

.benefits-left:hover,
.benefits-mid:hover,
.benefits-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefits-left h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2a3f54;
}

.benefits-left h3,
.benefits-mid h3,
.benefits-right h3 {
  margin-bottom: 15px;
  color: #2eb5c0;
}

.boxleft-item-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.boxleft-item {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.boxleft-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.boxleft-item i {
  font-size: 24px;
  color: #2eb5c0;
  margin-bottom: 10px;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2a2d34 0%, #1a1c22 100%);
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

.footer__content--top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 50px;
  margin-bottom: 50px;
}

.sec-address {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.sec-address__logo img {
  height: 50px;
}

.sec-address__detail p:first-child {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sec-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer__title {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__title:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: #2eb5c0;
  bottom: 0;
  left: 0;
}

.font-white {
  color: white;
}

.no-space li {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.no-space li:hover {
  color: #2eb5c0;
  transform: translateX(5px);
}

.contact__container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact__container:hover {
  color: #2eb5c0;
}

.sec-follow__content--socmed {
  display: flex;
  gap: 15px;
}

.sec-follow__content--socmed a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.sec-follow__content--socmed a:hover {
  background: #2eb5c0;
  transform: translateY(-3px);
}

.footer__year {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.contact-section div[style*="box-shadow: 0 5px 15px rgba(0,0,0,0.05)"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}
/* Hover and Focus Effects */
input[type="text"],
input[type="email"],
textarea {
  transition: all 0.3s ease !important;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  border-color: #b3d7ff !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #80bdff !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15) !important;
  outline: none;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Card hover effect */
.contact-section > div > div > div:hover {
  transform: translateY(-5px);
}

@media (max-width: 1024px) {
  .container-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-right {
    grid-column: span 2;
  }

  .footer__content--top {
    grid-template-columns: 1fr;
  }

  .sec-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container-hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-banner {
    padding-top: 80px;
  }

  .font-banner {
    font-size: 28px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    padding: 20px 0;
  }

  .about-header h2 {
    font-size: 1.5rem;
  }

  .container-benefits {
    grid-template-columns: 1fr;
  }

  .benefits-right {
    grid-column: span 1;
  }

  .boxleft-item-wrap {
    grid-template-columns: 1fr;
  }

  .hamburger-menu {
    display: flex; /* Pastikan ditampilkan di mobile */
  }
  .navigation__content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .navigation__content.active {
    max-height: 300px;
    padding: 15px 0;
  }

  .navig-link {
    padding: 10px 20px;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .navig-link:hover {
    background: #f5f5f5;
  }

  .sec-menu {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .font-banner {
    font-size: 24px;
  }

  .btn-banding-paket {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }

  .card-title {
    font-size: 22px;
  }

  .about-header h2 {
    font-size: 1.8rem;
  }

  .feature-item {
    flex: 1 1 100%;
  }
}
