:root {
    --primary: #0084c2;
    --primary-light: #2225c5;
    --primary-dark: #44b8ee;
    --accent: #f5420b;
    --accent-light: #fbbf24;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --light: #f8fafc;
    --border: #d6d9dd;
    --text: #334155;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      --gallery-radius: 14px;
  --gallery-gap: 12px;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.35);
  }

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

  html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
  }

  /* Layout Helper */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
  }

  .title {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
  }
/* Sticky Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem; /* Prevents items from hitting screen edges */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--dark);
  flex-shrink: 0; /* Prevents logo from squishing on mobile */
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-text span {
  color: var(--primary);
  font-weight: 500;
}

.footer-logo-text {
  color: var(--light);
}

.footer-logo-text span {
  color: var(--primary);
  font-weight: 500;
}

/* Desktop Links - Hidden on Mobile */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Container */
.lang-switch {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Rectangular Flag Styling */
.lang-btn img {
  width: 18px;
  height: 12px;
  display: block;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Active State (The white tab) */
.lang-btn.active {
  background: #ffffff;
  color: #0084c2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1024px) {
  .nav-links {
    display: none; /* Hide main links; they should be in the hamburger menu */
  }

  .main-image-wrap {

  aspect-ratio: 1.4 / 1 !important; 
 
}
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1rem;
  }
  @media (max-width: 768px) {
  .hero-right {
    margin-right: 0 !important;
  }
}
  
  .nav-actions {
    gap: 0.6rem;
  }

  /* Hide SRB/HU/ENG text on mobile to save space, keep only flags */
  .lang-btn span {
    display: none;
  }
  
  .lang-btn {
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 0.9rem; /* Smaller logo for tiny screens */
  }

  /* Hide the CTA button on very small phones so it doesn't overlap logo */
  .nav-actions .btn-cta {
    display: none !important;
  }
  
  .lang-switch {
    gap: 0;
  }
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  display: flex;
  align-items: center;
}

/* Ensure the CTA button looks good next to it */
.btn-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

  .btn-cta {
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }

  .btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
  }

  .menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
  }

/* ================================================================
   HERO SECTION
   ================================================================ */

#hero {
  padding: 140px 0 100px;
  background-color: #ffffff;
  background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  position: relative;
  /* overflow: hidden je ključan da ništa ne gura sajt u stranu */
  overflow: hidden; 
}

#hero .container {
  max-width: 1280px; 
  width: 90%;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-decoration-circle {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  border: 1px solid #f1f5f9;
  border-radius: 50%;
  z-index: 1;
}

/* --- Typography --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.eyebrow-icon {
  background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
}

.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.hero-title {
  font-family:'Inter', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-title span { display: block; }
.hero-title .text-primary { color: var(--primary); }

.hero-desc {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* --- Buttons & Socials --- */
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2.5rem; }

.btn-cta {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 15px 30px -5px rgba(0, 132, 194, 0.3);
  transition: all 0.3s ease;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px rgba(0, 132, 194, 0.4); }

.btn-sec {
  background: white;
  border: 2px solid #e2e8f0;
  color: #0f172a;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-sec:hover { border-color: var(--accent); background: #f8fafc; }

.hero-socials { display: flex; gap: 1.5rem; }
.hero-socials a { font-size: 1.8rem; color: #cbd5e1; transition: 0.3s; }
.hero-socials a:hover { color: var(--primary); }

/* --- IMAGE COMPOSITION --- */
.hero-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  /* Negativna margina na desktopu */
  margin-right: -5vw; 
}

.image-composition {
  position: relative;
  width: 100%;
  padding: 10px;
}

.main-image-wrap {
  width: 100%;
  aspect-ratio: 1.6 / 1; 
  border-radius: 100px 30px 100px 30px; 
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.3);
  position: relative;
  z-index: 2;
  background: #f1f5f9;
  border: 5px solid #ffffff;
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05) translateZ(0); 
  image-rendering: -webkit-optimize-contrast;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-composition:hover .main-img {
  transform: scale(1.12) translateZ(0);
}

.tech-stats-pill {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  z-index: 10;
}

