:root {
    /* Color Palette */
    --bg-body: #f7f9fc;
    --white: #ffffff;
    --black: #111111;
    --text-dark: #000000;
    --text-muted: #4a4a4a;
    --border-color: #d1d5db;
    --accent: #000000;
    --accent-kiwi: #8ac926;
    --accent-kiwi-dark: #70a010;
    --accent-kiwi-light: rgba(138, 201, 38, 0.1);

    /* Font */
    --font-main: 'Playfair Display', Georgia, serif;

    /* Shadows & Radii */
    --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-container: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-pill: 0 8px 25px rgba(0, 0, 0, 0.06);
    --radius-large: 80px;
    --radius-small: 50px;
}


/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 115px;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TOP BAR MARQUEE */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background-color: #ffffff;
    color: #444;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1001;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.top-bar-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollTopBar 25s linear infinite;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-item {
    padding: 0 4rem;
}

@keyframes scrollTopBar {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* HEADER / NAVBAR */
header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #f1f2f4;
    border-bottom: 3px solid #111;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -1px;
    text-transform: uppercase;
    transform: scaleY(1.1);
}

.mobile-menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #666;
}

.nav-links a.active {
    background-color: var(--black);
    color: var(--white);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
}

.btn-nav {
    background-color: var(--black);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-small);
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-nav:hover {
    transform: scale(1.05);
    background-color: #333;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: var(--black);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-large {
    display: inline-block;
    background-color: var(--white);
    color: var(--black);
    padding: 1rem 3rem;
    border-radius: var(--radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SECTION PADDINGS */
.section-pad {
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

/* SERVICES SPLIT CONTAINERS */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    align-items: center;
}

.split-container {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    max-width: 1400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

/* Alternating Radii */
.split-container.image-left {
    border-radius: 0 100px 100px 0;
}

.split-container.image-right {
    flex-direction: row-reverse;
    border-radius: 100px 0 0 100px;
}

.split-media {
    flex: 0 0 45%;
    position: relative;
    min-height: 400px;
    background-color: #e0e0e0;
    /* Base: hidden + premium transition */
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-media video,
.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.split-content {
    flex: 0 0 55%;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Base: hidden + premium transition (slight delay for stagger) */
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

/* ── DIRECTION LOGIC ────────────────────────────────────────────────────────
   image-left:  Video is on LEFT  → slides in from RIGHT  (+100%)
                Text is on RIGHT  → slides in from LEFT   (-100%)

   image-right: Video is on RIGHT → slides in from LEFT   (-100%)
                Text is on LEFT   → slides in from RIGHT  (+100%)

   Result: the two elements always COLLIDE toward each other.
─────────────────────────────────────────────────────────────────────────── */

/* image-left card */
.image-left .split-media {
    transform: translateX(100%);
}

/* from right */
.image-left .split-content {
    transform: translateX(-100%);
}

/* from left  */

/* image-right card */
.image-right .split-media {
    transform: translateX(-100%);
}

/* from left  */
.image-right .split-content {
    transform: translateX(100%);
}

/* from right */

/* ── FINAL SETTLED STATE (JS adds .is-visible to the parent) ───────────── */
.split-container.is-visible .split-media,
.split-container.is-visible .split-content {
    opacity: 1;
    transform: translateX(0);
}

.split-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
  color: var(--black);
}

.split-content .subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--black);
}

.pill-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.pill-list li {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
    line-height: 1.4;
}

.pill-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cta-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0.5rem;
}

.image-left .cta-container {
    justify-content: center;
    padding-right: 2rem;
}

.image-right .cta-container {
    justify-content: center;
    padding-left: 2rem;
}

.btn-dark {
    background-color: var(--black);
    color: var(--white) !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
    background-color: #333;
    transform: scale(1.03);
}

/* OUR CLIENTS */
.clients-section {
    background-color: #f0f0f0;
    color: var(--black);
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.clients-section .section-title {
    color: var(--black);
    margin-bottom: 0.8rem;
}

.clients-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 4rem;
}

.clients-track-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: scrollClients 30s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 0rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 260px;
    transition: opacity 0.3s;
}

