/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #fcfcfc;
    color: #111;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Default zoom scaling requested by the user */
@media (min-width: 1024px) {
    body {
        zoom: 0.85;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ANIMATION */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 120px;
    background: #fff;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 200;
}

.logo img {
    height: 132px;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -25px;
    /* Pulling left heavily to compensate for blank transparent pixels inside the PNG file itself to align with the text box below */
}

.site-footer .logo {
    justify-content: flex-start;
    height: 100px;
    position: relative;
}

.site-footer .logo img {
    height: 132px;
    width: auto;
    left: -10px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    /* allows transform */
}

.nav-links a:hover {
    color: #000;
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

.btn-talk {
    background: #111;
    color: #ffe600;
    border: 2px solid #ffe600;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-talk:hover {
    background: #ffe600;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
}

.close-menu,
.mobile-btn {
    display: none;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 80px 10%;
    /* Back to 10% to align perfectly with Navbar */
    min-height: auto;
    width: 100%;
}

.hero-text {
    width: 45%;
    /* Tightened back down now that the text is smaller */
    margin-left: -25px;
    /* Shifting explicitly to the left to match the logo visual padding */
    z-index: 10;
}

.badge {
    display: inline-block;
    background: #ffe600;
    color: #000;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

h1 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(30px, 4vw, 55px);
    /* Much smaller text to match 80% scale */
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
    text-transform: uppercase;
}

.highlight-bg {
    background: linear-gradient(180deg, transparent 65%, #ffe600 65%);
}

.hero-subtext {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-black {
    background: #111;
    color: #ffe600;
    border: 2px solid #ffe600;
    border-radius: 50px;
    padding: 22px 55px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-black:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    /* Yellow Glow */
    background: #ffe600;
    color: #000;
}

.btn-outline {
    background: white;
    color: #000;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 22px 55px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    /* Yellow Glow */
}

.hero-visual {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.hero-visual .main-hero-box {
    width: 100%;
    height: 600px;
    /* Reduced from 750px to match zoomed-out look */
    border: none;
    position: relative;
    background: transparent;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(255, 230, 0, 0.3);
    filter: blur(100px);
    z-index: 0;
}

model-viewer {
    outline: none;
}

/* MILESTONES */
.milestone-section {
    padding: 60px 10%;
    background: #fff;
}

.milestone-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 60px;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-number {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
}

/* CLIENTS */
.clients-wave-top,
.clients-wave-bottom {
    line-height: 0;
    width: 100%;
    background: #fff;
}

.clients-wave-top svg,
.clients-wave-bottom svg {
    display: block;
    width: 100%;
    height: 50px;
}

.clients-section {
    position: relative;
    padding: 40px 0;
    background-color: #ffe600;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.clients-section::before,
.clients-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.clients-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 230, 0, 1) 0%, rgba(255, 230, 0, 1) 40%, rgba(255, 230, 0, 0) 100%);
}

.clients-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 230, 0, 1) 0%, rgba(255, 230, 0, 1) 40%, rgba(255, 230, 0, 0) 100%);
}



.clients-wrapper {
    display: flex;
    width: max-content;
    animation: slide 35s infinite linear;
}

.logo-slide {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: space-around;
}

