:root {
    --primary: #3a86ff; /* Architectural Tech Blue */
    --primary-hover: #2563eb;
    --bg-dark: #080808;
    --bg-darker: #000000;
    --bg-light: #f8f9fa;
    --text-main: #e8e8e8;
    --text-muted: #888888;
    --white: #ffffff;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.01em; }
h3 { font-size: 1.8rem; font-weight: 400; }
.subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.large-text {
    font-size: 1.35rem;
    font-weight: 300;
    max-width: 850px;
    margin: 0 auto 2rem auto;
    color: #bbbbbb;
}

.highlight {
    color: var(--primary);
    font-style: italic;
    font-weight: 300;
}

.highlight-text {
    color: var(--white);
    font-weight: 400;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section {
    padding: 10rem 0;
}

.dark-section {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

/* Buttons */
.ai-quick-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #eeeeee;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Outfit', sans-serif;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ai-quick-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Global Contact Modal */
.global-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.global-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.global-modal-content {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.global-modal-overlay.active .global-modal-content {
    transform: translateY(0);
}

.global-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #aaaaaa;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.global-modal-close:hover {
    color: var(--white);
}

.contact-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.contact-form-group label {
    display: block;
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 5px;
}

.contact-form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(58, 134, 255, 0.2);
}

.contact-form-input::placeholder {
    color: #666666;
}

/* Contact Split Layout */
.contact-split-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .contact-split-layout {
        flex-direction: row;
        align-items: stretch;
    }
    .contact-left-pane {
        flex: 1;
        padding-right: 30px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contact-right-pane {
        flex: 1.5;
        padding-left: 10px;
    }
}

.contact-left-pane img {
    max-width: 150px;
    margin-bottom: 20px;
}

.contact-left-pane h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-left-pane p {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-direct-info {
    margin-top: auto;
}

.contact-direct-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #cccccc;
}

.contact-direct-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    background-color: var(--white);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.7;
}

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

.nav-links a:not(.btn-primary) {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bbbbbb;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--white);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--white) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.8) !important;
}

.nav-links .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.hamburger span {
    width: 35px;
    height: 1px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 120px 0;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.inner-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.inner-hero h1 {
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

/* Inner Pages Hero */
.inner-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.inner-hero h1 {
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-layout > div {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inset 0 0 0 1px rgba(255,255,255,0.05);
    z-index: 2;
    pointer-events: none;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.85) contrast(1.1);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1);
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--primary);
    margin-left: 5px;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    background: var(--primary);
    transform: scale(1.1);
}

.video-placeholder:hover .play-button::before {
    border-left-color: var(--bg-dark);
}

/* Contact Cards */
.contact-desc {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-card, .coating-card {
    background: linear-gradient(160deg, rgba(20,20,20,0.9) 0%, rgba(5,5,5,1) 100%);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 4px;
    padding: 3.5rem 2.5rem;
    min-width: 300px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before, .coating-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover, .coating-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.contact-card:hover::before, .coating-card:hover::before {
    opacity: 1;
}

.contact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-card a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
}
.contact-card a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background: #000;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.85rem;
}

/* Animations */
.reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    visibility: hidden;
}

/* Portal Animations & 3D Previews */
.portal-container {
    position: relative;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.portal-ring {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.02), inset 0 0 40px rgba(255, 255, 255, 0.02);
    animation: spin 15s linear infinite;
    transform-style: preserve-3d;
}
.portal-ring:nth-child(2) { animation-direction: reverse; animation-duration: 20s; width: 80%; height: 80%; top: 10%; left: 10%; border-color: rgba(255,255,255,0.1); }
.portal-ring:nth-child(3) { animation-duration: 25s; width: 60%; height: 60%; top: 20%; left: 20%; border-color: rgba(255,255,255,0.15); }

