:root {
  --chula-pink: #d96699;
  --chula-grey: #8e8e8e;
  --chula-nav: #6b7280;
  --neutral-100: #f4f4f4;
  --neutral-200: #f2f2f2;
  --neutral-900: #171717;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--neutral-900);
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.chula-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 102, 153, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.chula-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.chula-logo-link img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.chula-nav {
  display: flex;
  gap: 1.8rem;
}

.chula-nav a {
  text-decoration: none;
  color: var(--chula-nav);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.chula-nav a:hover {
  color: var(--chula-pink);
}

.chula-nav a.active {
  color: #2f2f2f;
  font-weight: 700;
}

.chula-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chula-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f3f3f3;
  border: 1px solid #e7e7e7;
}

.chula-lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-width: 38px;
  height: 28px;
  padding: 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #919191;
  cursor: pointer;
}

.chula-lang-switch .is-active {
  background: #fff;
  color: #4f4f4f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.chula-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f8f8f;
  background: transparent;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.chula-icon-btn:hover {
  background: #f3f3f3;
  color: #656565;
}

.hero {
  color: #fff;
  padding: 5.5rem 0;
  background: linear-gradient(90deg, #d96699 0%, #e085b0 55%, #fdf2f7 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero p {
  margin: 1.2rem 0 0;
  max-width: 780px;
  line-height: 1.7;
}

.btn {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 46px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.btn-grey {
  background: var(--chula-grey);
}

.btn-pink {
  background: var(--chula-pink);
}

.course-section {
  border-top: 2px solid var(--chula-pink);
  border-bottom: 2px solid var(--chula-pink);
  background: var(--neutral-100);
  padding: 2rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.course-section h2 {
  margin: 0;
  color: var(--chula-pink);
  font-size: clamp(2rem, 4vw, 3rem);
}

.course-section .lead {
  font-size: 1.2rem;
  font-weight: 700;
}

.course-section p {
  line-height: 1.7;
}

.cards-section {
  padding: 3.5rem 0;
}

.cards-section h2 {
  margin: 0 0 2rem;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
}

.pink-bg {
  background: #c477a8;
}

.gradient-bg {
  background: linear-gradient(180deg, #c477a8 0%, #d8d3d8 100%);
}

.cards {
  display: grid;
  gap: 1.2rem;
}

.proud-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.our-service-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr !important;
}

.card {
  background: var(--neutral-200);
  border-radius: 14px;
  padding: 1.2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.service-card {
  min-height: 330px;
  text-align: center;
}

.service-card img {
  width: min(150px, 62%);
  max-height: 110px;
  margin: 0 auto;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  font-size: 2.1rem;
}

.service-card .service-text {
  margin: 0;
  color: #3f3f3f;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
}

.news-section,
.dream-section,
.tutor-section,
.frame-section,
.contact-section {
  background: #f2f2f2;
}

.news-section {
  padding: 3rem 0 2.2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.news-slide {
  display: none;
}

.news-slide.is-active {
  display: grid;
}

.news-image-wrap {
  position: relative;
  z-index: 0;
}

.news-image-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
}

.news-dot {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: var(--chula-pink);
  opacity: 0.9;
}

.news-dot.dot-lg {
  width: 104px;
  height: 104px;
  left: -38px;
  top: 100px;
}

.news-dot.dot-sm {
  width: 14px;
  height: 14px;
  left: 245px;
  top: 4px;
}

.news-dot.dot-md {
  width: 44px;
  height: 44px;
  right: 20px;
  top: 68px;
}

.news-content {
  text-align: right;
}

.news-content h2 {
  margin: 0;
  color: var(--chula-pink);
  font-size: clamp(2rem, 4vw, 3rem);
}

.news-content p {
  margin: 2.2rem 0 1.3rem auto;
  max-width: 520px;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
}

.news-content .btn {
  min-width: 150px;
  height: 42px;
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.news-dot-btn {
  border: 0;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cdcdcd;
  cursor: pointer;
}

.news-dot-btn.is-active {
  background: #9f9f9f;
}

.dream-section {
  padding: 2.2rem 0 1.2rem;
  background: linear-gradient(180deg, #f3f3f3 0%, #f0eff1 100%);
}

.dream-inner {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
  padding: 2.1rem 2.2rem 1.6rem;
  background: #f3f3f3;
  overflow: hidden;
}

.dream-left {
  position: absolute;
  left: 2.2rem;
  bottom: 2rem;
  z-index: 3;
}

.dream-left h3 {
  margin: 0;
  color: var(--chula-pink);
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dream-left .btn {
  min-width: 132px;
  height: 38px;
  margin-top: 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.dream-right {
  position: absolute;
  right: 2.2rem;
  top: 2.4rem;
  color: var(--chula-pink);
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  font-weight: 700;
  text-align: right;
  z-index: 3;
}

.dream-bubbles span {
  position: absolute;
  border-radius: 999px;
  background: var(--chula-pink);
  opacity: 0.55;
  filter: saturate(0.92);
  z-index: 1;
}

.dream-bubbles span:nth-child(1) { width: 56px; height: 56px; left: 20px; top: 56px; }
.dream-bubbles span:nth-child(2) { width: 20px; height: 20px; left: 136px; top: 98px; }
.dream-bubbles span:nth-child(3) { width: 74px; height: 74px; left: 210px; top: 76px; }
.dream-bubbles span:nth-child(4) { width: 32px; height: 32px; left: 312px; top: 128px; }
.dream-bubbles span:nth-child(5) { width: 30px; height: 30px; left: 346px; top: 62px; }
.dream-bubbles span:nth-child(6) { width: 64px; height: 64px; left: 420px; top: 130px; }
.dream-bubbles span:nth-child(7) { width: 84px; height: 84px; left: 546px; top: 108px; }
.dream-bubbles span:nth-child(8) { width: 36px; height: 36px; left: 684px; top: 92px; }
.dream-bubbles span:nth-child(9) { width: 42px; height: 42px; left: 834px; top: 108px; }
.dream-bubbles span:nth-child(10) { width: 22px; height: 22px; left: 914px; top: 58px; }
.dream-bubbles span:nth-child(11) { width: 16px; height: 16px; left: 970px; top: 42px; }
.dream-bubbles span:nth-child(12) { width: 34px; height: 34px; left: 1080px; top: 72px; }

.tutor-section {
  padding: 0.4rem 0 0;
  background: #f0eff1;
}

.tutor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.tutor-logo {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 186px;
}

.tutor-logo img {
  width: min(250px, 78%);
}

.tutor-ready {
  background: linear-gradient(135deg, #c477a8 0%, #c06fa2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tutor-ready p {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.tutor-ready p span {
  color: #5f5f5f;
}

.frame-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-section {
  padding: 2.2rem 0 3rem;
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-logo {
  width: 96px;
  flex-shrink: 0;
}

.contact-content h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.2;
}

.contact-content p {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  line-height: 1.65;
}

.chula-intro-page {
  background: #efefef;
}

.intro-hero {
  overflow: hidden;
  background: #be71a1;
  border-bottom-left-radius: 50% 14%;
  border-bottom-right-radius: 50% 14%;
}

.intro-hero-inner {
  text-align: center;
  color: #fff;
  padding: 4.2rem 1rem 4.8rem;
}

.intro-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 1.1;
}

.intro-hero p {
  margin: 2.2rem auto 0;
  max-width: 1000px;
  font-size: clamp(1.1rem, 1.85vw, 2rem);
  line-height: 1.65;
}

.intro-logo {
  margin: 2.8rem auto 0;
  width: min(200px, 44vw);
  opacity: 1;
}

.intro-vision-section {
  padding: 2.8rem 0 3.2rem;
  background: #efefef;
}

.intro-vision-inner h2 {
  margin: 0 0 1.4rem;
  text-align: center;
  color: #be71a1;
  font-size: clamp(2.3rem, 4.3vw, 4.2rem);
  line-height: 1.1;
}

.intro-vision-card {
  background: #be71a1;
  border-radius: 18px;
  padding: 2.1rem 2.4rem 2.2rem;
  color: #fff;
}

.intro-vision-quote-mark {
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.8;
  font-weight: 700;
}

.intro-vision-card p {
  margin: 0.4rem 0 1.5rem;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.65;
}

.intro-vision-card strong {
  display: inline-block;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  letter-spacing: 0.02em;
}

.intro-mission-section {
  padding: 0 0 2.6rem;
  background: #efefef;
}

.intro-mission-inner {
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.3) 26%, rgba(255, 255, 255, 0.2) 100%),
    url("../images/chula-ai1 1.png") center/cover no-repeat;
  border-bottom-left-radius: 50% 10%;
  border-bottom-right-radius: 50% 10%;
  padding: 2.2rem 3.4rem 3.8rem;
}

.intro-mission-inner h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
}

.intro-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.intro-mission-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.mission-index {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700;
  color: #111;
  text-align: center;
}

.mission-text {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1.45;
  font-weight: 700;
}

.intro-responsible-section {
  padding: 1.6rem 0 3rem;
  background: #efefef;
}

.intro-responsible-card {
  position: relative;
  overflow: hidden;
  border: 4px solid #d96699;
  border-radius: 38px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.06);
  background: #f3f3f3;
  min-height: 500px;
  padding: 2rem 2rem 2.2rem;
}

.intro-responsible-content {
  position: relative;
  z-index: 3;
  width: min(68%, 860px);
}

.intro-responsible-content h2 {
  margin: 0;
  color: #d96699;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.35;
}

.intro-responsible-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.intro-responsible-list li {
  position: relative;
  padding-left: 2.2rem;
  color: #d96699;
  font-size: clamp(1.15rem, 1.65vw, 1.75rem);
  line-height: 1.8;
}

.intro-responsible-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.33rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #d96699;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.intro-responsible-robots {
  position: absolute;
  right: -24px;
  bottom: -6px;
  width: min(44%, 500px);
  z-index: 2;
}

.robot-backdrop {
  position: absolute;
  width: 100%;
  right: 72px;
  bottom: 118px;
  opacity: 0.15;
  transform: scale(1.25);
}

.robot-foreground {
  position: relative;
  margin-left: auto;
  width: min(70%, 290px);
}

.intro-map-section {
  padding: 0 0 1.2rem;
  background: #efefef;
}

.intro-map-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.intro-map-title {
  background: #be71a1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.intro-map-title h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3.1vw, 3.2rem);
  line-height: 1.25;
}

.intro-map-frame {
  min-height: 250px;
}

.intro-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
}

.intro-contact-section {
  padding: 1.1rem 0 2.8rem;
  background: #efefef;
}

.intro-contact-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.intro-contact-logo {
  width: 110px;
  flex-shrink: 0;
}

.intro-contact-content h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  line-height: 1.23;
}

.intro-contact-content p {
  margin: 1rem 0 0;
  font-size: clamp(1.3rem, 1.6vw, 1.85rem);
  line-height: 1.55;
}

.chula-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  text-align: center;
}

.chula-main-fallback {
  padding: 2.5rem 0;
}

@media (min-width: 701px) and (max-width: 1000px) {
  .proud-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .our-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1001px) {
  .proud-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .our-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1000px) {
  .two-col {
    grid-template-columns: 1fr;
  }

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

  .news-content {
    text-align: center;
  }

  .news-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4rem;
  }

  .dream-inner {
    min-height: 320px;
    padding: 1.6rem 1.2rem 1.2rem;
  }

  .dream-left,
  .dream-right {
    position: static;
    text-align: center;
  }

  .dream-left {
    margin-bottom: 1.1rem;
  }

  .dream-bubbles span:nth-child(n + 8) {
    display: none;
  }

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

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-hero {
    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;
  }

  .intro-hero-inner {
    padding: 3rem 0.4rem 3.8rem;
  }

  .intro-hero p {
    margin-top: 1.6rem;
  }

  .intro-vision-card {
    padding: 1.8rem 1.5rem 1.8rem;
  }

  .intro-mission-inner {
    padding: 1.8rem 1.2rem 3rem;
  }

  .intro-mission-list li {
    grid-template-columns: 58px 1fr;
  }

  .intro-responsible-card {
    min-height: 460px;
  }

  .intro-responsible-content {
    width: 100%;
    padding-right: 220px;
  }

  .intro-responsible-robots {
    width: 300px;
    right: -22px;
  }

  .intro-map-grid {
    grid-template-columns: 175px 1fr;
  }

  .intro-map-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
  }
}