.tech-stats-pill span {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.tech-stats-pill strong {
  font-size: 1rem;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
}

/* ================================================================
   DIRECT CONTACT BAR
   ================================================================ */
/* ================================================================
   DIRECT CONTACT BAR (DESKTOP & GLOBAL)
   ================================================================ */
.dispatch-bar {
  background: var(--dark);
  color: #cbd5e1;
  border-bottom: 2px solid var(--accent);
  padding: 0.6rem 0;
  position: relative;
  z-index: 999; /* Mora biti visok, ali manji od nav (1000) */
  margin-top: 70px; /* VISINA NAVIGACIJE - da traka ne bi bila prekrivena */
}

.dispatch-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dispatch-title {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0.9;
}

.dispatch-phones {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f8fafc;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.phone-pill img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
}

.phone-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-1px);
  color: white;
}

/* ================================================================
   RESPONSIVE FIXES (HERO + DISPATCH BAR)
   ================================================================ */

/* Laptopi i manji ekrani */
@media (max-width: 1100px) {
  #hero .container { width: 92%; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 2rem; }
  .hero-right { margin-right: 0; } 
}

/* Tableti i veliki telefoni */
@media (max-width: 992px) {
  #hero { padding: 80px 0 60px; } /* Smanjen padding jer imamo traku iznad */
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 4rem; 
  }
  .hero-eyebrow, .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-socials { justify-content: center; }
  
  .main-image-wrap { 
    aspect-ratio: 1.5 / 1; 
    border-radius: 60px 20px 60px 20px; 
  }
  .tech-stats-pill { 
    left: 50%; 
    transform: translateX(-50%); 
    bottom: -25px; 
  }
}

/* --- TELEFONI (UX OPTIMIZACIJA ZA DISPATCH BAR) --- */
@media (max-width: 640px) {
  #hero { 
    padding: 60px 0 40px; 
  }

  /* Dispatch Bar na mobitelu - ultra kompaktan */
  .dispatch-bar { 
    padding: 8px 0; 
    margin-top: 70px; /* Fiksno prati nav */
  }

  .dispatch-title { 
    display: none; /* Sakrivamo naslov da dobijemo prostor */
  }

  .dispatch-inner { 
    padding: 0 5px; 
  }

  .dispatch-phones {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 jednake kolone */
    width: 100%;
    gap: 2px;
  }

  .phone-pill {
    flex-direction: column; /* Zastava iznad broja */
    background: transparent;
    border: none;
    padding: 2px 0;
    gap: 4px;
    justify-content: center;
  }

  .phone-pill img {
    width: 18px;
    height: auto;
  }

  .phone-pill span {
    font-size: 10px; /* Smanjen font da stane ceo broj */
    letter-spacing: -0.4px; /* Blago sabijanje cifara */
    font-weight: 700;
  }

  /* Hero Typography */
  .hero-title { 
    font-size: 2.1rem; 
    padding: 0 10px;
  }

  .hero-buttons { 
    flex-direction: column; 
    padding: 0 20px; 
    gap: 0.8rem;
  }

  /* Image Fixes */
  .hero-right {
    margin: 0 -20px; 
    width: calc(100% + 40px); 
  }

  .main-image-wrap { 
    aspect-ratio: 1.2 / 1; 
    border-radius: 40px 15px 40px 15px; 
    width: 95%; 
    margin: 0 auto;
  }

  .tech-stats-pill {
    bottom: -15px;
    padding: 10px 15px;
  }
}

/* Jako mali ekrani */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .phone-pill span {
    font-size: 9px; /* Dodatno smanjenje za najmanje ekrane */
  }
}

/* --- About Section Styling --- */
#o-nama {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

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

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.section-title .light-text {
  color: #64748b;
  font-weight: 400;
}

.section-title .bold-accent {
  color: #0f172a;
}

.section-title .bold-accent-light {
  color: #ffffff;
}

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

.p-lead {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 500;
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-content p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

.signature-box {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.sig-icon {
  color: var(--primary);
  font-size: 1.5rem;
  opacity: 0.5;
}
.stats-list-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 1.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: var(--transition);
  margin-bottom: 35px;
}

.stats-list-item:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0, 132, 194, 0.08);
}

.stats-list-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0, 132, 194, 0.08);
  border: 1px solid rgba(0, 132, 194, 0.15);
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.stats-list-icon-wrap i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.stats-list-item:hover .stats-list-icon-wrap {
  background: var(--primary);
  border-color: var(--primary);
}

