/* Local Nohemi font family */
@font-face {
    font-family: 'Nohemi-Thin';
    src: url('../assets/fonts/Nohemi-Thin-BF6438cc57e2011.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-ExtraLight';
    src: url('../assets/fonts/Nohemi-ExtraLight-BF6438cc581502c.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-Light';
    src: url('../assets/fonts/Nohemi-Light-BF6438cc5702321.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-Regular';
    src: url('../assets/fonts/Nohemi-Regular-BF6438cc579d934.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-Medium';
    src: url('../assets/fonts/Nohemi-Medium-BF6438cc57ddecd.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-SemiBold';
    src: url('../assets/fonts/Nohemi-SemiBold-BF6438cc57db2ff.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-Bold';
    src: url('../assets/fonts/Nohemi-Bold-BF6438cc577b524.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-ExtraBold';
    src: url('../assets/fonts/Nohemi-ExtraBold-BF6438cc5761ae2.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi-Black';
    src: url('../assets/fonts/Nohemi-Black-BF6438cc565e67b.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    font-family: 'Nohemi', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #111;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: inherit;
    font-weight: 400;
    line-height: 24px;
    color: #111;
    overflow-x: hidden;
}

body.is-popup-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    margin: 0 0 8px 0;
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0d0f14;
    margin-bottom: 40px;
    height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20px;
    z-index: -1;
    background-color: #0d0f14;
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.82) 100%),
        url('../assets/images/yoga-img-3.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.05);
    filter: blur(18px) brightness(0.8);
    opacity: 1;
    animation: hero-banner-reveal 1.8s ease-out both;
}

.hero > * {
    position: relative;
    z-index: 1;
}

@keyframes hero-banner-reveal {
    from {
        opacity: 0;
        filter: blur(18px) brightness(0.8);
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: scale(1);
    }
}


.hero-media {
    max-width: 360px;
    max-height: 360px;
    opacity: 0;
    transform: translateY(24px);
    animation: hero-fade-up 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.site-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
    padding: 24px 32px 0;
    box-sizing: border-box;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand img {
    width: 40px;
    height: auto;
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.contact-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 17, 17, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.contact-popup-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-popup {
    position: relative;
    width: min(92vw, 420px);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s ease;
}

.contact-popup-overlay.is-open .contact-popup {
    transform: translateY(0) scale(1);
}

.contact-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.contact-popup-hero {
    display: flex;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #f8eee3 0%, #fff 100%);
}

.contact-popup-hero img {
    display: block;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.contact-popup-body {
    padding: 8px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-popup-title {
    margin: 0;
    font-size: 22px;
    color: #111;
}

.contact-popup-text {
    margin: 0;
    color: #5c5c5c;
}

.contact-popup-actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.contact-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-popup-btn.whatsapp {
    background: #25D366;
}

.contact-popup-btn.email {
    background: #111;
}

.contact-popup-btn.instagram {
    background: linear-gradient(45deg, #405DE6, #C13584, #F77737);
}

.contact-popup-phone {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-popup-label {
    font-size: 12px;
    color: #5c5c5c;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-popup-phone-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-popup-phone-field:hover {
    border-color: #d0d0d0;
    background: #f5f5f5;
}

.contact-popup-phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.contact-popup-phone-copy {
    padding: 6px 12px;
    border: 1px solid #111;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.contact-popup-phone-copy:hover {
    background: #111;
    color: #fff;
}

.contact-popup-phone-copy.copied {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1500;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: #111;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-to-top img {
    transform: rotate(270deg);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.24);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Teacher section - content left, image right */
.teacher-content {
    flex: 1 1 50%;
    padding-right: 16px;
}

.teacher-media {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.teacher-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.main-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    padding: 4px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    font-family: "Nohemi-medium";
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: scale(1.05);
}

.button-email {
    padding: 15px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.button-primary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: "Nohemi-Light";
}

.button-primary:hover {
    background: #000;
}

.button-icon {
    gap: 8px;
}

.button-icon img {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: "Nohemi-Thin";
}

.button-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 1200px;
    margin: 0 auto;
    padding: 128px 32px 64px;
    box-sizing: border-box;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.hero-txt {
    max-width: 608px;
    display: flex;
    flex-direction: column;
}

.hero-title,
.hero-description {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-fade-up 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title {
    font-family: "Nohemi-extralight";
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation-delay: 0.1s;
}

.hero-title span {
    font-family: "Nohemi-medium";
}

.hero-description {
    font-family: "Nohemi-light";
    display: flex;
    align-items: flex-end;
    text-align: right;
    animation-delay: 0.25s;
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffd166;
}

.hero-txt h1 {
    font-size: 100px;
    line-height: 102px;
    color: #fff;
    margin-bottom: 0;
}

.hero-txt h1 strong {
    display: block;
    font-weight: 900;
}

.hero-txt p {
    max-width: 448px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    line-height: 29px;
}

.section {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 32px;
    box-sizing: border-box;
}

.section-intro {
    padding-bottom: 40px;
    border-bottom: 2px solid #80808055;
    font-size: 50px;
    font-family: "Nohemi-light";
    line-height: normal;  
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

.reveal-section.is-visible .reveal-item,
.reveal-item.is-revealed {
    animation: section-text-rise 0.8s ease-in forwards;
}

.section-intro h2 span {
    font-family: "Nohemi-medium";
    font-size: 50px;
}

.section-intro p,
.about-content p,
.teacher-content p,
.quote-text {
    margin-top: 20px;
    color: #808080;
    font-size: 20px;
    line-height: 29px;
    font-family: "Nohemi-light";
}

@keyframes section-text-rise {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card-grid-bottom {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--card-color);
    border-radius: 24px;
    padding: 32px;
    min-height: fit-content;
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.info-card-container-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card-img-bottom {
    width: 100%;
    border-bottom-right-radius: 20px;
    max-height: 440px;
    overflow: hidden;
}

.img-card {
    width: 100%;
    overflow: hidden;
    height: 210px;
    margin-bottom: 24px;
    border-radius: 24px;
}

.info-card-container:last-child .img-card {
    margin-top: 24px;
    height: 170px;
    margin-bottom: 0;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-inline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-title {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 16px;
    font-family: "Nohemi-light";
    text-align: right;
}

.info-card ul {
    display: grid;
    gap: 12px;
}

.info-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: #1f1f1f;
    font-family: "Nohemi-Regular";
}

.info-card li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../assets/icons/pointers-05.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.about-grid {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.about-visual {
    min-height: 448px;
    width: 100%;
    max-width: 600px;
    border-radius: 32px;
}

.about-visual {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: none;
}

.about-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
    object-fit: cover;
    object-position: -40px;
}

.about-content {
    flex: 1 1 45%;
}

.about-content h2 {
    font-family: "Nohemi-light";
    font-size: 50px;
    margin-bottom: 16px;
    line-height: normal;
}

.teacher-content h2 {
    font-size: 50px;
    margin-bottom: 16px;
}

.teacher-content {
    max-width: 100%;
    width: 100%;
    padding-bottom: 40px;
    border-bottom: 2px solid #80808055;
}

.teacher {
    display: flex;
    gap: 32px;
    align-items: start;
    flex-direction: column;
}

.teacher-title {
    font-size: 40px;
    margin-bottom: 16px;
    font-family: "Nohemi-light";
}

.teacher-title span {
    font-size: 40px;
    margin-bottom: 16px;
    font-family: "Nohemi-medium";
}

.teacher-description {
    font-size: 20px;
    line-height: 29px;
    font-family: "Nohemi-light";
}

.teacher-description span {
    color: #ffb703;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.icon-card {
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    min-height: 256px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-color);
    padding: 30px;
}

.icon-circle-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.icon-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: "Nohemi-medium";

}

.icon-card p {
    color: #555;
    font-size: 16px;
    line-height: 27px;
    font-family: "Nohemi-light";
}

.testimonial {
    padding-top: 0;
}

.testimonial-card {
    position: relative;
    background: #111;
    color: #fff;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 32px;
}

.testimonial-content {
    padding: 24px;
    flex: 1 1 70%;
}

.testimonial-author,
.testimonial-message {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.testimonial-index {
    width: 50px;
    text-align: center;
}

.testimonial-author.is-changing,
.testimonial-message.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.testimonial-image-container {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.testimonial-image-container.is-flipping {
    animation: testimonial-image-flip 0.6s ease;
    will-change: transform;
}

@keyframes testimonial-image-flip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg) scale(0.94);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.testimonial-icon-quotes-top, .testimonial-icon-quotes-bottom {
    position: absolute;
    width: 56px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    z-index: 1;
}

.testimonial-icon-quotes-top {
    top: 0px;
    right: 36px;
}

.testimonial-icon-quotes-bottom {
    bottom: 15px;
    left: 28px;
    transform: rotate(180deg);
}

.testimonial-icon-quotes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-exterlal-icon-top, .testimonial-exterlal-icon-bottom {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    z-index: 1;
}

.testimonial-exterlal-icon-top img, .testimonial-exterlal-icon-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-exterlal-icon-top {
    top: -50px;
    left: 26%;
    transform: rotate(180deg);
}

.testimonial-exterlal-icon-bottom {
    bottom: -50px;
    left: 26%;
    transform: rotate(24deg);
}

.testimonial-label {
    display: flex;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffb703;
    margin-bottom: 16px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 30px;
    font-family: "Nohemi-light";
    justify-content: flex-end;
    margin-top: 20px;
}

.testimonial-image{
    width: min(250px, 30vw);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.testimonial-left-arrow {
    transform: rotate(180deg);
}

.testimonial-left-arrow,
.testimonial-right-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.testimonial-icon {
    width: 18px;
    height: 18px;
}

.quote {
    text-align: center;
    padding: 64px 32px 32px;
    overflow: hidden;
}

.quote-track {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: 300s linear infinite marquee;
    transform: translateX(0);
}

.quote-text {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
    font-size: 32px;
    color: var(--primary-color);
    font-family: "Nohemi-light";
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.heartshare-section-intro {
    font-size: 48px;
    margin-bottom: 16px;
    font-family: "Nohemi-medium";
    line-height: normal;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1024px) {

    .info-card-container-bottom {
            grid-template-columns: 1fr;
    }

    .info-card-img-bottom {
        border-bottom-left-radius: 20px;
        max-height: unset;
    }

    .hero-media {
    max-width: 250px;
    max-height: 250px;
    }

    .card-grid-bottom {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    }

    .site-header {
        flex-direction: column;
        padding: 24px 24px 0;
        max-width: unset;
        width: 100%;
    }

    .hero-inner {
        padding: 96px 24px 48px;
        width: 100%;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-content {
        width: 100%;
        padding: 16px 0 0;
    }

    .testimonial-image-container {
        width: 100%;
    }

    .testimonial-exterlal-icon-bottom {
        top: 35%;
        bottom: unset;
        left: -10%;
        transform: rotate(80deg);
        z-index: 2;
    }

    .testimonial-exterlal-icon-top {
        top: 25%;
        left: unset;
        right: -6%;
        transform: rotate(260deg);
        z-index: 2;
    }

    .testimonial-image {
        overflow: unset;
    }

    .testimonial-image-img {
        width: min(250px, 30vw);
        aspect-ratio: 1;
        border-radius: 50%;
        overflow: hidden;
    }

    .testimonial-image {
        position: relative;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 20px 0;
        gap: 12px;
    }

    .header-bar {
        width: 100%;
        flex: initial;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-panel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding-bottom 0.3s ease;
        padding-bottom: 0;
        flex: initial;
    }

    .site-header.is-open .header-panel {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        padding-bottom: 4px;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        flex: initial;
    }

    .main-nav a {
        width: 100%;
        padding: 8px 12px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 80px 20px 48px;
    }

    .hero-txt {
        max-width: 100%;
    }

    .hero-title {
        align-items: flex-start;
    }

    .hero-description {
        text-align: left;
        align-items: flex-start;
    }

    .hero-txt h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
        line-height: 1.05;
    }

    .hero-txt p {
        font-size: 18px;
        line-height: 27px;
        max-width: 100%;
    }

    .section {
        padding: 32px 20px;
    }

    .section-intro,
    .section-intro h2,
    .section-intro span,
    .about-content h2,
    .teacher-content h2,
    .teacher-title,
    .teacher-title span,
    .heartshare-section-intro {
        font-size: clamp(2rem, 6vw, 2.75rem);
    }

    .section-intro {
        padding-bottom: 24px;
    }

    .section-intro p,
    .about-content p,
    .teacher-content p,
    .quote-text {
        font-size: 18px;
        line-height: 27px;
    }

    .card-grid,
    .icon-grid {
        grid-template-columns: 1fr;
    }

    .info-card,
    .icon-card,
    .testimonial-card {
        padding: 24px;
    }

    .about-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .about-visual {
        min-height: 260px;
    }

    .teacher {
        gap: 24px;
    }

    .testimonial-image {
        width: min(220px, 58vw);
    }

    .testimonial-exterlal-icon-bottom {
        top: 230px;
        bottom: unset;
        left: -10%;
        transform: rotate(80deg);
    }

    .testimonial-exterlal-icon-top {
        top: 170px;
        left: unset;
        right: -6%;
        transform: rotate(260deg);
    }

    .testimonial-exterlal-icon-top,
    .testimonial-exterlal-icon-bottom {
        width: 84px;
        height: 84px;
    }

    .quote {
        padding: 48px 20px 24px;
    }

    .quote-text {
        font-size: 20px;
    }
}

.testimonial-author {
    display: flex;
    background: var(--primary-color);
    width: fit-content;
    padding: 4px 30px;
    border-radius: 50px;
}

.testimonial-author-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.testimonial-message {
    font-family: "Nohemi-light";
    font-size: 20px;
    line-height: 30px;
    min-height: 120px;
    max-height: 120px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin: 0 0 8px;
}

.testimonial-message.is-expanded {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.testimonial-read-more {
    border: 0;
    background: none;
    color: #ffb703;
    font-family: "Nohemi-medium";
    font-size: 15px;
    padding: 0;
    cursor: pointer;
    margin-bottom: 20px;
}

.testimonial-read-more:hover {
    text-decoration: underline;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 32px;
    color: var(--white-color);
    font-size: 15px;
    background: var(--black-color);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a img {
    display: block;
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .card-grid,
    .about-grid,
    .icon-grid,
    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding-top: 96px;
    }

    .teacher {
        flex-direction: column;
        gap: 24px;
    }

    .teacher-content,
    .teacher-media {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .teacher-media img {
        max-width: 100%;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 16px;
    }

    .main-nav {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-inner {
        padding: 96px 24px 48px;
        width: 100%;
    }

    .hero-txt h1 {
        font-size: 52px;
        line-height: 52px;
    }


    .section {
        padding: 38px 24px;
    }
    .section {
        padding: 38px 24px;
    }

    .info-card,
    .icon-card {
        min-height: auto;
    }

    .testimonial-message {
        max-height: none;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .site-header,
    .site-footer {
        gap: 12px;
        flex-direction: column;
    }

    .hero-txt h1 {
        font-size: 42px;
        line-height: 42px;
    }

    .main-nav {
        gap: 12px;
    }

    .button {
        width: 100%;
    }

    .icon-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