.logo-slide img {
    display: inline-block;
    flex-shrink: 0;
    width: 175px;
    height: 75px;
    margin: 0 30px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    border: 2px solid #111;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.logo-slide img:hover {
    transform: scale(1.05);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* DARK SHOWCASE */
.dark-showcase {
    background: #0e0e0e;
    color: white;
    padding: 80px 10%;
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.showcase-visual {
    width: 50%;
    height: 500px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.showcase-text {
    width: 45%;
}

.showcase-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.yellow-text {
    color: #ffe600;
}

.showcase-text p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    gap: 20px;
}

.feature-list span {
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    color: #ffe600;
}

/* DETAIL SHOWCASE */
.detail-section {
    padding: 80px 10%;
    background: #f9f9f9;
}

.detail-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.detail-text {
    width: 30%;
}

.detail-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.stroke-text {
    -webkit-text-stroke: 2px #000;
    color: transparent;
}

.detail-text p {
    font-size: 22px;
    /* Increased font size */
    font-weight: 500;
    color: #333;
    /* Slightly darker for better readability at larger size */
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: 100%;
    /* Ensure it spans the full container */
}

.detail-text .btn-black {
    align-self: flex-start;
}

.detail-visual {
    width: 65%;
    height: 500px;
}

.detail-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.detail-visual img:hover {
    transform: scale(1.04);
}

/* SCAN DEEP DIVE SECTION (DARK MODE) */
.scan-deep-dive {
    background-color: #050505;
    color: #fff;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-wrapper {
    display: flex;
    width: 100%;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.scan-viewer-container {
    flex: 1.5;
    height: 700px;
    background: #111;
    border-radius: 20px;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.scan-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 230, 0, 0.9);
    color: #000;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    z-index: 5;
    letter-spacing: 1px;
}

.scan-toggles {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border-radius: 50px;
    z-index: 10;
    border: 1px solid #444;
    backdrop-filter: blur(5px);
}

.toggle-scan-btn {
    background: transparent;
    border: none;
    color: #bbb;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-scan-btn:hover {
    color: #fff;
}

.toggle-scan-btn.active {
    background: #ffe600;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 230, 0, 0.4);
}

.scan-details {
    flex: 1;
}

.detail-header h4 {
    color: #666;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.highlight-yellow {
    color: #ffe600;
}

.detail-header p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.comparison-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.comp-box {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    width: 45%;
    transition: 0.3s;
}

.comp-box h5 {
    margin-bottom: 15px;
    font-size: 26px;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    color: #fff;
}

.comp-box ul {
    list-style: none;
    padding: 0;
}

.footer-links p {
    color: #666;
    font-size: 14px;
    margin: 0;
    margin-left: 100px;
}

.comp-box li {
    color: #999;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red {
    background: #ff4444;
    box-shadow: 0 0 5px #ff4444;
}

.dot.green {
    background: #00ff88;
    box-shadow: 0 0 5px #00ff88;
}

.comp-box.highlight {
    border: 1px solid #ffe600;
    background: rgba(255, 230, 0, 0.05);
}

.comp-arrow {
    font-size: 30px;
    color: #333;
}

.software-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.soft-tag {
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
    background: #151515;
}

/* PREMIUM REELS SECTION */
.reels-section {
    padding: 80px 10%;
    margin-top: 80px;
    /* Physical gap to reveal white page background between sections */
    background: #000;
    /* Black background to separate it from the grey section above */
    position: relative;
    overflow: hidden;
}

.reels-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.reel-box {
    width: 30%;
    /* Expanded width to fill container */
    height: 650px;
    /* Slightly taller for more impact */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background: transparent;
    /* Removed black background */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.reel-box .bg-video {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    object-fit: cover;
    filter: blur(40px) brightness(0.6);
    /* Ultra heavy blur to eliminate edges */
    z-index: 0;
}

.reel-box .main-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevents cropping of the shoe/bag */
    z-index: 1;
    transition: transform 0.6s ease;
}

/* Stagger the middle reel */
.reel-center {
    transform: translateY(-40px);
}

/* Hover Effects */
.reel-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(255, 230, 0, 0.15);
    border-color: rgba(255, 230, 0, 0.5);
    z-index: 10;
}

.reel-center:hover {
    transform: translateY(-55px) scale(1.02);
}

.reel-box:hover .main-video {
    transform: scale(1.05);
    /* Slight zoom on main video */
}

/* INSPECTOR SECTION */
.inspector-section {
    padding: 20px 10% 80px 10%;
    background: #fff;
}

.inspector-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.inspector-text {
    width: 35%;
}

.inspector-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 30px;
    color: #111;
}

.mode-panel {
    display: none;
}

.mode-panel.active-panel {
    display: block;
}

