* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505; 
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    opacity: 0; 
    transform: translateY(-50px);
    background: rgba(5, 5, 8, 0.45) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.logo-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.15rem;
    color: #ffffff !important;
    letter-spacing: 5px;
    line-height: 1;
    display: block;
    width: 100%;
}

.logo-subtext {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.48rem;
    color: #ffffff !important;
    letter-spacing: 1.1px;
    font-weight: 300 !important;
    margin-top: 5px;
    opacity: 0.9;
    display: block;
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 101;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Active Hamburger Toggle transform into Cross (X) */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-links li { display: block; }

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #f59e0b);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* INTRO VIEW */
.intro-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.clean-line-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-line {
    width: 120%;
    height: 300px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    animation: drift 10s infinite alternate linear;
    opacity: 0.8;
}

@keyframes drift {
    0% { transform: translateX(-5%) translateY(10px); }
    100% { transform: translateX(5%) translateY(-10px); }
}

.intro-text-group { text-align: center; position: relative; z-index: 2; width: fit-content; margin: 0 auto; }
.intro-logo-text { font-family: 'Poppins', sans-serif !important; font-size: 4.8rem; font-weight: 400 !important; letter-spacing: 14px; color: #ffffff !important; display: block; }
.intro-tagline { font-family: 'Poppins', sans-serif !important; font-size: 0.85rem; font-weight: 400 !important; letter-spacing: 3px; color: #ffffff !important; text-transform: uppercase; margin-top: 10px; opacity: 0.9; display: block; }

/* HERO SECTION  */
.hero-section { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #050505; }
.hero-view { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 5; opacity: 0; pointer-events: none; }
#hero-canvas { position: absolute; width: 100%; height: 100%; opacity: 0.8; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title { font-family: 'Syncopate', sans-serif; font-size: 4.5rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.hero-title .line { display: block; }
.accent-text { color: #888; }

.dynamic-word {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.hero-subtitle { font-size: 1.2rem; color: #a0a0a0; margin-top: 20px; max-width: 600px; margin-inline: auto; }
.gradient-text { background: linear-gradient(90deg, #8b5cf6, #3b82f6, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }

/* ABOUT US */
.about-section { width: 100vw; min-height: 100vh; background: #050505; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 10% 40px; position: relative; overflow: hidden; }
.about-container { max-width: 900px; text-align: center; position: relative; z-index: 2; }
.about-title { font-family: 'Syncopate', sans-serif; font-size: 3rem; margin-bottom: 40px; }
.about-text { font-size: 1.8rem; line-height: 1.6; color: #ccc; font-weight: 300; }
.white-highlight { color: #ffffff !important; font-weight: 600; }

.about-wave-container { width: 100%; height: 160px; margin-top: 20px; position: relative; z-index: 1; }
#about-wave-canvas { width: 100%; height: 100%; display: block; }

/* WHY CHOOSE NIXO360 SECTION */
.why-us-section { padding: 110px 10%; background: #050505; border-top: 1px solid rgba(255,255,255,0.05); }
.why-us-container { display: flex; gap: 60px; align-items: center; }
.why-us-left { flex: 1.2; }
.section-tag { color: #3b82f6; font-size: 0.82rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; display: block; text-transform: uppercase; }
.prominent-section-title { font-family: 'Syncopate', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; margin-bottom: 20px; }
.why-glass-card { background: rgba(14, 14, 20, 0.8); border: 1px solid rgba(139, 92, 246, 0.25); border-radius: 20px; padding: 35px; backdrop-filter: blur(12px); }
.why-glass-card p { color: #ccc; line-height: 1.8; font-size: 1.08rem; font-weight: 300; }

.why-us-right { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card { background: #0c0c12; border: 1px solid #1f1f2e; border-radius: 20px; padding: 30px 20px; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.stat-card:hover { border-color: #3b82f6; transform: translateY(-5px); }
.stat-svg-box { width: 48px; height: 48px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; }
.stat-svg-box svg { width: 100%; height: 100%; }
.stat-value-wrap { display: flex; align-items: center; justify-content: center; }
.counter-num { font-family: 'Syncopate', sans-serif; font-size: 2.3rem; color: #fff; }
.stat-plus { font-family: 'Syncopate', sans-serif; font-size: 1.8rem; color: #8b5cf6; }
.stat-card p { color: #888; font-size: 0.82rem; margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* CORE SERVICES */
.services-pin-section { position: relative; padding: 100px 10%; background: #050505; }
.services-header { text-align: center; margin-bottom: 60px; }
.section-title { font-family: 'Syncopate', sans-serif; font-size: 3rem; text-transform: uppercase; }
.section-subtitle { color: #888; font-size: 1.1rem; margin-top: 10px; }

.cards-container { position: relative; display: flex; flex-direction: column; gap: 40px; }
.service-card { 
    position: sticky; 
    top: 120px; 
    width: 100%; 
    height: 70vh; 
    background: #0c0c0f; 
    border-radius: 24px; 
    display: flex; 
    overflow: hidden; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: border-color 0.3s;
}
.service-card:hover { border-color: rgba(59, 130, 246, 0.6); }

.card-left { flex: 1.2; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.card-num { font-family: 'Syncopate', sans-serif; color: #3b82f6; font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.card-left h3 { font-family: 'Syncopate', sans-serif; font-size: 2.2rem; margin-bottom: 20px; }
.card-left p { color: #aaa; line-height: 1.6; font-size: 1.1rem; }
.card-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px; }
.circle-image-frame { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; border: 3px solid #8b5cf6; box-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
.circle-image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* PORTFOLIO */
.horizontal-portfolio-section { position: relative; background: #050505; width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.portfolio-title-wrapper { padding: 0 10% 20px; }

.portfolio-scroll-outer { 
    width: 100%; 
    overflow: hidden; 
    display: flex; 
}

.portfolio-track { display: flex; gap: 30px; padding: 20px 10vw; width: max-content; }
.portfolio-item { width: 400px; height: 480px; background: #121217; border-radius: 20px; border: 1px solid #222; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.portfolio-item:hover { border-color: #8b5cf6; }
.port-img-box { width: 100%; height: 75%; overflow: hidden; }
.port-img-box img { width: 100%; height: 100%; object-fit: cover; }
.port-info { padding: 20px; background: #121217; }
.port-info h4 { font-size: 1.2rem; margin-bottom: 5px; color: #fff; }
.port-info span { color: #888; font-size: 0.85rem; }

.portfolio-progress-bar { 
    width: 100vw; 
    height: 3px; 
    background: rgba(255, 255, 255, 0.08); 
    overflow: hidden; 
    position: absolute;
    left: 0;
    bottom: 35px;
    z-index: 10;
}
.portfolio-progress-fill { 
    width: 0%; 
    height: 100%; 
    background: linear-gradient(90deg, #8b5cf6, #3b82f6); 
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

/* OUR PRODUCTS */
.products-section { padding: 110px 10%; background: #ffffff; position: relative; overflow: hidden; transition: background 2.5s ease, background-color 2.5s ease; }
.products-section .section-title,
.products-section .section-subtitle,
.product-card,
.product-card h3,
.product-card p {
    transition: background 2.5s ease, background-color 2.5s ease, color 2.5s ease, border-color 2.5s ease, box-shadow 2.5s ease;
}
.products-section.ceo-active { background-color: #050505; }
.products-section.ceo-active .section-title { color: #ffffff; }
.products-section.ceo-active .section-subtitle { color: #888888; }
.products-section.ceo-active .product-card { background-color: #0c0c12; border-color: #1f1f2e; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.products-section.ceo-active .product-card h3 { color: #ffffff; }
.products-section.ceo-active .product-card p { color: #aaa; }
#products-bg-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.7; }
.products-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 2; }
.products-section .section-title { color: #0a0a0a; }
.products-section .section-subtitle { color: #555; }
.product-card { background: #f7f7fb; border: 1px solid #e4e4ec; border-radius: 24px; padding: 45px 35px; display: flex; flex-direction: column; justify-content: space-between; transition: background 2.5s ease, background-color 2.5s ease, color 2.5s ease, border-color 2.5s ease, box-shadow 2.5s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.product-card:hover { border-color: #8b5cf6; box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2); transform: translateY(-6px); }

.product-badge { display: inline-block; background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.4); color: #8b5cf6; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; letter-spacing: 1px; margin-bottom: 20px; }

.product-svg-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.product-svg-icon svg { width: 100%; height: 100%; }

.product-card h3 { font-family: 'Syncopate', sans-serif; font-size: 1.5rem; margin-bottom: 15px; color: #0a0a0a; }
.product-card p { color: #555; line-height: 1.6; font-size: 0.98rem; margin-bottom: 30px; }
.prod-link { color: #8b5cf6; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.prod-link:hover { color: #3b82f6; }

/* CEO MESSAGE */
.ceo-section { position: relative; padding: 120px 10%; background: #ffffff; min-height: 100vh; display: flex; align-items: center; overflow: hidden; transition: background 2.5s ease, background-color 2.5s ease; }
.ceo-section.ceo-active { background: #050505; }
#ceo-bg-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.7; }

.ceo-seamless-container { position: relative; z-index: 2; display: flex; gap: 80px; align-items: center; width: 100%; }

.ceo-content-side-full { flex: 1.1; display: flex; flex-direction: column; justify-content: center; }
.ceo-main-title-full { font-family: 'Syncopate', sans-serif; font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; color: #0a0a0a; transition: color 2.5s ease; }
.ceo-text-full { color: #333333; line-height: 1.8; font-size: 1.15rem; margin-bottom: 35px; font-weight: 300; transition: color 2.5s ease; }
.ceo-author-full h4 { font-size: 1.3rem; color: #0a0a0a; font-weight: 600; transition: color 2.5s ease; }
.ceo-author-full span { color: #8b5cf6; font-size: 0.95rem; font-weight: 500; }

.ceo-section.ceo-active .ceo-main-title-full { color: #ffffff; }
.ceo-section.ceo-active .ceo-text-full { color: #cccccc; }
.ceo-section.ceo-active .ceo-author-full h4 { color: #ffffff; }

.ceo-image-side-full { flex: 1.3; height: 720px; border-radius: 0px !important; overflow: hidden; border: none !important; box-shadow: none !important; }
.ceo-img-full { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0px !important; }

/* TESTIMONIALS  */
.testimonials-section { padding: 100px 0; background: #ffffff; overflow: hidden; position: relative; transition: background 2.5s ease, background-color 2.5s ease; }
.testimonials-section .section-title,
.testimonials-section .section-subtitle,
.testi-card,
.testi-user h5,
.testi-card p {
    transition: background 2.5s ease, background-color 2.5s ease, color 2.5s ease, border-color 2.5s ease, box-shadow 2.5s ease;
}
.testimonials-section.ceo-active { background-color: #050505; }
.testimonials-section.ceo-active .section-title { color: #ffffff; }
.testimonials-section.ceo-active .section-subtitle { color: #888888; }
.testimonials-section.ceo-active .testi-card { background-color: #0c0c12; border-color: #1f1f2e; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.testimonials-section.ceo-active .testi-user h5 { color: #ffffff; }
.testimonials-section.ceo-active .testi-card p { color: #aaa; }
#testimonials-bg-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.7; }
.testimonials-header { text-align: center; margin-bottom: 60px; padding: 0 10%; position: relative; z-index: 2; }
.testimonials-section .section-title { color: #0a0a0a; }
.testimonials-section .section-subtitle { color: #555; }
.testi-loop-container { display: flex; width: 100%; overflow: hidden; position: relative; z-index: 2; }
.testi-track { display: flex; gap: 30px; animation: testiLoop 30s linear infinite; width: max-content; }
@keyframes testiLoop { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.testi-card { width: 380px; background: #f7f7fb; border: 1px solid #e4e4ec; border-radius: 16px; padding: 30px; flex-shrink: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: background 2.5s ease, background-color 2.5s ease, color 2.5s ease, border-color 2.5s ease, box-shadow 2.5s ease; }
.testi-user { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.testi-user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #3b82f6; }
.testi-user h5 { font-size: 1rem; color: #0a0a0a; }
.testi-user span { font-size: 0.8rem; color: #8b5cf6; }
.testi-card p { color: #555; line-height: 1.5; font-size: 0.95rem; }

/* OUR TEAM */
.team-section { position: relative; padding: 110px 10%; background: #050505; overflow: hidden; }
#team-bg-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.85; }
.team-content-layer { position: relative; z-index: 2; }
.team-header { text-align: center; margin-bottom: 70px; }

.team-cards-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }

.team-pill-card { 
    background: #0c0c12 !important; 
    border: 3.5px solid rgba(139, 92, 246, 0.45) !important; 
    border-radius: 999px; 
    overflow: hidden; 
    text-align: center; 
    min-height: 480px; 
    display: flex; 
    flex-direction: column; 
    align-items: stretch; 
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; 
}

.team-pill-card:hover { 
    transform: translateY(-10px); 
    border-color: #8b5cf6 !important; 
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}

.team-pill-img { width: 100%; height: 280px; flex-shrink: 0; }
.team-pill-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-pill-text { padding: 26px 20px 34px; }

.team-pill-card h4 { font-size: 1.1rem; color: #ffffff !important; margin-bottom: 6px; }
.team-pill-card span { display: block; color: #8b5cf6 !important; font-size: 0.82rem; font-weight: 600; margin-bottom: 14px; }
.team-pill-card p { color: #aaaaaa !important; font-size: 0.85rem; line-height: 1.6; }

.team-view-all-wrap { text-align: center; margin-top: 55px; }
.team-view-all-text { color: #aaaaaa; font-size: 1rem; line-height: 1.7; max-width: 560px; margin: 0 auto 26px; }
.team-view-all-btn {
    display: inline-block;
    padding: 16px 38px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-view-all-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4); }

/* BLOG */
.blog-section { padding: 110px 10%; background: #050505; }
.blog-header { text-align: center; margin-bottom: 60px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #0e0e16; border: 1px solid #1f1f2e; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s; }
.blog-card:hover { border-color: #8b5cf6; box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2); transform: translateY(-6px); }
.blog-card-img { width: 100%; height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.blog-date { color: #8b5cf6; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.blog-card-body h3 { font-family: 'Syncopate', sans-serif; font-size: 1.15rem; color: #fff; line-height: 1.4; margin-bottom: 12px; }
.blog-card-body p { color: #aaa; font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.blog-read-link { color: #3b82f6; text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: color 0.3s; }
.blog-read-link:hover { color: #8b5cf6; }

/* PRICING PLANS */
.pricing-section { padding: 110px 10%; background: #050505; }
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.pricing-card { background: #0c0c12; border: 1px solid #1f1f2e; border-radius: 24px; padding: 45px 35px; text-align: center; position: relative; transition: all 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.pricing-card:hover { border-color: #8b5cf6; transform: translateY(-5px); }

.plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #8b5cf6, #3b82f6); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }

.price-symbol { font-family: 'Syncopate', sans-serif; font-size: 2.8rem; font-weight: 700; color: #ffffff !important; margin-bottom: 10px; }
.pricing-card h3 { font-family: 'Syncopate', sans-serif; font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.price-desc { color: #aaa; font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; }
.price-features { list-style: none; text-align: left; margin-bottom: 30px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { color: #ccc; font-size: 0.92rem; }

.price-btn { width: 100%; padding: 16px; background: #ffffff; border: 1px solid #ffffff; color: #000000; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.price-btn:hover { background: #000000; color: #ffffff; border-color: #333; }

/* BOOK A CALL BANNER SECTION */
.book-call-section { padding: 40px 10% 80px; background: #050505; }
.book-call-banner { background: linear-gradient(90deg, #111116, #12182b); border: 1px solid #202740; border-radius: 20px; padding: 40px 50px; display: flex; justify-content: space-between; align-items: center; }
.book-call-content h3 { font-family: 'Syncopate', sans-serif; font-size: 1.5rem; margin-bottom: 8px; }
.book-call-content p { color: #aaa; }
.book-call-btn { padding: 16px 32px; background: linear-gradient(90deg, #8b5cf6, #3b82f6); border: none; border-radius: 12px; color: #fff; font-weight: 700; cursor: pointer; transition: transform 0.2s; }
.book-call-btn:hover { transform: scale(1.03); }

/* DISCOVERY CALL MODAL OVERLAY & FORM STYLES FIX */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.92); backdrop-filter: blur(15px); z-index: 99999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.full-modal-wrapper { width: 92vw; height: 90vh; max-width: 1200px; background: #0a0a0e; border: 1px solid #222230; border-radius: 28px; padding: 50px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.95); overflow-y: auto; display: flex; align-items: center; }
.modal-close-btn { position: absolute; top: 25px; right: 30px; background: none; border: none; color: #aaa; font-size: 2.2rem; cursor: pointer; transition: color 0.2s; z-index: 10; }
.modal-close-btn:hover { color: #fff; }

.full-modal-container { display: flex; gap: 60px; width: 100%; align-items: center; }
.modal-form-side { flex: 1.4; }
.form-tag { color: #3b82f6; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.modal-header h3 { font-family: 'Syncopate', sans-serif; font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.modal-header p { color: #aaa; font-size: 0.95rem; margin-bottom: 25px; }

.single-modal-form { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.form-row { display: flex; gap: 20px; width: 100%; }

.single-modal-form .input-group { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.single-modal-form .input-label { font-size: 0.85rem; color: #ccc; font-weight: 500; }
.single-modal-form input[type="text"],
.single-modal-form input[type="email"],
.single-modal-form input[type="date"],
.single-modal-form select,
.single-modal-form textarea {
    width: 100% !important;
    padding: 14px 18px !important;
    background: #121318 !important;
    border: 1px solid #242533 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.single-modal-form input:focus,
.single-modal-form select:focus,
.single-modal-form textarea:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2) !important;
}

.single-modal-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.single-modal-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 13px !important;
    padding-right: 46px !important;
}

.modal-submit-btn { width: 100%; padding: 18px; background: linear-gradient(90deg, #8b5cf6, #3b82f6); border: none; border-radius: 12px; color: #fff; font-size: 1.05rem; font-weight: 700; cursor: pointer; margin-top: 10px; transition: transform 0.2s; }
.modal-submit-btn:hover { transform: translateY(-2px); }

.modal-visual-side { flex: 1; background: #111118; border: 1px solid #222230; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.calling-icon-glow { position: relative; width: 100px; height: 100px; margin-bottom: 25px; display: flex; justify-content: center; align-items: center; }
.phone-big-icon { font-size: 3.2rem; z-index: 2; }
.pulse-circle { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: rgba(139, 92, 246, 0.25); animation: pulseGlow 2s infinite ease-out; z-index: 1; }

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0.3; }
    100% { transform: scale(1.8); opacity: 0; }
}

.modal-visual-side h4 { font-family: 'Syncopate', sans-serif; font-size: 1.3rem; margin-bottom: 20px; color: #fff; }
.call-perks-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.call-perks-list li { color: #bbb; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.check-icon { color: #3b82f6; font-weight: 700; font-size: 1.1rem; }

/* FOOTER */
.main-footer { 
    background: #000000; 
    border-top: 1px solid #141414; 
    padding: 100px 8% 0; 
    position: relative;
    overflow: hidden;
}

.footer-layout-container {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-form-card {
    flex: 1.1;
    background: #121318;
    border: 1px solid #1f212a;
    border-radius: 28px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.form-sub-tag {
    color: #888;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 15px;
    display: block;
}

.footer-form-card h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 700;
}

.footer-form-card h3 span {
    display: block;
}

.footer-direct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-input-box input {
    width: 100%;
    padding: 20px 24px;
    background: #1a1b22;
    border: 1px solid #2c2d38;
    border-radius: 30px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.footer-input-box input:focus {
    border-color: #8b5cf6;
}

.footer-submit-btn {
    width: fit-content;
    padding: 18px 36px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s, color 0.3s;
}

.footer-submit-btn:hover {
    background: #8b5cf6;
    color: #ffffff;
}

.footer-info-side {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-info-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-contact-details h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-email {
    color: #aaa;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.location-group {
    margin-bottom: 22px;
}

.location-group h4 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 6px;
}

.location-group p {
    color: #888;
    font-size: 1rem;
}

.footer-quick-links h4 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-quick-links ul {
    list-style: none;
}

.footer-quick-links ul li {
    margin-bottom: 14px;
}

.footer-quick-links ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.3s;
}

.footer-quick-links ul li a:hover {
    color: #8b5cf6;
}

.subscription-wrap h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #ffffff;
}

.sub-form {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.sub-form input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    background: transparent;
    border: 1px solid #222;
    border-radius: 35px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

.sub-arrow-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.footer-social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-circles {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0e0f14;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.social-btn:hover {
    border-color: #8b5cf6;
}

.copyright-text {
    color: #555;
    font-size: 0.85rem;
}

/* HUGE FOOTER BRANDING */
.huge-footer-branding { 
    text-align: center; 
    border-top: 1px solid #14141a; 
    padding-top: 25px; 
    padding-bottom: 0 !important; 
    margin-bottom: -0.1em !important; 
    overflow: hidden; 
    width: 100%; 
    line-height: 0.85 !important; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.huge-footer-branding h1 { 
    font-family: 'Syncopate', sans-serif; 
    font-size: 8.2vw; 
    font-weight: 700; 
    color: #1c1d26; 
    letter-spacing: 0.12em; 
    line-height: 0.85 !important; 
    text-transform: uppercase; 
    white-space: nowrap; 
    margin: 0 auto; 
    display: inline-block; 
    width: auto;
    max-width: 100%;
}


/* ========================================================= */
.team-hero-section {
    position: relative;
    width: 100%;
    min-height: 320px;
    padding-top: 110px;
    padding-bottom: 40px;
    background: #050505;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none !important;
    outline: none !important;
}

#team-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    opacity: 0.85;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 10%;
    pointer-events: none;
}

.team-hero-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
    margin: 10px 0 12px;
}

.team-hero-subtitle {
    font-size: 1.05rem;
    color: #aaaaaa;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-hero-glowing-line {
    position: relative;
    z-index: 2;
    width: 85vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.749), rgba(255, 255, 255, 0.8), transparent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    margin: 25px auto 0;
}

.team-filter-buttons-center {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 12px;
    justify-content: left;
    align-items: left;
    margin-bottom: 50px;
    width: 100%;
    padding: 10px 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-filter-buttons-center::-webkit-scrollbar {
    display: none;
}

.team-filter-btn {
    padding: 12px 26px !important;
    background: rgba(18, 19, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: #aaaaaa;
    font-size: 0.92rem !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap !important;
    flex-shrink: 0;
}

.team-filter-btn:hover {
    border-color: #8b5cf6;
    color: #ffffff;
}

.team-filter-btn.active {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-color: transparent;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45);
}

/* 8 CARDS DIRECTORY GRID */
.team-full-8-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 35px 24px !important;
}

.team-full-back-link {
    text-align: center;
    margin-top: 60px;
}

.team-full-back-link a {
    display: inline-block;
    padding: 16px 44px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-full-back-link a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
    color: #fff;
}

/* STRICT MOBILE RESPONSIVENESS */
@media screen and (max-width: 1024px) {
    .team-full-8-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media screen and (max-width: 768px) {
    .navbar { padding: 15px 6%; }
    
    .mobile-nav-toggle { display: flex; }
    /* Apple-Style Full Screen Overlay Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 8, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 120px 10% 40px;
        gap: 22px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 99;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    /* Staggered Entrance Animation for Menu Links */
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.12s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.16s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.20s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.24s; }

    .nav-links a {
        font-family: 'Inter', sans-serif;
        font-size: 1.8rem;
        font-weight: 600;
        color: #e2e8f0;
        text-transform: capitalize;
        letter-spacing: -0.5px;
        display: block;
        width: 100%;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: #ffffff;
        transform: translateX(6px);
    }

    .nav-links a::after {
        display: none;
    }
    .intro-logo-text { font-size: 2.5rem !important; letter-spacing: 8px; }
    .intro-tagline { font-size: 0.55rem !important; letter-spacing: 1.5px; }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.95rem; padding: 0 5%; }

    .about-section { padding: 80px 6% 30px; }
    .about-title { font-size: 2rem; margin-bottom: 20px; }
    .about-text { font-size: 1.15rem; }

    .why-us-section { padding: 60px 6%; }
    .why-us-container { flex-direction: column; gap: 40px; }
    .prominent-section-title { font-size: 2rem; }

    .services-pin-section { padding: 60px 6%; }
    .section-title { font-size: 1.8rem; }
    .service-card {
        position: sticky !important;
        top: 100px !important;
        flex-direction: column;
        height: 65vh;
        margin-bottom: 20px;
    }
    .card-left { padding: 30px 20px; flex: 1; }
    .card-left h3 { font-size: 1.4rem; margin-bottom: 10px; }
    .card-left p { font-size: 0.95rem; }
    .card-right { padding: 10px 20px 20px; flex: 0.8; }
    .circle-image-frame { width: 140px; height: 140px; }

    .products-section, .pricing-section, .team-section, .blog-section { padding: 60px 6%; }
    .products-grid, .pricing-grid, .blog-grid { grid-template-columns: 1fr; gap: 20px; }

    .team-cards-row { grid-template-columns: 1fr; gap: 20px; }
    .team-full-8-grid { grid-template-columns: 1fr !important; }
    .team-pill-card { border-radius: 999px; min-height: 460px; max-width: 260px; margin: 0 auto; }
    .team-pill-img { height: 250px; }
    .team-pill-text { padding: 22px 18px 30px; }

    .horizontal-portfolio-section { height: auto; padding: 60px 0; }
    .portfolio-scroll-outer { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .portfolio-scroll-outer::-webkit-scrollbar { display: none; height: 0; }
    .portfolio-track { padding: 10px 6vw; gap: 20px; }
    .portfolio-item { width: 280px; height: 360px; }
    
    .portfolio-progress-bar { 
        width: 100vw; 
        left: 0;
        bottom: 20px;
    }

    .ceo-section { padding: 60px 6%; }
.ceo-seamless-container { flex-direction: column; gap: 40px; }

/* In dono lines ko add kar dein */
.ceo-content-side-full { order: 1 !important; }
.ceo-image-side-full { order: 2 !important; }
    .ceo-image-side-full { width: 100%; height: 440px; }
    .ceo-main-title-full { font-size: 2.2rem; margin-bottom: 20px; }
    .ceo-text-full { font-size: 0.95rem; }

    .book-call-section { padding: 20px 6% 60px; }
    .book-call-banner { flex-direction: column; gap: 20px; text-align: center; padding: 30px 20px; }

    .main-footer { padding: 60px 6% 0; }
    .footer-layout-container { flex-direction: column; gap: 50px; }
    .footer-info-top { flex-direction: column; gap: 30px; }
    .footer-brand-logo-area { text-align: left; align-items: flex-start; }
    .footer-brand-logo-area .nav-logo { align-items: flex-start; }
    .footer-brand-logo-area .logo-text, .footer-brand-logo-area .logo-subtext { text-align: left; text-align-last: left; }
    .footer-social-row { flex-direction: column; gap: 20px; align-items: flex-start; }

    .full-modal-wrapper { padding: 30px 20px; height: 95vh; }
    .full-modal-container { flex-direction: column; gap: 30px; }
    .modal-visual-side { display: none; }
    .form-row { flex-direction: column; gap: 15px; }

    .team-hero-title { font-size: 2.3rem; }
    .team-hero-section { min-height: 260px; padding-top: 90px; }

    .team-filter-buttons-center {
        flex-wrap: wrap !important;
        gap: 10px 8px !important;
        justify-content: center !important;
        padding: 0 5% !important;
        margin-bottom: 35px !important;
    }

    .team-filter-btn {
        padding: 8px 18px !important;
        font-size: 0.8rem !important;
    }

    .huge-footer-branding { 
        padding-top: 15px !important; 
        padding-bottom: 0 !important; 
        margin-bottom: -0.1em !important; 
    }
    
    .huge-footer-branding h1 { 
        font-size: 7.2vw !important; 
        letter-spacing: 0.05em !important; 
        line-height: 0.85 !important; 
    }
}




/* =======================================================
   NEWSLETTER FIELD (AUTOFILL FIX, SHADOW & SIZE UPDATE)
   ======================================================= */
.subscription-wrap {
    margin-bottom: 35px !important;
}

/* Wide Container with Attractive Drop Shadow */
#newsletter-form.newsletter-form-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important; /* Pehle ki tarah full wide */
    background-color: #0d0f12 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    padding: 8px 10px 8px 24px !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.03) !important;
}

/* Hover & Focus Glow Effect */
#newsletter-form.newsletter-form-container:focus-within,
#newsletter-form.newsletter-form-container:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.12) !important;
}

/* Input Styling */
#newsletter-email {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    padding: 12px 0 !important;
    box-shadow: none !important;
}

#newsletter-email::placeholder {
    color: #8a8d93 !important;
    font-size: 0.95rem !important;
}

/* Chrome Autofill Light Blue Background Overwrite Fix */
#newsletter-email:-webkit-autofill,
#newsletter-email:-webkit-autofill:hover, 
#newsletter-email:-webkit-autofill:focus, 
#newsletter-email:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #0d0f12 inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Circular Arrow Button */
#newsletter-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    margin-left: 12px !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2) !important;
}

#newsletter-btn:hover {
    transform: scale(1.06);
    background: #f0f0f0 !important;
}

#newsletter-btn svg {
    stroke: #000000 !important;
    pointer-events: none;
}



/* Quick Links Styling Match */
.footer-column-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: capitalize !important; /* 'QUICK LINKS' ko 'Quick Links' smooth text banayega */
    letter-spacing: 0.5px !important;
    margin-bottom: 15px !important;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-list li {
    margin-bottom: 10px !important;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-links-list a:hover {
    color: #ffffff !important;
}

/* =======================================================
   TOP-RIGHT TOAST NOTIFICATION STYLING
   ======================================================= */
.swal2-toast.custom-toast-popup {
    background: #0d0f12 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    font-family: inherit !important;
}

.swal2-toast .swal2-title {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.swal2-toast .swal2-timer-progress-bar {
    background: #ffffff !important;
}




/* =========================================================
   3D CASE STUDIES CAROUSEL & LIGHTBOX (NIXO360 THEME MATCH)
   ========================================================= */
.dw3d-carousel-section {
    padding: 110px 0;
    background: #050505;
    overflow: hidden;
    position: relative;
}
.dw3d-stage {
    position: relative;
    max-width: 1200px;
    height: 420px;
    margin: 0 auto;
    perspective: 1400px;
}
.dw3d-track {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}
.dw3d-slide {
    position: absolute;
    width: 480px;
    transition: transform .6s ease, opacity .6s ease, filter .6s ease;
    transform-style: preserve-3d;
}
.dw3d-browser {
    background: #0c0c12;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    height: 340px;
    display: flex;
    flex-direction: column;
}
.dw3d-bar {
    height: 32px;
    background: #121318;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.dw3d-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a2c3a;
}
.dw3d-url {
    font-size: 11px;
    color: #888888;
    background: #08090c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 3px 12px;
    margin-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dw3d-inner {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #000000;
    cursor: zoom-in;
}
.dw3d-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: none;
}
.dw3d-img.is-active { display: block; }
.dw3d-caption {
    font-family: 'Syncopate', sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 18px;
    letter-spacing: 1px;
}
.dw3d-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 19, 24, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all .3s ease;
}
.dw3d-nav:hover {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}
.dw3d-prev { left: 10px; }
.dw3d-next { right: 10px; }
.dw3d-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.dw3d-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22222a;
    cursor: pointer;
    transition: all .3s ease;
}
.dw3d-dots span.active {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    width: 24px;
    border-radius: 4px;
}

/* Lightbox overlay styling */
.dw3d-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 40px;
    cursor: zoom-out;
}
.dw3d-lightbox.is-open { display: flex; }
.dw3d-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}
.dw3d-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dw3d-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.dw3d-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}
.dw3d-lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.dw3d-lightbox-nav.is-hidden { display: none; }
.dw3d-lightbox-prev { left: 24px; }
.dw3d-lightbox-next { right: 24px; }
.dw3d-lightbox-dots {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.dw3d-lightbox-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all .2s ease;
}
.dw3d-lightbox-dots span.is-active { background: #8b5cf6; width: 20px; border-radius: 4px; }

@media (max-width: 780px) {
    .dw3d-slide { width: 320px; }
    .dw3d-browser { height: 240px; }
    .dw3d-stage { height: 340px; }
}