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

:root {
    --primary: #0f172a;
    /* Slate 900 for dark premium tech contrast */
    --accent: #2563eb;
    /* Royal blue accent */
    --accent-light: #60a5fa;
    /* Soft ice blue */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --glass-bg: rgba(255, 255, 255, 0.22);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 16px 36px 0 rgba(15, 23, 42, 0.05);
    --glass-inner-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.65), inset 0 12px 24px -10px rgba(255, 255, 255, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: #f8fafc;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Background Liquid Blobs */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
}

.blob {
    position: absolute;
    border-radius: 45% 55% 60% 40% / 45% 50% 55% 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite alternate ease-in-out;
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, rgba(147, 197, 253, 0.1) 100%);
    top: -200px;
    right: -100px;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.4) 0%, rgba(199, 210, 254, 0.1) 100%);
    bottom: -150px;
    left: -100px;
    animation-duration: 28s;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(209, 250, 229, 0.35) 0%, rgba(209, 250, 229, 0.05) 100%);
    top: 40%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate3d(50px, 80px, 0) scale(1.1) rotate(180deg);
    }

    100% {
        transform: translate3d(-30px, -40px, 0) scale(0.9) rotate(360deg);
    }
}

/* Base Layout Container */
.app-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Styles (Liquid Glass design) */
.glass-panel {
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(24px) saturate(220%);
    -webkit-backdrop-filter: blur(24px) saturate(220%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow), var(--glass-inner-shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 48px 0 rgba(15, 23, 42, 0.09),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
                inset 0 12px 24px -10px rgba(255, 255, 255, 0.4);
}

.glass-panel-floating {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(24px) saturate(220%);
    -webkit-backdrop-filter: blur(24px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 12px 32px 0 rgba(15, 23, 42, 0.06),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.7),
                inset 0 8px 16px -6px rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.glass-panel-floating:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 40px 0 rgba(15, 23, 42, 0.08),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
                inset 0 8px 16px -6px rgba(255, 255, 255, 0.45);
}

/* Card translation and lift effect on hover */
.solutions-card:hover,
.team-card:hover,
.insight-card:hover {
    transform: translateY(-6px);
}

/* Typography & General Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Header & Nav */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    padding: 0 40px;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: clamp(6px, 1.1vw, 18px);
    align-items: center;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

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

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 2px 6px;
    transition: var(--transition);
    border-radius: 6px;
}

.lang-btn:hover {
    color: var(--accent);
}

.lang-btn.active {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

.lang-divider {
    color: rgba(203, 213, 225, 0.8);
    font-weight: 400;
    user-select: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin-bottom: 6px;
    transition: var(--transition);
}

.nav-toggle span:last-child {
    margin-bottom: 0;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

/* Sections Base */
section {
    padding: 24px 0;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 20px;
}

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

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

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

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

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.expertise-card {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.expertise-card ul {
    list-style: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expertise-card ul li {
    position: relative;
    padding-left: 20px;
}

.expertise-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.solutions-card {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solutions-img {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.solutions-img-link {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

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

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

.solutions-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.solutions-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solutions-body h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.solutions-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.solutions-body .btn {
    align-self: flex-start;
}

/* Who We Are Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-locations {
    margin-top: 2rem;
}

.about-locations h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-tag {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.about-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Insights Section */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.insight-card {
    padding: 40px;
    height: 100%;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.insight-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Us Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-form-container {
    padding: 40px;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.form-status {
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(209, 250, 229, 0.8);
    color: #065f46;
    border: 1px solid rgba(52, 211, 153, 0.5);
}

.form-status.error {
    display: block;
    background: rgba(254, 226, 226, 0.8);
    color: #991b1b;
    border: 1px solid rgba(248, 113, 113, 0.5);
}

/* Contact Info Details */
.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.info-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.info-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo img {
    height: 28px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* AI Solution specific classes */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-bottom: 16px;
    align-self: flex-start;
}

.tech-spec-list {
    margin-top: 15px;
    margin-bottom: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-spec-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.tech-spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 11px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Team Grid and Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.team-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
    font-family: var(--font-heading);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.team-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.team-interest {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(241, 245, 249, 0.7);
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    min-height: 54px; /* fits up to 2 lines of text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 48px; /* fits 2 lines of contact details */
}

.team-contact a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.team-linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.team-linkedin-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.linkedin-icon {
    width: 18px;
    height: 18px;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image {
        height: 380px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .nav-menu {
        display: none;
        /* Mobile menu can toggle */
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 16px;
    }

    .nav-container {
        padding: 10px 16px;
    }

    section {
        padding: 15px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image {
        height: 300px;
    }

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

/* Interactive image viewer */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.lightbox.active {
    display: block;
}

.lightbox-viewport {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 90px 40px 70px;
    touch-action: none;
    user-select: none;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);

    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center center;
    transition: transform 0.14s ease-out;

    cursor: zoom-in;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-content.is-dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    z-index: 3003;

    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;

    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.lightbox-toolbar {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 3003;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);

    backdrop-filter: blur(16px);
    transform: translateX(-50%);
}

.lightbox-toolbar button {
    min-width: 42px;
    height: 40px;
    padding: 0 12px;

    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;

    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;

    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-toolbar button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

#resetZoomButton {
    min-width: 76px;
    font-size: 0.82rem;
}

.lightbox-help {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 3003;

    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: rgba(255, 255, 255, 0.76);

    font-size: 0.75rem;
    pointer-events: none;
    transform: translateX(-50%);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-viewport {
        padding: 84px 14px 65px;
    }

    .lightbox-content {
        max-width: 96%;
        max-height: 78vh;
    }

    .lightbox-help {
        width: max-content;
        max-width: calc(100% - 28px);
        text-align: center;
        font-size: 0.68rem;
    }

    .lightbox-close {
        top: 18px;
        right: 14px;
        width: 42px;
        height: 42px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    max-width: 420px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 24px;
        right: 24px;
        bottom: 16px;
        max-width: none;
    }
}

/* Scroll Reveal Animations (GPU Accelerated) */
.reveal-element {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Staggered entry transitions for grids on desktop */
@media (min-width: 769px) {
    /* Expertise cards stagger */
    .expertise-grid .reveal-element:nth-child(1) { transition-delay: 0.05s; }
    .expertise-grid .reveal-element:nth-child(2) { transition-delay: 0.15s; }
    .expertise-grid .reveal-element:nth-child(3) { transition-delay: 0.25s; }

    /* AI Solutions cards stagger */
    #ai .solutions-grid .reveal-element:nth-child(1) { transition-delay: 0.05s; }
    #ai .solutions-grid .reveal-element:nth-child(2) { transition-delay: 0.18s; }

    /* Industrial projects cards stagger */
    #solutions .solutions-grid .reveal-element:nth-child(1) { transition-delay: 0.05s; }
    #solutions .solutions-grid .reveal-element:nth-child(2) { transition-delay: 0.15s; }
    #solutions .solutions-grid .reveal-element:nth-child(3) { transition-delay: 0.25s; }
    #solutions .solutions-grid .reveal-element:nth-child(4) { transition-delay: 0.35s; }
    #solutions .solutions-grid .reveal-element:nth-child(5) { transition-delay: 0.45s; }
    #solutions .solutions-grid .reveal-element:nth-child(6) { transition-delay: 0.55s; }

    /* Team grid cards stagger */
    .team-grid .reveal-element:nth-child(1) { transition-delay: 0.05s; }
    .team-grid .reveal-element:nth-child(2) { transition-delay: 0.15s; }
    .team-grid .reveal-element:nth-child(3) { transition-delay: 0.25s; }
}