.client-logo-item:hover {
    opacity: 0.5;
}

.client-name {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--black);
    text-transform: uppercase;
    white-space: nowrap;
}

.client-logo-item img {
    height: auto;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* PROJECTS GRID */
.projects-bg {
    background-color: var(--black);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.project-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.project-card video,
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover img,
.project-card:hover video {
    transform: scale(1.1);
}

.project-card:hover::after {
    opacity: 1;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    z-index: 2;
}

.project-info span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
}

/* TESTIMONIALS */
.testimonials {
    background-color: var(--white);
}

.testi-grid-screenshoted {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.screenshot-testi-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    border-bottom: 4px solid #848B80;
    border-top: 1px solid #848B80;
    border-left: 1px solid #848B80;
    border-right: 1px solid #848B80;
}

.testi-swiper {
    padding-bottom: 3rem !important;
}

.testi-swiper .swiper-slide {
    height: auto;
}

.testi-top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.testi-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testi-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0.4rem;
}

.testi-stars {
    color: #FBB03B;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testi-avatar {
    position: absolute;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #515151;
    border-radius: 50%;
}

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

.testi-quote-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
    font-weight: 600;
}

.testi-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    position: relative;
}

.testi-pagination-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #E2E8F0;
    border-radius: 50%;
    cursor: pointer;
}

.testi-pagination-dots .dot.active {
    background-color: #000;
}

/* FOOTER */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 6rem 2rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .split-content {
        padding: 4rem 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 0;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--black);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px; /* Sits exactly below the header */
        left: 0;
        width: 100%;
        background-color: #f1f2f4;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 3px solid #111;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        color: var(--black) !important;
        font-weight: 600;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
        text-align: left;
    }
    
    .nav-links a:last-of-type {
        border-bottom: none;
    }
    
    .nav-links a.active {
        background-color: transparent !important;
        color: var(--accent-kiwi-dark) !important;
        padding: 0.5rem 0;
        border-radius: 0;
    }
    .nav-links .btn-nav {
        background-color: var(--black) !important;
        color: var(--white) !important;
        text-align: center;
        border-radius: 30px;
        padding: 0.8rem 1.5rem !important;
        margin-top: 0.5rem;
        border-bottom: none !important;
    }
    
    .nav-links .lang-switch-nav {
        width: auto !important;
        border-bottom: none !important;
        margin: 0.5rem auto 0 auto !important;
        display: inline-block !important;
    }
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .hero {
        min-height: 400px;
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-bg {
        object-position: center;
    }

    .split-container.image-left,
    .split-container.image-right {
        flex-direction: column;
        border-radius: 30px;
        border: 1px solid #e5e7eb;
    }

    .split-media {
        min-height: 300px;
    }

    .split-content {
        padding: 3rem 2rem;
        align-items: flex-start;
    }

    .cta-container {
        justify-content: center !important;
        padding: 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ─── KIWI BRANDING CUSTOMIZATIONS ────────────────────────────────────────── */
.logo span {
    color: var(--accent-kiwi);
    font-weight: 700;
}

.nav-links a.active {
    background-color: var(--accent-kiwi) !important;
    color: var(--black) !important;
}

.btn-nav:hover {
    transform: scale(1.05);
    background-color: var(--accent-kiwi);
    color: var(--black) !important;
}

.btn-dark:hover {
    background-color: var(--accent-kiwi);
    color: var(--black) !important;
    transform: scale(1.03);
}

.btn-large:hover {
    transform: translateY(-3px);
    background-color: var(--accent-kiwi);
    color: var(--black) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ─── ABOUT / À PROPOS SECTION ────────────────────────────────────────────── */
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-story-row {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-story-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

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

.about-story-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    letter-spacing: -0.5px;
    font-family: var(--font-main);
    font-weight: 700;
}

.about-story-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-family: var(--font-main);
}

.about-story-content p strong {
    color: var(--black);
    font-weight: 600;
}

.about-mv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.mv-card-custom {
    background-color: #f7f9fc;
    border-left: 5px solid var(--accent-kiwi);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.mv-card-custom h4 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-family: var(--font-main);
}

.mv-card-custom p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

.mv-card-custom ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.mv-card-custom li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-main);
}

