  * {
      box-sizing: border-box
  }

  html {
      scroll-behavior: smooth
  }

  body {
      margin: 0;
      background: #FBF7F0;
      color: #2A1F1A;
      font: 17px/1.65 'Figtree', sans-serif;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden
  }

  a {
      color: #8A2B2B;
      text-decoration: none
  }

  a:hover {
      color: #B5462F
  }

  h1,
  h2,
  h3,
  .serif {
      font-family: 'Libre Caslon Display', serif;
      font-weight: 400
  }

  .img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      border-radius: 16px;
      background: #eadfce
  }

  .img.circ {
      border-radius: 50%;
      aspect-ratio: 1;
      height: auto
  }

  .ph {
      position: relative
  }

  .sec {
      padding: 96px 5vw
  }

  .in {
      max-width: 1200px;
      margin: 0 auto
  }

  .eb {
      font-size: 18px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #8A2B2B;
      font-weight: 600;
      margin-bottom: 16px
  }

  h2 {
      font-size: clamp(34px, 4vw, 52px);
      line-height: 1.1;
      margin: 0 0 24px;
      text-wrap: balance;
      font-weight: 600;
  }

  .g {
      display: grid;
      gap: 56px;
      align-items: center;
  }

  .g2 {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr))
  }

  .top {
      background: #2A1F1A;
      color: #E9DFD2;
      font-size: 13px;
      padding: 8px 5vw;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 28px;
      justify-content: space-between
  }

  .top div {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 15px
  }

  header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(251, 247, 240, .94);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid #E7DDCF;
      padding: 14px 5vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap
  }

  .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      color: #2A1F1A
  }

  .brand img {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #D49A3A
  }

  .brand b {
      display: block;
      font: 400 24px/1.15 'Libre Caslon Display', serif;
      font-weight: 600;
  }

  .brand small {
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #7A6A5E
  }

  nav {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 24px;
      font-size: 15px;
      font-weight: 500;
      align-items: center
  }

  nav a {
      color: #2A1F1A
  }

  .btn {
      background: #8A2B2B;
      color: #FBF7F0 !important;
      padding: 12px 24px;
      border-radius: 999px;
      font-weight: 600;
      display: inline-block;
      box-shadow: 0px 2px 12px 0px #23232333;
  }

  .btn:hover {
      background: #6E2020
  }

  .btn.o {
      background: none;
      border: 1px solid #2A1F1A;
      color: #2A1F1A !important
  }

  .hero {
      padding: 72px 5vw 88px;
      align-items: center
  }

  .hero h1 {
      font-size: clamp(44px, 6vw, 80px);
      line-height: 1.04;
      margin: 0 0 26px;
      letter-spacing: -.01em;
      text-wrap: balance
  }

  .hero h1 em {
      font: italic 400 1em 'Libre Caslon Text', serif;
      color: #8A2B2B
  }

  .hero p {
      font-size: 19px;
      max-width: 540px;
      margin: 0 0 36px;
      color: #4E4038
  }

  .mos {
      display: grid;
      grid-template-columns: 1.3fr 1fr;
      grid-template-rows: 240px 240px;
      gap: 14px
  }

  .mos div:first-child {
      grid-row: span 2
  }

  .alt {
      background: #F3ECE1
  }

  .dark {
      background: #2A1F1A;
      color: #E9DFD2
  }

  .about p {
      margin: 0 0 18px;
      color: #4E4038
  }

  .about .lead {
      font: 22px/1.5 'Libre Caslon Text', serif;
      color: #2A1F1A
  }

  .vm {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
      gap: 28px
  }

  .vm>div {
      border-radius: 20px;
      padding: 48px
  }

  .vm p {
      margin: 0 0 16px
  }

  .pm {
      display: flex;
      flex-wrap: wrap;
      gap: 64px;
      align-items: flex-start
  }

  .pm p {
      margin: 0 0 18px
  }

  .fg {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
      gap: 20px
  }

  .card,
  .nc {
      background: #fff;
      border: 1px solid #E7DDCF;
      border-radius: 18px;
      overflow: hidden
  }

  .card .img,
  .nc .img {
      border-radius: 0
  }

  .cb {
      padding: 22px 22px 26px
  }

  .num {
      font: 13px 'Libre Caslon Text', serif;
      color: #D49A3A;
      margin-bottom: 6px
  }

  .card h3 {
      font-size: 24px;
      margin: 0 0 8px;
      line-height: 1.2;
      font-weight: 600;
  }

  .card p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color: #5E4F45
  }

  .mg {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
      gap: 24px
  }

  .pc {
      background: #fff;
      border-radius: 20px;
      padding: 32px;
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 28px;
      align-items: start
  }

  .pc h3 {
      font-size: 32px;
      margin: 4px 0 14px;
      font-weight: 600;

  }

  .pc p {
      margin: 0 0 12px;
      font-size: 15px;
      color: #5E4F45
  }

  .tag {
      background: #F3ECE1;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 13px;
      margin: 0 8px 8px 0;
      display: inline-block
  }

  blockquote {
      margin: 0;
      font: italic clamp(24px, 3vw, 34px)/1.4 'Libre Caslon Text', serif;
      text-wrap: balance
  }

  #btn-back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: none;
      background-color: #8A2B2B;
      color: white;
      z-index: 1;
      border: none;
      padding: 10px;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      box-shadow: 1px 5px 11px 0px #23232345;

  }

  #btn-back-to-top:hover {
      background-color: #f0ae03;
      ;
  }

  #btn-back-to-top:focus {
      box-shadow: none !important;
  }



  /*   .tg {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 28px 20px;
      text-align: center;
  }

  .tg .tc:nth-child(7) {
      grid-column: 2;
  }

  .tg .tc:nth-child(8) {
      grid-column: 3;
  }

  .tg .tc:nth-child(9) {
      grid-column: 4;
  }

  .tg .tc:nth-child(10) {
      grid-column: 5;
  } */



  /*   @media (max-width: 900px) {
      .tg {
          grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .tg .tc:nth-child(n) {
          grid-column: auto;
      }
  }


  @media (max-width: 576px) {
      .tg {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 24px 15px;
      }
  }
 */


  .tg {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 20px;
      overflow: hidden;
      width: 100%;
  }

  .tg .tc {
      min-width: 0;
      text-align: center;
      animation: teacherFade 0.9s ease;
  }

  .tg .img.circ {
      width: 165px;
      height: 165px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      margin: 0 auto 12px;
  }

  .tg .tn {
      font-weight: 600;
      margin-bottom: 5px;
  }

  .tg .tr {
      font-size: 14px;
      color: #666;
  }

  .admission-img {
      width: 55%;
      margin: 0 auto 20px;
  }

  @keyframes teacherFade {
      from {
          opacity: 0.4;
          transform: translateX(15px);
      }

      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  /* Tablet */
  @media (max-width: 1439px) {
      .tg .img.circ {
          width: 140px;
          height: 140px;
      }
  }

  @media (max-width: 1279px) {
      .tg .img.circ {
          width: 120px;
          height: 120px;
      }

    
  }


  @media (max-width: 991px) {
      .tg .img.circ {
          width: 120px;
          height: 120px;
      }
  }

  /* Mobile */
  /* Desktop: 6 teachers */
  .tg {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 20px;
      overflow: hidden;
      width: 100%;
  }

  .tg .tc {
      min-width: 0;
      text-align: center;
  }

  /* Tablet: 3 teachers */
  @media (max-width: 992px) {
      .tg {
          grid-template-columns: repeat(3, minmax(0, 1fr));
      }
  }

  /* Mobile: only 1 teacher */
  @media (max-width: 576px) {
      .tg {
          grid-template-columns: 1fr;
          gap: 0;
      }

      .tg .tc {
          width: 100%;
          padding: 15px 0;
      }

      .tg .img.circ {
          width: 180px;
          height: 180px;
          object-fit: cover;
          border-radius: 50%;
          margin: 0 auto 12px;
      }
  }

  .teacher-slider-wrapper {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
  }

  .teacher-slider-wrapper .tg {
      flex: 1;
      min-width: 0;
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 20px;
      overflow: hidden;
  }

  .teacher-slider-wrapper .tc {
      min-width: 0;
      text-align: center;
  }

  .teacher-arrow {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border: none;
      border-radius: 50%;
      background: #8a2b2b;
      color: #fff;
      font-size: 14px;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
  }

  .teacher-arrow:hover {
      background: #D49A3A;
      transform: scale(1.08);
  }

  .teacher-arrow:focus-visible {
      outline: 2px solid #D49A3A;
      outline-offset: 3px;
  }

  @media (max-width: 992px) {
      .teacher-slider-wrapper .tg {
          grid-template-columns: repeat(3, minmax(0, 1fr));
      }
  }

  @media (max-width: 576px) {
      .teacher-slider-wrapper {
          gap: 8px;
      }

      .teacher-slider-wrapper .tg {
          grid-template-columns: 1fr;
      }

      .teacher-arrow {
          width: 32px;
          height: 32px;
          font-size: 15px;
      }
  }

  .tn {
      font: 22px 'Libre Caslon Display', serif;
      margin-top: 14px;
      font-weight: 600;

  }

  .tr {
      font-size: 14px;
      color: #7A6A5E
  }

  .ad {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
      gap: 24px
  }

  .ad>div {
      border-radius: 20px;
      padding: 44px;
      display: flex;
      flex-direction: column;
      gap: 20px
  }

  .ad h2 {
      font-size: 38px;
      margin: 0
  }

  .st {
      display: flex;
      gap: 16px;
      padding: 12px 0;
      border-top: 1px solid rgba(42, 31, 26, .25)
  }

  .st span {
      font-family: 'Libre Caslon Text', serif
  }

  .pill {
      border: 1px solid #2A1F1A;
      color: #2A1F1A;
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 500;
      margin: 0 10px 10px 0;
      display: inline-block
  }

  .ng {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      gap: 20px
  }

  .nc {
      border: 0
  }

  .nh {
      font: 22px 'Libre Caslon Display', serif;
      color: #9A8B80
  }

  .ct {
      background: #8A2B2B;
      color: #F7EDE3
  }

  .ct .eb,
  .cl {
      color: #F0C987
  }

  .ct h2 {
      color: #FBF7F0
  }

  .cg {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1px;
      background: rgba(247, 237, 227, .2);
      border-radius: 18px;
      overflow: hidden
  }

  .cg>div {
      background: #8A2B2B;
      padding: 26px;
      font-size: 20px
  }

  .cl {
      font-size: 12px;
      letter-spacing: .14em;
      text-transform: uppercase;
      margin-bottom: 6px
  }

  .cg a {
      color: #FBF7F0
  }

  footer {
      background: #2A1F1A;
      color: #B8A898;
      padding: 36px 5vw;
      font-size: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: space-between;
      align-items: center
  }

  footer img {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      vertical-align: middle;
      margin-right: 12px
  }

  footer b {
      font: 400 18px 'Libre Caslon Display', serif;
      color: #FBF7F0
  }

  .fa-phone {
      rotate: 30deg;
      font-size: 11px;
  }

  #readMoreBtn {
      background: none;
      border: none;
      padding: 0;
      margin-top: 8px;
      color: #8a2b2b;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 4px;
  }

  img {
      width: 100%;
      height: auto;
  }


  /* Hamburger toggle - hidden on desktop */
  .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      border: 1px solid #E7DDCF;
      border-radius: 8px;
      background: transparent;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
  }

  .menu-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: #8A2B2B;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Mobile and tablet navigation */
  @media (max-width: 899px) {
      header {
          position: sticky;
          flex-wrap: wrap;
          justify-content: space-between;
          gap: 12px;
      }

      .menu-toggle {
          display: flex;
          margin-left: auto;
      }

      header nav {
          display: none;
          flex-direction: column;
          align-items: stretch;
          gap: 0;
          width: 100%;
          padding: 10px 0 6px;
          border-top: 1px solid #E7DDCF;
      }

      header nav.active {
          display: flex;
      }

      header nav a {
          display: block;
          padding: 12px 8px;
          font-size: 15px;
      }

      header nav a.btn {
          text-align: center;
          margin-top: 8px;
          padding: 12px 20px;
      }

      /* Animate hamburger into an X */
      .menu-toggle.active span:nth-child(1) {
          transform: translateY(7px) rotate(45deg);
      }

      .menu-toggle.active span:nth-child(2) {
          opacity: 0;
      }

      .menu-toggle.active span:nth-child(3) {
          transform: translateY(-7px) rotate(-45deg);
      }
  }


  @media(max-width:1599px) {
      .eb {
          font-size: 15px;
      }

      .hero h1 {
          font-size: clamp(44px, 6vw, 63px);
          margin: 0 0 10px;
      }

      .hero p {
          font-size: 15px;
          max-width: 455px;
          margin: 0 0 20px;
      }

      nav a {
          font-size: 14px;
      }

      .btn {
          padding: 8px 20px;
      }

      .hero {
          padding: 39px 5vw 60px;
      }

      header {
          padding: 7px 5vw;
      }

      h2 {
          font-size: clamp(34px, 4vw, 42px);
      }

      .about .lead,
      body,
      .cg>div {
          font-size: 16px;
      }

      .card h3 {
          font-size: 20px;
      }

      .top {
          font-size: 11px;
          padding: 4px 5vw;
      }

      .pc h3 {
          font-size: 25px;
      }

      .blockquote {
          font-size: 28px;
      }

      .tn {
          font-size: 18px;
      }

      .ad h2 {
          font-size: 34px;
      }

      blockquote {
          font: italic clamp(24px, 3vw, 29px)/1.4 'Libre Caslon Text', serif
      }
  }

  @media(max-width:1359px) {

      .hero h1 {
          font-size: clamp(44px, 6vw, 55px);
      }

      h2 {
          font-size: clamp(34px, 4vw, 38px);
      }
  }

  @media(max-width:1279px) {
    .top div {
          gap: 8px 8px;
      }

      .top {
          font-size: 10px;
      }

      .ad h2 {
        font-size: 28px;
    }
    }

  @media(max-width:1023px) {
      nav {
          gap: 6px 12px
      }
  }

  @media(max-width:991px) {

      .hero .eb,
      .hero h1,
      .hero {
          text-align: center;
      }

      .hero p {
          text-align: center;
          margin: 0 auto;
          margin-bottom: 20px;
      }

      #management .ph {
          width: 36%;
          height: 200px !important;
      }
       .hidem {
          display: none !important;
      }
  }

  @media(max-width:768px) {
      .sec {
          padding: 64px 5vw
      }

      .pc {
          grid-template-columns: 1fr
      }

      .mos {
          grid-template-rows: 200px 200px
      }

      .g {
          gap: 20px !important;
      }

      .pm {
          gap: 40px;
      }
  }


  @media(max-width:767px) {
     

      .btn.o {
          margin-top: 8px;
      }

      .vm>div {
          padding: 48px 20px;
      }

      #management .ph {
          width: 100%;
      }

      .pc,
      .ad>div {

          padding: 20px;
      }

      .brand {
          gap: 7px;
      }

      .cg>div {
          padding: 20px 0px;
      }
  }

  @media(max-width:399px) {
      .brand img {
          width: 40px;
          height: 40px;
      }

      .brand b {
          font: 600 19px / 1.15 'Libre Caslon Display', serif;

      }

      .menu-toggle {
          width: 35px;
          height: 37px;
          padding: 7px;
      }

      .menu-toggle span {
          width: 20px;
          height: 2px;
      }
  }