@media (max-width: 700px) {
  .chula-nav {
    display: none;
  }

  .chula-header-inner {
    min-height: 68px;
    justify-content: space-between;
  }

  .chula-logo-link img {
    width: 50px;
    height: 50px;
  }

  .news-section {
    padding-top: 2rem;
  }

  .news-content p {
    font-size: 1.15rem;
  }

  .dream-inner {
    min-height: 240px;
    border-radius: 14px;
  }

  .dream-bubbles span:nth-child(n + 6) {
    display: none;
  }

  .tutor-logo {
    min-height: 150px;
  }

  .intro-vision-section {
    padding-top: 2.2rem;
  }

  .intro-vision-card p {
    line-height: 1.6;
  }

  .intro-mission-inner {
    border-bottom-left-radius: 40% 8%;
    border-bottom-right-radius: 40% 8%;
    padding-bottom: 2.6rem;
  }

  .intro-mission-list {
    gap: 0.2rem;
  }

  .intro-mission-list li {
    grid-template-columns: 42px 1fr;
    gap: 0.55rem;
    padding: 0.45rem 0;
  }

  .intro-responsible-card {
    border-radius: 24px;
    min-height: 0;
    padding: 1.2rem 1rem 1.2rem;
  }

  .intro-responsible-content {
    padding-right: 0;
  }

  .intro-responsible-list li {
    padding-left: 2rem;
    line-height: 1.65;
  }

  .intro-responsible-list li::before {
    top: 0.2rem;
  }

  .intro-responsible-robots {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: 1rem;
  }

  .robot-backdrop {
    right: auto;
    left: 18%;
    bottom: 28px;
    width: 70%;
  }

  .robot-foreground {
    margin: 0 auto;
    width: min(58%, 220px);
  }

  .intro-map-grid {
    grid-template-columns: 1fr;
  }

  .intro-map-title {
    justify-content: flex-start;
  }

  .intro-map-title h2 br {
    display: none;
  }

  .intro-contact-inner {
    flex-direction: column;
  }
}