.toggle-controls {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    background: #f4f4f4;
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

.toggle-btn.active {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 10px #ffcc00;
    /* Subtle Yellow Glow */
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f4f4f4;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #e9e9e9;
    color: #000;
}

.filter-btn.active {
    background: #ffe600;
    color: #000;
    border-color: #ffe600;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    /* Yellow Glow */
}

.inspector-visual {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.inspector-visual .model-box {
    height: 720px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 5px 10px rgba(0, 0, 0, 0.03);
}

.inspector-controls-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 15px 40px;
    border-radius: 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 40px auto 0 auto;
    border: 1px solid #eee;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background: transparent;
    padding: 8px 15px;
    border-radius: 40px;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.nav-card:hover {
    background: #f9f9f9;
    border-color: #eee;
    transform: translateY(-3px);
}

.nav-card img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.model-info-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#model-name {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    color: #000;
}

.scroll-hint {
    font-size: 11px;
    color: #000;
    background: #ffe600;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* SERVICES SECTION */
.services-section {
    background-color: #111111;
    color: #fff;
    padding: 60px 10% 20px 10%;
    position: relative;
}

.services-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.services-text {
    width: 50%;
}

.badge-dark {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffe600;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 230, 0, 0.3);
}

.services-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 30px;
    color: #fff;
}

.service-subtext {
    font-size: 18px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 40px;
}

.service-list {
    list-style: none;
    margin-bottom: 50px;
}

.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
    border-left: 3px solid #ffe600;
    /* Always show yellow accent */
    background: rgba(255, 255, 255, 0.05);
    /* Always show dark card background */
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.1);
    /* Slightly brighter on hover */
}

.check-icon {
    font-size: 24px;
    color: #ffe600;
    font-weight: bold;
    margin-top: -5px;
}

.service-item h4 {
    font-size: 28px;
    font-family: 'Teko', sans-serif;
    margin-bottom: 5px;
    color: #fff;
}

.service-item p {
    font-size: 18px;
    color: #888;
    line-height: 1.4;
}

.btn-yellow {
    background: #ffe600;
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}

.btn-yellow:hover {
    background: #fff;
    transform: translateY(-5px);
}

.services-visual {
    width: 45%;
    position: relative;
}

.service-img-card {
    width: 100%;
    height: 750px;
    /* Aligned closer with text height */
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 4px solid #ffe600;
    color: #fff;
    font-size: 18px;
}

.floating-badge span {
    display: block;
    font-size: 36px;
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    color: #ffe600;
    line-height: 1;
}

/* PORTFOLIO GRID */
.works-section {
    padding: 20px 10% 100px 10%;
}

.section-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-card {
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 380px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.work-card:hover .card-img img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-overlay h3 {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    margin-bottom: 5px;
    line-height: 1;
}

.software-tag {
    color: #ffe600;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ASSET LIBRARY */
.asset-section {
    padding: 100px 10%;
    background-color: #f4f4f4;
    text-align: center;
}

.asset-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    display: inline-block;
    margin-bottom: 10px;
}

.asset-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover,
.tab-btn.active {
    background: #ffe600;
    border-color: #ffe600;
    color: #000;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.asset-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

.asset-item:hover {
    transform: translateY(-5px);
}

.asset-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.asset-item:hover img {
    transform: scale(1.1);
}

.asset-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    text-align: left;
    opacity: 0;
    transition: 0.3s;
}

.asset-item:hover .asset-overlay {
    opacity: 1;
}

.asset-overlay h4 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.view-3d-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffe600;
    color: #000;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.3s;
    transform: scale(0.8);
}

.asset-item:hover .view-3d-btn {
    opacity: 1;
    transform: scale(1);
}

