:root {
  --primary-color: #f18f96;
  --secondary-color: #fdefe8;
  --text-dark: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --container-max: 1200px;
  --blue: #1d4e42;
  --blue2: #14382f;
}

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

body {
  font-family: "Quicksand", sans-serif;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
  padding: 20px 0;
  background: #fffffff5;
  border-bottom: 1px solid #eee;
}

.header-content,.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link, .apply-link,.reading-link{
  border-radius: 37.5rem;
  color: #0c221c;
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 22px;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  gap: 4px;
  line-height: 24px;
  align-items: center;
}
.phone-link svg,.apply-link svg,.reading-link svg {
  width: 24px;
  height: 24px;
}

.phone-link {
  color: #0c221c;
}
.apply-link,.reading-link {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.reading-link{
    max-width: 180px;
}


/* Hero Section */
.hero {
    display: flex;
  background-color: #deede9;
  position: relative;
  overflow: hidden;
  color: #14382f;
}

.hero-content{
    flex-flow: row;
    flex: .75 0 0;
    padding: 120px;
}

.hero-flex{
    position: relative;
}

.hero-content h1 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.hero-content b {
    font-weight: 500;
    font-size: 1.2em;
    display: inline-block;
    margin-top: 15px
}

.hero-cta {
  margin-top: 40px;
  text-align: center;
}

.hero-cta .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 37.5rem;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 22px;
    font-size: 18px;
}

.hero-map {
    display: block;
position: absolute;
bottom: 0;
right: -20px;
width: 150px;
height: auto;
    max-height: 160px;
    object-fit: contain
}
.hero-video-container{
    flex-flow: row;
    flex: 1 0 0;
}

.hero-video {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-video img {
    position: absolute;
    height: 100%;
  width: 100%;
  display: block;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 5px solid rgb(247, 213, 191);
  z-index: 9;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 40px solid var(--primary-color);
  margin-left: 5px;
}

.hero-video-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 24px;
  text-align: center;
  background-color: #f7d5bfe6;
    padding: 28px;
}

/* Form Section */
.form-section {
  padding: 80px 0;
}

.form-grid {
  display: flex;
  gap: 120px;
}

.form-container {
    flex: 1 0 0;
  background: var(--white);
  min-height: 400px;
}

  .form-container h2{
      font-size: 26px;
  }

.form-placeholder {
  text-align: center;
  width: 100%;
}

.form-placeholder iframe{
    max-width: 100%;
}

.compensation-info{
    width: 330px;
}
.compensation-info h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.comp-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  line-height: 1.2;
}

.comp-item h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 5px;
}

.comp-item .amount {
  font-size: 28px;
  font-weight: 500;
}

.comp-image {
  margin-top: 40px;
  text-align: center;
}

.comp-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  text-align: center;
  overflow: hidden; /* Prevent horizontal scroll from swiper */
}

.testimonials h2 {
  font-size: 80px;
  font-family: 'Dancing Script', cursive;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.testimonials .subtitle {
  margin-bottom: 50px;
  font-size: 24px;
  color: var(--text-muted);
}

.testimonial-swiper {
  width: 100%;
  padding: 0 40px 60px!important; /* Space for pagination */
}

.testimonial-card {
  background: #fcf9f7;
  padding: 40px;
  border-radius: 20px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card .type {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 15px;
  display: block;
}

.testimonial-content {
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testimonial-card p.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

/*.swiper-wrapper{*/
/*  padding-bottom: 100px;*/
/*}*/

.expand-btn {
    position: relative;
  border: none;
  cursor: pointer;
  padding: 5px 0;
  font-size: 14px;
  margin-top: 5px;
  background: none;
  display: flex;
  align-items: center;
  text-decoration: underline;
  color: inherit;
}
.expand-btn:before{
    content: '';
  background: url("arrow_down.svg") no-repeat center;
  background-size: cover;
  width: 20px;
    height: 20px;
}
.expanded + .expand-btn:before{
    transform: rotate(180deg);
}

.testimonial-card .author {
  font-weight: 700;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* School Section */
.school-section {
    background-color: #f7d5bf40;
  padding: 120px 0;
}

.school-grid {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.school-image{
    width: 320px;
}
.school-image img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.school-content{
    flex: 1 0 0;
}

.school-content h2 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}

.school-content p {
  margin-bottom: 30px;
  font-size: 20px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #0c221c;
  color: var(--white);
  padding: 20px 0;
  font-size: 14px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 30px;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.video-modal-content {
  aspect-ratio: 1.78571;
  height: 538px;
  width: 960px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  z-index: 1001;
  flex: none;
}

.video-modal-content video {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content {
    padding: 80px 40px;
  }
  .form-grid {
    gap: 60px;
  }
}

@media (max-width: 1024px) {
    .hero-content h1{
        font-size: 40px;
    }
    .hero-map{
        width: 80px;
        max-height: 80px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header{
        padding: 15px 0;
    }
    .header-content{
        padding: 0 20px;
    }
    .apply-link{
        padding: 6px;
    }
    .phone-link{
        background-color: var(--primary-color);
        padding: 8px;
        border: 0;
    }
    .phone-link svg *{
        stroke: white!important;
    }
    .phone-link .txt,.apply-link .txt{
        display: none;
    }
  .hero {
    flex-direction: column;
  }
  .hero-content {
    flex: none;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .hero-video-container {
    flex: none;
    width: 100%;
    height: 400px;
  }
  .hero-video-text{
      padding: 10px;
  }
    
    .hero-map{
        right: -20px;
        bottom: 35px;
        width: 80px;
        max-height: 90px;
    }
  .hero-content h1 {
    font-size: 32px;
  }
  .form-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
      
    .form-container{
        height: auto;
        min-height: auto;
    }

  .school-grid {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .school-image {
    margin: 0 auto;
    width: 280px;
  }
  .reading-link {
    margin: 0 auto;
  }
  .video-modal-content {
    width: 90%;
    height: auto;
  }
  .form-container{
      order: 2;
      width: 100%;
  }
  
  .form-container h2{
      font-size: 20px;
  }
  .comp-item{
      margin-bottom: 10px;
      padding-bottom: 10px;
  }
  .compensation-info{
      order: 1;
      width: 100%;
  }
  .comp-image{
      display: none;
  }
  .testimonials{
      padding: 40px 0;
  }
  .testimonial-swiper {
      padding: 0 20px 40px!important;
    }
  .testimonials h2 {
    font-size: 60px;
  }
  .testimonials .subtitle{
      margin-bottom: 30px;
      font-size: 16px;
  }
  .testimonial-card .type{
      font-size: 18px;
  }
  .testimonial-card p{
      font-size: 14px;
  }
  .form-section {
    padding: 40px 0;
  }
  .school-section {
    padding: 60px 0;
  }
  .school-content h2 {
    font-size: 28px;
  }
  .school-content p{
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  .testimonials h2 {
    font-size: 42px;
  }
  .comp-item .amount {
    font-size: 24px;
  }
  .play-btn {
    width: 80px;
    height: 80px;
  }
  .play-btn::after {
    border-top-width: 15px;
    border-bottom-width: 15px;
    border-left-width: 25px;
  }
  .hero-video-container{
      height: 300px;
  }
  .hero-video-text {
    font-size: 18px;
  }
  
      .footer-content{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }
}