.mv-card-custom li:last-child {
    margin-bottom: 0;
}

.mv-card-custom .checkmark {
    color: var(--accent-kiwi-dark);
    font-weight: 700;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    line-height: 1;
}

.values-wrapper {
    margin-top: 4rem;
}

.values-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: #f7f9fc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-kiwi);
    background: var(--white);
}

.value-card .value-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-kiwi-dark);
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-family: var(--font-main);
}

/* ─── PROCESS / PROCESSUS SECTION ─────────────────────────────────────────── */
.process-toggle-container {
    margin-top: 2rem;
    width: 100%;
}

.btn-process-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-body);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    transition: all 0.3s ease;
    outline: none;
}

.btn-process-toggle:hover {
    border-color: var(--accent-kiwi);
    background: var(--white);
}

.btn-process-toggle.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-process-toggle .chevron-icon {
    transition: transform 0.3s ease;
}

.btn-process-toggle.active .chevron-icon {
    transform: rotate(180deg);
}

.process-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.process-steps-wrapper {
    padding: 2rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 2px dashed #e2e8f0;
    margin-left: 1rem;
}

.process-step-item {
    display: flex;
    gap: 1.2rem;
    position: relative;
    align-items: flex-start;
}

.process-step-num {
    flex: 0 0 32px;
    height: 32px;
    background: var(--accent-kiwi);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    font-family: var(--font-main);
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.process-step-info {
    flex: 1;
}

.process-step-info h5 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--black);
    font-weight: 700;
}

.process-step-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-family: var(--font-main);
}

/* Adjust responsive for about page grids */
@media (max-width: 1024px) {
    .about-story-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-mv-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── CATEGORY FILTER ────────────────────────────────────────────────────── */
.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: -1rem auto 3rem;
    flex-wrap: wrap;
    max-width: 800px;
}

.btn-filter {
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--black);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--font-main);
    outline: none;
}

.btn-filter:hover {
    border-color: var(--accent-kiwi);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-filter.active {
    background: var(--accent-kiwi);
    border-color: var(--accent-kiwi);
    color: var(--black);
    box-shadow: 0 5px 15px rgba(138, 201, 38, 0.3);
}

/* ─── CONTACT PAGE & FORM ────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-col h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--black);
}

.contact-info-col p {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-kiwi-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-kiwi-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--black);
}

.contact-detail-info p,
.contact-detail-info a {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-detail-info a:hover {
    color: var(--accent-kiwi-dark);
}

.contact-form-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-container);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-family: var(--font-main);
    color: var(--black);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: var(--bg-body);
    transition: all 0.3s ease;
    color: var(--black);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-kiwi);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-kiwi-light);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* ─── BOOKING PAGE & CALENDAR ────────────────────────────────────────────── */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.booking-intro-col h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--black);
}

.booking-intro-col p {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.booking-points {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.booking-point-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.booking-point-check {
    width: 25px;
    height: 25px;
    background: var(--accent-kiwi-light);
    color: var(--accent-kiwi-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.booking-point-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--black);
}

.booking-point-text p {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.calendar-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-container);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calendar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.calendar-container {
    background: var(--bg-body);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.calendar-month-year {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.2rem;
    color: var(--black);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    text-align: center;
    margin-bottom: 0.8rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8rem;
    color: #888;
}

.calendar-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    text-align: center;
    font-family: var(--font-main);
}

.calendar-day-item {
    padding: 0.7rem 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    color: var(--black);
}

.calendar-day-item.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent !important;
}

.calendar-day-item:not(.disabled):hover {
    background: var(--accent-kiwi-light);
    color: var(--accent-kiwi-dark);
}

.calendar-day-item.selected {
    background: var(--accent-kiwi) !important;
    color: var(--black) !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(138, 201, 38, 0.3);
}

.slots-section {
    margin-top: 1.5rem;
}

.slots-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
}