/* FOOTER & LIGHTBOX */
footer {
    text-align: center;
    padding: 100px 20px;
    background: #f9f9f9;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

.controls {
    position: absolute;
    top: 50%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    color: white;
    font-size: 60px;
    cursor: pointer;
    pointer-events: auto;
}

/* MODAL */
.model-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

.modal-viewer-container {
    flex: 1;
    position: relative;
    background: #f0f0f0;
}

.modal-info {
    padding: 20px 30px;
    background: #fff;
    border-top: 1px solid #eee;
}

.modal-info h3 {
    font-family: 'Teko', sans-serif;
    font-size: 30px;
    margin: 0;
}

/* Loading Progress Bar for model-viewer */
.progress-bar {
    display: block;
    width: 60%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    overflow: hidden;
    z-index: 100;
}

.progress-bar.hide {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.update-bar {
    background-color: #ffe600;
    width: 0%;
    height: 100%;
    transition: width 0.3s;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #000;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 5%;
        justify-content: space-between;
        height: 80px;
    }

    .logo img {
        height: 60px;
        left: -10px;
    }

    .hamburger {
        display: flex;
        z-index: 200;
        transition: 0.2s ease;
    }

    .hamburger.hide {
        opacity: 0;
        pointer-events: none;
    }

    .desktop-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 250;
    }


    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 30px;
        font-family: 'Teko', sans-serif;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 5%;
        font-size: 50px;
        cursor: pointer;
        color: #000;
        z-index: 260;
    }

    .mobile-btn {
        display: inline-block;
        margin-top: 20px;
    }

    .hero-section {
        flex-direction: column-reverse;
        gap: 15px;
        padding: 30px 5%;
        /* Reduced from huge 120px to fit screen nicely */
        text-align: center;
    }

    .hero-visual .main-hero-box {
        width: 100%;
        /* Stretch to screen width sideways */
        max-width: 400px;
        aspect-ratio: 1 / 1;
        /* Automatically snap height to perfectly match width (Equal square) */
        height: auto;
        /* Override the desktop height */
        margin: 0 auto;
        /* Center the box */
    }

    .milestone-section,
    .dark-showcase,
    .services-container,
    .asset-section,
    .works-section {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
        padding: 60px 5%;
    }

    /* MILESTONES MOBILE FIX (correct class names) */
    .stats-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 20px;
        justify-items: center;
        text-align: center;
    }

    .stat-item {
        display: flex;
        flex-direction: row;
        /* Number next to Text */
        align-items: baseline;
        justify-content: center;
        gap: 10px;
    }

    .stat-number {
        font-size: 50px;
        /* Smaller on mobile */
    }

    .stat-label {
        font-size: 12px;
    }

    /* LOGO TICKER MOBILE FIX */
    .clients-section::before,
    .clients-section::after {
        width: 40px;
        /* Drastically shrink gradient from 250px so logos are visible */
    }

    .logo-slide img {
        width: 90px;
        /* Shrink from 175px */
        height: 40px;
        /* Shrink from 75px */
        margin: 0 12px;
        /* Tighter spacing */
        border-radius: 8px;
    }

    /* DIGITAL FASHION FIX ON MOBILE */
    .detail-section {
        padding: 60px 0;
        /* Remove massive 10% horizontal padding so container touches screen edges */
    }

    .detail-container {
        flex-direction: column;
        /* Stack Text on top, Image on bottom */
        gap: 20px;
        /* Reduce massive gap to tight 20px */
        text-align: center;
        padding: 0;
        /* Remove 5% horizontal padding to allow full-width image */
    }

    .detail-text {
        padding: 0 5%;
        /* Restore side padding only to the text block */
    }

    .detail-visual {
        height: auto;
        width: 100%;
    }

    .detail-visual img {
        width: 100%;
        max-width: 100%;
        margin: 0;
        /* Remove chaotic calc offset */
        border-radius: 0;
        /* Remove border-radius so it touches screen edges cleanly */
        object-fit: cover;
    }

    .inspector-container {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 60px 5%;
    }

    /* Restructure Inspector using display:contents to rearrange visually */
    .inspector-text,
    .inspector-visual,
    .mode-panel.active-panel {
        display: contents !important;
    }

    .text-top {
        order: 1;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Force all children to center horizontally */
    }

    .text-top .badge {
        margin: 0 auto 15px auto;
    }

    .text-top h2 {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 48px !important;
        /* Reduce from 60px so it fits inside 393px screens */
        line-height: 0.95;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* CENTER TAB BUTTONS ON MOBILE */
    .tab-buttons {
        justify-content: center;
        width: 100%;
    }

    .mode-panel>p {
        order: 2;
        margin-bottom: 25px;
        width: 100%;
        text-align: center;
    }

    /* Make Filter Bar Horizontally Scrollable */
    .filter-bar {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: 20px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -webkit-overflow-scrolling: touch;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Safari/Chrome */
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .inspector-controls-bottom {
        order: 5;
        margin-top: 15px;
        padding: 5px 30px;
        /* Reduced vertical padding drastically to shorten the box */
        border-radius: 40px;
        /* Adjusted corner radius for thinner box */
    }

    /* Hide the 'SCROLL TO ZOOM' hint completely on mobile */
    .scroll-hint {
        display: none;
    }

    .toggle-controls,
    .dropdown-style,
    .ai-input-group,
    #ai-loading {
        order: 6;
        /* Push to very bottom */
        margin: 20px auto 0 auto;
        width: 100%;
    }

    .showcase-container {
        flex-direction: column;
    }

    .hero-text,
    .hero-visual,
    .showcase-visual,
    .showcase-text,
    .detail-text,
    .detail-visual,
    .inspector-text,
    .inspector-visual,
    .services-text,
    .services-visual {
        width: 100%;
    }

    .detail-text {
        width: 100%;
        align-items: center !important;
        text-align: center;
    }

    .detail-text .btn-black {
        align-self: center;
    }

    /* Force the Inspector Interactive Viewer to be a tall rectangle on mobile so models aren't chopped */
    .inspector-visual .model-box {
        order: 4;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0 auto;
    }

    h1,
    .inspector-text h2,
    .services-text h2,
    .asset-section h2 {
        font-size: 60px;
        text-align: center !important;
        width: 100%;
        margin-left: 0 !important;
    }

    .hero-buttons,
    .toggle-controls {
        justify-content: center;
    }

    /* HERO BUTTONS MOBILE FIX */
    .hero-buttons {
        gap: 12px;
        /* Tighter gap between buttons */
        flex-wrap: nowrap;
        /* Keep them side by side */
    }

    .hero-buttons .btn-black,
    .hero-buttons .btn-outline {
        padding: 14px 24px;
        /* Much smaller padding */
        font-size: 13px;
        /* Smaller text */
        border-radius: 50px;
        /* Pill shape for style */
        letter-spacing: 0.5px;
        white-space: nowrap;
        /* Prevent breaking on mobile */
    }

    .clients-wave-top svg,
    .clients-wave-bottom svg {
        height: 30px;
    }

    .inspector-controls-bottom {
        gap: 15px;
        padding: 10px 20px;
        width: 90%;
    }

    .nav-card {
        gap: 5px;
        padding: 5px;
    }

    .nav-card img {
        width: 35px;
        height: 35px;
    }

    #model-name {
        font-size: 24px;
    }

    .service-img-card {
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        /* Stack the 3 Showreels vertically so they aren't squeezed */
        gap: 30px;
    }

    /* PREMIUM REELS MOBILE FIX */
    .reels-container {
        flex-direction: column;
        gap: 40px;
        /* Space between the stacked videos */
        perspective: none;
        /* Disable 3D tilt effect on mobile */
    }

    .reel-box {
        width: 100%;
        /* Force videos to be full width */
        height: 400px;
        /* Reduce from 650px so they fit screen vertically */
    }

    .reel-center {
        transform: none;
        /* Remove staggered offset for middle video */
    }

    .card-img {
        height: 300px;
        /* Leave height alone for the Showreel cards, but stack them */
    }

    .card-img img {
        object-fit: contain;
    }

    .asset-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        /* Pack smaller cards nicely on phone */
        gap: 15px;
    }

    .asset-item {
        height: auto;
        aspect-ratio: 4 / 5;
        /* Create a slightly tall nice crop */
    }

    .asset-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This forces the shoe image to instantly fill all white space */
    }

    .scan-wrapper {
        flex-direction: column;
        display: flex;
    }

    .scan-details {
        display: contents;
        /* Break open details box to reorder children */
    }

    .detail-header {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .detail-header p {
        margin-bottom: 5px;
        /* Pull the 3D viewer right up to the text */
    }

    .scan-viewer-container {
        order: 2;
        /* Sandwiched between header and comp grid */
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin: 0 auto 15px auto;
        /* Completely removed vertical margins to close the gaps tight */
        flex: none;
        /* Prevent flexbox from squeezing it */
    }

    .scan-toggles {
        bottom: 15px;
        /* Pull it slightly higher securely inside the box */
        padding: 5px;
        /* Thinner pill outline */
        gap: 5px;
    }

    .toggle-scan-btn {
        padding: 6px 14px;
        /* Much smaller padding */
        font-size: 10px;
        /* Smaller font size */
        white-space: nowrap;
    }

    .comparison-grid {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        /* Reduce gap before Pipeline icons */
    }
    .comp-box {
        width: 100%;
    }
    .comp-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .software-icons {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
        /* Pull icons up */
    }

    /* INTERACTIVE VIEWER (MODEL MODAL) */
    .modal-content {
        width: 100% !important;
        /* Force the popup box to touch the left and right edges of the phone screen */
        border-radius: 0;
        /* Remove rounded corners so it flushes perfectly against the screen edge */
        height: auto !important;
        /* Force remove the hardcoded 80vh height so it fits the content perfectly */
        max-height: 90vh;
        max-width: none;
    }

    .modal-viewer-container {
        flex: none;
        /* Stop it from growing to fill 80vh */
        width: 100%;
        max-width: none;
        aspect-ratio: 1 / 1;
        text-align: center;
    }

    .ai-visual,
    .ai-panel {
        width: 100%;
    }

    .ai-panel h2 {
        font-size: 60px;
    }

    .ai-input-group {
        align-items: center;
    }

    #generate-btn {
        width: 100%;
    }
}

