:root {
    --radius-16: 16px;
    --radius-20: 20px;
    --radius-24: 24px;
    --radius-25: 25px;
    --radius-28: 28px;
    --radius-30: 30px;
    --radius-999: 999px;

    --tr-fast: all 0.3s ease;
    --tr-slow: all 0.6s ease;
    --tr-slower: 0.45s cubic-bezier(0.47, 0.05, 0.5, 0.94);
}

section.master {
    /* background-image: url(/assets/frontend/images/home/main-background.webp);
    background-size: cover;
    background-position: center center; */
    position: relative;
    height: calc(100vh + 150px);
}

.master .images-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.master .images-wrapper img {
    position: absolute;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.master .images-wrapper .house-hero {
    z-index: 10;
    width: 100%;
    min-width: 1000px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.master .images-wrapper .cloud-1 {
    left: 0;
    top: 100px;
    z-index: 5;
    opacity: 0.7;
    transform: translateY(0);
}

.master .images-wrapper .cloud-2 {
    top: 150px;

    right: 0;
    z-index: 5;
    transform: translateY(0);
}

.master .images-wrapper .sky {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: translateY(0);
}

/* Parallax layers with different speeds */
.parallax-layer-1 {
    transform: translateY(var(--parallax-1, 0));
}

.parallax-layer-2 {
    transform: translateY(var(--parallax-2, 0));
}

.parallax-layer-3 {
    transform: translateY(var(--parallax-3, 0));
}

.parallax-layer-4 {
    transform: translateY(var(--parallax-4, 0));
}

/* Enhanced parallax effects */
.master .images-wrapper {
    perspective: 1000px;
}

.master .images-wrapper img {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Smooth transitions for better performance */
.master .images-wrapper .sky {
    transition: transform 0.1s ease-out;
}

.master .images-wrapper .cloud-1,
.master .images-wrapper .cloud-2 {
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.master .images-wrapper .house-hero {
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Performance optimization */
.master .images-wrapper {
    contain: layout style paint;
}

.master .images-wrapper img {
    contain: layout style paint;
}

.hero-section {
    text-align: center;
    color: var(--white);
    padding: 220px 0 0;
    background-size: cover;
    background-position: center;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: -3px;
    left: 0;
z-index: 999;
    background: var(--background);
    border-radius: 50px 50px 0px 0px;
}

.hero-section .main-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.hero-title {
    letter-spacing: -2px;
    line-height: 90px;
    z-index: 999;
    text-align: left;
}

.hero-subtitle {
    color: #fff;
    font-size: 26px;
    z-index: 999;
    width: 60%;
    text-align: left;
}

.hero-button {
   padding: 18px 32px !important;
    /* text-transform: uppercase; */
    /* animation: pulse 2s infinite ease-in-out; */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #ffffff;
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 200, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 200, 0, 0);
    }
}

.cards-beneffits {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 24px;
    margin-top: 50px;
    z-index: 9999;
}

.card {
    position: relative;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-20);
    padding: 24px;
    width: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.separator {
    background: rgba(255, 255, 255, 0.15);
    display: block;
    width: calc(100% + 2px);
    height: 1px;
    transition: var(--tr-slower);
}

.card:hover .separator {
    background: var(--primary);
}

.card-icon {
    margin-bottom: 16px;
}

.card-title {
    font-family: "URW Gothic L", sans-serif;
    font-size: 26px;
    line-height: 32px;
    font-style: normal;
}

.card-text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-align: start;
}

/* systems-grid */

.systems-section {
    margin: 120px 0 120px;
}

.systems-section .systems-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 124px;
}

.systems-text .systems-title {
    font-family: "URW Gothic L", sans-serif;
    line-height: normal;
    letter-spacing: -2px;
    max-width: 600px;
    padding: 24px 0px 94px;
}

.systems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    width: 100%;
}

.systems-grid .system-card {
    position: relative;
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    padding: 32px;
    height: 370px;
    border-radius: var(--radius-25);
    background-image: url(/assets/frontend/images/home/sky.webp);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.systems-grid .system-card .card-item-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--white);
    transition: var(--tr-slow);
}