.time-slot-item {
    padding: 0.7rem 0.5rem;
    background: var(--bg-body);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: all 0.2s ease;
    color: var(--black);
}

.time-slot-item:hover {
    border-color: var(--accent-kiwi);
    background: var(--white);
}

.time-slot-item.selected {
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--black) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Form inputs on scheduling card */
.booking-form-section {
    margin-top: 2rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .contact-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .contact-form-card,
    .calendar-widget {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Force utility classes to use the main font-family */
.util-inter,
.util-playfair {
    font-family: var(--font-main) !important;
}

/* ─── PROJECT DETAIL PAGE ────────────────────────────────────────────────── */
.project-detail-section {
    background-color: var(--white);
    padding-bottom: 5rem;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.project-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
}

.project-desc p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
}

.project-meta-box {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
}

.project-meta-box h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
}

.meta-item {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1rem;
}

.meta-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-kiwi-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: var(--font-main);
}

.meta-value {
    font-size: 1rem;
    color: var(--black);
    font-weight: 500;
    font-family: var(--font-main);
}

.gallery-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--black);
    font-family: var(--font-main);
    font-weight: 700;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.project-detail-cta {
    text-align: center;
    background: var(--black);
    color: var(--white);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-detail-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 700;
}

.project-detail-cta p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    font-family: var(--font-main);
}

@media (max-width: 1024px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Custom Confirmation Dialog Modal */
dialog.custom-modal {
    border: none;
    border-radius: 20px;
    padding: 3rem 2.2rem;
    background: var(--white);
    box-shadow: var(--shadow-container);
    max-width: 480px;
    width: 90%;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-dark);
    font-family: var(--font-main);
    z-index: 10000;
}

dialog.custom-modal::backdrop {
    background: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.custom-modal .modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    animation: modalScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal .modal-icon.success {
    background-color: var(--accent-kiwi-light);
    color: var(--accent-kiwi);
    border: 2px solid var(--accent-kiwi);
}

.custom-modal .modal-icon.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.custom-modal h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.custom-modal p {
    font-family: var(--font-main);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
}

.custom-modal .btn-modal-close {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.custom-modal .btn-modal-close:hover {
    background-color: var(--accent-kiwi);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 201, 38, 0.3);
}

@keyframes modalScaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ─── WHATSAPP FLOATING BUTTON ─────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 110px; /* Shifted left to make space for Chatbot */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: rotate(10deg);
}


/* ─── AI CHATBOT ASSISTANT ────────────────────────────────────────────── */
:root {
    --color-gold: #bfa36f;
    --color-gold-dark: #8c7143;
    --color-gold-light: #dfccaa;
    --color-chat-bg: #221d16;
}

/* Chat Launcher (Gold Circle Button) */
.ai-chat-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(191, 163, 111, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-chat-launcher:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 163, 111, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.ai-chat-launcher svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.ai-chat-launcher:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Close trigger replaces launcher when chat is open */
.ai-chat-close-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: launcherScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-chat-close-trigger:hover {
    background-color: var(--color-gold-dark);
    transform: scale(1.08) rotate(90deg);
}

.ai-chat-close-trigger svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* Chat Window Panel */
.ai-chat-window {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: var(--font-main);
    animation: chatWindowOpen 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    border: 1px solid rgba(191, 163, 111, 0.15);
}

@keyframes chatWindowOpen {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes launcherScaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #2b251d 0%, var(--color-chat-bg) 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(191, 163, 111, 0.15);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--color-gold);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chat-details {
    display: flex;
    flex-direction: column;
}

.chat-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
}

.chat-status {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.1rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #2ec4b6;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #2ec4b6;
}

