@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Brand System */
:root {
    --bg-dark: #ffffff;
    --bg-deep: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-active: rgba(0, 0, 0, 0.16);

    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Default CMYK Accent - Cyan (Vibrant Blue on White background) */
    --accent: #0066cc;
    --accent-rgb: 0, 102, 204;
    --accent-glow: rgba(0, 102, 204, 0.15);
    --accent-gradient: linear-gradient(135deg, #0088ff 0%, #0044cc 100%);

    --text-primary: #000000;
    --text-secondary: #000000;
    --text-muted: #334155;

    --h-color: #0f35a0;
    /* Brand Blue for headings */

    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CMYK Accent Swaps */
body.accent-cyan {
    --accent: #0066cc;
    --accent-rgb: 0, 102, 204;
    --accent-glow: rgba(0, 102, 204, 0.15);
    --accent-gradient: linear-gradient(135deg, #0088ff 0%, #0044cc 100%);
}

body.accent-magenta {
    --accent: #d9006c;
    --accent-rgb: 217, 0, 108;
    --accent-glow: rgba(217, 0, 108, 0.15);
    --accent-gradient: linear-gradient(135deg, #d9006c 0%, #7900ff 100%);
}

body.accent-yellow {
    --accent: #b38600;
    --accent-rgb: 179, 134, 0;
    --accent-glow: rgba(179, 134, 0, 0.15);
    --accent-gradient: linear-gradient(135deg, #b38600 0%, #ff8c00 100%);
}

/* Global Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(var(--accent-rgb), 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(var(--accent-rgb), 0.04) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--h-color);
    line-height: 1.25;
}

p {
    color: #000000;
}

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

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-deep);
    border: 2px solid var(--bg-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}

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

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 1rem;
}

/* Hide mobile-only CTA in desktop nav */
.nav-mobile-cta {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--text-primary);
}

.logo span {
    color: var(--accent);
}

/* Logo image — responsive size controlled via CSS (not inline styles) */
.logo-img {
    width: 210px;
    height: 56px;
    border-radius: 6px;
    object-fit: contain;
    /* padding: 2px; */
    display: block;
    flex-shrink: 0;
}

.logo-star {
    position: relative;
    width: 28px;
    height: 28px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: rotateStar 8s linear infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
    position: relative;
    /* needed for pseudo-elements on mobile */
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: none;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.6);
}

/* CMYK Selector Widget */
.cmyk-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.6rem;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
}

.cmyk-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.cmyk-dot.c {
    background: #00e5ff;
}

.cmyk-dot.m {
    background: #ff007f;
}

.cmyk-dot.y {
    background: #ffd700;
}

.cmyk-dot:hover {
    transform: scale(1.2);
}

body.accent-cyan .cmyk-dot.c,
body.accent-magenta .cmyk-dot.m,
body.accent-yellow .cmyk-dot.y {
    border-color: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

/* =====================================================
   Mobile Menu Toggle Button
   - Sits OUTSIDE the header so it has its OWN z-index
   - position:fixed so body overflow-x:hidden cannot clip it
   - display:none on desktop; display:flex on mobile
   ===================================================== */
.menu-toggle {
    /* Hidden on desktop */
    display: none;

    /* Fixed positioning — always pinned top-right, never displaced */
    position: fixed;
    top: 11px;
    right: 14px;

    /* Button shape */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;

    /* Visual */
    background: rgba(var(--accent-rgb), 0.08);
    border: 1.5px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;

    /* Z-index: above EVERYTHING including header (z:1000), drawer (z:1030), backdrop (z:1020) */
    z-index: 1060;

    /* Smooth transitions */
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.2);
}

/* The three bars */
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 3px;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s ease,
        width 0.25s ease;
    transform-origin: center;
}

/* === X (close) state === */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 20px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 20px;
}

.menu-toggle.active {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.6s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 15px rgba(var(--accent-rgb), 0.1);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 13, 25, 0.7) 0%, var(--bg-dark) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-position: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

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

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.7);
}

