@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* ==========================================================================
   Tastyc Hero Banner Styles
   ========================================================================== */
.tastyc-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #111;
}

/* Background & Overlay */
.tastyc-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tastyc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}

/* Center Typography (Kavilla Style) */
.kv-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.kv-hero-subtitle {
    font-family: var(--font-body, sans-serif);
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 1s ease 0.5s both;
}

.kv-hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(5rem, 10vw, 10rem);
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin: 0;
    animation: fadeInUp 1s ease 0.7s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.kv-hero-description {
    font-family: var(--font-body, sans-serif);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebars (Social & Phone) */
.tastyc-hero-sidebar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.left-sidebar {
    left: 40px;
}

.right-sidebar {
    right: 40px;
}

.tastyc-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
}

.tastyc-social-links,
.tastyc-phone-number {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #fff;
    font-family: var(--font-body, sans-serif);
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tastyc-social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.tastyc-social-links a:hover {
    color: var(--color-accent, #D4AF37);
}

.diamond {
    color: var(--color-primary, #014F86);
    font-size: 0.5rem;
}

.tastyc-hero-bottom-center {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 310px;
    height: 155px;
    z-index: 2;
    background-image: url('../images/smenu-bg.png');
    background-attachment: fixed !important;
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 310 155' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' fill='black' d='M0.428,155.011 C90.619,142.124 142.169,90.688 155.083,0.685 C167.937,90.657 219.455,142.094 309.639,154.903 Z'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 310 155' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' fill='black' d='M0.428,155.011 C90.619,142.124 142.169,90.688 155.083,0.685 C167.937,90.657 219.455,142.094 309.639,154.903 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
}

.tastyc-arch-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tastyc-arch-svg path {
    fill: transparent !important;
}

.tastyc-mouse-wrap {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.tastyc-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--color-primary, #014F86);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.tastyc-mouse-wheel {
    width: 4px;
    height: 6px;
    background: var(--color-primary, #014F86);
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Bottom Right Rotating Badge */
.tastyc-hero-badge {
    position: absolute;
    bottom: 30px;
    right: 120px; /* Đẩy sang trái để tránh góc phải */
    z-index: 2;
    width: 110px;
    height: 110px;
    background-color: var(--color-primary, #014F86);
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tastyc-hero-badge:hover {
    transform: scale(1.05);
}

.tastyc-badge-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateBadge 12s linear infinite;
}

.tastyc-badge-text path {
    fill: none;
}

.tastyc-badge-text text {
    fill: #fff;
    font-family: var(--font-body, sans-serif);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
}

.tastyc-badge-icon {
    font-size: 24px;
    color: #ffffff;
    z-index: 2;
}

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .tastyc-title-where { font-size: 4rem; }
    .tastyc-title-taste { font-size: 5rem; }
    .tastyc-title-elegance { font-size: 7rem; margin-top: -40px; }
    .left-sidebar { left: 20px; }
    .right-sidebar { right: 20px; }
    .tastyc-hero-badge { right: 80px; bottom: 30px; width: 100px; height: 100px; }
    .tastyc-badge-text text { font-size: 14px; }
}

@media (max-width: 768px) {
    .tastyc-hero {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .left-sidebar, .right-sidebar { display: none; }
    .tastyc-title-where { font-size: 3rem; }
    .tastyc-title-taste { font-size: 3.5rem; }
    .tastyc-title-elegance { font-size: 5rem; margin-top: -30px; }
    .tastyc-hero-badge { right: 90px; bottom: 20px; width: 90px; height: 90px; } /* Pushed left to avoid floating buttons */
    .tastyc-arch { width: 100px; height: 80px; }
}

/* ==========================================================================
   Home Features Section (Why Choose Us)
   ========================================================================== */
.home-features-section { padding: 100px 20px 40px;
}

.home-features-section .hf-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hf-header {
    text-align: center;
    margin-bottom: 70px;
}

.hf-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1a3636;
    position: relative;
    padding-top: 20px;
}

.hf-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.hf-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 48px;
    font-weight: 700;
    color: #1a3636;
    margin: 20px 0 15px;
}

.hf-desc {
    font-size: 16px;
    color: #a9a9a9;
    font-weight: 300;
}

.hf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.hf-item {
    text-align: left;
}

.hf-icon {
    margin-bottom: 25px;
}

.hf-item-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 24px;
    font-weight: 700;
    color: #1a3636;
    margin-bottom: 15px;
}

.hf-item-desc {
    font-size: 15px;
    color: #a9a9a9;
    line-height: 1.8;
    font-weight: 300;
}

@media (max-width: 991px) {
    .hf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .hf-grid {
        grid-template-columns: 1fr;
    }
    .hf-title {
        font-size: 36px;
    }
    .home-features-section {
        padding: 70px 20px;
    }
}


/* ==========================================================================
   Home Explore Section
   ========================================================================== */
.home-explore-section { background-color: transparent; padding: 40px 20px 20px;
    color: var(--color-text, #1c3035);
}

.home-explore-section .he-container {
    max-width: 1200px;
    margin: 0 auto;
}

.he-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch; /* Change to stretch to fix height equal to image */
}
.he-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 0;
}

/* Slider */
.he-slider-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Make it look like a portrait/tall image */
    overflow: hidden;
}

.he-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.he-slide.active {
    opacity: 1;
    z-index: 2;
}

.he-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.he-slide-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 80px 30px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    text-align: center;
}

