@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

/* ── Scroll To Top ── */
#scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 48px;
  height: 48px;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid rgba(0, 242, 255, 0.5);
  color: #00f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

#scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scroll-to-top:hover {
  background: rgba(0, 242, 255, 0.12);
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.35);
}

#scroll-to-top svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@media (max-width: 768px) {
  #scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  #scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
}

:root {
  --bg-dark: #050505;
  --primary-color: #00f2ff;
  --secondary-color: #ffffff;
  --corner-size: 10px;
  --corner-offset: -4px;
  --neon-cyan: #00ffff;
  --grid-opacity: 0.15;
  /* Köşelerin dışarı taşma payı */
}

/*About Hero Section*/
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
/*Mission & Vision Cards*/
.mission-card {
  background:
    linear-gradient(
      135deg,
      rgba(6, 182, 212, 0.06) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    rgba(8, 12, 18, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(6, 182, 212, 0.04);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.mission-card {
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
}

.mission-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mission-card:hover::before {
  opacity: 1;
}

/*Hero animation start*/
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(0, 255, 255, 0.02) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(0, 255, 255, 0.01) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #000000 0%, #001122 100%);
}

#three-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(
      rgba(0, 255, 255, var(--grid-opacity)) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 255, 255, var(--grid-opacity)) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
  z-index: 2;
  animation: gridPulse 6s ease-in-out infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }
}

.vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 3;
  pointer-events: none;
}

 .gradient-text {
        background-image: linear-gradient(
          269deg,
          #76c8cb 1.26%,
          #4da2c1 98.74%
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
      }

/*Hero animation end*/

/* Reveal Blokları için temel stil */
.reveal-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 105%;
  /* Hafif taşma boşluğu */
  background-color: white;
  /* İsteğe göre renk değişebilir */
  z-index: 10;
}

body {
  background-color: black;
  color: white;
  overflow-x: hidden;
  font-family: "Bai Jamjuree", sans-serif;
}

.reveal-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10;
}

.btn-corner {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: #818cf8;
}

/*drone style*/
.drone-container {
  pointer-events: none;
}

#drone {
  position: absolute;
  bottom: 10%;
  left: -10%;
  z-index: 9999;
  width: 300px;
  opacity: 0;
}

.section-image {
  position: absolute;
  top: 70%;
  left: 20%;
  width: 300px;
  transform: translate(-50%, -50%);
}

/* Smooth Scroll için Lenis gereksinimi */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.font-orbitron {
  font-family: "Bai Jamjuree", sans-serif;
}

#menu-overlay {
  clip-path: circle(0% at 95% 5%);
  transition: clip-path 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

#menu-overlay.active {
  clip-path: circle(150% at 95% 5%);
}

