:root {
    --primary-color: #050505;
    --navy-blue: #0A2540; 
    --text-color: #333333;
    --accent-color: #00d2d3; /* Sky Blue / Teal */
    --light-bg: #f8fcfc;
    /* Updated Font to Outfit */
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* STRICT VIEWPORT RULES */
html, body { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: var(--font-main); color: var(--primary-color); 
    background-color: var(--light-bg); overflow-x: hidden; width: 100%;
}
* { box-sizing: inherit; }
a { text-decoration: none; color: inherit; }

/* =========================================
   PRELOADER / SHUTTER ANIMATION
   ========================================= */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #ffffff; z-index: 999999; display: flex; justify-content: center; align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader.loaded { transform: translateY(-100%); }
.preloader-content { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.preloader-text-container { position: absolute; text-align: center; display: flex; flex-direction: column; gap: 15px; animation: fadeOutText 0.4s forwards 1.4s; }
.preloader-text-1 { font-size: clamp(1.5rem, 4vw, 3.5rem); font-weight: 900; color: var(--navy-blue); letter-spacing: -1px; opacity: 0; animation: slideUpFade 0.5s forwards 0.2s; }
.preloader-text-2 { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 600; color: #555; opacity: 0; animation: slideUpFade 0.5s forwards 0.6s; }

.preloader-logo {
    position: fixed; top: 50%; left: 50%; width: 220px; transform: translate(-50%, -50%) scale(0);
    opacity: 0; z-index: 1000000; pointer-events: none;
    animation: logoReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.6s, logoFly 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards 2.4s;
}

@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutText { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.95); } }
@keyframes logoReveal { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));} }
@keyframes logoFly { 0% { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { top: 55px; left: 50px; transform: translate(0, -50%) scale(0.3); opacity: 0; } }

@media (max-width: 768px) {
    @keyframes logoFly { 0% { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { top: 38px; left: 20px; transform: translate(0, -50%) scale(0.25); opacity: 0; } }
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
.site-header { 
    position: fixed; top: 0; left: 0; width: 100%; padding: 25px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 999; background: transparent; transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease; 
}
.site-header.scrolled { padding: 15px 50px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05); }

.logo-link { display: flex; align-items: center; }
.nav-logo-img { height: 65px; width: auto; object-fit: contain; transition: transform 0.3s ease, filter 0.3s ease; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08)); }
.site-header.scrolled .nav-logo-img { height: 55px; }
.nav-logo-img:hover { transform: scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.btn-call { border: 2px solid rgba(10, 37, 64, 0.2); padding: 10px 25px; border-radius: 30px; font-weight: 700; font-size: 0.95rem; background: rgba(255,255,255,0.5); backdrop-filter: blur(5px); color: var(--navy-blue); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.site-header.scrolled .btn-call { border-color: #ddd; background: white; color: var(--navy-blue); }
.btn-call:hover { background: var(--navy-blue) !important; color: #fff !important; border-color: var(--navy-blue) !important; }

.menu-toggle { background: rgba(255,255,255,0.5); backdrop-filter: blur(5px); border: 1px solid rgba(10,37,64,0.1); cursor: pointer; width: 45px; height: 45px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; transition: var(--transition); }
.site-header.scrolled .menu-toggle { background: #fff; border-color: #ddd; }
.menu-toggle:hover { transform: scale(1.05); background: var(--navy-blue) !important; border-color: var(--navy-blue) !important; }
.menu-toggle:hover .bar { background-color: #fff !important; }
.bar { width: 20px; height: 2px; background-color: var(--navy-blue); transition: background 0.4s; }

/* Nav Overlay */
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #050505; z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; pointer-events: none; }
.nav-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.close-btn { position: absolute; top: 30px; right: 50px; background: white; border: none; color: black; font-size: 2.5rem; line-height: 1; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.close-btn:hover { background: var(--accent-color); color: white; transform: rotate(90deg); }
.main-nav ul { list-style: none; text-align: center; padding: 0; }
.main-nav ul li { margin: 15px 0; transform: translateY(30px); opacity: 0; transition: all 0.5s ease; transition-delay: calc(0.1s * var(--i)); }
.nav-overlay.active .main-nav ul li { transform: translateY(0); opacity: 1; }
.main-nav ul li a { text-decoration: none; color: white; font-size: 2.5rem; font-weight: 600; transition: color 0.3s; text-transform: uppercase; letter-spacing: 2px; }
.main-nav ul li a:hover { color: var(--accent-color); }

/* =========================================
   CLEAN DARK HERO SECTION
   ========================================= */
.clean-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Background Animation */
.hero-bg-animate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: bgZoomPan 25s infinite alternate linear;
}

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

/* Dark Overlay to make white text pop */
.hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* New Massive Clean Typography */
.hero-container-new {
    width: 100%; 
    max-width: 1400px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    z-index: 2;
}

.massive-clean-text {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -2px;
    text-align: center;
}

/* Spinning Scroll Down Text */
.scroll-down-circle {
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -60px; /* Half of SVG width to center perfectly */
    z-index: 5;
    animation: spinCircle 12s linear infinite;
    opacity: 0.8;
}

@keyframes spinCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Adaptations for Dark Hero */
.site-header:not(.scrolled) .btn-call {
    background: #ffffff;
    color: var(--primary-color);
    border: none;
}
.site-header:not(.scrolled) .menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.site-header:not(.scrolled) .menu-toggle .bar {
    background-color: #ffffff;
}
/* Inverts the logo to white when at the top */
.site-header:not(.scrolled) .nav-logo-img {
    filter: brightness(0) invert(1);
}

/* Buttons & Magnetic Wrapper */
.magnetic-wrap { display: inline-block; position: relative; }
.magnetic-btn { cursor: pointer; transition: transform 0.1s linear, box-shadow 0.4s ease, background 0.3s, color 0.3s; }

.btn-primary-new { background: var(--navy-blue); color: #fff; padding: 18px 40px; border-radius: 50px; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 12px; box-shadow: 0 15px 35px rgba(10, 37, 64, 0.3); }
.magnetic-wrap:hover .btn-primary-new { box-shadow: 0 25px 45px rgba(10, 37, 64, 0.5); background: var(--accent-color); color: var(--navy-blue); }

.btn-outline-new { background: rgba(255,255,255,0.6); color: var(--navy-blue); border: 2px solid rgba(10, 37, 64, 0.2); padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 1.05rem; backdrop-filter: blur(10px); }
.magnetic-wrap:hover .btn-outline-new { background: var(--navy-blue); color: #fff; border-color: var(--navy-blue); box-shadow: 0 20px 40px rgba(10, 37, 64, 0.3); }

/* Glassmorphism Stats (Utility preserved if needed later) */
.glass-pill { display: inline-block; font-size: clamp(0.75rem, 2vw, 0.9rem); font-weight: 800; letter-spacing: 4px; color: var(--navy-blue); margin-bottom: 25px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); padding: 12px 25px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }

/* 3D TILT UTILITY CLASS */
.tilt-element { transition: transform 0.1s linear, box-shadow 0.4s ease; transform-style: preserve-3d; }
.tilt-element:hover { box-shadow: 0 30px 60px rgba(0,210,211,0.25); z-index: 10; }

/* =========================================
   SKY BLUE INFINITE MARQUEE
   ========================================= */
.marquee-section { background-color: var(--accent-color); padding: 20px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 10; border-top: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid rgba(255,255,255,0.3); box-shadow: 0 10px 30px rgba(0,210,211,0.2); }
.marquee-content { display: inline-block; animation: scrollMarquee 25s linear infinite; }
.marquee-content span { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 900; color: var(--navy-blue); padding: 0 30px; text-transform: uppercase; letter-spacing: 1px; }
.marquee-content i { font-size: 1.2rem; color: var(--navy-blue); vertical-align: middle; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Services & Containers --- */
.services-section { padding: 100px 50px; background: transparent; position: relative; z-index: 10; perspective: 1000px;}
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.services-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.services-header h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 600px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; color: var(--navy-blue);}
.btn-secondary { text-decoration: none; padding: 15px 30px; border: 2px solid var(--accent-color); border-radius: 30px; color: var(--accent-color); font-weight: 800; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-secondary:hover { background: var(--accent-color); color: white; box-shadow: 0 10px 20px rgba(0,210,211,0.3);}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.service-card { padding: 40px 30px; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border-radius: 20px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 15px 30px rgba(0,0,0,0.04); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-color); transform: translateZ(40px);}
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 800; color: var(--navy-blue); transform: translateZ(30px);}
.service-card p { color: #555; line-height: 1.7; min-height: 60px; transform: translateZ(20px);}

/* Stats Section */
.stats-section { padding: 100px 50px; background: white; text-align: center; }
.stats-section .section-title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 60px; font-weight: 800; color: #888; }
.stats-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.stat-item { flex: 1; min-width: 200px; }
.stat-number { font-size: 5rem; font-weight: 900; color: var(--navy-blue); line-height: 1;}
.stat-item .plus { font-size: 2.5rem; vertical-align: super; font-weight: 700; color: var(--accent-color); }
.stat-item p { margin-top: 15px; color: #666; font-weight: 700; font-size: 1.1rem; }

/* Feature Sections */
.feature-section { display: flex; align-items: stretch; min-height: 80vh; background-color: var(--light-bg); overflow: hidden; max-width: 100%;}
.feature-section.reverse-layout { flex-direction: row-reverse; }
.feature-image-col { width: 50%; position: relative; display: flex; align-items: center; perspective: 1000px;}
.feature-bg-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.feature-overlap-img { position: absolute; width: 350px; height: 400px; object-fit: cover; z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.3); border: 8px solid white;}
.feature-section:not(.reverse-layout) .feature-overlap-img { right: -100px; }
.feature-section.reverse-layout .feature-overlap-img { left: -100px; }
.feature-text-col { width: 50%; padding: 8% 8%; display: flex; flex-direction: column; justify-content: center; background: var(--light-bg); z-index: 5; }
.feature-text-col h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; margin-bottom: 30px; color: var(--navy-blue); letter-spacing: -1px; }
.feature-text-col p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 25px; }
.feature-stats { display: flex; gap: 50px; margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px;}
.f-stat h3 { font-size: 3rem; font-weight: 900; margin-bottom: 5px; color: var(--accent-color); }
.f-stat p { font-size: 1rem; line-height: 1.4; margin-bottom: 0; color: #000; font-weight: 700; }
.feature-tags { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }

/* Utilities & Reusable */
.text-center { text-align: center; }
.split-layout { display: flex; align-items: center; gap: 50px; padding: 80px 0; max-width: 100%; }
.split-layout.align-start { align-items: flex-start; }
.text-content { flex: 1; }
.image-content { flex: 1; position: relative; perspective: 1000px;}

/* Continuous Scrolling Partners Section */
.partners-section { padding: 100px 0; background: #fafafa; overflow: hidden; width: 100%; }
.partners-section .section-title { margin-bottom: 60px; font-weight: 800; font-size: 2rem; text-align: center; color: var(--navy-blue);}
.partners-carousel { width: 100%; overflow: hidden; position: relative; white-space: nowrap; }
.partners-carousel::before, .partners-carousel::after { content: ""; position: absolute; top: 0; width: 15vw; height: 100%; z-index: 2; pointer-events: none; }
.partners-carousel::before { left: 0; background: linear-gradient(to right, #fafafa, transparent); }
.partners-carousel::after { right: 0; background: linear-gradient(to left, #fafafa, transparent); }
.partners-track { display: inline-block; animation: scrollMarquee 20s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partner-logo { max-width: 160px; max-height: 80px; object-fit: contain; filter: grayscale(0%) opacity(100); transition: var(--transition); display: inline-block; margin: 0 50px; vertical-align: middle; cursor: pointer; }
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* =========================================
   GRAPHICS DEMO SECTION (AUTO SCROLL)
   ========================================= */
.graphics-demo-section { padding: 100px 50px; background: #f9fbfc; }
.demo-gallery-wrapper { display: flex; gap: 20px; height: 600px; overflow: hidden; position: relative; mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent); }
.scroll-column { display: flex; flex-direction: column; gap: 20px; width: 50%; }
.scroll-column img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 1/1; }
.scroll-up { animation: scrollUpAnim 25s linear infinite; }
.scroll-down { animation: scrollDownAnim 25s linear infinite; }
.demo-gallery-wrapper:hover .scroll-column { animation-play-state: paused; }
@keyframes scrollUpAnim { 0% { transform: translateY(0); } 100% { transform: translateY(calc(-50% - 10px)); } }
@keyframes scrollDownAnim { 0% { transform: translateY(calc(-50% - 10px)); } 100% { transform: translateY(0); } }

/* =========================================
   WEB DEMO SECTION
   ========================================= */
.web-demo-section { padding: 100px 50px; background: var(--navy-blue); color: white; perspective: 1000px;}
.web-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.web-card { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; }
.web-card img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.web-card:hover img { transform: scale(1.08); }
.web-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 20px 20px; background: linear-gradient(to top, rgba(10,37,64,0.95), transparent); transform: translateY(10px); opacity: 0; transition: all 0.4s ease; }
.web-card:hover .web-card-overlay { transform: translateY(0); opacity: 1; }
.web-card-overlay h4 { margin: 0 0 5px 0; font-size: 1.5rem; font-weight: 800; color: #fff; }
.web-card-overlay p { margin: 0; color: var(--accent-color); font-weight: 600; font-size: 0.95rem; }

/* Founder Section */
.founder-section { padding: 120px 50px; background: white; }
.founder-text h2 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; margin-bottom: 30px; letter-spacing: -1px; color: var(--navy-blue); }
.founder-text p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
.founder-quote { font-size: 1.3rem; font-style: italic; font-weight: 700; line-height: 1.6; margin: 40px 0; padding-left: 25px; border-left: 4px solid var(--accent-color); color: #111; }
.founder-profile-small { display: flex; align-items: center; gap: 20px; }
.founder-profile-small img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.founder-profile-info h4 { font-size: 1.2rem; margin-bottom: 5px; font-weight: 900; color: var(--navy-blue); }
.founder-profile-info p { font-size: 0.9rem; color: #777; margin: 0; font-weight: 600;}
.founder-image-col { text-align: center; }
.founder-main-img { width: 100%; max-width: 450px; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.founder-title-bottom { margin-top: 30px; }
.founder-title-bottom p { color: #888; font-size: 1rem; margin-bottom: 5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
.founder-title-bottom h3 { font-size: 2rem; font-weight: 900; color: var(--navy-blue); }

/* About Section */
.align-center { align-items: center !important; }
.text-left { text-align: left !important; }
.about-section { padding: 80px 50px 0; background: white; }
.about-logo-col { display: flex; justify-content: center; align-items: center; }
.about-text .section-title { font-size: 3rem; font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; color: var(--navy-blue); }
.title-underline { width: 60px; height: 4px; background-color: var(--accent-color); margin-bottom: 30px; border-radius: 2px;}
.about-text p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 25px; font-weight: 500; }
.section-divider { border: none; border-top: 1px solid #eaeaea; margin: 100px auto 0; max-width: 90%; }

/* Footer */
.site-footer { background-color: var(--navy-blue); color: #ffffff; padding: 100px 50px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }
.footer-logo { margin-bottom: 25px; }
.brand-col p { color: #aab; line-height: 1.7; margin-bottom: 30px; max-width: 90%; font-size: 1rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(255, 255, 255, 0.1); color: white; border-radius: 50%; text-decoration: none; transition: all 0.3s ease; font-size: 1.1rem; }
.social-links a:hover { background: var(--accent-color); color: var(--navy-blue); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,210,211,0.3);}
.footer-col h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 30px; position: relative; padding-bottom: 15px; color: white; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-color); border-radius: 2px;}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #aab; text-decoration: none; transition: all 0.3s ease; font-size: 1rem; font-weight: 500;}
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 8px; }
.contact-col p { color: #aab; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; line-height: 1.6; font-size: 1rem; font-weight: 500;}
.contact-col i { color: var(--accent-color); margin-top: 5px; font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; text-align: center; color: #889; font-size: 0.95rem; font-weight: 500; }

/* =========================================
   CUSTOM CURSOR & SPRAY ANIMATIONS 
   ========================================= */
body { cursor: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; transition-duration: 0.15s; transition-timing-function: ease-out; }
.cursor-hover .cursor-outline { width: 60px; height: 60px; background-color: rgba(0, 210, 211, 0.15); border-color: transparent; }

.social-spray-icon { position: absolute; pointer-events: none; color: var(--accent-color); font-size: 20px; z-index: 9997; animation: sprayAnim 1s forwards cubic-bezier(0.1, 0.8, 0.3, 1); filter: drop-shadow(0 0 5px var(--accent-color));}
@keyframes sprayAnim {
    0% { transform: translate(-50%, -50%) scale(0.2) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5) rotate(var(--rot)); opacity: 0; }
}

@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline, .social-spray-icon { display: none !important; }
}

/* --- Scroll Reveal Animations --- */
.reveal-left, .reveal-right, .reveal-up, .reveal-fade { opacity: 0; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }
.reveal-fade { transform: scale(0.95); }
.active, .reveal-active { opacity: 1; } /* Fallback for active state */
.reveal-active.reveal-left, .active.reveal-left { transform: translate(0); opacity: 1; }
.reveal-active.reveal-right, .active.reveal-right { transform: translate(0); opacity: 1; }
.reveal-active.reveal-up, .active.reveal-up { transform: translate(0); opacity: 1; }
.reveal-active.reveal-fade, .active.reveal-fade { transform: scale(1); opacity: 1; }

/* =========================================
   STRICT RESPONSIVE FIXES FOR MOBILE
   ========================================= */
@media (max-width: 1024px) {
    .feature-text-col { padding: 5% 8%; }
    .feature-overlap-img { width: 280px; height: 320px; }
    .feature-section:not(.reverse-layout) .feature-overlap-img { right: -50px; }
    .feature-section.reverse-layout .feature-overlap-img { left: -50px; }
}

@media (max-width: 900px) {
    .hero-container-new { text-align: center; }
    
    .about-section { padding: 40px 20px 0; }
    .about-logo-col { margin-bottom: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .split-layout, .split-layout.row-reverse { flex-direction: column; gap: 50px; }

    .demo-gallery-wrapper { height: 450px; margin-top: 40px;}
    .graphics-demo-section { padding: 60px 20px; }
    .web-demo-section { padding: 60px 20px; }
}

@media (max-width: 768px) {
    .site-header { padding: 15px 20px; }
    .site-header.scrolled { padding: 15px 20px; }
    .nav-logo-img { height: 45px; } 
    .btn-call { display: none; } 
    .close-btn { top: 20px; right: 20px; width: 45px; height: 45px; font-size: 2rem; }
    .main-nav ul li a { font-size: 2.5rem; }
    
    .clean-hero { padding-top: 120px; }
    
    .services-header { flex-direction: column; gap: 20px; }
    .stats-grid { flex-direction: column; text-align: center; gap: 50px;}
    
    .feature-section, .feature-section.reverse-layout { flex-direction: column; padding: 40px 20px; min-height: auto; }
    .feature-image-col { width: 100%; height: 350px; }
    .feature-text-col { width: 100%; padding: 30px 0 0 0; }
    .feature-overlap-img { display: none; }

    .founder-section { padding: 60px 20px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { padding: 60px 20px 20px; }
    
    .demo-gallery-wrapper { height: 350px; gap: 10px; }
    .scroll-column { gap: 10px; }
}


.second-logo {
    filter: brightness(0); /* makes it dark */
}

.site-header:not(.scrolled) .second-logo {
    filter: brightness(0) invert(1); /* makes it white */
}

.partner-logo { 
    max-width: 240px;  /* Increased from 160px */
    max-height: 120px; /* Increased from 80px */
    object-fit: contain; 
    /* filter removed to keep original colors */
    transition: var(--transition); 
    display: inline-block; 
    margin: 0 50px; 
    vertical-align: middle; 
    cursor: pointer; 
}

.partner-logo:hover { 
    /* filter removed since it's already full color */
    transform: scale(1.1); 
}
/* Nav Overlay (Updated to Sidebar) */
.nav-overlay { 
    position: fixed; 
    top: 0; 
    right: -400px; /* Start off-screen to the right */
    left: auto;
    width: 100%; 
    max-width: 400px; /* Fixed width for the sidebar */
    height: 100vh; 
    background-color: rgba(5, 5, 5, 0.95); /* Dark background with slight transparency */
    backdrop-filter: blur(10px); /* Optional: adds a nice blur to whatever is behind it */
    z-index: 1000; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    visibility: hidden; 
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s; 
    pointer-events: none;
    box-shadow: -15px 0 40px rgba(0,0,0,0.4); /* Adds a shadow to separate it from the main site */
}

.nav-overlay.active { 
    right: 0; /* Slide in to position */
    visibility: visible; 
    pointer-events: auto; 
}

.close-btn { 
    position: absolute; 
    top: 30px; 
    right: 30px; /* Adjusted from 50px to fit nicely inside the 400px panel */
    background: white; 
    border: none; 
    color: black; 
    font-size: 2.5rem; 
    line-height: 1; 
    cursor: pointer; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: 0.3s; 
}

.close-btn:hover { 
    background: var(--accent-color); 
    color: white; 
    transform: rotate(90deg); 
}

.main-nav ul { 
    list-style: none; 
    text-align: center; 
    padding: 0; 
}

/* Updated animation so the text slides from the right instead of bottom */
.main-nav ul li { 
    margin: 15px 0; 
    transform: translateX(50px); 
    opacity: 0; 
    transition: all 0.5s ease; 
    transition-delay: calc(0.1s * var(--i)); 
}

.nav-overlay.active .main-nav ul li { 
    transform: translateX(0); 
    opacity: 1; 
}

@media (max-width: 768px) {
    /* Make the sidebar slightly narrower on phones */
    .nav-overlay { 
        max-width: 300px; 
        right: -300px; 
    }
    .nav-overlay.active { 
        right: 0; 
    }
    /* ... rest of your existing mobile CSS ... */
}