/*
Theme Name: Defconua Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --bg: #050708;
    --bg2: #080b0e;
    --surface: #0d1117;
    --surface2: #111820;
    --border: rgba(255,255,255,0.06);
    --border-accent: rgba(224,68,68,0.4);
    --red: #e04444;
    --red-dim: #a83030;
    --red-glow: rgba(224,68,68,0.15);
    --amber: #d4872a;
    --text: #c8cdd4;
    --text-dim: #6b7280;
    --text-bright: #e8edf3;
    --mono: 'Share Tech Mono', monospace;
    --display: 'Russo One', sans-serif;
    --body: 'Noto Sans', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body, #main.dark {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* SCANLINE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.08) 2px,
      rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
    z-index: 9999;
  }

  /* NOISE TEXTURE */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
  }
  .header-main.nav-dark {
    background: var(--bg);
  }

  /* HERO */

  .hero-bg {
    position: absolute;
    inset: 0;
    background: 
      radial-gradient(ellipse 60% 50% at 70% 50%, rgba(224,68,68,0.07) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212,135,42,0.04) 0%, transparent 60%);
  }

  .hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 6rem 5rem;
    position: relative;
    z-index: 2;
  }

  .hero-tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-tag::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--red);
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--text-bright);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
  }

  .hero-title .accent { color: var(--red); }

  .hero-body {
    font-size: 0.95rem;
    color: var(--text);
    max-width: 480px;
    line-height: 1.75;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
  }

  .button.primary {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2.5rem;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    display: inline-block;
  }

  .button.primary:hover {
    background: #c03333;
    transform: translateX(2px);
  }

  .button.is-outline {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 2.5rem;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
  }

  .button.is-outline:hover {
    border-color: var(--red);
  }

  .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: grayscale(40%) contrast(1.1);
  }

  .hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%),
                linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  }

  /* HUD CORNER BRACKETS */
  .hud-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.5;
  }

  .hud-corner.tl { top: 16px; left: 16px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
  .hud-corner.tr { top: 16px; right: 16px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
  .hud-corner.bl { bottom: 16px; left: 16px; border-bottom: 2px solid var(--red); border-left: 2px solid var(--red); }
  .hud-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); }

  .hero-stat-bar {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: rgba(200,205,212,0.4);
    letter-spacing: 0.1em;
    z-index: 3;
  }

  /* SECTION STYLES */
  section {
    position: relative;
  }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 3rem;
  }

  .section-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--red); 
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 80px;
  }

  .section-title {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-bright);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  /* PROBLEM SECTION */
  .problem {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .problem-lead {
    font-size: 1.1rem;
    color: var(--text-bright);
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .problem-sub {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.75;
  }

  .gap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .gap-item {
    padding: 1.25rem 1.5rem;
    margin-left: 0 !important;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.25s, background 0.25s;
    position: relative;
    overflow: hidden;
  }

  .gap-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--red);
    opacity: 0;
    transition: opacity 0.25s;
  }

  .gap-item:hover {
    border-color: var(--border-accent);
    background: var(--surface2);
  }

  .gap-item:hover::before { opacity: 1; }
	.gap-item p {
		margin-bottom: 0;
		display: flex;
        gap: 10px;
	}

  .gap-icon {
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--red);
    padding-top: 0.2rem;
    flex-shrink: 0;
    letter-spacing: 0.05em;
  }

  .gap-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
  }

  .problem-visual {
    margin-top: 3rem;
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
  }

  .problem-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(30%);
    transition: opacity 0.5s;
  }

  .problem-visual:hover img { opacity: 0.6; }

  .visual-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
        padding: 1.2rem 3rem;
    background: linear-gradient(transparent, rgba(5,7,8,0.9));
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
  }

  /* WHO WE ARE */
  .whoweare {
    background: var(--bg);
  }

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

  .whoweare-visual {
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
  }

  .whoweare-visual .col-inner>.img:not(:last-child) {
     margin-bottom: 3.7em;
  }

  .whoweare-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(20%);
  }

  .whoweare-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(5,7,8,0.6) 0%, transparent 60%);
  }

  .whoweare-body {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .whoweare-highlight {
    font-size: 1.05rem;
    color: var(--text-bright);
    border-left: 2px solid var(--red);
    padding-left: 1.5rem;
    line-height: 1.7;
  }

  /* WHAT WE DO */
  .whatwedo {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .process-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 3rem;
  }

  .process-item {
    background: var(--surface);
    padding: 2.5rem 1.75rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.3s;
  }

  .process-item:hover {
    background: var(--surface2);
  }

  .process-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
  }

  .process-item:hover::after { transform: scaleX(1); }

  .process-num {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--red);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    display: block;
  }

  .process-name {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-bright);
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .whatwedo .process-desc {
    font-size: 0.82rem;
    color: var(--text); important
    line-height: 1.65;
  }

  .process-desc ul { padding-left: 1rem; }
  .process-desc li { margin-bottom: 0.3rem; }

  /* SECTORS */
  .sectors {
    background: var(--bg);
  }

  .sectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 1rem;
  }

  .sectors-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .sector-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    margin-left: 0 !important;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.25s;
    cursor: default;
  }

  .sector-item:hover {
    border-color: var(--border-accent);
    background: var(--surface2);
  }

  .sector-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    filter: grayscale(30%);
  }

  .sector-info {}

  .sector-name {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-bright);
    text-transform: uppercase;
  }

  .sector-sub {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
  }

  .sectors-visual {
    height: 100%;
    overflow: hidden;
    position: relative;    
  }

  .sectors-visual img {
    border: 1px solid var(--border);
  }

  .sectors-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: grayscale(20%);
  }

  .sectors-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, rgba(5,7,8,0.7) 0%, transparent 60%);
  }

  /* VALUES */
  .values {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 3rem;
  }

  .value-card {
    background: var(--surface);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }

  .value-card:hover { background: var(--surface2); }

  .value-number {
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--red);
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
  }

  .value-title {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-bright);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .value-body {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.7;
  }

  .value-accent-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .value-card:hover .value-accent-line { opacity: 1; }

  /* TEAM */
  .team {
    background: var(--bg);
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 2rem;
  }

  .team-intro {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
  }

  .team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
  }

  .team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--red), var(--amber));
  }

  .team-member-name {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-bright);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }

  .team-member-role {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  .team-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 2rem;
  }

  .team-bio {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.75;
  }

  .team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .tag {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 0.3rem 0.75rem;
    text-transform: uppercase;
    background: rgba(255,255,255,0.02);
  }

  /* CONTACT */
  .contact {
    background: var(--bg2);
    border-top: 1px solid var(--border);
  }

  .contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .contact-title {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-bright);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  .contact-body {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 2.5rem;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.25s;
  }

  .contact-item:hover {
    border-color: var(--border-accent);
    color: var(--text-bright);
  }

  .contact-item-icon {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--red);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    min-width: 50px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-bright);
    font-family: var(--body);
    font-size: 0.875rem;
    padding: 0.9rem 1.25rem;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    width: 100%;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--border-accent);
  }

  /* FOOTER */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    text-transform: uppercase;
  }

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

  .footer-right {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-align: right;
  }

  /* BLINK ANIMATION */
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .cursor-blink {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--red);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 3px;
  }

  /* PULSE */
  @keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
  }

  .live-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .live-dot::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    position: relative;
    box-shadow: 0 0 0 0 rgba(224,68,68,0.4);
    animation: pulse-dot 2s ease infinite;
  }

  @keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(224,68,68,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(224,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(224,68,68,0); }
  }

  /* TYPEWRITER */
  @keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
  }

  /* REVEAL ANIMATIONS */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--red-dim); }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-visual { height: 50vw; }
    .hero-content { padding: 3rem 1.5rem; }

    .section-inner { padding: 5rem 1.5rem; }

    .problem-grid,
    .whoweare-grid,
    .sectors-grid,
    .team-grid,
    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

    .process-list { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }

    .whoweare-visual,
    .sectors-visual { height: 280px; }

    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }

  @media (max-width: 600px) {
    .process-list { grid-template-columns: 1fr; }
    .contact-inner { padding: 4rem 1.5rem; }
  }

  /* COUNTER animation */
  @keyframes count-up {
    from { content: '0'; }
  }


  /* Custom style */
.header-nav.nav>li.lang-item-first {
    margin-left: 60px;
}

.nav>li.lang-item {
    padding: 0 10px;
    margin: 0;
}

.nav>li.lang-item.current-lang {
    background: var(--red);
    color: #fff;
}

.h2, h2 {
    font-size: 3em;
}

.header-main .nav > li > a,
#header:not(.transparent) .header-nav-main.nav > li > a {
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.8em;
}

.header-main .nav > li:not(.lang-item):hover > a,
#header:not(.transparent) .header-nav-main.nav > li:hover > a {
    color: var(--red);
}

.mfp-content .nav>li.lang-item {
    display: none;
}
.icon-box-left, .icon-box-right {
    align-items: center;
    padding: 5px;
}
.greeting .ua, .greeting .en {
  display: none;
}

:lang(uk) .ua {
  display: inline;
}

:lang(en) .en {
  display: inline;
}
@media screen and (min-width: 850px) {
    .process-item.large-2 {
        flex-basis: 20%;
        max-width: 20%;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .h2, h2 {
        font-size: 2.2em;
    }
    .button.primary {
        padding: 0.85rem 2rem;
    }

}