@keyframes spin { 100% { transform: rotateY(360deg) rotateX(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Global Floating Chatbot */
.global-chatbot { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.chatbot-toggle { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(58, 134, 255, 0.4); color: var(--white); transition: var(--transition); pointer-events: auto; }
.chatbot-toggle:hover { transform: scale(1.1); box-shadow: 0 10px 40px rgba(58, 134, 255, 0.6); }
.chatbot-window { width: 350px; background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); display: flex; flex-direction: column; transition: opacity 0.3s, transform 0.3s, visibility 0.3s; opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.global-chatbot.closed .chatbot-window { opacity: 0; transform: translateY(20px); visibility: hidden; pointer-events: none; }
.ai-header { padding: 1.5rem; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 1rem; }
.ai-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--bg-dark); font-weight: 800; font-size: 1.2rem;}
.ai-chat-window { padding: 1.5rem; height: 350px; overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem; scroll-behavior: smooth; }
.chat-bubble { padding: 1rem 1.2rem; border-radius: 15px; max-width: 85%; font-size: 0.95rem; line-height: 1.4; animation: fadeInUp 0.3s forwards; }
.chat-ai { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.05); align-self: flex-start; border-bottom-left-radius: 5px; color: var(--white); }
.chat-user { background: var(--primary); color: var(--white); align-self: flex-end; border-bottom-right-radius: 5px; box-shadow: 0 5px 15px rgba(58,134,255,0.2); }
.ai-input-area { padding: 1rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; gap: 0.5rem; background: rgba(0,0,0,0.4); }
.ai-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.8rem 1rem; border-radius: 30px; color: var(--white); font-family: inherit; font-size: 0.9rem; outline: none; transition: all 0.3s; }
.ai-input:focus { border-color: var(--primary); background: rgba(255,255,255,0.08); }
.ai-send { background: var(--primary); color: var(--white); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s, box-shadow 0.3s; }
.ai-send:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(58,134,255,0.4); }

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

/* Social Proof Carousel */
.carousel-container { overflow: hidden; padding: 8rem 0; background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }
.carousel-track { display: flex; gap: 2.5rem; width: max-content; animation: scrollLeft 40s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
.carousel-card { 
    background: linear-gradient(160deg, rgba(20,20,20,0.9) 0%, rgba(5,5,5,1) 100%);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 4px; padding: 4rem 3rem; width: 420px; flex-shrink: 0; transition: var(--transition); position: relative; 
}
.carousel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}
.carousel-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.8); }
.carousel-card:hover::before { opacity: 1; }
.carousel-card .metrics { color: var(--primary); font-size: 3.5rem; font-weight: 300; margin-bottom: 1rem; letter-spacing: -0.05em; line-height: 1; }
.carousel-card p { font-size: 1.15rem; margin-bottom: 2rem; color: #aaaaaa; }
.carousel-card .client-name { color: var(--white); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 1.25rem)); } }