.systems-grid .system-card:hover .card-item-text {
    color: var(--text);
}

.systems-grid .system-card .card-label {
    display: block;
    font-family: "URW Gothic L", sans-serif;
    font-size: 26px;
    z-index: 9999;
}

.systems-grid .system-card .card-item-beneffits p,
.systems-grid .system-card .card-item-matter {
    position: relative;
    transition: var(--tr-slow);
    z-index: 9999;
    opacity: 0;
}

.systems-grid .system-card:hover .card-item-beneffits p,
.systems-grid .system-card:hover .card-item-matter {
    opacity: 1;
}

.systems-grid .system-card .card-item-beneffits p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.systems-grid .system-card::before {
    content: "";
    position: absolute;
    height: 7px;
    width: 7px;
    top: 0;
    right: 0;
    background: var(--primary);
    border-radius: 0 0 0 100%;
    transform-origin: top right;
    transition: var(--tr-slow);
}

.systems-grid .system-card:hover::before {
    height: 700px;
    width: 700px;
}

.systems-grid .system-card .layots-3d-img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 90;
    opacity: 1;
    transition: var(--tr-fast);
    transform-origin: bottom right;
}

.systems-grid .system-card:hover .layots-3d-img {
    transform: scale(0);
}

.systems-grid .system-card .paint {
    position: absolute;
    z-index: 9999;
    transition: var(--tr-slow);
}

.systems-grid .system-card .house {
    left: 0;
    bottom: 0;
    transform-origin: bottom left;
}

.systems-grid .system-card .paint-2 {
    bottom: 0;
    right: 0;
    transform: scale(0);
    transform-origin: bottom right;
}

.systems-grid .system-card:hover .house {
    transform: scale(0);
}

.systems-grid .system-card:hover .paint-2 {
    transform: scale(0.85);
}

.systems-grid .system-card .system-button-item {
    position: absolute;
    display: flex;
    width: 50px;
    height: 50px;
    padding: 15px;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-25);
    border: 1.5px solid var(--text_light);
    z-index: 999;
    top: 0;
    right: 0;
    transition: var(--tr-fast);
}

.systems-grid .system-card:hover .system-button-item {
    border: 1.5px solid transparent;
    background-color: var(--primary);
}

.systems-grid .system-card .border-shapes {
    position: absolute;
    height: 60px;
    width: 60px;
    border-radius: 0 0 0 30px;
    top: 0;
    right: 0;
    background: var(--background);
}

.systems-grid .system-card .border-shapes::after,
.systems-grid .system-card .border-shapes::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 30px;
    clip-path: path("M0 0 Q0,30 30,30 L 0 30 Z");
    background: var(--background);
}

.systems-grid .system-card .border-shapes::after {
    top: 0;
    left: -30px;
    transform: rotate(180deg);
}

.systems-grid .system-card .border-shapes::before {
    right: 0;
    bottom: -30px;
    transform: rotate(180deg);
}

.systems-subtext {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    line-height: 23.11px;
    margin-top: 40px;
}

/* systems-grid */

/* testimonial-section */

.testimonial-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #f6f3ec;
    padding: 150px 30px;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: row;
    gap: 100px;
}


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

.testimonial-content {
    /* max-width: 636px; */
    width: 100%;
}

.testimonial-title {
    font-family: "URW Gothic L", sans-serif;
    line-height: normal;
    font-size: clamp(26px, 4.5vw, 52px);
    letter-spacing: -1px;
    padding: 24px 0;
}

.testimonial-subtitle {
    color: #4b4b4b;
    line-height: 26px;
}

.testimonial-quote {
    padding: 50px 0 24px;
}

.testimonial-user-info .user-photos {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
}

.testimonial-user-info .photo {
    max-width: 84px;
    max-height: 84px;
    border-radius: var(--radius-16);
    overflow: hidden;
}

.testimonial-user-info .user-photos img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
    display: block;
}

.extra-count {
    width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-16);
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.testimonial-navigator {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;
}

.testimonial-author p {
    font-family: "URW Gothic L", sans-serif;
    font-size: 20px;
    margin-bottom: 4px;
}