/* ==============================================
   AI CONFIGURATOR SECTION
   ============================================== */
.ai-section {
    background-color: #050505;
    color: #fff;
    padding: 100px 10%;
    margin-top: 2px;
}

.ai-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.ai-visual {
    width: 50%;
    position: relative;
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.ai-panel {
    width: 45%;
}

.ai-panel h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    line-height: 0.9;
    margin-bottom: 20px;
    margin-top: 15px;
}

.ai-panel p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.ai-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#ai-prompt {
    width: 100%;
    padding: 18px 20px;
    background: #151515;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: 0.3s;
}

#ai-prompt:focus {
    outline: none;
    border-color: #ffe600;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.2);
}

#generate-btn {
    width: fit-content;
}

/* =========================================
/* =========================================================
   FOOTER SECTION (LEFT LOGO + CENTERED STACK)
   ========================================================= */
.site-footer {
    background: #f9f9f9;
    padding: 60px 20px 50px 20px;
    border-top: 1px solid #eee;
    position: relative;
    /* Needed for absolute logo positioning */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    /* Center the main content */
    align-items: center;
    position: relative;
    min-height: 120px;
}

/* === LOGO: Anchored to the Left === */
.footer-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.footer-logo img {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* === CENTER WRAP: Copyright + Buttons stacked === */
.footer-center-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-copy-text {
    color: #666;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

.footer-copy-text a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

/* === BUTTONS ROW === */
.footer-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Button Styling */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #111;
    height: 50px;
    box-sizing: border-box;
}

.social-link i {
    font-size: 20px;
}

.social-link:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-schedule {
    background: #ffe600;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    border: 3px solid #000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 50px;
    box-sizing: border-box;
    box-shadow: 4px 4px 0px #000;
}

.btn-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0px #000;
}