.stats-list-item:hover .stats-list-icon-wrap i {
  color: #fff;
  transform: scale(1.1);
}

.stats-list-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-list-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats-list-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}
/* ── Counter animation ── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stats-list.animate .counter {
  animation: countUp 0.5s ease forwards;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .section-title {
    align-items: center;
    text-align: center;
  }

  .hero-eyebrow {
    margin: 0 auto 1.5rem;
  }

  .stats-list {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .stats-list-number {
    font-size: 1.6rem;
    min-width: 70px;
  }

  .stats-list-icon {
    font-size: 1.6rem;
    width: 40px;
  }
}



#prednosti {
  padding: 60px 0;
  background: #0f172a;
}

.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}

/* --- Grid Setup --- */
.benefits-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Hover State */
.benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* Desktop Bento Logic */
.benefit-card.tall { 
  grid-row: span 2; 
  justify-content: space-between; 
}

.benefit-card.wide { 
  grid-column: span 2; 
  flex-direction: row; 
  align-items: center; 
  gap: 20px; 
}

/* Icon Styles */
.b-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(29, 78, 216, 0.1); /* Primary Blue light tint */
  color: var(--primary); 
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.wide .b-icon-box { margin-bottom: 0; }

.b-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.b-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.b-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  width: fit-content;
  margin-top: 15px;
}

/* --- RESPONSIVE FIXES --- */

/* Tablet (2 Columns) */
@media (max-width: 1024px) {
  .benefits-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Reset tall card so it doesn't break the 2-col flow */
  .benefit-card.tall {
    grid-row: span 1;
    justify-content: flex-start;
  }
  
  .benefit-card.wide {
    grid-column: span 2;
  }
}

/* Mobile (1 Column) */
@media (max-width: 768px) {
  #prednosti { padding: 40px 0; }
  
  .benefits-bento {
    grid-template-columns: 1fr; /* Single column */
    grid-auto-rows: auto; /* Let content dictate height */
    gap: 15px;
  }

  /* Force all cards to behave the same on mobile */
  .benefit-card.tall, 
  .benefit-card.wide, 
  .benefit-card.last-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    flex-direction: column !important; /* Stack icon on top of text */
    align-items: flex-start !important;
    gap: 10px;
  }

  .b-icon-box {
    margin-bottom: 10px !important;
  }

  .b-title { font-size: 1.2rem; }
}



/* ========================================
   GALLERY — Slideshow + Mosaic + Lightbox
   ======================================== */

#galerija {
  background: var(--light);
  padding: 90px 0 80px;
  overflow: hidden;
}

#galerija .section-title .light-text {
  color: var(--light);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header-center {
  text-align: center;
  margin-bottom: 52px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 132, 194, 0.12);
  border: 1px solid rgba(0, 132, 194, 0.3);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 18px;
}
.eyebrow-icon { color: var(--light); font-size: 1rem; }
.eyebrow-text { color: var(--primary); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* =====================
   SLIDESHOW
   ===================== */
.gallery-slideshow {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 44px;
  border-radius: var(--gallery-radius);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  background: var(--dark-card);
  aspect-ratio: 16/9;
}

.slideshow-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

/* POPRAVKA OŠTRINE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  image-rendering: -webkit-optimize-contrast; /* Za oštrinu */
}

.slide:hover img { transform: scale(1.025); }

.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px 22px;
  background: linear-gradient(0deg, rgba(15,23,42,0.82) 0%, transparent 100%);
  pointer-events: none;
}
.slide-caption .card-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Controls */
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.slideshow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.slideshow-btn.prev { left: 16px; }
.slideshow-btn.next { right: 16px; }

.slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.slideshow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.slideshow-dot.active {
  background: var(--primary-dark);
  transform: scale(1.4);
}

.slideshow-counter {
  position: absolute;
  top: 16px; right: 18px;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  color: rgba(248,250,252,0.8);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 10;
}

/* =====================
   MOSAIC GRID
   ===================== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--gallery-gap);
  margin-bottom: 36px;
}

.gallery-card {
  border-radius: var(--gallery-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--dark-card);
  box-shadow: var(--card-shadow);
}

/* POPRAVKA OŠTRINE ZA GRID */
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  image-rendering: -webkit-optimize-contrast; /* Dodato za oštrinu malih slika */
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery-card .card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(0deg, rgba(15,23,42,0.75) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}
.gallery-card:hover .card-content { opacity: 1; }