#testimonial-top-element {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
}

.testimonials-donut-spin {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 0;
    right: 50%;
    font-size: 16px;
    transform: translate(50%, -50%);
    animation: donut-spin 10s linear infinite;
}

.testimonials-donut-spin svg {
    overflow: visible;
}

.testimonials-donut-spin path {
    fill: none;
}

.testimonials-donut-spin text {
    fill: var(--text);
    letter-spacing: 1px;
}

@keyframes donut-spin {
    to {
        transform: translate(50%, -50%) rotate(1turn);
    }
}

.picture-spin-element {
    position: absolute;
    top: 0;
    right: 50%;
    border-radius: 100%;
    overflow: hidden;
    transform: translate(50%, -50%);
}

/* testimonial-section */

/* consultation-section */

.consultation-section {
    height: 100%;
}

.consultation-background {
    background: url("/assets/frontend/images/home/consultation-bg.webp")
        no-repeat center center;
    height: 100%;
    aspect-ratio: 99/50;
    background-size: cover;
    padding: 60px 24px;
    margin: 180px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.consultation-title-box {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.consultation-title-box .consultation-title {
    font-family: "URW Gothic L", sans-serif;
    font-weight: 600;
}

.consultation-card {
    position: relative;
    padding: 100px 320px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-radius: 30px;
    background: var(--white);
    overflow: hidden;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-weight: 400;
}

.consultation-form .footer-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
}

.consultation-form input {
    border: none;
    border-radius: 999px;
    background: #f2f2f2;
    padding: 18px 30px;
    width: 100%;
    font-weight: 400;
    z-index: 999;
}

.consultation-form .form-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.consultation-form-item {
    position: absolute;
    bottom: 0;
    opacity: 0.7;
}

.consultation-form-item-1 {
    left: -270px;
}

.consultation-form-item-2 {
    right: -270px;
}

/* consultation-section */

/* calculator */

.calculator-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

.calculator-left {
    flex: 2 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
}

.calculator-title {
    font-family: "URW Gothic L", sans-serif;
    font-size: 36px;
    margin-top: 8px;
}

.contact-block {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-weight: 400;
    color: #8a8a8a;
}

.form-note {
    font-weight: 400;
}

.calculator-right {
    flex: 1 1 49%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.calculator-form input,
.calculator-form select {
    display: flex;
    align-items: center;
    padding: 12px 32px;
    height: 74px;
    border-radius: 28px;
    border: 1px solid #ccc;
    line-height: 24px;
    outline: none;
    appearance: none;
}

.calculator-form input::placeholder {
    color: var(--text);
}

.calculator-submit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 32px;
}

.calculator-submit-button {
    width: 100%;
    height: 74px;
    padding-left: 32px !important;
    display: flex;
    justify-content: space-between;
}

.calculator-submit-button .button-icon {
    width: 60px;
    height: 60px;
}

.promo-card {
    margin-top: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 370px;
    padding: 10px;
    border-radius: var(--radius-30);
    overflow: hidden;
}

.promo-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: -100;
}

.promo-content,
.transparent-element {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: var(--radius-20);
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--radius-20);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--white);
}

.promo-content .promo-title {
    font-family: "URW Gothic L";
    font-size: 46px;
}

.promo-content .promo-text {
    font-size: 20px;
}

/* calculator */

/* unique-section */

.unique-section {
    position: relative;
    background-color: var(--primary);
    border-radius: var(--radius-30);
    height: 100vh;
    margin: 180px auto;
    padding: 80px 0;
}

.unique-section .section-tag.scroll-text {
    border: 1px solid var(--text);
}

.corner-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 324px;
    height: 82px;
    background: var(--background);
    border-radius: 0 0 30px 0;
}

.unique-section .corner-element::after,
.unique-section .corner-element::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 30px;
    clip-path: path("M0 0 Q0,30 30,30 L 0 30 Z");
    background: var(--background);
}

.unique-section .corner-element::after {
    top: 0;
    right: -30px;
    transform: rotate(90deg);
}

.unique-section .corner-element::before {
    left: 0;
    bottom: -30px;
    transform: rotate(90deg);
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 32px;
    margin-top: 48px;
    z-index: 10 !important;
}

