:root {
      --primary: #062633;
      --secondary: #39454e;
      --accent: #9d613c;
      --surface: #fef9f5;
      --surface-alt: #fefaf5;
      --text: #1b2830;
      --muted: #5e6a73;
      --white: #ffffff;
      --bg-1: #fefaf5;
      --bg-2: #fef9f5;
      --bg-3: #fefaf5;
      --header-bg: rgba(255, 255, 255, 0.88);
      --header-border: rgba(57, 69, 78, 0.22);
      --input-bg: #fbfdff;
      --input-border: #cad6e5;
      --contact-section-bg: #f7f1eb;
      --contact-section-text: #1b2830;
      --contact-block-bg: #ffffff;
      --contact-block-border: rgba(57, 69, 78, 0.2);
      --contact-block-heading: #062633;
      --contact-list-text: #1b2830;
      --social-link-bg: #ffffff;
      --social-link-border: rgba(57, 69, 78, 0.22);
      --social-link-text: #062633;
      --social-link-hover-bg: rgba(157, 97, 60, 0.14);
      --social-link-hover-border: rgba(157, 97, 60, 0.5);
      --social-icon-bg: rgba(157, 97, 60, 0.15);
      --contact-cta-bg1: #062633;
      --contact-cta-bg2: #39454e;
      --radius-lg: 20px;
      --radius-md: 14px;
      --shadow: 0 20px 50px rgba(6, 38, 51, 0.14);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 118px;
    }

    body {
      font-family: "Montserrat Alternates", sans-serif;
      color: var(--text);
      background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
      line-height: 1.6;
      transition: background 0.3s ease, color 0.3s ease;
    }

    body.dark-mode {
      --primary: #d6e8f0;
      --secondary: #93a9b7;
      --accent: #d09069;
      --surface: #0f1a21;
      --surface-alt: #132430;
      --text: #e8f0f4;
      --muted: #a8bbc7;
      --white: #172a35;
      --bg-1: #0a141b;
      --bg-2: #0d1922;
      --bg-3: #0a141b;
      --header-bg: rgba(10, 20, 27, 0.9);
      --header-border: rgba(147, 169, 183, 0.25);
      --input-bg: #10212b;
      --input-border: #2d4452;
      --contact-section-bg: #0d1a22;
      --contact-section-text: #e8f0f4;
      --contact-block-bg: #132430;
      --contact-block-border: rgba(168, 187, 199, 0.22);
      --contact-block-heading: #f2f8fb;
      --contact-list-text: #dce8ee;
      --social-link-bg: #132430;
      --social-link-border: rgba(168, 187, 199, 0.22);
      --social-link-text: #e8f0f4;
      --social-link-hover-bg: rgba(208, 144, 105, 0.22);
      --social-link-hover-border: rgba(208, 144, 105, 0.5);
      --social-icon-bg: rgba(208, 144, 105, 0.18);
      --contact-cta-bg1: #1a2d39;
      --contact-cta-bg2: #223845;
      --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }

    .container {
      width: min(1220px, 92vw);
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(10px);
      /*background: var(--header-bg);*/
      background: #00103f;
      border-bottom: 1px solid var(--header-border);
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    .nav {
      height: 76px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .brand {
      font-size: 1.08rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: 0.2px;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      text-decoration: none;
    }

    .brand span {
      color: var(--accent);
    }

    .brand-logo {
      width: 140px;
      height: 100px;
      object-fit: contain;
      border-radius: 10px;
      /*background: var(--surface);*/
      /*border: 1px solid rgba(6, 38, 51, 0.1);*/
      padding: 4px;
      flex-shrink: 0;
    }

    .nav-links {
      display: flex;
      flex: 1;
      justify-content: space-evenly;
      gap: 8px;
      margin: 0 12px;
      list-style: none;
      font-weight: 600;
      font-size: 0.94rem;
    }

    .nav-links li {
      position: relative;
    }

    .nav-links a {
      text-decoration: none;
      /*color: var(--primary);*/
      color: #fff;
      transition: color 0.25s;
    }

    .nav-links a:hover {
      color: var(--secondary);
    }

    .mobile-menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(6, 38, 51, 0.22);
      border-radius: 12px;
      background: var(--surface);
      color: var(--primary);
      cursor: pointer;
      font-size: 1.3rem;
      font-weight: 800;
      line-height: 1;
    }

    .nav-dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 220px;
      background: var(--surface);
      border: 1px solid rgba(6, 38, 51, 0.14);
      border-radius: 12px;
      box-shadow: 0 14px 28px rgba(6, 38, 51, 0.16);
      overflow: hidden;
      z-index: 20;
    }

    .nav-dropdown-menu a {
      display: block;
      padding: 10px 12px;
      border-bottom: 1px solid rgba(6, 38, 51, 0.08);
      white-space: nowrap;
    }

    .nav-dropdown-menu a:last-child {
      border-bottom: none;
    }

    .nav-dropdown::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 12px;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
      display: block;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: none;
      text-decoration: none;
      cursor: pointer;
      font-weight: 700;
      border-radius: 999px;
      padding: 12px 22px;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: var(--accent);
      color: #ffffff;
      box-shadow: 0 10px 22px rgba(157, 97, 60, 0.35);
    }

    .btn-outline {
      border: 2px solid var(--secondary);
      color: var(--secondary);
      background: transparent;
    }

    @media (max-width: 1280px) {
      .brand {
        font-size: 1rem;
      }

      .brand span {
        display: none;
      }

      .nav-links {
        gap: 6px;
        margin: 0 8px;
        font-size: 0.88rem;
      }
    }

    .hero {
      padding: 62px 0 48px;
    }

    @keyframes fadeUpIn {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeSideIn {
      from {
        opacity: 0;
        transform: translateX(26px) translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateX(0) translateY(0);
      }
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      align-items: center;
      gap: 10px;
      width: 1440px;
    }

    .hero-copy-block>* {
      opacity: 0;
      animation: fadeUpIn 0.78s ease forwards;
    }

    .hero-copy-block .hero-badge {
      animation-delay: 0.08s;
    }

    .hero-copy-block h1 {
      animation-delay: 0.2s;
    }

    .hero-copy-block p {
      animation-delay: 0.34s;
    }

    .hero-copy-block .hero-actions {
      animation-delay: 0.48s;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(157, 97, 60, 0.13);
      color: var(--accent);
      font-weight: 700;
      border-radius: 999px;
      padding: 8px 14px;
      margin-bottom: 18px;
      font-size: 0.9rem;
    }

    h1 {
      color: var(--primary);
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .hero p {
      color: var(--muted);
      margin-bottom: 24px;
      max-width: 56ch;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 24px;
    }

    .hero-stats {
      display: flex;
      gap: 26px;
      flex-wrap: wrap;
    }

    .hero-stats strong {
      display: block;
      color: var(--primary);
      font-size: 1.25rem;
    }

    .hero-card {
      background: #00103f;
      border-radius: var(--radius-lg);
      padding: 20px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(6, 38, 51, 0.08);
      position: relative;
      overflow: hidden;
    }

    .hero-side-cards {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .hero-side-cards .hero-card {
      opacity: 0;
      animation: fadeSideIn 0.75s ease forwards;
    }

    .hero-side-cards .hero-card:nth-child(1) {
      animation-delay: 0.28s;
    }

    .hero-side-cards .hero-card:nth-child(2) {
      animation-delay: 0.44s;
    }

    .hero-side-cards .hero-card:nth-child(3) {
      animation-delay: 0.58s;
    }

    .hero-side-cards .hero-card:nth-child(4) {
      animation-delay: 0.72s;
    }

    .hero-card--wide {
      grid-column: 1 / -1;
      padding: 16px;
    }


    .hero-card h3 {
      color: #fff;
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
    }

    .hero-card ul {
      margin-left: 18px;
      font-size: 14px;
      color: #fff;
      display: grid;
      gap: 7px;
      position: relative;
      z-index: 1;
    }

    .hero-card p {
        font-size: 12px;
      color: #fff;
      margin: 0;
      position: relative;
      z-index: 1;
    }

    .hero-card strong {
      display: block;
      color: #fff;
      font-size: 1.3rem;
      line-height: 1.1;
      margin-bottom: 5px;
      position: relative;
      z-index: 1;
    }

    .hero-method-card {
      grid-column: 1 / -1;
    }

    .hero-method-card .method-mini-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 14px;
      margin: 12px 0 16px;
      padding: 0;
      list-style: none;
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 600;
      position: relative;
      z-index: 1;
    }

    .hero-method-card .method-mini-list li {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hero-method-card .method-mini-list li::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex: 0 0 auto;
    }

    .hero-method-card .btn {
      position: relative;
      z-index: 1;
      padding: 10px 18px;
      font-size: 0.92rem;
    }

    .method-feature-section {
      padding-top: 36px;
    }

    .method-feature-section .section-title,
    .method-feature-section .method-feature-card {
      opacity: 1;
      transform: none;
    }

    .method-feature-card {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
      gap: 30px;
      align-items: center;
      background: var(--white);
      border: 1px solid rgba(6, 38, 51, 0.12);
      border-radius: var(--radius-lg);
      padding: clamp(22px, 4vw, 38px);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .method-feature-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(157, 97, 60, 0.14), transparent 48%);
      pointer-events: none;
    }

    .method-feature-content,
    .method-feature-list {
      position: relative;
      z-index: 1;
    }

    .method-feature-kicker {
      display: inline-flex;
      color: var(--accent);
      font-weight: 800;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      font-size: 0.9rem;
    }

    .method-feature-card h2 {
      color: var(--primary);
      font-size: clamp(1.7rem, 3vw, 2.6rem);
      line-height: 1.12;
      margin-bottom: 14px;
    }

    .method-feature-card p {
      color: var(--muted);
      margin-bottom: 22px;
      max-width: 64ch;
    }

    .method-feature-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      list-style: none;
    }

    .method-feature-list li {
      min-height: 84px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 4px;
      padding: 14px;
      border-radius: var(--radius-md);
      background: var(--surface-alt);
      border: 1px solid rgba(157, 97, 60, 0.22);
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 600;
    }

    .method-feature-list strong {
      color: var(--primary);
      font-size: 1rem;
    }

    .section {
      padding: 56px 0;
      scroll-margin-top: 118px;
    }

    .hero,
    .contact-section {
      scroll-margin-top: 118px;
    }

    .section-title {
      text-align: center;
      margin-bottom: 28px;
    }

    .section-title h2 {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: var(--primary);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      margin-bottom: 10px;
    }

    .heading-icon {
      display: inline-flex;
      width: 1.05em;
      height: 1.05em;
      color: var(--accent);
      flex: 0 0 auto;
    }

    .heading-icon svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .section-title p {
      color: var(--muted);
      max-width: 66ch;
      margin: 0 auto;
    }

    .courses {
      display: flex;
      gap: 18px;
      transition: transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1);
      --course-gap: 18px;
      --course-card-width: calc((100% - var(--course-gap)) / 2);
    }

    .courses-shell {
      position: relative;
      overflow: hidden;
      padding: 4px;
    }

    .course-card {
      flex: 0 0 var(--course-card-width);
      min-width: 0;
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 14px;
      border: 1px solid rgba(6, 38, 51, 0.1);
      box-shadow: 0 10px 28px rgba(6, 38, 51, 0.1);
      transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    }

    .course-card:hover {
      transform: translateY(-6px);
      border-color: rgba(157, 97, 60, 0.35);
      box-shadow: 0 18px 42px rgba(6, 38, 51, 0.16);
    }

    .course-poster {
      width: 100%;
      aspect-ratio: 4 / 4.75;
      display: block;
      border-radius: 10px;
      border: 1px solid rgba(6, 38, 51, 0.14);
      object-fit: contain;
      background: rgba(6, 38, 51, 0.05);
      transition: transform 0.28s ease, filter 0.28s ease;
    }

    .course-poster-btn {
      position: relative;
      width: 100%;
      display: block;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: zoom-in;
      overflow: hidden;
      border-radius: 10px;
    }

    .course-card:hover .course-poster {
      transform: scale(1.025);
      filter: saturate(1.06) contrast(1.03);
    }

    .course-zoom-label {
      position: absolute;
      right: 10px;
      bottom: 10px;
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(6, 38, 51, 0.82);
      color: #ffffff;
      font-size: 0.78rem;
      font-weight: 800;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .course-poster-btn:hover .course-zoom-label,
    .course-poster-btn:focus-visible .course-zoom-label {
      opacity: 1;
      transform: translateY(0);
    }

    .course-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .course-action-btn {
      flex: 1 1 145px;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 10px 14px;
      color: #ffffff;
      background: var(--accent);
      text-decoration: none;
      font-weight: 800;
      font-size: 0.9rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .course-action-btn::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
      transform: translateX(-120%);
      transition: transform 0.45s ease;
    }

    .course-action-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(157, 97, 60, 0.28);
    }

    .course-action-btn:hover::after {
      transform: translateX(120%);
    }

    .course-action-btn--secondary {
      background: var(--primary);
    }

    .course-controls {
      display: contents;
    }

    .course-nav-btn {
      position: absolute;
      top: 50%;
      z-index: 4;
      width: 46px;
      height: 46px;
      border-radius: 999px;
      border: 1px solid rgba(214, 232, 240, 0.45);
      background: rgba(6, 38, 51, 0.72);
      color: #ffffff;
      font-size: 1.7rem;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
      transform: translateY(-50%);
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
      backdrop-filter: blur(10px);
    }

    .course-nav-btn:hover {
      transform: translateY(-50%) scale(1.06);
      background: var(--accent);
      box-shadow: 0 10px 22px rgba(6, 38, 51, 0.24);
    }

    .course-nav-btn--prev {
      left: 12px;
    }

    .course-nav-btn--next {
      right: 12px;
    }

    .course-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .course-dot {
      width: 9px;
      height: 9px;
      border: 0;
      border-radius: 999px;
      background: rgba(57, 69, 78, 0.35);
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
    }

    .course-dot.active {
      background: var(--accent);
      transform: scale(1.18);
    }

    @keyframes courseCardIn {
      from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .course-card {
      animation: courseCardIn 0.55s ease both;
    }

    .course-card:nth-child(2) {
      animation-delay: 0.06s;
    }
    
    
    /*SLIDER GIẢNG VIEN*/
    
    /* Toàn bộ khung Slider */
    .slider-container {
        position: relative;
        width: 100%;
        max-width: 1200px;
        display: flex;
        align-items: center;
    }
    
    /* Vùng cắt các ảnh tràn ra ngoài */
    .slider-wrapper {
        overflow: hidden;
        width: 100%;
        padding: 10px 0;
    }
    
    /* Đường chạy chứa các slide */
    .slider-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }
    
    /* Cấu hình cho từng Slide (Hiển thị 3 hình -> mỗi hình chiếm ~33.33%) */
    .slide {
        min-width: calc(100% / 3);
        padding: 0 5px; /* Khoảng cách giữa các ảnh */
    }
    
    .slide img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: block;
    }
    
    /* Thiết kế nút điều hướng (Giống style trong ảnh của bạn) */
    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #f1ede6;
        color: #333;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 10;
        transition: background 0.3s;
    }
    
    .nav-btn:hover {
        background-color: #e5dec9;
    }
    
    .prev-btn {
        left: -25px;
    }
    
    .next-btn {
        right: -25px;
    }
    /* Hiệu ứng zoom nhẹ và đổi con trỏ chuột khi hover vào ảnh trong slider */
    .slide img {
        cursor: zoom-in;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .slide img:hover {
        transform: scale(1.03); /* Phóng to nhẹ 3% khi rê chuột vào */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    /* Toàn bộ nền đen mờ bao phủ màn hình khi phóng to */
    .lightbox {
        display: none; /* Ẩn mặc định */
        position: fixed;
        z-index: 1000; /* Luôn nằm trên cùng */
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.85); /* Nền đen trong suốt */
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Khi kích hoạt lightbox */
    .lightbox.active {
        display: flex;
        opacity: 1;
    }
    
    /* Ảnh phóng to chi tiết */
    .lightbox-content {
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
        border-radius: 8px;
        transform: scale(0.7);
        transition: transform 0.3s ease;
    }
    
    /* Hiệu ứng bung mở ảnh mượt mà */
    .lightbox.active .lightbox-content {
        transform: scale(1);
    }
    
    /* Nút đóng (Dấu X) */
    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.2s;
    }
    
    .lightbox-close:hover {
        color: #ff4d4d; /* Đổi màu đỏ khi hover nút đóng */
    }
    
    /* Responsive cho màn hình điện thoại (Hiển thị 1 ảnh thay vì 3) */
    @media (max-width: 768px) {
        .slide {
            min-width: 100%;
        }
        .nav-btn {
            width: 35px;
            height: 35px;
        }
        .prev-btn { left: -10px; }
        .next-btn { right: -10px; }
    }

    
    /*END GIẢNG VIÊN*/
    
    
    
    
    /*TIN TUC*/
    
    /* Container Slider Tin Tức */
.slider-container-news {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.slider-wrapper-news {
    overflow: hidden;
    width: 100%;
}

.slider-track-news {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Định dạng cấu trúc 3 ô bài viết */
.post-card-news {
    min-width: calc(100% / 3);
    padding: 0 15px;
    box-sizing: border-box;
}

.post-card-inner-news {
    background: #fff;
    overflow: hidden;
    height: 440px;
    border-radius: 0 0 10px 10px;
}

.post-thumb-wrap-news {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.post-card-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-news h3 {
    font-size: 16px;
    /*padding: 20px;*/
    margin: 10px 0;
    line-height: 1.5;
    font-weight: bold;
    font-family: sans-serif;
}

.post-card-news h3 a {
    color: #111;
    text-decoration: none;
}

.post-card-news h3 a:hover {
    color: #0073aa;
}

/* Vùng chứa nút bấm điều hướng đè lên ảnh bên trái giống thiết kế mẫu */
.nav-control-news {
    position: absolute;
    padding-top: 100px;
    left: 50%;
    top: 100%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
    z-index: 99;
}

.nav-btn-news {
    background: #fff;
    border: 1px solid #e1e1e1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.nav-btn-news:hover {
    background: #f7f7f7;
    transform: scale(1.05);
}

/* Thiết lập hiển thị tương thích Mobile */
@media (max-width: 768px) {
    .post-card-news { min-width: 100%; }
    .nav-control-news { left: 40%; top: auto; bottom: -120px; } /* Đẩy nút xuống dưới trên mobile */
}
    
    /*END TIN TUC*/
    

    .feedback {
      background: var(--surface-alt);
    }

    .feedback-slider {
      position: relative;
      background: var(--white);
      border: 1px solid rgba(6, 38, 51, 0.12);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      overflow: hidden;
      --cards-per-view: 1;
    }

    .feedback-track {
      display: flex;
      transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .feedback-card {
      min-width: calc(100% / var(--cards-per-view));
      padding: 14px;
      border-right: 1px solid rgba(6, 38, 51, 0.08);
      min-height: 260px;
      display: grid;
      grid-template-columns: minmax(520px, 72%) 1fr;
      gap: 18px;
      align-items: stretch;
    }

    .feedback-gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: minmax(0, 1fr);
      gap: 12px;
      min-height: 360px;
      max-height: 520px;
      overflow-y: auto;
    }

    .feedback-gallery--single {
      grid-template-columns: 1fr;
    }

    .feedback-image-btn,
    .feedback-image-btn img,
    .feedback-more {
      width: 100%;
      min-height: 0;
      border-radius: 10px;
      overflow: hidden;
    }

    .feedback-image-btn {
      position: relative;
      display: block;
      border: 1px solid rgba(6, 38, 51, 0.16);
      padding: 0;
      background: rgba(6, 38, 51, 0.05);
      cursor: zoom-in;
    }

    .feedback-image-btn img {
      display: block;
      height: 100%;
      object-fit: contain;
      object-position: center;
      border: 0;
      background: transparent;
    }

    .feedback-zoom-label {
      position: absolute;
      right: 10px;
      bottom: 10px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(6, 38, 51, 0.82);
      color: #ffffff;
      font-size: 0.78rem;
      font-weight: 800;
      line-height: 1;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .feedback-image-btn:hover .feedback-zoom-label,
    .feedback-image-btn:focus-visible .feedback-zoom-label {
      opacity: 1;
      transform: translateY(0);
    }

    .feedback-more {
      display: grid;
      place-items: center;
      color: #ffffff;
      background: linear-gradient(135deg, rgba(6, 38, 51, 0.86), rgba(157, 97, 60, 0.86));
      font-size: 1.4rem;
      font-weight: 800;
      border: 1px solid rgba(6, 38, 51, 0.16);
    }

    .feedback-body {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 100%;
    }

    .feedback-text {
      color: var(--text);
      font-size: 0.92rem;
      margin-bottom: 10px;
      line-height: 1.55;
    }

    .feedback-note {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.93rem;
      margin-bottom: 8px;
    }

    .feedback-caption {
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.5;
      font-weight: 600;
    }

    .feedback-link-btn {
      width: fit-content;
      padding: 9px 14px;
      border-radius: 999px;
      text-decoration: none;
      background: var(--accent);
      color: #ffffff;
      font-weight: 700;
      font-size: 0.85rem;
      border: 1px solid rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .feedback-link-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(157, 97, 60, 0.28);
    }

    .feedback-lightbox {
      position: fixed;
      inset: 0;
      z-index: 120;
      padding: 24px;
      background: rgba(8, 14, 19, 0.88);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .feedback-lightbox.open {
      opacity: 1;
      visibility: visible;
    }

    .feedback-lightbox-stage {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      overflow: auto;
      cursor: grab;
    }

    .feedback-lightbox img {
      max-width: min(1180px, 94vw);
      max-height: 88vh;
      border-radius: 12px;
      border: 2px solid rgba(255, 255, 255, 0.28);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
      object-fit: contain;
      background: #121d25;
      transform-origin: center center;
      transition: transform 0.16s ease;
      cursor: zoom-in;
    }

    .feedback-lightbox-close,
    .lightbox-zoom-btn {
      position: absolute;
      width: 42px;
      height: 42px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      background: rgba(0, 0, 0, 0.35);
      color: #ffffff;
      font-size: 1.45rem;
      line-height: 1;
      cursor: pointer;
    }

    .feedback-lightbox-close {
      top: 14px;
      right: 14px;
    }

    .lightbox-zoom-controls {
      position: absolute;
      left: 50%;
      bottom: 18px;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.38);
      backdrop-filter: blur(10px);
      transform: translateX(-50%);
    }

    .lightbox-zoom-btn {
      position: static;
      font-size: 1.05rem;
      font-weight: 800;
    }

    .lightbox-zoom-level {
      min-width: 58px;
      color: #ffffff;
      font-weight: 800;
      text-align: center;
      font-size: 0.9rem;
    }

    .feedback-other {
      background: var(--surface);
    }

    .feedback-other-grid {
      display: grid;
      gap: 18px;
    }

    .feedback-other-grid .feedback-card {
      min-width: 0;
      grid-template-columns: 1fr;
      background: var(--white);
      border: 1px solid rgba(6, 38, 51, 0.12);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }

    .feedback-other-grid .feedback-gallery {
      display: block;
      columns: 5 180px;
      column-gap: 14px;
      min-height: 0;
      max-height: none;
      overflow: visible;
    }

    .feedback-other-grid .feedback-image-btn {
      display: inline-block;
      margin: 0 0 14px;
      break-inside: avoid;
      border: 3px solid rgba(214, 232, 240, 0.48);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.05);
    }

    .feedback-controls {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 14px;
    }

    .feedback-nav {
      min-width: 104px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(6, 38, 51, 0.2);
      background: var(--surface);
      color: var(--primary);
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
      padding: 0 16px;
    }

    .feedback-nav:hover {
      transform: translateY(-1px);
      background: var(--surface);
    }

    .feedback-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .feedback-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: none;
      background: rgba(57, 69, 78, 0.35);
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
    }

    .feedback-dot.active {
      background: var(--accent);
      transform: scale(1.18);
    }

    .teacher-section {
      background: var(--surface-alt);
    }

    .teacher-section .container {
      position: relative;
    }

    .teacher-list {
      position: relative;
      max-width: 980px;
      height: 450px;
      margin: 0 auto;
    }

    .teacher-item {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
      gap: 24px;
      height: 430px;
      overflow-y: auto;
      background: var(--white);
      border: 1px solid rgba(57, 69, 78, 0.18);
      border-radius: var(--radius-md);
      box-shadow: none;
      color: var(--text);
      font-size: 1.08rem;
      line-height: 1.72;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      transform: translateX(-18px) translateY(8px) scale(0.985);
      transition: opacity 0.32s ease, transform 0.32s ease, box-shadow 0.32s ease;
      will-change: transform, opacity;
    }

    .teacher-item.is-active {
      z-index: 3;
      opacity: 1;
      pointer-events: auto;
      transform: translateX(0) translateY(0) scale(1);
    }

    .teacher-item.is-next {
      z-index: 2;
      opacity: 0.62;
      overflow: hidden;
      transform: translateX(26px) translateY(24px) scale(0.965);
      box-shadow: 0 12px 28px rgba(6, 38, 51, 0.08);
    }

    .teacher-item.is-prev {
      z-index: 1;
      opacity: 0;
      transform: translateX(-26px) translateY(18px) scale(0.96);
    }

    .teacher-media {
      align-self: start;
      display: grid;
      gap: 12px;
      margin: 0;
      text-align: center;
      position: sticky;
      top: 0;
    }

    .teacher-photo {
      width: 100%;
      aspect-ratio: 3 / 4;
      display: block;
      object-fit: cover;
      object-position: center top;
      border-radius: 14px;
      border: 2px solid rgba(214, 143, 99, 0.42);
      background: rgba(214, 143, 99, 0.08);
    }

    .teacher-info {
      min-width: 0;
    }

    .teacher-name {
      margin: 0;
      font-size: 1.32rem;
      line-height: 1.25;
      font-weight: 800;
      color: var(--text);
    }

    .teacher-details {
      display: grid;
      gap: 11px;
      margin: 0;
      padding-left: 0;
      list-style: none;
    }

    .teacher-details li {
      position: relative;
      display: block;
      padding-left: 40px;
      margin: 0;
      line-height: 1.58;
      overflow-wrap: anywhere;
    }

    .teacher-details li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.06em;
      width: 28px;
      height: 28px;
      border: 1px solid rgba(157, 97, 60, 0.36);
      border-radius: 999px;
      background: rgba(214, 143, 99, 0.08);
    }

    .teacher-details li::after {
      content: "";
      position: absolute;
      left: 6px;
      top: calc(0.06em + 6px);
      width: 16px;
      height: 16px;
      background: #d68f63;
      -webkit-mask: var(--teacher-icon) center / 16px 16px no-repeat;
      mask: var(--teacher-icon) center / 16px 16px no-repeat;
    }

    .teacher-details li {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='education'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5Z'/%3E%3Cpath d='M6 12v5c3.5 2 8.5 2 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='certificate'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8l3 3v15H5V3h3Z'/%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M9 15h4'/%3E%3Cpath d='M16 3v4h4'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='experience'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='speaking'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h5'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='score'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-5'/%3E%3Cpath d='M12 16V8'/%3E%3Cpath d='M16 16v-7'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='teaching'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h14v16H6a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h8'/%3E%3C/svg%3E");
    }

    .teacher-details li[data-icon='community'] {
      --teacher-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    }

    .teacher-highlight {
      color: #ff8d5c;
      font-weight: 700;
    }

    .teacher-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      width: min(1120px, calc(100% - 8px));
      max-width: none;
      position: absolute;
      left: 50%;
      top: calc(50% + 42px);
      transform: translate(-50%, -50%);
      margin: 0;
      flex-wrap: nowrap;
      pointer-events: none;
      z-index: 7;
    }

    .teacher-counter {
      display: none;
      color: var(--primary);
      font-weight: 700;
      min-width: 62px;
      text-align: center;
    }

    .teacher-dots {
      display: none;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      width: auto;
    }

    .teacher-dot {
      width: 8px;
      height: 8px;
      border: 0;
      border-radius: 999px;
      background: rgba(57, 69, 78, 0.35);
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
    }

    .teacher-dot.is-active {
      background: var(--accent);
      transform: scale(1.25);
    }

    .teacher-controls .feedback-nav {
      width: 44px;
      height: 44px;
      min-width: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 999px;
      font-size: 1.45rem;
      line-height: 1;
      background: rgba(157, 97, 60, 0.14);
      border-color: rgba(157, 97, 60, 0.35);
      color: var(--primary);
      box-shadow: none;
      pointer-events: auto;
    }

    .teacher-controls .feedback-nav:hover {
      background: var(--accent);
      color: #ffffff;
      transform: scale(1.06);
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .about-grid>.reveal:nth-child(1) {
      transition-delay: 0.08s;
    }

    .about-grid>.reveal:nth-child(2) {
      transition-delay: 0.22s;
    }

    @media (prefers-reduced-motion: reduce) {

      .hero-copy-block>*,
      .hero-side-cards .hero-card {
        opacity: 1;
        animation: none;
      }

      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

    .about {
      background: var(--white);
      border-top: 1px solid rgba(57, 69, 78, 0.18);
      border-bottom: 1px solid rgba(57, 69, 78, 0.18);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: center;
    }

    .about-box {
      background: var(--surface-alt);
      border-left: 5px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 20px;
      color: var(--muted);
    }

    .about-box--right {
      height: fit-content;
      width: fit-content;
      max-width: 430px;
      justify-self: end;
      align-self: center;
    }

    .form-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }

    .contact-card {
      background: linear-gradient(165deg, var(--contact-cta-bg1), var(--contact-cta-bg2));
      color: #ffffff;
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .contact-card h3 {
      font-size: 1.45rem;
      margin-bottom: 10px;
    }

    .contact-card p {
      opacity: 0.9;
      margin-bottom: 12px;
    }

    .contact-card ul {
      list-style: none;
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .contact-card a,
    .contact-card a[href^="tel"],
    .contact-card a[x-apple-data-detectors] {
      color: #ffe0c8 !important;
      text-decoration-color: rgba(255, 224, 200, 0.75);
      font-weight: 700;
    }

    form {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 24px;
      border: 1px solid rgba(6, 38, 51, 0.1);
      box-shadow: var(--shadow);
    }

    .field {
      margin-bottom: 14px;
    }

    label {
      display: block;
      margin-bottom: 6px;
      font-weight: 600;
      color: var(--primary);
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid var(--input-border);
      border-radius: 10px;
      padding: 12px;
      font: inherit;
      color: var(--primary);
      background: var(--input-bg);
    }

    input::placeholder,
    textarea::placeholder {
      color: #7b8590;
      opacity: 1;
    }

    input[type="tel"] {
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.3px;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      border-color: var(--secondary);
      box-shadow: 0 0 0 3px rgba(57, 69, 78, 0.24);
    }

    textarea {
      min-height: 108px;
      resize: vertical;
    }

    .submit {
      width: 100%;
      margin-top: 4px;
      padding: 14px;
      font-size: 1rem;
    }

    .note {
      font-size: 0.86rem;
      color: var(--muted);
      margin-top: 8px;
      text-align: center;
    }

    .contact-section {
      background: var(--contact-section-bg);
      color: var(--contact-section-text);
      padding: 56px 0;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .contact-grid-inner {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 24px;
      padding-top: 20px;
    }
    .contact-grid-3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 24px;
      padding-top: 20px;
    }

    .contact-block {
      background: var(--contact-block-bg);
      border: 1px solid var(--contact-block-border);
      border-radius: var(--radius-md);
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .contact-block h3 {
      margin-bottom: 12px;
      color: var(--contact-block-heading);
    }

    .contact-list {
      list-style: none;
      display: grid;
      gap: 10px;
      color: var(--contact-list-text);
    }

    .social-links {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .social-links a {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--social-link-text);
      background: var(--social-link-bg);
      border: 1px solid var(--social-link-border);
      border-radius: 12px;
      padding: 11px 14px;
      transition: background 0.2s, transform 0.2s, border-color 0.2s;
    }

    .social-links a:hover {
      background: var(--social-link-hover-bg);
      border-color: var(--social-link-hover-border);
      transform: translateY(-1px);
    }

    .social-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--social-icon-bg);
      flex-shrink: 0;
    }

    .social-icon svg {
      width: 15px;
      height: 15px;
      fill: currentColor;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .theme-toggle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(6, 38, 51, 0.22);
      background: var(--surface);
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
      font-size: 1.05rem;
    }

    .theme-toggle:hover {
      transform: translateY(-1px);
    }

    .back-to-top {
      position: fixed;
      right: 16px;
      bottom: 18px;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1px solid rgba(57, 69, 78, 0.25);
      background: var(--surface);
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(6, 38, 51, 0.18);
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
      z-index: 50;
    }

    .back-to-top.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .back-to-top:hover {
      background: rgba(157, 97, 60, 0.14);
      border-color: rgba(157, 97, 60, 0.5);
      transform: translateY(-2px);
    }

    .side-mini-nav {
      position: fixed;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 15;
      width: 150px;
      padding: 10px;
      border-radius: 0 16px 16px 0;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(6, 38, 51, 0.14);
      border-left: none;
      box-shadow: 0 18px 34px rgba(6, 38, 51, 0.16);
      backdrop-filter: blur(12px);
    }

    .side-link {
      display: block;
      padding: 10px 12px;
      margin-bottom: 8px;
      border: 1px solid rgba(6, 38, 51, 0.16);
      border-radius: 10px;
      color: var(--primary);
      text-decoration: none;
      font-size: 11px;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.18);
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .side-link:last-child {
      margin-bottom: 0;
    }

    .side-link:hover,
    .side-link.active {
      color: #ffffff;
      background: var(--accent);
      border-color: var(--accent);
    }

    body.dark-mode .side-mini-nav {
      background: rgba(9, 22, 30, 0.82);
      border-color: rgba(169, 189, 200, 0.18);
    }

    body.dark-mode .side-link {
      color: #e8f0f4;
      border-color: rgba(168, 187, 199, 0.22);
      background: rgba(255, 255, 255, 0.05);
    }

    body.dark-mode .side-link:hover,
    body.dark-mode .side-link.active {
      color: #ffffff;
      border-color: var(--accent);
      background: var(--accent);
    }

    body.dark-mode .theme-toggle {
      border-color: rgba(168, 187, 199, 0.3);
      background: #0f1f29;
      color: #f5cf9d;
    }

    body.dark-mode .back-to-top {
      border-color: rgba(168, 187, 199, 0.3);
      background: #0f1f29;
      color: #f5cf9d;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    }

    body.dark-mode .back-to-top:hover {
      border-color: rgba(208, 144, 105, 0.5);
      background: rgba(208, 144, 105, 0.2);
    }

    body.dark-mode .about,
    body.dark-mode form,
    body.dark-mode .hero-card,
    body.dark-mode .course-card,
    body.dark-mode .feedback-slider {
      border-color: rgba(168, 187, 199, 0.2);
    }

    body.dark-mode .contact-card a,
    body.dark-mode .contact-card a[href^="tel"],
    body.dark-mode .contact-card a[x-apple-data-detectors] {
      color: #ffd3ae !important;
      text-decoration-color: rgba(255, 211, 174, 0.78);
    }

    body.dark-mode input::placeholder,
    body.dark-mode textarea::placeholder {
      color: #95aab7;
    }

    body.dark-mode .feedback-card {
      border-right-color: rgba(168, 187, 199, 0.16);
    }

    body.dark-mode .feedback-other-grid .feedback-card {
      background: #172730;
      border-color: rgba(168, 187, 199, 0.28);
      box-shadow: none;
    }

    body.dark-mode .teacher-item,
    body.dark-mode .teacher-name {
      color: #dce8ee;
    }

    body.dark-mode .teacher-item {
      background: #172a35;
      border-color: rgba(208, 144, 105, 0.28);
      box-shadow: none;
      backdrop-filter: none;
    }

    body.dark-mode .teacher-item.is-next {
      border-color: rgba(208, 144, 105, 0.16);
      box-shadow: none;
    }

    body.dark-mode .teacher-details li::before {
      border-color: rgba(208, 144, 105, 0.42);
      background: rgba(208, 144, 105, 0.1);
    }

    body.dark-mode .teacher-details li::after {
      background: #ffc08e;
    }

    body.dark-mode .teacher-controls .feedback-nav {
      background: rgba(208, 144, 105, 0.14);
      border-color: rgba(208, 144, 105, 0.4);
      color: #f3e9df;
      box-shadow: none;
    }

    body.dark-mode .teacher-controls .feedback-nav:hover {
      background: var(--accent);
      color: #07131a;
    }

    body.dark-mode .feedback-image-btn,
    body.dark-mode .feedback-more {
      border-color: rgba(168, 187, 199, 0.3);
      background: rgba(168, 187, 199, 0.08);
    }

    body.dark-mode .feedback-other-grid .feedback-image-btn {
      border-color: rgba(214, 232, 240, 0.58);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }

    body.dark-mode .contact-card,
    body.dark-mode .social-links a,
    body.dark-mode .contact-block {
      box-shadow: none;
    }

    footer {
      text-align: center;
      color: var(--muted);
      padding: 26px 0 34px;
      font-size: 0.95rem;
    }

    @media (max-width: 1440px) {
      .side-mini-nav {
        display: none;
      }
    }
    
    @media (max-width: 1360px) {
        .hero-grid {
          display: grid;
          grid-template-columns: 1fr 1.5fr;
          align-items: center;
          gap: 10px;
          width: 1220px;
        }
    }

    @media (max-width: 980px) {

      .hero-grid,
      .about-grid,
      .form-wrap,
      .contact-grid,
      .contact-grid-inner,
      .contact-grid-3 {
        grid-template-columns: 1fr;
        width: min(1220px, 92vw);
      }

      .about-box--right {
        max-width: 100%;
        width: 100%;
        justify-self: stretch;
      }

      .hero-side-cards {
        grid-template-columns: 1fr 1fr;
      }

      .feedback-card {
        min-width: 100%;
        grid-template-columns: 1fr;
      }

      .feedback-slider {
        --cards-per-view: 1;
      }

      .nav-links {
        order: 3;
        display: none;
        flex: 0 0 100%;
        width: 100%;
        margin: 8px 0 0;
        padding: 10px;
        border: 1px solid var(--header-border);
        border-radius: 14px;
        background: #00103f;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        font-size: 0.95rem;
      }

      .nav {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
        justify-content: flex-start;
      }

      .mobile-menu-toggle {
        display: inline-flex;
      }

      .nav.nav-open .nav-links {
        display: flex;
      }

      .nav-links a {
        display: flex;
        width: 100%;
        padding: 11px 12px;
        border-radius: 10px;
      }

      .nav-actions {
        margin-left: auto;
      }

      .btn {
        padding: 11px 16px;
      }

      .hero {
        padding-top: 44px;
      }
      .custom-teacher{
         height: 400px !important;
      }
    }

    @media (max-width: 640px) {
      .method-feature-section {
        padding-top: 42px;
      }

      .method-feature-card {
        display: block;
        padding: 18px;
        border-radius: 16px;
      }

      .method-feature-kicker {
        font-size: 0.78rem;
        margin-bottom: 8px;
      }

      .method-feature-card h2 {
        font-size: 1.42rem;
        line-height: 1.18;
      }

      .method-feature-card p {
        font-size: 0.94rem;
        margin-bottom: 16px;
      }

      .method-feature-card .btn {
        width: 100%;
        min-height: 44px;
      }

      .method-feature-list {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
      }

      .method-feature-list li {
        min-height: 0;
        padding: 12px;
        font-size: 0.86rem;
      }

      .method-feature-list strong {
        font-size: 0.94rem;
      }

      .feedback-card {
        flex-direction: column;
        grid-template-columns: 1fr;
        min-height: 0;
      }

      .courses {
        --course-card-width: 100%;
      }

      .feedback-gallery {
        min-height: 360px;
        max-height: 520px;
      }

      .hero-side-cards {
        grid-template-columns: 1fr;
      }

      .social-links {
        grid-template-columns: 1fr;
      }

      .feedback-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .feedback-nav {
        width: 100%;
        min-width: 0;
      }

      .teacher-item {
        grid-template-columns: 1fr;
        gap: 16px;
        height: 690px;
        padding: 18px 16px;
        font-size: 1rem;
        line-height: 1.52;
      }

      .teacher-list {
        height: 690px;
      }

      .teacher-item.is-next,
      .teacher-item.is-prev {
        opacity: 0;
        transform: translateX(0) translateY(0) scale(1);
      }

      .teacher-media {
        position: static;
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
      }

      .teacher-name {
        font-size: 1.12rem;
        line-height: 1.35;
      }

      .teacher-details {
        padding-left: 0;
        gap: 9px;
      }

      .teacher-details li {
        overflow-wrap: anywhere;
        line-height: 1.45;
        padding-left: 36px;
      }

      .teacher-details li::before {
        width: 26px;
        height: 26px;
      }

      .teacher-details li::after {
        left: 6px;
        top: calc(0.06em + 6px);
        width: 14px;
        height: 14px;
      }

      .teacher-controls .feedback-nav {
        flex: 0 0 44px;
        width: 44px;
      }

      .teacher-counter {
        order: -1;
        width: 100%;
      }

      .brand {
        font-size: 1.1rem;
      }

      .brand-logo {
        width: 100px;
        height: auto;
        
      }

      .nav-actions .btn-primary {
        display: none;
      }

      .section {
        padding: 42px 0;
      }
    }

    @media (max-width: 420px) {

      .teacher-list,
      .teacher-item {
        height: 760px;
      }

      .teacher-item {
        padding: 16px 14px;
        font-size: 0.95rem;
        line-height: 1.48;
      }

      .teacher-name {
        font-size: 1.05rem;
      }

      .teacher-media {
        max-width: 210px;
      }

      .teacher-details {
        padding-left: 0;
      }

      .hero-method-card .method-mini-list {
        grid-template-columns: 1fr;
      }

      .method-feature-card,
      .method-feature-list {
        grid-template-columns: 1fr;
      }
    }