/* Header scroll state - mobile only */
@media (max-width: 767px) {
  header {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  }

  header.scrolled {
    background-color: rgba(4, 4, 4, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Hover State Logic */
.nav-item {
  position: relative;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.nav-item::before {
  content: ">";
  position: absolute;
  left: -40px;
  color: #06b6d4;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

/* Masaüstünde hover olduğunda veya mobilde tıklandığında aktifleşen stil */
.nav-item:hover,
.nav-item.is-active {
  color: #fff;
  padding-left: 20px;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.nav-item:hover::before,
.nav-item.is-active::before {
  opacity: 1;
  left: -25px;
}

.data-grid {
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Submenu Transition */
.submenu-content {
  display: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s ease;
}

.submenu-content.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Scanline Animasyonu */
.scanline {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(6, 182, 212, 0.25),
    transparent
  );
  position: absolute;
  top: -100%;
  left: 0;
  animation: scan 8s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* ================================
   Sector Grid Section
================================ */

.sectors-grid-section {
  background: #000;
  position: relative;
  overflow-x: hidden;
}

.sectors-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Auto-fit grid: sütun sayısı içeriğe ve ekrana göre otomatik ayarlanır.
   Yeni kart eklemek veya başka bir yerde kullanmak için CSS değişikliği gerekmez.
   --grid-min değişkeniyle kaç sütun çıkacağı kontrol edilir:
     280px → ~3 sütun (default, sectors)
     240px → ~4 sütun (collaborations vb.) */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 280px), 1fr));
  gap: 1.25rem;
}

.sector-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sector-card {
  position: relative;
  height: 280px;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, transparent 60%),
    rgba(4, 8, 14, 0.95);
  border: 1px solid rgba(6, 182, 212, 0.18);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.sector-card:hover {
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow:
    0 0 50px rgba(6, 182, 212, 0.12),
    inset 0 0 40px rgba(6, 182, 212, 0.04);
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.10) 0%, transparent 60%),
    rgba(4, 10, 20, 0.98);
}

/* Subtle data grid inside card — visible on hover */
.sector-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.sector-card:hover .sector-grid-bg {
  opacity: 1;
}

/* Scan line sweeping through on hover */
.sector-scanline {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(6, 182, 212, 0.18),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.sector-card:hover .sector-scanline {
  opacity: 1;
  animation: sector-scan 2.2s linear infinite;
}

@keyframes sector-scan {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* Corner bracket decorations */
.sector-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 3;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.sector-corner.tl {
  top: 8px; left: 8px;
  border-top: 1px solid rgba(6, 182, 212, 0.35);
  border-left: 1px solid rgba(6, 182, 212, 0.35);
}
.sector-corner.tr {
  top: 8px; right: 8px;
  border-top: 1px solid rgba(6, 182, 212, 0.35);
  border-right: 1px solid rgba(6, 182, 212, 0.35);
}
.sector-corner.bl {
  bottom: 8px; left: 8px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.35);
  border-left: 1px solid rgba(6, 182, 212, 0.35);
}
.sector-corner.br {
  bottom: 8px; right: 8px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.35);
  border-right: 1px solid rgba(6, 182, 212, 0.35);
}

.sector-card:hover .sector-corner {
  width: 14px;
  height: 14px;
  border-color: rgba(6, 182, 212, 0.9);
}

/* Card inner layout */
.sector-inner {
  position: relative;
  z-index: 4;
  height: 100%;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sector-num {
  font-family: 'Bai Jamjuree', monospace;
  font-size: 0.65rem;
  color: rgba(6, 182, 212, 0.4);
  letter-spacing: 0.35em;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  transition: color 0.3s ease;
}

.sector-card:hover .sector-num {
  color: rgba(6, 182, 212, 0.9);
}

.sector-title {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.sector-card:hover .sector-title {
  color: #fff;
}

@media (max-width: 640px) {
  .sector-title {
    font-size: 1.05rem;
    font-weight: 700;
  }
}

/* Animated bottom bar */
.sector-bar {
  width: 2rem;
  height: 1px;
  background: rgba(6, 182, 212, 0.4);
  margin-bottom: 0.75rem;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}

.sector-card:hover .sector-bar {
  width: 100%;
  background: rgba(6, 182, 212, 0.6);
}

/* Status row — appears on hover */
.sector-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sector-card:hover .sector-status {
  opacity: 1;
  transform: translateY(0);
}

.sector-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #06b6d4;
  flex-shrink: 0;
  animation: sector-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes sector-dot-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 5px rgba(6, 182, 212, 0);
  }
}

.sector-status-txt {
  font-family: 'Bai Jamjuree', monospace;
  font-size: 0.6rem;
  color: rgba(6, 182, 212, 0.75);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ================================
   End Sector Grid Section
================================ */

/* ================================
   References Grid Section
================================ */

.ref-section {
  background: #050505;
  position: relative;
}

/* Arka plan çizgili grid — kart sınırlarıyla hizalı */
.ref-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: calc(100% / 6) 140px;
  pointer-events: none;
  z-index: 0;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  z-index: 1;
}

.ref-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  aspect-ratio: 2 / 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  /* Çift border önlemek için negatif margin */
  margin-top: -1px;
  margin-left: -1px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.ref-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(120, 205, 209, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ref-card:hover {
  background: rgba(120, 205, 209, 0.04);
  border-color: rgba(120, 205, 209, 0.25);
  z-index: 2;
}

.ref-card:hover::after {
  opacity: 1;
}

.ref-card img {
  max-width: 75%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Ortak görsel dil: tüm logolar beyaz siluet → hover'da orijinal renk */
  filter: brightness(0) invert(1);
  opacity: 0.28;
  transition: filter 0.35s ease, opacity 0.35s ease;
  position: relative;
  z-index: 1;
}

.ref-card:hover img {
  filter: none;
  opacity: 1;
}

/* Tablet: 4 sütun */
@media (max-width: 1024px) {
  .ref-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ref-section::before {
    background-size: calc(100% / 4) 140px;
  }
}

/* Mobil: 3 sütun */
@media (max-width: 640px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-section::before {
    background-size: calc(100% / 3) 140px;
  }
}

/* Küçük mobil: 2 sütun */
@media (max-width: 380px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-section::before {
    background-size: 50% 140px;
  }
}

/* ================================
   End References Grid Section
================================ */

/*Stickt Section with vertical slider*/

.our-work {
  display: flex;
  align-items: center;
  /*background-color: #14192d;*/
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  height: 100svh;
}

.our-work:before {
  width: 50vw;
  height: 50vw;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  background: #76c8cb;
  border-radius: 760px;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  opacity: 0.4;
  filter: blur(270px);
  content: "";
  pointer-events: none;
  will-change: transform;
}

.our-work h1 {
  background-image: linear-gradient(269deg, #76c8cb 1.26%, #4da2c1 98.74%);
  background-clip: text;
  -webkit-background-clip: text;
  /* Safari desteği için eklendi */
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  font-size: 3.3rem;
  line-height: 1.1;
}

.slider {
  display: flex;
  gap: 55px;
  align-items: center;
  position: relative;
}

@media (max-width: 640px) {
  .slider {
    padding-top: 1rem;
    flex-direction: column;
    gap: 16px;
  }
}

.carousel__slider {
  position: relative;
  width: 100%;
  min-height: 440px;
}

.carousel__item {
  width: 100%;
  min-height: 440px;
  padding: 48px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  position: absolute;
  top: 0%;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   background: 
        linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
        rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(15px);
    
    /* Köşeli Kesim (Circuit Board Style) */
    clip-path: polygon(
        0 0, 95% 0, 100% 5%, 
        100% 100%, 5% 100%, 0 95%
    );
    
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(6, 182, 212, 0.05);
}

.carousel__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

.carousel__nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 640px) {
  .carousel__nav {
    flex-direction: row;
  }
}

.carousel__nav__item {
  background: #424b58;
  box-shadow: none;
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  cursor: pointer;
}

.carousel__nav__item--active {
  background: red;
}

section {
  height: auto;
}

/*Hero content area*/
.hero--text--block_top {
  position: absolute;
  top: 25%;
  left: 0;
  z-index: 10;
  font-size: 1rem;
  color: var(--secondary-color);
}

.hero--text--block_bottom {
  position: absolute;
  bottom: 10%;
  right: 0;
  z-index: 10;
  font-size: 1rem;
  color: var(--secondary-color);
}

.content-title {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  line-height: 44px;
  color: #fffffff1;
}

.content-description {
  color: #fffffff1;
}

/*Buttons*/
.tech-btn-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* Değişkenler buton tipine göre aşağıda ezilecek */
  --accent: var(--primary-color);
  --dim: rgba(0, 242, 255, 0.5);
  width: fit-content;
}

.tech-btn-wrapper.secondary {
  --accent: var(--secondary-color);
  --dim: rgba(255, 255, 255, 0.5);
}

.tech-btn-content {
  background: transparent;
  border: none;
  padding: 12px 15px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* --- YENİLENMİŞ KÖŞELER (L-Şekli) --- */
.corner {
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  pointer-events: none;
  z-index: 3;
  border: 1.5px solid transparent;
  transition: all 0.3s ease;
}

/* Köşe Yerleşimleri ve Sadece İlgili Kenarların Boyanması */
.tl {
  top: var(--corner-offset);
  left: var(--corner-offset);
  border-left-color: var(--dim);
  border-top-color: var(--dim);
}

.tr {
  top: var(--corner-offset);
  right: var(--corner-offset);
  border-right-color: var(--dim);
  border-top-color: var(--dim);
}

.bl {
  bottom: var(--corner-offset);
  left: var(--corner-offset);
  border-left-color: var(--dim);
  border-bottom-color: var(--dim);
}

.br {
  bottom: var(--corner-offset);
  right: var(--corner-offset);
  border-right-color: var(--dim);
  border-bottom-color: var(--dim);
}

/* --- SVG ÇERÇEVE --- */
.svg-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.main-border {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.3;
  /* Pasif durumda çizgi silik */
}

/* --- HOVER EFEKTLERİ --- */
.tech-btn-wrapper:hover .tech-btn-content {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.tech-btn-wrapper:hover .corner {
  border-color: transparent;
  /* Önce sıfırla */
  border-left-color: var(--accent);
  border-top-color: var(--accent);
  filter: drop-shadow(0 0 3px var(--accent));
}

/* Hover'da her köşenin kendi kenarlarını boya */
.tech-btn-wrapper:hover .tr {
  border-right-color: var(--accent);
  border-top-color: var(--accent);
  border-left-color: transparent;
}

.tech-btn-wrapper:hover .bl {
  border-left-color: var(--accent);
  border-bottom-color: var(--accent);
  border-top-color: transparent;
}

.tech-btn-wrapper:hover .br {
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
  border-top-color: transparent;
  border-left-color: transparent;
}

/* Mouse Hover */

ul {
  margin: 0;
  padding: 0;
}

.list-item {
  display: inline-block;
  border-bottom: 1px solid #ffffff40;
  width: 100%;
  padding: 2rem;
}

.list-item img.swipeimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 200px;
  object-fit: cover;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 5px;
}

.text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

/*Contact Radar Effect*/
.radar-glow {
  box-shadow: 0 0 20px rgba(120, 205, 209, 0.2);
}

.dashed-ring {
  border-style: dashed;
  border-width: 1px;
}

.scanner-sweep {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(120, 205, 209, 0.4) 360deg
  );
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

.pulse-text {
  animation: pulse 2s infinite;
}


/* ── Sector Pages: Page Hero ── */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(180deg, #000000 0%, #001122 100%);
  padding-bottom: 5rem;
}

.page-hero .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.page-hero .vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, transparent 20%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

.page-hero .hero-asset {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 55%;
  max-width: 700px;
  z-index: 3;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.15));
}