.feature-card {
    z-index: 1000 !important;
}

.feature-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.feature-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.feature-card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.feature-card:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.feature-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.feature-card:nth-child(6) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.feature-card:not(:nth-child(1)) {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-28);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card .feature-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    font-size: 26px;
    font-family: "URW Gothic L", sans-serif;
}

.feature-card .feature-header .icon {
    min-width: 65px;
    width: 65px;
    height: 65px;
    border-radius: 100%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .feature-text {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

.feature-card .feature-separator {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 24px 0;
    transition: var(--tr-slow);
}

.feature-card:not(:nth-child(1)):hover .feature-separator {
    background-color: var(--primary);
}

.feature-card .section-title {
    font-family: "URW Gothic L", sans-serif;
    font-size: 60px;
    letter-spacing: -1.5px;
    margin-top: 12px;
}

.slider {
    position: relative;
    margin: 100px 0;
    width: 100%;
    height: var(--height);
    overflow: hidden;
    z-index: 999999;
}
.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--height);
    width: var(--width);
    position: absolute;
    left: 100%;
    font-size: 26px;
    overflow: hidden;
    background-color: var(--white);
    border-radius: 999px;
    animation: autoRun 44s linear infinite;
    animation-delay: calc(
        44s / var(--quantity) * (var(--position) - var(--quantity))
    );
}
/* Make image tabs half the width of text tabs without distorting images */
.slider .list .tab-item.tab-picture {
    width: calc(var(--width) / 2);
    margin-left: calc(var(--width) / 4);
    margin-right: calc(var(--width) / 4);
}

.slider .tab-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes autoRun {
    0% {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

/* unique-section */

/* projects-section */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    grid-gap: 32px;
}

.project-card {
    position: relative;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card .img-container {
    max-height: 440px;
    height: 100%;
    border-radius: var(--radius-30);
    overflow: hidden;
}

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

.project-card.large {
    grid-column: span 2;
}

.project-info {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #8a8a8a;
}

.location {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-title {
    font-size: 26px;
    font-weight: 600;
    margin-top: 4px;
}

.project-description {
    /* grid-column: span 2; */
    border-radius: var(--radius-24);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projects-section .section-header .section-title {
    font-size: 48px;
    margin: 12px 0 36px;
}

.project-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 26px;
}

.project-description strong {
    color: #000;
}

.project-description .outline,
.project-description .filled {
    justify-content: space-between;
    height: 70px;
}

.project-description .outline .button-icon,
.project-description .filled .button-icon {
    height: 60px;
    width: 60px;
}

/* projects-section */

/* Slider Before/After */

.results-section {
    margin: 180px auto;
}
.results-section .section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.results-section .section-header .section-title {
    max-width: 1200px;
    font-size: 48px;
    width: 75%;
    margin-top: 12px;
}

.before-after-wrapper {
    display: grid;
    place-items: center;
    margin: 34px 0;
}

.before-after-slider {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    --position-slider: 50%;
}

.before-after-wrapper img {
    display: block;
    max-width: 100%;
}

.before-after-wrapper .image-container {
    max-width: 1200px;
    max-height: 90vh;
    aspect-ratio: 7.5/5;
}

.before-after-wrapper .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.before-after-wrapper .image-before {
    position: absolute;
    inset: 0;
    width: var(--position-slider);
}

.before-after-wrapper .slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.before-after-wrapper .slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}
.before-after-wrapper .slider-line {
    position: absolute;
    inset: 0;
    width: 0.2rem;
    height: 100%;
    background-color: #fff;
    left: var(--position-slider);
    transform: translateX(-50%);
    pointer-events: none;
}

.before-after-wrapper .slider-button {
    position: absolute;
    background-color: #fff;
    color: black;
    padding: 0.5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position-slider);
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, 0.5);
}

.before-after-wrapper .before-after-slider .label {
    position: absolute;
    z-index: 999;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    top: 10px;
}

.before-after-wrapper .before-after-slider .label-right {
    right: 10px;
}