.btn-secondary {
    background: linear-gradient(135deg, #08f 0%, #04c 100%);
    color: #fff;
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #08f 0%, #04c 100%);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

/* Floating Elements Animation in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cmyk-visual-canvas {
    position: relative;
    width: 320px;
    height: 320px;
}

.cmyk-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: blur(15px);
    opacity: 0.75;
    animation: float 6s ease-in-out infinite;
}

.cmyk-circle.cyan {
    background: #00e5ff;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.cmyk-circle.magenta {
    background: #ff007f;
    bottom: 20px;
    right: 20px;
    animation-delay: -2s;
}

.cmyk-circle.yellow {
    background: #ffd700;
    bottom: 20px;
    left: 80px;
    animation-delay: -4s;
}

.cmyk-circle.key {
    background: #ffffff;
    width: 100px;
    height: 100px;
    top: 100px;
    left: 110px;
    mix-blend-mode: overlay;
    filter: blur(8px);
}

.visual-image-wrapper {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--border-glass-active);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: rotate(-6deg);
    transition: var(--transition-smooth);
}

.visual-image-wrapper:hover {
    transform: rotate(0deg) scale(1.05);
}

.visual-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Counter Section */
.stats {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}

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

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

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-lbl {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Grid & Highlights */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 0;
    border-radius: 24px;
}

.service-img {
    height: 200px;
    width: 100%;
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-body {
    padding: 2.2rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* Interactive Color Mixer Game (Index Page Detail) */
.mixer-section {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%);
}

.mixer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mixer-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mixer-slider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mixer-slider span {
    font-weight: 600;
    font-size: 0.9rem;
}

.mixer-slider span.c-lbl {
    color: #00e5ff;
}

.mixer-slider span.m-lbl {
    color: #ff007f;
}

.mixer-slider span.y-lbl {
    color: #ffd700;
}

.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    background: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: 0.1s;
}

.mixer-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 350px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    position: relative;
    background: #000000;
    overflow: hidden;
}

.mixer-swatch {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: background 0.1s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mixer-swatch-hex {
    margin-top: 1.5rem;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-primary);
}

/* About Page Styles */
.about-hero {
    padding-top: 180px;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-tag {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass-active);
}

.about-image img {
    width: 100%;
    height: 100%;
}

.about-experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-gradient);
    color: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 20px;
    font-family: var(--font-head);
    font-weight: 800;
    box-shadow: 0 10px 30px var(--accent-glow);
    text-align: center;
    line-height: 1.2;
}

.about-experience-badge span {
    font-size: 2.2rem;
    display: block;
}

/* Core Values & Technology List */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

/* Services Filter Tab Page */
.services-hero {
    padding-top: 180px;
    padding-bottom: 4rem;
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) .service-detail-content {
    direction: ltr;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-detail-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--card-shadow);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Gallery Masonry Page */
.gallery-hero {
    padding-top: 180px;
    padding-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 2rem;
    grid-auto-rows: 280px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item.h-2 {
    grid-row: span 2;
}

.gallery-item.w-2 {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 13, 25, 0.9) 0%, rgba(7, 13, 25, 0.2) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-item-cat {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 25, 0.95);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-glass-active);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: #ffffff !important;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
    outline: none;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev svg,