/* =========================================================
   AA RADHYA AI SALES AGENT WIDGET (REPOSITIONED)
   ========================================================= */
#ai-agent-widget {
    position: fixed;
    bottom: 20px;
    /* Default desktop position */
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.ai-agent-toggle {
    width: auto;
    height: 48px;
    /* High-end compact size as requested */
    padding: 0 22px;
    border-radius: 50px;
    background: #111;
    color: #ffe600;
    border: 2px solid #333;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: gentlePulse 5s infinite ease-in-out;
    /* Breathing pulse every 5 seconds */
}

@keyframes gentlePulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 230, 0, 0.6);
        /* Yellow glow pulse */
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        transform: scale(1);
    }
}

.ai-agent-toggle i {
    font-size: 20px;
}

.ai-agent-label {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-label {
    display: none;
}

.desktop-label {
    display: inline-block;
}

.ai-agent-toggle:hover {
    transform: scale(1.05);
    border-color: #ffe600;
    box-shadow: 0 10px 40px rgba(255, 230, 0, 0.2);
}

.ai-agent-window {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 750px;
    height: 850px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.ai-agent-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.ai-agent-header {
    background: #111;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    color: #fff;
}

.ai-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffe600;
    border-radius: 50%;
    margin-left: 5px;
    box-shadow: 0 0 10px #ffe600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.ai-agent-close {
    background: transparent;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
}

.ai-agent-close:hover {
    color: #fff;
}

.ai-agent-messages {
    flex: 1;
    padding: 20px 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-agent-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-agent-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-agent-messages::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.message {
    max-width: 85%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-message {
    background: #2a2a2a;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.bot-message a {
    color: #ffe600;
    text-decoration: underline;
}

.user-message {
    background: #ffe600;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.ai-agent-typing {
    padding: 0 20px 15px 20px;
    display: flex;
    gap: 4px;
}

.ai-agent-typing.hidden {
    display: none;
}

.ai-agent-typing span {
    width: 6px;
    height: 6px;
    background: #ffe600;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.ai-agent-typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-agent-typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.ai-agent-input-area {
    padding: 15px 25px;
    background: #111;
    border-top: 2px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

#ai-agent-input {
    flex: 1;
    background: #222;
    border: 2px solid #444;
    padding: 12px 18px;
    border-radius: 45px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

#ai-agent-input:focus {
    border-color: #ffe600;
}

#ai-agent-send {
    background: #ffe600;
    color: #000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#ai-agent-send:hover {
    transform: scale(1.05);
    background: #fff;
}

/* Attach (Clip) Button */
.ai-agent-attach {
    background: transparent;
    border: none;
    color: #999;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.ai-agent-attach:hover {
    color: #ffe600;
    transform: scale(1.15);
    background: rgba(255, 230, 0, 0.1);
}

/* Image Preview Strip */
.ai-agent-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #222;
    border-top: 1px solid #333;
}

.ai-agent-preview.hidden {
    display: none;
}

.ai-agent-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #444;
}