.card-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

/* Bento size variants */
.gallery-card.featured { grid-column: span 2; grid-row: span 2; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }

/* Hidden items */
.gallery-card.hidden-item { display: none; }
.gallery-card.hidden-item.visible {
  display: block;
  animation: fadeInCard 0.45s ease both;
}

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

/* =====================
   SHOW MORE BUTTON
   ===================== */
.gallery-action { text-align: center; margin-top: 10px; }
.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(194, 0, 0, 0.45);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-sec:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.gallery-action {
  text-align: center;
  margin-top: 36px;
}

.btn-gallery-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border: 2px solid rgba(245, 66, 11, 1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(245, 66, 11, 0);
}

/* shimmer sweep */
.btn-gallery-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn-gallery-more:hover::before {
  transform: translateX(100%);
}



.btn-gallery-more:hover {
  border-color: rgba(245, 66, 11, 0.7);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 66, 11, 0.15);
  transform: translateY(-2px);
 

}

.btn-gallery-more:hover::after {
  top: 10%;
  bottom: 10%;
  background: var(--accent);
}

.btn-gallery-more__icon {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.btn-gallery-more:hover .btn-gallery-more__icon {
  transform: scale(1.2) rotate(-8deg);
}

/* when gallery is expanded, JS adds .is-open to the button */
.btn-gallery-more.is-open .btn-gallery-more__icon i {
  transform: rotate(180deg);
}



/* =====================
   LIGHTBOX (Ažurirano)
   ===================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,23,42,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DODATO: Loader dok se čeka velika slika */
.lb-loader {
    position: absolute;
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 80px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease; /* Za glatko pojavljivanje velike slike */
  position: relative;
  z-index: 2;
}

.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--light);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav { display: flex; gap: 16px; align-items: center; }
.lightbox-nav-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--light);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.lightbox-counter-text {
  color: rgba(248,250,252,0.45);
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-card.featured { grid-column: span 2; grid-row: span 1; }
}






/* --- Mapa Sekcija --- */
#mapa-sekcija {
  padding: 120px 0;
  background-color: #ffffff; /* Čista bela za premium izgled */
  position: relative;
  overflow: hidden;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Tekstualni sadržaj */
.map-text-content {
  padding-right: 2rem;
}

/* --- Re-organizovana mreža zemalja --- */
.all-countries-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.countries-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolone za čistiji izgled */
  gap: 0.6rem;
}

.c-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.c-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.c-tag img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}


.map-frame {
  margin-top: 70px;
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 30px;
  box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.3);
  border: 1px solid #e2e8f0;
}

.map-image-container {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  background: #f1f5f9;
}

.static-map-img {
  width: 100%;
  height: auto;
  filter: contrast(1.05) saturate(1.1);
  image-rendering: -webkit-optimize-contrast; /* Sharpness fix */
}

/* Responsive */
@media (max-width: 1200px) {
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .map-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .map-text-content {
    text-align: center;
    padding-right: 0;
  }
  .hero-eyebrow {
    margin: 0 auto 1.5rem;
  }
  .countries-grid {
    max-width: 600px;
    margin: 0 auto;
  }
  .c-tag {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c-tag span {
    font-size: 0.65rem;
  }
}

/* Container for the pill shape */
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* The solid blue circle behind the icon */
.contact-icon-wrapper {
 background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
}

/* The uppercase blue text */
.contact-eyebrow-text {
   font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pri);
}
/* --- Kontakt Section Layout --- */
#kontakt {
  padding: 80px 0;
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start; /* Promenjeno sa flex-start radi stabilnosti */
}

/* Typography */
.contact-left .title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin: 15px 0;
}
.contact-left .title span { color: var(--primary); }
.contact-left .desc { color: #64748b; margin-bottom: 30px; }

/* Contact Info Boxes */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.c-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.c-box:hover {
  transform: translateX(8px);
  border-color: var(--primary);
  background: #fff;
}

/* Stilovi za redove telefona unutar Box-a */
.phone-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.phone-row:last-child {
    margin-bottom: 0;
}

.phone-row i {
    width: 24px;
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 10px;
}

.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0f172a;
    gap: 10px;
}