.page-hero .hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Decorative section number */
.section-num {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: clamp(6rem, 12vw, 12rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* ── Sector Pages: Shared Components ── */

/* Arka Plan Grid Dokusu */

/* Dekoratif Yazı */
.card-id {
    position: absolute;
    top: 15px;
    right: 30px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(6, 182, 212, 0.5);
    letter-spacing: 2px;
}

/* Tarama Çizgisi Animasyonu */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    opacity: 0.2;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* ================================
   Mobile Responsive
================================ */

/* Tablet ve altı: Horizontal scroll layout'u dikey'e çevir */
@media (max-width: 1023px) {
  #horizontal-wrapper {
    overflow: visible;
  }

  #horizontal-content {
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  #horizontal-content .section-container {
    width: 100% !important;
    height: auto !important;
    min-height: 80svh;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #horizontal-content section {
    height: auto !important;
    min-height: 80svh;
  }

  /* References & Careers: section-image'ı sağ alta sabitle, animasyon yok */
  .section-image {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    transform: none;
    width: 160px;
    opacity: 1;
    pointer-events: none;
  }
}

/* Mobil (<768px) */
@media (max-width: 767px) {
  /* Hero text pozisyonları */
  .hero--text--block_top {
    top: 18%;
    max-width: calc(100% - 3rem);
  }

  .hero--text--block_bottom {
    bottom: 8%;
    right: auto;
    left: 0;
    max-width: calc(100% - 3rem);
    padding-left: 1.5rem;
    padding-right: 0;
  }

  /* Contact section map yüksekliği */
  .contact-map-wrapper {
    height: 260px !important;
    position: relative !important;
    min-height: 260px;
  }

  /* Carousel yüksekliği azalt */
  .carousel__slider {
    min-height: 360px;
  }

  .carousel__item {
    min-height: 360px;
    padding: 28px 20px;
  }

  /* Mission kartları padding azalt */
  .mission-card {
    padding: 1.75rem;
  }

  /* Page hero yüksekliği azalt */
  .page-hero {
    min-height: 55vh;
    padding-bottom: 2.5rem;
  }

  /* Dekoratif section numaraları küçült */
  .section-num {
    font-size: clamp(3.5rem, 18vw, 7rem);
  }

  /* Our-work sticky section mobilde normal akış */
  .our-work {
    height: auto;
    min-height: 100svh;
  }

  /* Sectors grid tek sütun */
  .sectors-grid {
    --grid-min: 240px;
  }

  /* Listeleme sayfası hero başlık boyutu */
  .page-hero .hero-content h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* About section: drone mobilede butonun üstünü kapatmasın */
  #drone {
    display: none;
  }

  /* News & Events: list item padding azalt */
  .list-item {
    padding: 1rem 0.75rem;
  }

  /* About section mobil padding */
  #about {
    padding: 4rem 1.5rem;
  }

  /* Horizontal section başlıkları */
  #horizontal-content h2 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  /* content-description font boyutu */
  .content-description {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* Küçük mobil (<640px) */
@media (max-width: 640px) {
  /* About hero başlık */
  .about-hero .hero-content h1 {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  /* Collaborations sayfası - uzun başlık için küçük boyut */
  .collaborations-page .hero-content h1 {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  /* Content title boyutu */
  .content-title {
    font-size: 28px;
    line-height: 34px;
  }

  /* Sector grid min-width küçült */
  .sectors-grid {
    --grid-min: 160px;
  }

  /* Collaborations sayfası - inline --grid-min'i ezmek için direkt 2 kolon */
  .collaborations-page .sectors-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Sector card yüksekliği azalt */
  .sector-card {
    height: 220px;
  }

  /* Carousel item daha küçük */
  .carousel__slider {
    min-height: 300px;
  }

  .carousel__item {
    min-height: 300px;
    padding: 22px 18px;
  }

  /* Our-work başlık boyutu */
  .our-work h1 {
    font-size: 2.2rem;
  }

  /* Page hero daha küçük */
  .page-hero {
    min-height: 50vh;
  }

  /* Mission card tek sütun için clip path yumuşat */
  .mission-card {
    padding: 1.25rem;
    clip-path: polygon(0 0, 96% 0, 100% 4%, 100% 100%, 4% 100%, 0 96%);
  }

  /* About section başlık */
  #about h2 {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
  }

  /* About section açıklama metni */
  #about .text-2xl,
  #about .text-3xl {
    font-size: clamp(1.1rem, 5vw, 1.4rem) !important;
    line-height: 1.6;
  }

  /* Horizontal sections içindeki açıklama paragrafları */
  #horizontal-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* News & Events section button margin düzelt */
  #horizontal-content .tech-btn-wrapper {
    margin-left: 0 !important;
  }

  /* Section-image küçük mobilede daha küçük */
  .section-image {
    width: 120px;
  }
}

