.navbar {
  background-color: #f3f5ff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
  color: var(--bs-gray-900) !important;
  font-weight: 400;
  padding: 0 15px;
}

.navbar-nav .nav-link.active {
  color: var(--bs-green) !important;
  font-weight: 500;
}

.btn-login {
  background-color: var(--bs-green);
  color: var(--bs-white);
  font-weight: 500;
  padding: 8px 25px;
  border-radius: 50px;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: rgba(var(--bs-green-rgb), 0.9);
  color: var(--bs-white);
}

.hero-section {
  padding: 0;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.hero-container {
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  border-radius: 20px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

.indicator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 30px 0;
}

.indicator {
  width: 50px;
  height: 3px;
  background-color: var(--bs-gray-200);
  margin: 0 5px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: var(--bs-gray-900);
}

.info-box {
  padding: 20px;
  background-color: #f3f5ff;
}

.info-container {
  display: flex;
  position: relative;
}

.info-green-line {
  width: 8px;
  background-color: #4cd964;
  margin-right: 20px;
  border-radius: 4px;
  min-height: 100%;
}

.info-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.functions-container {
  background-color: #62c96b;
  padding: 30px 20px;
  font-family: "Kanit", sans-serif;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.functions-heading {
  text-align: center;
  color: white;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 500;
}

.functions-swiper {
  width: 100%;
  padding: 10px 40px;
}

.function-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: transform 0.3s ease;
}

.function-item:hover {
  transform: translateY(-5px);
}

.function-icon {
  background-color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.material-symbols-rounded {
  font-size: 40px;
  color: #62c96b;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.function-label {
  color: white;
  text-align: center;
  font-size: 16px;
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 24px;
  font-weight: bold;
}

.swiper-button-disabled {
  opacity: 0.3 !important;
}

.app-container {
  background-color: #f3f5ff;
}

.app-header {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 1rem;
}

.app-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--bs-dark);
}

.app-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 2rem 0;
}

.app-section:nth-child(even) {
  flex-direction: row;
}

.app-info {
  flex: 1;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.app-images {
  flex: 1;
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: visible;
}

.app-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.app-logo img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

.app-logo h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--bs-dark);
  margin: 0;
}

.app-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--bs-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.app-features {
  list-style-type: none;
  padding-left: 0;
  display: inline-block;
  text-align: left;
}

.app-features li {
  color: var(--bs-dark);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.app-features li:before {
  content: "•";
  color: var(--bs-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.iphone-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.3s ease;
  width: 160px;
}

.iphone img {
  width: 100%;
  height: auto;
  display: block;
}

.teacher-phone-1,
.parent-phone-1,
.student-phone-1 {
  top: 40%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.teacher-phone-2,
.parent-phone-2,
.student-phone-2 {
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.teacher-phone-3,
.parent-phone-3,
.student-phone-3 {
  top: 40%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.iphone:hover {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-section {
  display: flex;
  align-items: center;
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.dashboard-section:nth-child(even) {
  flex-direction: row-reverse;
}

.dashboard-info {
  flex: 1;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.dashboard-image {
  flex: 1.2;
  text-align: center;
}

.dashboard-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.dashboard-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

.dashboard-desc {
  font-size: 1.1rem;
  color: var(--bs-gray-600);
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 400px) {
  .function-icon {
    width: 50px;
    height: 50px;
  }

  .material-symbols-rounded {
    font-size: 25px;
  }

  .functions-swiper {
    padding: 5px 25px;
  }
}

@media (max-width: 576px) {
  .functions-container {
    padding: 20px 10px;
  }

  .functions-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .function-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .material-symbols-rounded {
    font-size: 30px;
  }

  .function-label {
    font-size: 12px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 18px;
  }

  .functions-swiper {
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {
  .functions-heading {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .function-icon {
    width: 65px;
    height: 65px;
  }

  .material-symbols-rounded {
    font-size: 32px;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-container {
    height: 300px;
  }
}

@media (max-width: 992px) {
  .functions-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .function-icon {
    width: 70px;
    height: 70px;
  }

  .material-symbols-rounded {
    font-size: 35px;
  }

  .function-label {
    font-size: 14px;
  }

  .app-section,
  .app-section:nth-child(even) {
    flex-direction: column;
  }

  .app-images {
    height: 300px;
    margin-bottom: 2rem;
  }

  .app-info {
    text-align: center;
  }

  .app-features {
    display: inline-block;
    text-align: left;
  }

  .dashboard-section,
  .dashboard-section:nth-child(even) {
    flex-direction: column-reverse;
    padding: 2rem 0;
  }

  .dashboard-info {
    padding: 2rem 1rem;
  }

  .dashboard-title {
    font-size: 1.8rem;
  }

  .dashboard-image {
    margin-bottom: 1rem;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-container {
    height: 400px;
  }
}

.fs-100 {
  font-size: 100px !important;
}