* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff4f7;
  overflow-x: hidden;
}

.copyright {
    margin-top: 25px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.copyright p {
    margin: 0;
}

.header {
  position: relative;
  height: 310px;
  overflow: hidden;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slide 28s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 7s; }
.slideshow img:nth-child(3) { animation-delay: 14s; }
.slideshow img:nth-child(4) { animation-delay: 21s; }

@keyframes slide {
  0% { opacity: 0; }
  8% { opacity: 1; }
  25% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

.header-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,.28);
  padding: 18px;
}

.header-text img {
  width: 140px;
  max-width: 25vw;
  height: auto;
}

.header-text h1 {
  margin: 10px 0 8px;
  font-size: 32px;
}

.typing {
  min-height: 24px;
  font-size: 18px;
}

.menu-icon {
  position: absolute;
  top: 14px;
  right: 18px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 20;
  user-select: none;
}


.dropdown {
  position: absolute;
  top: 54px;
  right: 18px;
  display: none;
  flex-direction: column;
  width: 280px;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(141,23,50,.15);
  z-index: 30;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.dropdown a {
  color: #8d1732;
  text-decoration: none;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(141,23,50,.08);
}

.dropdown a:hover {
  background: rgba(141,23,50,.08);
}

#content {
  background: #fff;
  margin: 14px;
  border-radius: 14px;
  padding: 18px;
  min-height: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.home-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.home-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
  color: #444;
}

.premium-intro {
  background: linear-gradient(135deg, #fffdfd, #fff0f5);
  border: 1px solid #f2d2dc;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(141,23,50,.10);
  margin-bottom: 22px;
}

.intro-badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #8d1732;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-welcome-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-welcome-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.hero-action-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.secondary-btn {
  background: #223548 !important;
}

.notice-window {
  background: linear-gradient(135deg, #fffdfd, #fff0f5);
  border: 1px solid #f2d2dc;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(141,23,50,.10);
  margin-bottom: 22px;
}

.notice-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.notice-window-title {
  font-size: 18px;
  font-weight: bold;
  color: #8d1732;
  margin: 0;
}

.notice-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #8d1732;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.notice-slide-area {
  position: relative;
  min-height: 88px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f4dce3;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 18px;
}

.notice-slide-text {
  width: 100%;
  font-size: 17px;
  color: #333;
  line-height: 1.6;
  text-align: center;
  transition: opacity .35s ease;
}

.promo-slider-box {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
  margin-bottom: 28px;
  background: #f6e7ed;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}

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

.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18));
  display: flex;
  align-items: center;
  padding: 24px;
}

.promo-content {
  color: #fff;
  max-width: 460px;
}

.promo-content h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.promo-content p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
}

.promo-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #8d1732;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.promo-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}

.promo-dot.active {
  background: #fff;
}

.section-title {
  text-align: center;
  margin: 10px 0 8px;
  color: #8d1732;
  font-size: 28px;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin: 0 0 20px;
}

.student-slider-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
}

.student-slider-track {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.student-group {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.student-card {
  background: #fff;
  border: 1px solid #f2d7de;
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.student-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px;
  border: 4px solid #f5d8e0;
  box-shadow: 0 8px 18px rgba(141,23,50,.10);
}

.student-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #223548;
}

.student-level {
  color: #8d1732;
  font-weight: bold;
  margin-bottom: 10px;
}

.student-interview {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.faq-dropdown-wrap {
  margin-top: 40px;
}

.empty-box {
  text-align: center;
  color: #666;
  background: #fff;
  border: 1px dashed #d7c7cc;
  border-radius: 16px;
  padding: 24px;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 6px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.full {
  grid-column: span 2;
}

input, select, textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #dcdfe4;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: inherit;
}

button {
  padding: 11px 15px;
  background: #8d1732;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 10px 12px;
  font-size: 14px;
  color: #444;
  text-align: center;
  background: #fffafc;
}

#popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box {
  background: #fff;
  width: min(90vw, 340px);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.petal {
  position: fixed;
  top: -20px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #ffd9e6, #ffb3c7);
  border-radius: 70% 30% 70% 30%;
  opacity: 0.8;
  pointer-events: none;
  z-index: 100000;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-20px) translateX(0) rotate(0deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(110vh) translateX(80px) rotate(360deg);
    opacity: 0.2;
  }
}

/* PREMIUM HOME ADDITIONS */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}

.why-card {
  background: #fff;
  border: 1px solid #f2d7de;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.why-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.why-card h3 {
  margin: 0 0 8px;
  color: #223548;
  font-size: 18px;
}

.why-card p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

.trust-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  text-align: center;
  margin: 22px 0 28px;
}

.trust-item {
  background: linear-gradient(135deg, #8d1732, #b12d4e);
  color: #fff;
  padding: 16px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(141,23,50,.18);
}

.trust-item span {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.course-card {
  background: #fff;
  border: 1px solid #f2d7de;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

.course-card h3 {
  margin: 0 0 10px;
  color: #223548;
}

.course-card p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 14px;
}

.review-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 320px;
  flex-shrink: 0;
}

.review-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  border: 1px solid #f2d7de;
}

.review-card p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

.review-stars {
  color: #FFD700;
}

.cta-box {
  margin-top: 26px;
  text-align: center;
  padding: 28px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8d1732, #c44569);
  color: #fff;
  box-shadow: 0 12px 24px rgba(141,23,50,.18);
}

.cta-box h2 {
  margin: 0 0 10px;
}