/* ================================
   Quote Popup
================================ */

#quote-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.32s ease;
}

#quote-popup-overlay.active {
  opacity: 1;
}

#quote-popup {
  position: relative;
  background: rgba(4, 8, 14, 0.98);
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(6, 182, 212, 0.06),
    inset 0 0 30px rgba(6, 182, 212, 0.02);
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.25) transparent;
}

#quote-popup-overlay.active #quote-popup {
  transform: translateY(0);
}

#quote-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Corner decorations */
.qp-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  pointer-events: none;
}

.qp-corner.tl {
  top: -1px; left: -1px;
  border-top: 1px solid rgba(6, 182, 212, 0.8);
  border-left: 1px solid rgba(6, 182, 212, 0.8);
}

.qp-corner.tr {
  top: -1px; right: -1px;
  border-top: 1px solid rgba(6, 182, 212, 0.8);
  border-right: 1px solid rgba(6, 182, 212, 0.8);
}

.qp-corner.bl {
  bottom: -1px; left: -1px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.8);
  border-left: 1px solid rgba(6, 182, 212, 0.8);
}

.qp-corner.br {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.8);
  border-right: 1px solid rgba(6, 182, 212, 0.8);
}

/* Scan line */
.qp-scanline {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.06), transparent);
  pointer-events: none;
  z-index: 2;
  animation: qp-scan 7s linear infinite;
}