.ai-agent-preview-name {
    flex: 1;
    color: #aaa;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-agent-preview-remove {
    background: #ff4444;
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.ai-agent-preview-remove:hover {
    background: #ff6666;
    transform: scale(1.1);
}

/* User-uploaded image thumbnails inside chat bubbles */
.user-message img.ai-chat-image {
    display: block;
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    /* === FOOTER MOBILE === */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 20px 50px 20px;
    }

    /* Reset absolute position on mobile - center the logo */
    .footer-logo {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        order: 1;
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    /* Kill the navbar .logo rules bleeding into footer */
    .site-footer .logo {
        justify-content: center !important;
        height: auto !important;
        position: static !important;
    }

    .site-footer .logo img,
    .footer-logo img {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 200px !important;
        height: auto !important;
        max-width: none;
        display: block;
        margin: 0 auto !important;
    }

    .footer-center-wrap {
        order: 2;
        width: 100%;
    }

    .footer-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }

    .social-link,
    .btn-schedule {
        width: 80%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 20px;
        height: 44px;
        font-size: 13px;
    }

    .btn-schedule {
        box-shadow: 3px 3px 0px #000;
    }

    /* === AI WIDGET MOBILE === */
    #ai-agent-widget {
        bottom: 20px;
        right: 15px;
    }

    /* Compact AI button: show "Ask AI" only */
    .ai-agent-toggle {
        height: 40px;
        padding: 0 16px;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .ai-agent-toggle i {
        font-size: 16px;
    }

    .desktop-label {
        display: none !important;
    }

    .mobile-label {
        display: inline-block !important;
        font-size: 12px;
    }

    /* === AI CHAT WINDOW MOBILE === */
    .ai-agent-window {
        width: calc(100vw - 30px);
        height: 70vh;
        bottom: 60px;
        right: 0;
    }

    .message {
        font-size: 16px;
        padding: 12px 18px;
        border-radius: 14px;
    }

    .ai-agent-input-area {
        padding: 15px;
        gap: 10px;
    }

    #ai-agent-input {
        padding: 14px 20px;
        font-size: 16px;
    }

    #ai-agent-send {
        width: 50px;
        height: 50px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .ai-agent-attach {
        font-size: 18px;
    }

    .ai-agent-preview img {
        width: 40px;
        height: 40px;
    }

    .user-message img.ai-chat-image {
        max-width: 150px;
        max-height: 120px;
    }
}