.cta-box p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.cta-box button {
  background: #fff;
  color: #8d1732;
}

.about-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.about-hero-box {
  background: linear-gradient(135deg, #fff7f8, #ffffff);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  margin-bottom: 24px;
}

.about-badge {
  display: inline-block;
  background: #8d1732;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 14px;
}

.about-hero-box h2 {
  margin: 0 0 14px;
  color: #223548;
  font-size: 30px;
}

.about-hero-box p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 14px;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.about-mini-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.about-mini-card h3 {
  margin-top: 0;
  color: #223548;
}

.about-mini-card p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.about-team-title {
  color: #223548;
  margin-bottom: 8px;
}

.about-team-subtitle {
  color: #6b7280;
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.team-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border: 1px solid #eee;
}

.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f4d9df;
  margin-bottom: 12px;
}

.team-card h3 {
  margin: 0 0 6px;
  color: #223548;
}

.team-role {
  color: #8d1732;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-bio {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.team-empty-box {
  text-align: center;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.contact-page-box {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  border: 1px solid #f2d7de;
  text-align: center;
}

.contact-card h3 {
  margin-top: 0;
  color: #223548;
}

.contact-card p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .header { height: 230px; }
  .header-text h1 { font-size: 24px; }
  .typing { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: span 1; }
  #content { margin: 10px; padding: 14px; }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

  .section-title {
    font-size: 24px;
  }

  .notice-slide-text {
    font-size: 15px;
  }

  .promo-slider-box {
    height: 220px;
  }

  .promo-content h3 {
    font-size: 22px;
  }

  .promo-content p {
    font-size: 14px;
  }

  .premium-intro {
    padding: 22px 16px;
  }

  .hero-welcome-text {
    font-size: 14px;
  }

  .hero-action-row {
    flex-direction: column;
    align-items: center;
  }

  .about-page-wrap {
    padding: 10px;
  }
}


@media (max-width: 700px) {

 .dropdown {
  position: fixed;
  top: 0;
  left: -78%;
  width: 78%;
  height: 100vh;
  overflow-y: auto;
  background: rgba(255, 248, 250, 0.97);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(141,23,50,.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 10px;
  transition: left 0.35s ease;
  z-index: 99999;
  border-radius: 0;
  justify-content: flex-start;
  
}

.dropdown a:hover,
.dropdown a:active {
  background: rgba(141,23,50,.08);
  padding-left: 30px;
  transition: all .25s ease;
}
.dropdown.mobile-menu-open {
  left: 0;
}

.menu-logo {
  width: 100%;
  text-align: center;
  padding: 15px 15px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 8px;
}

.menu-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 6px;
}

.menu-logo-text {
  color: #8d1732;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.menu-social {
  margin-top: 10px;
  width: 100%;
  padding: 15px 25px;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.menu-social a {
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  font-size: 28px;
  color: #8d1732;
}

.menu-social a:hover {
  opacity: 0.8;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  z-index: 99998;
}

.mobile-overlay.show {
  display: block;
}

.dropdown a {
  width: 100%;
  padding: 18px 25px;
  font-size: 16px;
  color: #8d1732;
  text-decoration: none;
  border-bottom: 1px solid rgba(141,23,50,.10);
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 34px;
  color: #8d1732;
  cursor: pointer;
}
}
@media (max-width: 700px) {

  .student-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .student-card {
    padding: 12px;
  }

  .student-card img {
    width: 80px;
    height: 80px;
  }

  .student-card h3 {
    font-size: 16px;
  }

  .student-level {
    font-size: 13px;
  }

  .student-interview {
    font-size: 12px;
    line-height: 1.4;
  }

}
@media (max-width: 700px) {

  .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 5px 15px;
    scrollbar-width: none;
  }

  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    min-width: calc(100vw - 80px);
    max-width: calc(100vw - 80px);
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0 auto;
  }

}
@media (min-width: 701px) {
  .faq-dropdown-wrap {
    margin-top: 35px;
  }
}

@media (min-width: 701px) {

  .dropdown {
    width: 340px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    background: #ffffff;
    border-left: 1px solid #ececec;
    box-shadow: -10px 0 20px rgba(0,0,0,.15),
                -30px 0 80px rgba(0,0,0,.25);
    z-index: 99999;
  }

  .menu-logo {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .menu-logo img {
    width: 120px;
  }

  .dropdown a {
    width: 100%;
    padding: 16px 24px;
  }

  .menu-social {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
  }

}

@media (min-width:701px){

   .mobile-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.20);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    display: none;
    z-index: 99998;
  }

  .mobile-overlay.show{
    display:block;
  }

}

@media (min-width:701px){

  .dropdown{
    right: -340px;
    transition: right 0.35s ease;
  }

  .dropdown.desktop-open{
    right: 0;
  }

}

@media (min-width: 701px) {

  .header-text {
    padding-top: 35px;
  }

  .header-text img {
    width: 220px;
    max-width: none;
    margin-bottom: 15px;
  }

  .header-text h1 {
    margin-top: 15px;
  }

}

#loadingPopup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  justify-content:center;
  align-items:center;
  z-index:999999;
}

.loading-box{
  background:#fff;
  width:min(90vw,380px);
  border-radius:14px;
  padding:25px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  border:1px solid #f2d2dc;
}

.loading-box h3{
  margin-top:0;
  color:#8d1732;
}

.loading-box p{
  color:#555;
  line-height:1.6;
}
  