@keyframes qp-scan {
  0%   { top: -40%; }
  100% { top: 100%; }
}

/* Close button */
#quote-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  z-index: 10;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#quote-popup-close:hover {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.5);
}

/* Content wrapper */
.qp-content {
  position: relative;
  z-index: 4;
  padding: 2.5rem;
}

/* Header */
.qp-eyebrow {
  font-family: 'Bai Jamjuree', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(6, 182, 212, 0.65);
  margin: 0 0 0.6rem 0;
}

.qp-title {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem 0;
}

.qp-divider {
  width: 3rem;
  height: 1px;
  background: rgba(6, 182, 212, 0.45);
  margin-bottom: 1.75rem;
}

/* Form fields */
.qp-field {
  margin-bottom: 1.2rem;
  position: relative;
}

.qp-label {
  display: block;
  font-family: 'Bai Jamjuree', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(6, 182, 212, 0.65);
  margin-bottom: 0.45rem;
}

.qp-input,
.qp-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(6, 182, 212, 0.18);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.qp-input:focus,
.qp-select:focus {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.1), 0 0 18px rgba(6, 182, 212, 0.05);
  background: rgba(0, 10, 18, 0.7);
}

.qp-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.qp-input--error {
  border-color: rgba(239, 68, 68, 0.55) !important;
}