/* =========================================================
   INTERACTIVE CONFIGURATOR - MODE PANEL & TOGGLE BUTTONS
   ========================================================= */
.mode-panel {
    display: none;
}

.mode-panel.active-panel {
    display: block;
}

/* Toggle Controls Container */
.toggle-controls {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* Toggle Buttons (Texture / Wireframe) */
.toggle-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #333;
    border-radius: 50px;
    background: #1a1a1a;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Active State: Solid Yellow with Black Text */
.toggle-btn.active {
    background: #ffe600;
    color: #000;
    border-color: #000;
    box-shadow: 3px 3px 0px #000;
    font-weight: 800;
}

.toggle-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0px #000;
}

/* =========================================================
   PREMIUM CONTACT MODAL
   ========================================================= */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-box {
    position: relative;
    background: #111;
    border: 1px solid #333;
    border-radius: 24px;
    padding: 50px 40px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 230, 0, 0.05);
}

.contact-modal-overlay.active .contact-modal-box {
    transform: scale(1) translateY(0);
}

.contact-modal-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 2;
    line-height: 1;
}

.contact-modal-close:hover {
    color: #ffe600;
    transform: rotate(90deg);
}

.contact-modal-content {
    position: relative;
    z-index: 1;
}

.contact-modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffe600, #f5c800);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 230, 0, 0.3);
}

.contact-modal-title {
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.contact-modal-desc {
    color: #999;
    font-size: 15px;
    margin: 0 0 30px;
    font-family: 'Inter', sans-serif;
}

.contact-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
}

.contact-modal-btn:hover {
    transform: translateY(-3px);
}

.contact-modal-btn i {
    font-size: 20px;
}

/* WhatsApp */
.contact-modal-btn.whatsapp-btn {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-modal-btn.whatsapp-btn:hover {
    background: #1ebe5a;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

/* Email */
.contact-modal-btn.email-btn {
    background: #1a1a1a;
    color: #ffe600;
    border: 2px solid #ffe600;
    box-shadow: 0 6px 20px rgba(255, 230, 0, 0.1);
}

.contact-modal-btn.email-btn:hover {
    background: #ffe600;
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 230, 0, 0.3);
}

/* Book a Call */
.contact-modal-btn.book-btn {
    background: transparent;
    color: #ccc;
    border: 1px solid #444;
    padding: 14px 24px;
    font-size: 14px;
}

.contact-modal-btn.book-btn:hover {
    border-color: #ffe600;
    color: #ffe600;
    box-shadow: 0 6px 20px rgba(255, 230, 0, 0.1);
}

.contact-modal-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: #555;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-modal-divider::before,
.contact-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

/* Modal responsive */
@media (max-width: 480px) {
    .contact-modal-box {
        padding: 40px 24px 30px;
        border-radius: 20px;
    }

    .contact-modal-title {
        font-size: 30px;
    }

    .contact-modal-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

