/* =========================
   TenAIcity marketing site
   ========================= */
:root {
    --font-display: "Syne", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --bg: #07090f;
    --bg-elevated: #0c101a;
    --bg-panel: #111827;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #f3f6fb;
    --text-muted: #9aa6b8;
    --text-dim: #6b7689;

    --accent: #3b82f6;
    --accent-strong: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.18);
    --cyan: #67e8f9;

    --nav-h: 72px;
    --radius: 14px;
    --radius-sm: 10px;
    --max: 1120px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.container {
    width: min(92%, var(--max));
    margin: 0 auto;
}

/* ---------- Nav ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(7, 9, 15, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 2000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(92%, var(--max));
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-menu li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 12px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-menu li a::after {
    display: none;
}

.nav-menu li a:hover {
    color: var(--text);
    background: var(--surface);
}

.nav-btn {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}

.nav-btn:hover {
    background: var(--accent-strong) !important;
    color: #fff !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2;
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background: var(--text);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-h);
        flex-direction: column;
        align-items: stretch;
        background: rgba(7, 9, 15, 0.97);
        width: 100%;
        text-align: left;
        transition: left 0.3s var(--ease);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        gap: 4px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        width: 100%;
        padding: 14px 16px;
    }

    .nav-btn {
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 36px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
    padding: calc(var(--nav-h) + 48px) 0 96px;
}

#neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.hero-fallback-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background-color: #07090f;
    background-image:
        /* layered neuron columns */
        radial-gradient(circle at 22% 28%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 22% 42%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 22% 56%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 22% 70%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 40% 22%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 40% 36%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 40% 50%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 40% 64%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 40% 78%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 60% 28%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 60% 42%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 60% 56%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 60% 70%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 78% 36%, #67e8f9 0 3px, transparent 4px),
        radial-gradient(circle at 78% 50%, #3b82f6 0 3px, transparent 4px),
        radial-gradient(circle at 78% 64%, #67e8f9 0 3px, transparent 4px),
        linear-gradient(105deg, transparent 0 38%, rgba(59, 130, 246, 0.12) 42%, transparent 46%),
        linear-gradient(75deg, transparent 0 48%, rgba(103, 232, 249, 0.1) 52%, transparent 56%),
        radial-gradient(ellipse 55% 45% at 50% 48%, rgba(37, 99, 235, 0.18), transparent 70%),
        linear-gradient(180deg, #07090f 0%, #0a1224 55%, #07090f 100%);
    animation: neuralPulse 8s ease-in-out infinite alternate;
}

.hero.hero-fallback .hero-fallback-bg {
    opacity: 1;
}

.hero.hero-fallback #neural-canvas {
    display: none;
}

@keyframes neuralPulse {
    0% {
        filter: brightness(0.95);
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        filter: brightness(1.08);
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 12px, 12px 0, 0 0, 0 0;
    }
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 9, 15, 0.45) 0%, rgba(7, 9, 15, 0.12) 40%, rgba(7, 9, 15, 0.78) 100%),
        radial-gradient(ellipse 50% 42% at 50% 44%, rgba(7, 9, 15, 0.55) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, 820px);
    text-align: center;
    padding: 0 12px;
}

/* Frame switcher */
.hero-frames {
    position: absolute;
    left: 50%;
    bottom: max(28px, 4vh);
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(7, 9, 15, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-frame-dot,
.hero-frame-nav {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text-muted);
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-frame-dot {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.hero-frame-dot:hover,
.hero-frame-nav:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.hero-frame-dot.is-active {
    color: #fff;
    background: rgba(59, 130, 246, 0.35);
    box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.25);
}

.hero-frame-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .hero-frames {
        gap: 4px;
        padding: 6px 8px;
        bottom: 18px;
    }

    .hero-frame-dot {
        min-width: 30px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    opacity: 0;
    animation: heroIn 0.9s var(--ease) 0.1s forwards;
}

.hero-brand-mark {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

.hero-brand-mark::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, 0.45);
    animation: brandPing 2.4s ease-out infinite;
}

@keyframes brandPing {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.hero-brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
}

.hero-brand-name span {
    color: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6.5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
    text-wrap: balance;
    opacity: 0;
    animation: heroIn 0.9s var(--ease) 0.22s forwards;
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.65;
    opacity: 0;
    animation: heroIn 0.9s var(--ease) 0.34s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: heroIn 0.9s var(--ease) 0.46s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.38);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 4px;
    transition: color 0.25s ease;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-ghost::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.25s var(--ease);
}

.btn-ghost:hover::after {
    transform: translateX(3px);
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-brand,
    .hero h1,
    .hero-lead,
    .hero-actions,
    .hero-fallback-bg,
    .hero-brand-mark::after {
        animation: none !important;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .hero-fallback-bg {
        opacity: 1;
    }
}

/* ---------- Sections shared ---------- */
.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 18px;
    text-wrap: balance;
}

.section-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 56px;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head .section-intro {
    margin-bottom: 0;
}

/* ---------- Services ---------- */
.services {
    background: var(--bg);
    padding: 110px 0;
    text-align: center;
}

.services h2,
.what-we-do .section-title,
.about-text h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
    text-transform: none;
    margin-bottom: 56px;
}

.services .grid,
.what-we-do .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: var(--max);
    margin: 0 auto;
    width: min(92%, var(--max));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border);
}

.card-body {
    padding: 26px 24px 28px;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    text-transform: none;
}

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