.lightbox-next svg {
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.lightbox-prev:hover svg {
    transform: translateX(-2px);
}

.lightbox-next:hover svg {
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .lightbox-prev {
        left: -10px;
    }

    .lightbox-next {
        right: -10px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        background: rgba(7, 13, 25, 0.85);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Contact Page Styles */
.contact-hero {
    padding-top: 180px;
    padding-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-info-details p,
.contact-info-details a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-info-details a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

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

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.15);
}

.form-label {
    position: absolute;
    left: 1.5rem;
    top: 1.1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -0.65rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-deep);
    padding: 0 0.4rem;
    border-radius: 4px;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

/* Mock Map Block */
.map-container {
    height: 380px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #0f1c3f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder svg {
    color: var(--accent);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.map-overlay-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(7, 13, 25, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 320px;
    backdrop-filter: blur(8px);
}

.map-overlay-card h5 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.map-overlay-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Testimonial Slider */
.testimonials {
    background: radial-gradient(circle at 10% 80%, rgba(var(--accent-rgb), 0.02) 0%, transparent 40%);
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .testimonials-track .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
    }
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
    background: var(--accent);
    transform: scale(1.2);
    width: 24px;
    border-radius: 6px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: '“';
    font-size: 4rem;
    color: rgba(var(--accent-rgb), 0.15);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: serif;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
}

.testimonial-info h4 {
    font-size: 1rem;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Footer Section */
.footer {
    background: #041941;
    /* Royal Blue Background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem 0 2rem 0;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: #ffffff;
}

.footer-desc {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer p {
    color: #ffffff !important;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    color: #0f35a0;
    background: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-col-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-address {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-address li {
    display: flex;
    gap: 0.75rem;
}

.footer-address span,
.footer-address a {
    color: #ffffff;
}

.footer-address a:hover {
    color: var(--accent);
}

.footer-address svg {
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Animations Definitions */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotateStar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger reveals */
.stagger-reveal {
    opacity: 0;
}

.stagger-reveal.active {
    animation: staggerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes staggerFadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-grid,
    .about-grid,
    .mixer-grid,
    .service-detail-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-card:nth-child(even) {
        direction: ltr;
    }

    .hero-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* ===========================================================
   MOBILE NAVBAR — Bulletproof for 300px – 768px
   hamburger is position:fixed so it can NEVER be displaced
   =========================================================== */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    /* Hide desktop CTA */
    .nav-cta {
        display: none !important;
    }

    /* Container tighter on mobile */
    .container {
        padding: 0 1rem;
    }

    /* Navbar strip */
    .header {
        height: 62px;
    }

    .nav-container {
        height: 62px;
        padding: 0;
        display: flex;
        align-items: center;
        /* Only logo is in-flow; hamburger is fixed, so just align left */
        justify-content: flex-start;
    }

    /* Logo — explicit size so it never overflows */
    .logo-img {
        width: 150px;
        height: 42px;
        object-fit: contain;
    }

    /* ==========================
       HAMBURGER — show on mobile
       (position:fixed already set in base CSS above)
       ========================== */
    .menu-toggle {
        display: flex !important;
        /* All other styles (position:fixed, top, right, z-index) are in base CSS */
    }

    /* ==========================
       RIGHT-SLIDE DRAWER
       ========================== */
    .nav-links {
        position: fixed;
        top: 0;
        right: -110%;
        width: 75vw;
        max-width: 300px;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 1.6rem 2rem;
        gap: 0;
        transition: right 0.42s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1030;
        border-left: 2px solid rgba(var(--accent-rgb), 0.15);
        border-top: 4px solid transparent;
        box-shadow: -12px 0 50px rgba(0, 0, 0, 0.14);
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Accent top stripe — only when drawer is open */
    .nav-links.active {
        right: 158px;
        border-top-color: var(--accent);
    }

    /* Remove ::before pseudo-element to avoid ghost stripe bug */
    .nav-links::before {
        display: none;
    }

    .nav-links::after {
        display: none;
    }

    /* Stagger slide-in from right */
    .nav-links li {
        opacity: 0;
        transform: translateX(22px);
        transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
        width: 100%;
        border-bottom: 1px solid rgba(var(--accent-rgb), 0.09);
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 1.2rem;
    }

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

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.06s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.11s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.16s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.21s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.26s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.32s;
    }

    /* Link rows */
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: #1a1a2e;
        padding: 0.9rem 0;
        width: 100%;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-links a::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 2px solid var(--accent);
        border-top: 2px solid var(--accent);
        transform: rotate(45deg) scale(0);
        transition: transform 0.22s ease;
        flex-shrink: 0;
    }

    .nav-links a:hover::before,
    .nav-links a.active::before {
        transform: rotate(45deg) scale(1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent);
        padding-left: 5px;
    }

    /* Mobile CTA inside drawer */
    .nav-mobile-cta {
        display: block;
        width: 100%;
    }

    .nav-mobile-cta a.btn {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 0.85rem;
        font-size: 0.95rem;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.25);
    }

    /* Layout */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .tab-controls {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}

/* ── 500px ── */
@media (max-width: 500px) {
    .logo-img {
        width: 140px;
        height: 40px;
    }

    .menu-toggle {
        top: 11px;
        right: 12px;
    }
}

/* ── 450px ── */
@media (max-width: 450px) {
    .container {
        padding: 0 0.85rem;
    }

    .logo-img {
        width: 210px;
        height: 60px;
        margin-top: -17px;
    }

    .header {
        height: 58px;
    }

    .nav-container {
        height: 58px;
    }

    .menu-toggle {
        top: 9px;
        right: 11px;
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .nav-links {
        padding-top: 74px;
    }
}

/* ── 400px ── */
@media (max-width: 400px) {
    .container {
        padding: 0 0.75rem;
    }

    /* .logo-img { width: 120px; height: 36px; } */
    .header {
        height: 56px;
    }

    .nav-container {
        height: 56px;
    }

    .menu-toggle {
        top: 8px;
        right: 180px;
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .nav-links {
        width: 80vw;
        padding-top: 70px;
    }
}

/* ── 350px ── */
@media (max-width: 350px) {
    .container {
        padding: 0 0.6rem;
    }

    .logo-img {
        width: 108px;
        height: 33px;
    }

    .header {
        height: 54px;
    }

    .nav-container {
        height: 54px;
    }

    .menu-toggle {
        top: 7px;
        right: 9px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        gap: 5px;
    }

    .menu-toggle span {
        width: 16px;
    }

    .nav-links {
        width: 85vw;
        padding-top: 68px;
    }
}

/* ── 300px ── */
@media (max-width: 300px) {
    .container {
        padding: 0 0.5rem;
    }

    .logo-img {
        width: 95px;
        height: 30px;
    }

    .header {
        height: 50px;
    }

    .nav-container {
        height: 50px;
    }

    .menu-toggle {
        top: 6px;
        right: 8px;
        width: 34px;
        height: 34px;
        min-width: 34px;
        gap: 5px;
        border-radius: 8px;
    }

    .menu-toggle span {
        width: 14px;
    }

    .nav-links {
        width: 90vw;
        padding-top: 62px;
    }
}

/* general small phone layout */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cmyk-selector {
        display: none;
    }
}

/* Centered Hero & Background Banner Slider */
.hero-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    z-index: 1;
    /* Establish stacking context */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Render on top of white body background */
    overflow: hidden;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 2;
    /* Overlay on top of slides */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    z-index: 1;
    /* Slide background base */
}

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

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    z-index: 3;
    /* Render on top of dark overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.hero-content-center .hero-tagline {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hero-content-center .hero-title {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content-center .hero-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 680px;
}

.hero-content-center .hero-ctas {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero-content-center .hero-title {
        font-size: 2.6rem;
    }

    .hero-content-center .hero-desc {
        font-size: 1rem;
        margin-bottom: 2.2rem;
    }
}

/* Welcome Section Grid Layout */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

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

    .welcome-image-wrapper {
        order: -1;
        /* Display image on top in mobile */
    }
}

/* Image Only Card Styling (Showcase) */
.image-only-card .service-img {
    height: 280px;
    border-radius: 23px;
}

.image-only-card .service-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Subpage Hero Banner Styling */
.subpage-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

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

.subpage-hero-content .hero-tagline {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.subpage-hero-content h1 {
    font-size: 3.5rem;
    color: #ffffff !important;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.subpage-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .subpage-hero {
        min-height: 35vh;
    }

    .subpage-hero-content h1 {
        font-size: 2.4rem;
    }

    .subpage-hero-content p {
        font-size: 0.95rem;
    }
}

/* Dropdown Option Styling */
select.form-input option {
    background-color: #ffffff;
    color: #000000;
}

/* Floating Contact Widget (Left Side) */
.floating-contact-left {
    position: fixed;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.float-call {
    background: var(--accent);
    /* blue */
}

.float-whatsapp {
    background: #25d366;
    /* green */
}

.float-btn svg {
    z-index: 2;
    transition: transform 0.4s ease;
}

.float-label {
    position: absolute;
    left: 70px;
    background: rgba(7, 13, 25, 0.95);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hover states */
.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.float-btn:hover svg {
    transform: rotate(15deg) scale(1.15);
}

.float-btn:hover .float-label {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Wave Animation */
.float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 0 0px rgba(var(--accent-rgb), 0.5);
    animation: pulse-wave-blue 2s infinite;
}

.float-whatsapp .float-pulse {
    box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
    animation: pulse-wave-green 2s infinite;
}

@keyframes pulse-wave-blue {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 82, 204, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 82, 204, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(0, 82, 204, 0);
    }
}

@keyframes pulse-wave-green {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

/* Responsive styles for floating contact icons */
@media (max-width: 768px) {
    .floating-contact-left {
        left: 20px;
        bottom: 20px;
        gap: 0.8rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .float-label {
        display: none;
        /* Hide hover label on touch screens */
    }
}

/* =====================================================
   Mobile Nav - Backdrop & CTA overrides
   ===================================================== */

/* =====================================================
   Mobile Nav - Backdrop & CTA visibility control
   ===================================================== */

/* Full-screen semi-transparent backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(8, 16, 40, 0.5);
    z-index: 1020;
    /* above page content, below drawer (1030) and toggle (1050) */
    opacity: 0;
    transition: opacity 0.38s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.nav-backdrop.active {
    opacity: 1;
}

@media (max-width: 768px) {

    /* Show backdrop layer on mobile */
    .nav-backdrop {
        display: block;
    }
}

@media (max-width: 380px) {

    /* Full-width drawer on very small phones */
    .nav-links {
        width: 100vw !important;
        border-left: none;
    }

    .nav-links::before {
        width: 100vw;
    }
}

/* --- Custom Workflow UI Styles --- */

/* Colorful Grid (Home Page) */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.workflow-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.workflow-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

/* Specific colorful borders for each card */
.workflow-card.color-1::before { background: linear-gradient(90deg, #ff007f, #ff5e62); }
.workflow-card.color-2::before { background: linear-gradient(90deg, #00c6ff, #0072ff); }
.workflow-card.color-3::before { background: linear-gradient(90deg, #f7b733, #fc4a1a); }
.workflow-card.color-4::before { background: linear-gradient(90deg, #11998e, #38ef7d); }
.workflow-card.color-5::before { background: linear-gradient(90deg, #8E2DE2, #4A00E0); }
.workflow-card.color-6::before { background: linear-gradient(90deg, #ff0844, #ffb199); }
.workflow-card.color-7::before { background: linear-gradient(90deg, #00b09b, #96c93d); }
.workflow-card.color-8::before { background: linear-gradient(90deg, #f953c6, #b91d73); }

.workflow-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}
.workflow-card.color-1 .workflow-icon { background: linear-gradient(135deg, #ff007f, #ff5e62); }
.workflow-card.color-2 .workflow-icon { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.workflow-card.color-3 .workflow-icon { background: linear-gradient(135deg, #f7b733, #fc4a1a); }
.workflow-card.color-4 .workflow-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
.workflow-card.color-5 .workflow-icon { background: linear-gradient(135deg, #8E2DE2, #4A00E0); }
.workflow-card.color-6 .workflow-icon { background: linear-gradient(135deg, #ff0844, #ffb199); }
.workflow-card.color-7 .workflow-icon { background: linear-gradient(135deg, #00b09b, #96c93d); }
.workflow-card.color-8 .workflow-icon { background: linear-gradient(135deg, #f953c6, #b91d73); }

.workflow-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--h-color);
}
.workflow-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Colorful Timeline (Services Page) */
.timeline-container {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}
.timeline-container::after {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #ff007f, #00c6ff, #f7b733, #38ef7d, #8E2DE2, #ffb199, #00b09b, #f953c6);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-glass);
}
.timeline-content h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.timeline-content p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Timeline colored borders and dots */
.timeline-item:nth-child(1)::after { border-color: #ff007f; }
.timeline-item:nth-child(2)::after { border-color: #00c6ff; }
.timeline-item:nth-child(3)::after { border-color: #fc4a1a; }
.timeline-item:nth-child(4)::after { border-color: #11998e; }
.timeline-item:nth-child(5)::after { border-color: #8E2DE2; }
.timeline-item:nth-child(6)::after { border-color: #ff0844; }
.timeline-item:nth-child(7)::after { border-color: #00b09b; }
.timeline-item:nth-child(8)::after { border-color: #f953c6; }

@media screen and (max-width: 768px) {
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left::after, .timeline-item.right::after { left: 21px; }
    .timeline-item.right { left: 0%; }
}

/* --- Customers Marquee Styles --- */
.customers-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 3rem;
    padding: 2.5rem 0;
    margin-top: 1rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    min-width: 100%;
    animation: scroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 3rem));
    }
}

.customer-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-glass);
}

.customer-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,102,204,0.12);
    border-color: rgba(0,102,204,0.25);
    background: var(--bg-deep);
}

.customer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.customer-logo:hover img {
    transform: scale(1.08);
}

@media screen and (max-width: 768px) {
    .customer-logo {
        width: 140px;
        height: 90px;
        padding: 0.8rem;
    }
}

/* --- Products Marquee Styles --- */
.products-marquee-section {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
}

.products-marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.products-marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-reverse 50s linear infinite;
}

.products-marquee-wrapper:hover .products-marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-reverse {
    from { transform: translateX(calc(-100% - 2rem)); }
    to { transform: translateX(0); }
}

.product-marquee-card {
    width: 250px;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid transparent;
}

.product-marquee-card:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0,102,204,0.3);
}

.product-marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-marquee-card:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .product-marquee-card {
        width: 180px;
        height: 180px;
    }
}