.phone-link img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.phone-link strong {
    font-size: 1rem;
    font-weight: 700;
}

.c-box-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-shrink: 0; /* Sprečava skupljanje ikonice */
}

.c-box-info {
    display: flex;
    flex-direction: column;
}

.c-box-info .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 4px;
}

/* --- Form Styling --- */
.form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.f-group { margin-bottom: 20px; }
.mb-large { margin-bottom: 25px; }

.f-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.f-group input, .f-group select, .f-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  font-size: 1rem;
  transition: 0.3s;
}
.f-group textarea {
  min-height: 120px; 
  resize: vertical;
}

.f-group input:focus, .f-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.input-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .f-row { grid-template-columns: 1fr; }
  .input-split { grid-template-columns: 1fr; }
}
/* --- FAQ Section Styling --- */
#faq {
  padding: 100px 0;
  background: #f1f5f9;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: white;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--primary);
}

/* Trigger / Header Area */
.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
}

.faq-trigger h4 {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
  margin: 0;
}

/* Icon Box Styling */
.faq-icon-box {
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* --- THE FIX: Hiding and Showing Content --- */

/* 1. Hide the content wrapper by default */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

/* 2. Show the content when card is open */
.faq-card.open .faq-content {
  max-height: 500px; /* Large enough value to fit your text */
}

/* 3. Padding and text styling inside the content */
.faq-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* Optional: Rotate icon when open */
.faq-card.open .faq-icon-box {
  transform: rotate(180deg);
}
/* --- Footer Styling --- */
footer {
  background: #0f172a;
  padding: 80px 0 30px;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-about {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 300px;
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: var(--primary);
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links, .footer-contact {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
}

/* Responsive fixes */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.hero-decoration-circle {
  pointer-events: none;
  overflow: hidden; /* add this */
  /* or alternatively, move it inside the overflow:hidden parent */
}

/* Better fix — ensure the hero clips it */
#hero {
  overflow: hidden; /* already there, make sure it's not removed */
}

@media (max-width: 640px) {
  .hero-decoration-circle {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -80px;
  }
  .tech-stats-pill {
    display: none;
  }
}


/* --- Hamburger Menu Visibility --- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex !important; /* Force show on mobile/tablet */
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
  }
}

/* --- Mobile Drawer (Slide-out Menu) --- */
.m-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.m-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.m-drawer {
  position: fixed;
  top: 0;
  right: -320px; /* Start off-screen */
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2000;
  padding: 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.m-drawer.open {
  right: 0; /* Slide in */
}

/* Drawer Header */
.m-drawer .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.m-drawer h3 {
  font-family: 'Inter', sans-serif;
  color: var(--primary);
}

/* Drawer Links */
.m-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.m-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: 0.2s;
}

.m-links a:hover {
  color: var(--primary);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Nav link hover underline ── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ── Phone pill pulse na dispatch baru ── */
.dispatch-bar .phone-pill:first-child {
  animation: subtlePulse 3s ease-in-out infinite;
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 3px rgba(245, 66, 11, 0.15); }
}

/* ── Benefit card icon animate on hover ── */
.benefit-card:hover .b-icon-box {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(0, 132, 194, 0.18);
  transition: transform 0.3s ease, background 0.3s ease;
}
.b-icon-box {
  transition: transform 0.3s ease, background 0.3s ease;
}

/* ── Country tag icon wiggle ── */
.c-tag:hover img {
  animation: flagWave 0.4s ease;
}
@keyframes flagWave {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-8deg); }
  75%  { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

/* ── FAQ card open animation ── */
.faq-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-card.open {
  box-shadow: 0 8px 32px rgba(0, 132, 194, 0.1);
  transform: scale(1.01);
}

/* ── Form input focus animation ── */
.f-group input,
.f-group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.f-group input:focus,
.f-group textarea:focus {
  transform: translateY(-1px);
}

/* ── Submit button shimmer ── */
.submit-btn {
  position: relative;
  overflow: hidden;
}
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.submit-btn:hover::before { transform: translateX(100%); }

/* ── Footer social bounce ── */
.footer-socials a {
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-socials a:hover {
  transform: translateY(-4px) scale(1.15);
}

/* ── Hero image breathe ── */
@media (prefers-reduced-motion: no-preference) {
  .tech-stats-pill {
    animation: float 4s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
  }
}