/* Before / After Slider */
.ba-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; height: 600px; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5); user-select: none; -webkit-user-select: none; }
.ba-container * { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.ba-container ::selection { background: transparent; }
.ba-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-drag: none; -webkit-user-drag: none; }
.ba-after { z-index: 1; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba-slider { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--white); z-index: 2; cursor: ew-resize; transform: translateX(-50%); box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.ba-handle { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; background: var(--white); border-radius: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(0,0,0,0.6); }
.ba-handle::before, .ba-handle::after { content: ''; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; position: absolute; }
.ba-handle::before { border-right: 10px solid var(--bg-dark); left: 10px; }
.ba-handle::after { border-left: 10px solid var(--bg-dark); right: 10px; }
.ba-label { position: absolute; top: 30px; padding: 0.6rem 1.5rem; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; z-index: 3; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.ba-label.before { right: 30px; }
.ba-label.after { left: 30px; }

/* Structural Previews */
.structural-preview { position: relative; padding-bottom: 2rem; }
.structural-wireframe { position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; transform: perspective(500px) rotateY(-30deg) rotateX(20deg); pointer-events: none; opacity: 0.5; z-index: -1; }
.structural-wireframe::before { content: ''; position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px; border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; transform: translateZ(-50px); }

/* Media Queries */
@media (max-width: 992px) {
    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container, .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 5rem 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-content {
        text-align: center;
        flex-direction: column;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 20px;
    }
    
    h1, .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }
    
    h2, .section-title h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    p, li {
        font-size: 0.95rem !important;
    }
    
    .hero-text-pane, .hero-logo-pane {
        min-width: 100% !important;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .section, .light-section {
        padding: 4rem 0;
    }
    
    .contact-card, .coating-card, .glass-card {
        padding: 1.5rem 1rem;
        min-width: 100%;
    }
    
    .carousel-card {
        width: 85vw;
        padding: 1.5rem 1rem;
    }
    
    .inner-hero {
        height: 40vh;
    }
    
    .inner-hero h1 {
        font-size: 2.5rem;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .ba-container {
        height: 350px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
        gap: 2rem;
    }
    
    .footer-brand, .footer-contact, .footer-hours {
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    .global-modal-content {
        padding: 30px 20px;
    }
}

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-darker); z-index: 99999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-v { font-size: 4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.2); position: relative; }
.loader-v::before { content: 'V'; position: absolute; top: 0; left: 0; width: 0; height: 100%; color: var(--primary); -webkit-text-stroke: 0px; overflow: hidden; animation: fillV 1.5s ease-in-out forwards; }
@keyframes fillV { 0% { width: 0; } 100% { width: 100%; } }

/* Client Portal Button */
.btn-outline { border: 1px solid rgba(255,255,255,0.2); padding: 0.5rem 1.2rem; border-radius: 4px; color: var(--white); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.btn-outline:hover { border-color: var(--primary); background: rgba(58, 134, 255, 0.1); color: var(--primary); }

/* Trust Badges */
.trust-badges { background: var(--bg-dark); padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.02); }
.trust-track { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; align-items: center; opacity: 0.6; }
.trust-badge { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-badge svg { width: 24px; height: 24px; color: var(--primary); }

/* Portfolio Masonry */
.portfolio-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 0.6rem 1.5rem; border-radius: 30px; cursor: pointer; transition: var(--transition); font-family: inherit; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--bg-darker); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 250px; gap: 1.5rem; }
.portfolio-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; transition: var(--transition); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); filter: brightness(0.8); }
.portfolio-item:hover img { transform: scale(1.05); filter: brightness(1); }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%); opacity: 0; transition: var(--transition); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; pointer-events: none; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-title { color: var(--white); font-size: 1.2rem; margin: 0; font-weight: 500; transform: translateY(10px); transition: transform 0.4s; }
.portfolio-cat { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; transform: translateY(10px); transition: transform 0.4s; }
.portfolio-item:hover .portfolio-title, .portfolio-item:hover .portfolio-cat { transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 100000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; backdrop-filter: blur(10px); }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.8); transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.lightbox.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; transition: color 0.3s; }
.lightbox-close:hover { color: var(--primary); }

/* Service Map Mockup */
.service-map { position: relative; width: 100%; height: 400px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100%" height="100%" fill="%230a0a0a"/><circle cx="50" cy="50" r="1" fill="%233a86ff" opacity="0.3"/></svg>'); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.map-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: var(--primary); border-radius: 50%; z-index: 2; box-shadow: 0 0 20px var(--primary); }
.map-pulse::before { content: ''; position: absolute; inset: -20px; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* 1. Define the 360-degree rotation */
@keyframes spin-logo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 2. Apply it to the logo */
.rotating-logo {
  /* 25s is slower and more elegant than 5s */
  animation: spin-logo 25s linear infinite;
  
  /* Ensures the logo spins exactly on its center point */
  transform-origin: center center; 
}

/* Light Theme Extensions */
.light-theme {
    background-color: var(--white);
    color: var(--bg-darker);
}
.light-theme h1, .light-theme h2, .light-theme h3, .light-theme h4, .light-theme h5, .light-theme strong {
    color: var(--bg-darker);
}
.light-theme p {
    color: #444444;
}
.light-theme .large-text {
    color: #555555;
}
.light-section {
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10rem 0;
}
.light-section.alt {
    background-color: var(--bg-light);
}
.light-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 3.5rem 2.5rem;
    transition: var(--transition);
}
.light-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.highlight-tag {
    background: rgba(58, 134, 255, 0.15);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
    border: 1px solid rgba(58, 134, 255, 0.3);
}
.light-theme .highlight-tag {
    color: var(--primary);
    background: rgba(58, 134, 255, 0.1);
}

/* Funky Theme Additions */
.funky-bg {
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #0f0c29);
    background-size: 400% 400%;
    animation: funkyGradient 15s ease infinite;
    color: white;
}
@keyframes funkyGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 3rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(58, 134, 255, 0.5);
}
.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--primary),
        0 0 40px var(--primary);
}
.funky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.glass-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