.qp-error-msg {
  display: block;
  font-family: 'Bai Jamjuree', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(239, 68, 68, 0.8);
  margin-top: 0.35rem;
}

.qp-error-banner {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: rgba(239, 68, 68, 0.9);
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

/* Select wrapper */
.qp-select-wrapper {
  position: relative;
}

.qp-select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.qp-select option {
  background: #050a10;
  color: #fff;
}

.qp-select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Submit row */
.qp-submit-row {
  margin-top: 1.75rem;
}

.qp-submit-btn {
  display: block !important;
  width: 100% !important;
}

.qp-submit-btn .tech-btn-content {
  width: 100%;
  text-align: center;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

/* Success state */
#quote-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.qp-success-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
}

.qp-success-icon::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(6, 182, 212, 0.12);
}

.qp-success-msg {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0 0 2rem 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.qp-success-bar {
  height: 1px;
  background: rgba(6, 182, 212, 0.12);
  overflow: hidden;
  margin-top: 1.5rem;
}

.qp-success-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #06b6d4, #00f2ff);
}

/* Body scroll lock */
body.quote-popup-open {
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .qp-content {
    padding: 2rem 1.5rem;
  }

  #quote-popup {
    max-height: 96dvh;
  }

  #quote-popup-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* ================================
   End Quote Popup
================================ */