.chat-header-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-header-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-header-close svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
}

/* Chat Messages Content */
.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #faf9f6;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Chat Messages */
.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(191, 163, 111, 0.2);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(191, 163, 111, 0.4);
}

/* Chat Bubbles */
.chat-bubble {
    max-width: 82%;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.bot-message {
    align-self: flex-start;
    background-color: #ffffff;
    color: var(--black);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(191, 163, 111, 0.1);
}

.bot-message p {
    margin: 0 0 0.5rem 0;
}

.bot-message p:last-child {
    margin: 0;
}

.user-message {
    align-self: flex-end;
    background-color: var(--color-gold);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 3px 8px rgba(191, 163, 111, 0.25);
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.4rem 0.2rem;
    align-items: center;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background-color: var(--color-gold);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Quick Chips styling */
.chat-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
    align-self: flex-start;
    width: 100%;
}

.chat-chip {
    background-color: #ffffff;
    border: 1px solid var(--color-gold);
    color: var(--color-gold-dark);
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    font-family: var(--font-main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.chat-chip:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(191, 163, 111, 0.2);
}

/* Chat Footer & Inputs */
.chat-footer-form {
    padding: 1.2rem;
    background-color: #ffffff;
    border-top: 1px solid rgba(191, 163, 111, 0.1);
}

.chat-footer-form form {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-footer-form input {
    flex: 1;
    border: 1.5px solid #eaeaea;
    border-radius: 30px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    color: var(--black);
    font-family: var(--font-main);
}

.chat-footer-form input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(191, 163, 111, 0.15);
}

.chat-footer-form button {
    background-color: #eae6db;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-footer-form button svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gold-dark);
    transition: transform 0.2s ease;
}

.chat-footer-form button.active-send {
    background-color: var(--color-gold);
}

.chat-footer-form button.active-send svg {
    fill: #ffffff;
}

.chat-footer-form button.active-send:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(191, 163, 111, 0.3);
}

.chat-footer-brand {
    font-size: 0.75rem;
    text-align: center;
    color: #bfa36f;
    margin-top: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for WhatsApp & Chatbot */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 88px; /* Shifted left on mobile to align with scaled launcher */
        width: 52px;
        height: 52px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .ai-chat-launcher,
    .ai-chat-close-trigger {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .ai-chat-launcher svg {
        width: 24px;
        height: 24px;
    }
    .ai-chat-close-trigger svg {
        width: 20px;
        height: 20px;
    }
    
    .ai-chat-window {
        bottom: 85px;
        right: 20px;
        width: 340px;
        height: 480px;
        max-height: calc(100vh - 120px);
    }
    
    /* Reposition WhatsApp when panel is open on mobile */
    .whatsapp-float.chat-open-shift {
        display: none;
    }
}

@media (max-width: 480px) {
    .ai-chat-window {
        bottom: 80px;
        right: 12px;
        left: 12px;
        width: auto;
        height: 450px;
        max-height: calc(100vh - 110px);
        border-radius: 16px;
    }
}

/* ─── LANGUAGE SWITCH BUTTON ────────────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 30px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    flex-shrink: 0;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    font-size: 1.2rem;
    line-height: 1;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    user-select: none;
}

.lang-switch-btn.active {
    background: rgba(90, 168, 32, 0.3);
    box-shadow: 0 0 0 2px rgba(90, 168, 32, 0.6), 0 2px 8px rgba(90, 168, 32, 0.3);
    transform: scale(1.05);
    filter: none;
}

.lang-switch-btn.inactive {
    background: transparent;
    opacity: 0.45;
    filter: grayscale(30%);
}

.lang-switch-btn.inactive:hover {
    opacity: 0.85;
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
    filter: none;
}

/* Compact on mobile */
@media (max-width: 480px) {
    .lang-switch-btn {
        width: 30px;
        height: 26px;
        font-size: 1.05rem;
    }
    .lang-switcher {
        padding: 2px;
        gap: 2px;
    }
}