.he-slide-overlay h4 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.he-slide-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.he-slide.active .he-slide-overlay h4 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.he-slide.active .he-slide-overlay p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.he-prev, .he-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    padding: 10px;
}
.he-prev { left: 10px; }
.he-next { right: 10px; }

.he-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.he-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.he-dot.active {
    background-color: #fff;
    width: 8px; height: 8px;
    transform: translateY(-1px);
}

/* Content Right */
.he-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text, #1c3035);
    margin-bottom: 10px;
}

.he-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text, #1c3035);
    margin: 0 0 30px;
    line-height: 1.2;
}

.he-desc {
    font-size: 15px;
    color: var(--color-text-light, #555);
    line-height: 1.8;
    margin-bottom: 20px;
}

.he-accordion {
    margin: 20px 0;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.he-acc-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.he-acc-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.he-acc-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text, #1c3035);
    cursor: pointer;
}

.he-acc-header i {
    transition: transform 0.3s ease;
}

.he-acc-item.active .he-acc-header i {
    transform: rotate(180deg);
}

.he-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}
.he-acc-content p {
    font-size: 15px;
    color: var(--color-text-light, #555);
    line-height: 1.6;
    margin: 0;
}

.he-acc-item.active .he-acc-content {
    max-height: 150px;
    padding: 0 15px 20px;
    opacity: 1;
}

.he-btn {
    align-self: flex-start;
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.he-btn:hover { background-color: var(--color-primary); filter: brightness(1.15); opacity: 0.9; color: #fff; }

@media (max-width: 991px) {
    .he-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .he-slider-wrap {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .he-title {
        font-size: 36px;
    }
    .home-explore-section {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Home What We Make Section (Menu Highlight)
   ========================================================================== */
.home-wwm-section {
    background-color: transparent;
    padding: 50px 20px 0 20px;
    color: var(--color-text, #1c3035);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.wwm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0;
}

.wwm-content {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 450px;
}

/* For the reversed row (Image Left, Content Right) */
.wwm-row.reverse .wwm-content {
    order: 2;
}
.wwm-row.reverse .wwm-image {
    order: 1;
}

.wwm-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text, #1c3035);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

/* Little line before subtitle like in the design */
.wwm-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background-color: var(--color-primary); /* Use primary color as requested */
}

.wwm-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text, #1c3035);
    margin: 0 0 25px;
    line-height: 1.2;
}

.wwm-desc {
    font-size: 15px;
    color: var(--color-text-light, #555);
    line-height: 1.8;
    margin-bottom: 40px;
}

.wwm-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.wwm-btn:hover {
    background-color: var(--color-primary);
    filter: brightness(1.15);
    opacity: 0.9;
    color: #fff;
}

.wwm-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 500px;
}

.wwm-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.wwm-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .wwm-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    .wwm-row.reverse .wwm-content {
        order: 1; /* Reset order on mobile */
    }
    .wwm-row.reverse .wwm-image {
        order: 2; /* Reset order on mobile */
    }
    .wwm-image {
        min-height: 400px;
    }
    .wwm-image img {
        position: absolute;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .wwm-title {
        font-size: 36px;
    }
}


/* ==========================================================================
   Quality Section
   ========================================================================== */
.home-quality-section {
    padding: 40px 0 70px;
    background: transparent;
}

.hq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.hq-title-wrap {
    flex: 1;
}

.hq-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light, #666);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hq-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text, #111);
    margin: 0;
    line-height: 1.1;
}

.hq-desc-wrap {
    flex: 1.5;
}

.hq-desc-wrap p {
    font-size: 15px;
    color: var(--color-text-light, #555);
    line-height: 1.7;
    margin: 0;
}

.hq-btn-wrap {
    flex: 0.5;
    display: flex;
    justify-content: flex-end;
}

.hq-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.hq-btn:hover {
    background-color: var(--color-primary-light);
    color: #fff;
}

.hq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.hq-item {
    display: flex;
    flex-direction: column;
}

.hq-item.hq-stagger {
    margin-top: 80px;
}

.hq-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 25px;
}

.hq-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hq-item:hover .hq-img-wrap img {
    transform: scale(1.05);
}

.hq-content {
    text-align: center;
    padding: 0 10px;
}

.hq-content h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-text, #111);
    margin-bottom: 15px;
}

.hq-content p {
    font-size: 16px;
    color: var(--color-text-light, #666);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .hq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .hq-btn-wrap {
        justify-content: flex-start;
    }
    .hq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .hq-item.hq-stagger {
        margin-top: 0;
    }
    /* Stagger only evens visually in 2-col layout */
    .hq-item:nth-child(even) {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hq-title {
        font-size: 36px;
    }
    .hq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hq-item:nth-child(even) {
        margin-top: 0;
    }
}



/* ==========================================================================
   Find Us Section
   ========================================================================== */
.home-findus-section {
    padding: 0 0 120px;
    background: transparent;
}

.fu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.fu-map-wrap {
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fu-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fu-image {
    width: 100%;
    flex: 1; /* Take remaining space */
    min-height: 300px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fu-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.fu-hours {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.fu-hours i {
    font-size: 28px;
    color: var(--color-primary, #014F86);
    margin-top: 2px;
}

.fu-hours h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.fu-hours p {
    font-size: 16px;
    color: var(--color-text-light);
    margin: 0;
}

.fu-tags {
    display: flex;
    gap: 15px;
    width: 100%;
}

.fu-tag {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 10px;
    background: #f8fafb;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.fu-tag:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.fu-tag:hover i {
    color: #fff;
}

.fu-tag i {
    color: var(--color-accent, #D4AF37);
    font-size: 14px;
    transition: all 0.3s;
}

@media (max-width: 991px) {
    .fu-grid {
        grid-template-columns: 1fr;
    }
    .fu-map-wrap {
        min-height: 350px;
    }
}





/* ==========================================================================
   Scroll Animations & Parallax
   ========================================================================== */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-up-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tastyc-hero-bg {
    will-change: transform;
}
.kv-hero-content {
    will-change: transform, opacity;
}

/* Stagger animation delays for grid items */
.hq-grid .hq-item:nth-child(1) { transition-delay: 0s; }
.hq-grid .hq-item:nth-child(2) { transition-delay: 0.1s; }
.hq-grid .hq-item:nth-child(3) { transition-delay: 0.2s; }
.hq-grid .hq-item:nth-child(4) { transition-delay: 0.3s; }




/* ==========================================================================
   Home Testimonials Section
   ========================================================================== */
.home-testimonials-section {
    padding: 100px 20px;
    background-color: #f8fafb;
    text-align: center;
}
.ht-container {
    max-width: 1200px;
    margin: 0 auto;
}
.ht-header {
    margin-bottom: 60px;
}
.ht-subtitle {
    font-size: 14px;
    color: var(--color-accent, #D4AF37);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.ht-title {
    font-size: 42px;
    color: var(--color-primary, #014F86);
    margin: 0;
    font-family: var(--font-heading, "Playfair Display", serif);
}
.ht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.ht-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s;
}
.ht-item:hover {
    transform: translateY(-10px);
}
.ht-stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 18px;
}

.ht-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.ht-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.ht-author-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--color-primary, #014F86);
}
.ht-author-info span {
    font-size: 13px;
    color: #999;
}
.ht-footer {
    text-align: center;
}
.ht-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--color-primary, #014F86);
    color: var(--color-primary, #014F86);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.ht-btn:hover {
    background: var(--color-primary, #014F86);
    color: #fff;
}

/* ==========================================================================
   Swiper Testimonials Overrides
   ========================================================================== */
.ht-swiper-container {
    width: 100%;
    padding: 20px 50px 50px 50px;
    position: relative;
    overflow: hidden;
}
.ht-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Navigation arrows styling */
.ht-swiper-next,
.ht-swiper-prev {
    color: var(--color-primary, #014F86) !important;
    background: #fff;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    top: 50% !important;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.ht-swiper-next:hover,
.ht-swiper-prev:hover {
    background: var(--color-primary, #014F86);
    color: #fff !important;
}
.ht-swiper-next::after,
.ht-swiper-prev::after {
    font-size: 16px !important;
    font-weight: bold;
}
.ht-swiper-next {
    right: 0 !important;
}
.ht-swiper-prev {
    left: 0 !important;
}

.ht-swiper-container .swiper-slide {
    height: auto;
}

.ht-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    min-height: 150px;
    flex-grow: 1;
}



/* Reduce spacing between Features and Explore sections on mobile */
@media (max-width: 991px) {
    .home-features-section {
        padding-bottom: 30px !important;
    }
    .home-explore-section {
        padding-top: 30px !important;
    }
}



/* What We Make Mobile Overrides (Completely Separate Section) */
#home-wwm-mobile {
    display: none;
}

@media (max-width: 991px) {
    #home-wwm-desktop {
        display: none !important;
    }
    #home-wwm-mobile {
        display: block !important;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #home-wwm-mobile .hf-header {
        margin-bottom: 20px;
    }
    .wwm-row-m {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    .wwm-content-m {
        display: flex;
        flex-direction: column;
    }
    .wwm-subtitle-m {
        display: inline-block;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--color-text, #1c3035);
        margin-bottom: 10px;
        position: relative;
        padding-left: 50px;
    }
    .wwm-subtitle-m::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 2px;
        background-color: var(--color-primary);
    }
    .wwm-title-m {
        font-size: 40px;
        font-family: var(--font-heading);
        margin-bottom: 10px;
        color: var(--color-primary);
        line-height: 1.2;
    }
    .wwm-desc-m {
        font-size: 16px;
        margin-bottom: 0;
        color: var(--color-text, #1c3035);
    }
    .wwm-image-m {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    .wwm-image-m img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.hf-header-spaced {
    margin-bottom: 50px;
}

.findus-map iframe {
    border: 0;
}