@media (max-width: 900px) {
    .services .grid,
    .what-we-do .grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ---------- Video separator ---------- */
.video-separator {
    background: var(--bg);
    padding: 40px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.separator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92%, var(--max));
    gap: 28px;
}

.video-separator .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.35) 50%,
        transparent 100%
    );
}

.play-btn-main {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.play-btn-main svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

.play-btn-main:hover {
    transform: scale(1.08);
}

.play-btn-main .pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.4s infinite ease-out;
    z-index: -1;
    opacity: 0.55;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* ---------- About ---------- */
.about,
.about.bg-custom {
    background-color: var(--bg-elevated);
    background-image: none;
    padding: 110px 0;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.about.bg-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 85% 40%, rgba(59, 130, 246, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(103, 232, 249, 0.06), transparent 55%);
    pointer-events: none;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max);
    margin: 0 auto;
    width: min(92%, var(--max));
    gap: 56px;
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
    max-width: 560px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 40px;
}

.mission-vision-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mv-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.mv-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--accent);
    margin-top: 2px;
}

.mv-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 700;
}

.mv-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-visual {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.robot-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.robot-about {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(37, 99, 235, 0.25));
    transition: transform 0.5s var(--ease);
}

.about:hover .robot-about {
    transform: translateY(-8px);
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .about-text {
        max-width: none;
    }

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

    .about-visual {
        min-height: auto;
    }

    .robot-about {
        max-width: 280px;
    }

    .mv-item {
        text-align: left;
    }
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background:
        linear-gradient(120deg, rgba(37, 99, 235, 0.95), rgba(15, 23, 42, 0.95)),
        var(--bg-panel);
    padding: 64px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-container {
    width: min(92%, var(--max));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-text {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-button {
    background: #fff;
    color: #0f172a;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--cyan);
    color: #0f172a;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- What we do ---------- */
.what-we-do {
    background: var(--bg);
    padding: 110px 0;
    text-align: center;
}

.what-we-do .card-image {
    height: 200px;
}

.what-we-do .card:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

.icon-floating {
    display: none;
}

/* ---------- Footer ---------- */
footer {
    background: #05070c;
    padding: 64px 5% 28px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    width: min(92%, var(--max));
}

.footer-top h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
    line-height: 1.4;
    max-width: 520px;
    margin: 0 !important;
    color: var(--text-muted);
}

.footer-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 22px;
    font-size: 0.8rem;
    color: var(--text-dim);
    max-width: var(--max);
    margin: 0 auto;
    width: min(92%, var(--max));
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-top h1 {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ---------- Language dropdown ---------- */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropbtn {
    color: var(--text-muted) !important;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #0c101a;
    min-width: 150px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid var(--border);
    top: calc(100% + 8px);
    right: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text) !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.dropdown-content a:hover {
    background: var(--accent-soft) !important;
    color: var(--text) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.25s ease;
}

.flag-icon {
    font-size: 1.05rem;
}

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

/* =========================
   Contact page (preserved)
   ========================= */
.contact-hero-section {
    position: relative;
    background-color: #fff;
    font-family: var(--font-body);
}

.hero-background {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("img/contact-bg.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-center-text h1 {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-display);
}

.contact-main-area {
    background-color: #ffffff;
    padding-bottom: 100px;
}

.contact-layout {
    max-width: 1200px;
    margin: -150px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    z-index: 10;
}

.info-card-black {
    background-color: #000000;
    color: #ffffff;
    width: 450px;
    padding: 70px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    min-height: 730px;
    display: flex;
    flex-direction: column;
}

.display-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.detail-group {
    margin-bottom: 40px;
}

.detail-group h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.detail-group p {
    color: #999;
    font-size: 0.95rem;
}

.social-links-row {
    margin-top: auto;
    display: flex;
    gap: 25px;
}

.social-links-row a {
    color: #fff;
    font-size: 1.1rem;
}

.form-stand-alone {
    flex: 1;
    padding-top: 200px;
    padding-left: 100px;
}

.input-row {
    margin-bottom: 30px;
}

.input-row input,
.input-row textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.input-row input:focus,
.input-row textarea:focus {
    border-bottom-color: #3b82f6;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: #666;
}

.btn-blue-submit {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    padding: 20px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-blue-submit:hover {
    background-color: #2563eb;
}

.footer-refined {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0 40px;
    font-family: var(--font-body);
    position: relative;
}

.footer-main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.footer-brand-section {
    max-width: 400px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: -5px;
    margin-bottom: 0;
}

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

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 1px;
}

.footer-brand-name small {
    color: #3b82f6;
    font-size: 1.4rem;
}

.footer-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact-section {
    text-align: left;
    min-width: 250px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-email {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-email:hover {
    color: #ffffff;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 1.1rem;
    transition: 0.3s;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
    color: #3b82f6;
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 30px 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.footer-bottom-bar p {
    font-size: 0.85rem;
    color: #666666;
}

.all-rights {
    color: #007a7a;
    margin-left: 5px;
}

.back-to-top {
    position: absolute;
    right: 50px;
    bottom: 20px;
    background: #ffffff;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.back-to-top:hover {
    background: #3b82f6;
    color: #ffffff;
}

.large-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.footer-robot-large {
    height: 350px;
    margin-top: -130px !important;
    margin-bottom: -130px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2));
}

@media (max-width: 480px) {
    .footer-robot-large {
        height: 80px;
    }

    .footer-brand-name {
        font-size: 1.8rem;
    }
}