.before-after-wrapper .before-after-slider .label-left {
    left: 10px;
}

.results-section .cta-buttons.center {
    text-align: center;
}

/* Slider Before/After */

/* tutorials-section */

.tutorials-section .section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tutorials-section .section-header .section-title {
    font-size: 48px;
    line-height: normal;
}

.tutorials-section .section-header .section-subtitle {
    color: rgba(0, 0, 0, 0.60);
}

.tutorials-section .tutorials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 50px 0;
}

.tutorials-cta {
    text-align: center;
}

.tutorials-section .tutorial-card {
    flex: 0 0 350px; 
    border-radius: var(--radius-30);
    border: 1px solid rgba(170, 136, 170, 0.2);
    padding: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.tutorials-section .video-thumb {
    position: relative;
    /* aspect-ratio: 1 / 1; */
    width: 100%;
}

.tutorials-section .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tutorials-section .video-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 18px;
    line-height: 1.3;
}

.tutorials-section .video-thumb .video-box {
    width: 100%;
    height: 330px;
    border-radius: var(--radius-20);
    overflow: hidden;
}

.tutorials-section .video-thumb svg {
    position: absolute;
    bottom: -30px;
    right: 40px;
    z-index: 99;
}

.tutorials-section .video-thumb .tutorial-border-element {
    position: absolute;
    width: 80px;
    height: 45px;
    bottom: 0;
    right: 35px;
    border-radius: 999px 999px 0 0;
    background-color: var(--background);
}

.tutorials-section .video-thumb .tutorial-border-element::after,
.tutorials-section .video-thumb .tutorial-border-element::before {
    content: "";
    position: absolute;
    height: 15px;
    width: 15px;
    clip-path: path("M0 0 Q0,15 15,15 L 0 15 Z");
    bottom: -1px;
    right: 0;
    background: var(--background);
}

.tutorials-section .video-thumb .tutorial-border-element::after {
    left: -14px;
    transform: rotate(270deg);
}

.tutorials-section .video-thumb .tutorial-border-element::before {
    right: -14px;
}

.tutorials-section .tutorial-info {
    margin-top: 49px;
    padding: 0px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tutorials-section .tutorial-info .video-title {
    width: 80%;
    font-size: 26px;
}

.tutorials-section .tutorial-info .video-time {
    color: rgba(170, 136, 170, 0.53);
}

/* tutorials-section */

/* home video section */
.home-video-section {
    margin: 0 auto 180px;
}
.home-video-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: var(--radius-30);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.home-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.home-video-play svg {
    width: 120px;
    height: 120px;
    border-radius: 100%;
}

.home-video-play svg path:first-child {
    fill: #ffffffd4;
}

.home-video-play svg path:last-child {
    fill: transparent;
}

.home-video-title {
    font-family: "URW Gothic L", sans-serif;
    font-size: 36px;
    width: 50%;
    text-align: center;
}
/* home video section */

/* Project system tag */
.project-card .img-container { position: relative; }
.project-system-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    backdrop-filter: blur(4px);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.project-system-tag:hover { background: rgba(0,0,0,0.75); border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
@media (max-width: 576px) {
    .project-system-tag { font-size: 12px; padding: 6px 10px; }
}
/* Project system tag */


    .image-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999999; display: flex; align-items: center; justify-content: center; }
    .image-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
    .image-modal-content { position: relative; background: var(--white); border-radius: 30px; max-width: 90vw; max-height: 90vh; width: 100%; max-width: 1200px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
    .image-modal-close { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.5); border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; z-index: 10001; transition: all .3s ease; }
    .image-modal-close:hover { background: rgba(0,0,0,0.8); transform: scale(1.1); }
    .image-modal-body { position: relative; padding: 24px; display: flex; align-items: center; justify-content: center; }
    #testimonialImage { max-width: 100%; max-height: 70vh; border-radius: var(--radius-20); display: block; }
    .image-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
    .image-nav.prev { left: 16px; }
    .image-nav.next { right: 16px; }
    @media (max-width: 768px) { .image-modal-content { max-width: 95vw; max-height: 95vh; margin: 20px; } .image-modal-body { padding: 16px; } }