/* ==============================================================================
   EKO SAVET - REDIZAJN WEB SAJTA (2026 MODERN EDITION)
   Boje inspirisane originalnim logotipom:
   - Primarna zelena: #72b028 (ekološka svežina, rast, održivost)
   - Sekundarna teget-plava: #181974 (pouzdanost, zakonitost, ekspertiza)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Colors */
  --primary: #72b028;
  --primary-hover: #5f9520;
  --primary-light: #f2f8ec;
  --primary-soft: #e5f2d7;
  --primary-glow: rgba(114, 176, 40, 0.25);

  --navy: #181974;
  --navy-hover: #12135c;
  --navy-dark: #0c0d45;
  --navy-light: #eef0fc;
  --navy-soft: #d9defa;

  /* Neutrals & Text */
  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Semantic */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --text-main: var(--slate-800);
  --text-muted: var(--slate-600);
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 30px -5px var(--primary-glow);

  /* Layout */
  --max-w-container: 1200px;
  --header-height: 84px;
  --topbar-height: 40px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==============================================================================
   TOP BAR (BRZI PODACI, TELEFON, EMAIL, RADNO VREME)
   ============================================================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: #c9d2f5;
  font-size: 0.825rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.top-bar-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.top-bar-badge {
  background: rgba(114, 176, 40, 0.2);
  color: #a4e657;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ==============================================================================
   MAIN HEADER / NAVIGATION
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

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

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
  background-color: var(--slate-50);
}

.nav-link.active {
  color: var(--navy);
  background-color: var(--navy-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Header Action CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
  color: var(--white);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--slate-100);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: var(--slate-100);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  background: var(--slate-50);
}

.drawer-nav-link.active {
  background: var(--navy);
  color: var(--white);
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* ==============================================================================
   BUTTONS & BADGES
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--primary-glow);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(24, 25, 116, 0.25);
}

.btn-navy:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 25, 116, 0.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--slate-200);
  color: var(--slate-800);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--primary-light);
  color: #436d13;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(114, 176, 40, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(114, 176, 40, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(114, 176, 40, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(114, 176, 40, 0);
  }
}

/* ==============================================================================
   SECTION HEADINGS & UTILITIES
   ============================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.text-primary {
  color: var(--primary);
}

.text-navy {
  color: var(--navy);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(175deg, #ffffff 0%, #f4f8f0 55%, #e9f2e3 100%);
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(114, 176, 40, 0.15) 0%, rgba(24, 25, 116, 0.05) 60%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 1.15rem 0 1.15rem 0;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate-800);
}

.hero-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

.hero-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.15);
  height: 180px;
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-main:hover .hero-image-box img {
  transform: scale(1.05);
}

.hero-image-tag {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  background: rgba(12, 13, 69, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.775rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-tag svg {
  width: 14px;
  height: 14px;
  color: #a4e657;
  flex-shrink: 0;
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.agency-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #15803d;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.stat-item {
  margin-bottom: 1.25rem;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.stat-progress {
  height: 6px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  overflow: hidden;
}

.stat-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 100%);
  border-radius: var(--radius-full);
}

/* Floating Badges on Hero Card */
.floating-pill {
  position: absolute;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  border: 1px solid rgba(0,0,0,0.05);
  animation: float 4s ease-in-out infinite;
}

.floating-pill.pill-1 {
  top: -20px;
  left: -20px;
}

.floating-pill.pill-2 {
  bottom: -20px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pill-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.pill-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.pill-text span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ==============================================================================
   DEADLINE BANNER (ZAKONSKI ROK ZA PTP2: 15. MART)
   ============================================================================== */
.alert-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #292b96 100%);
  color: var(--white);
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.alert-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.alert-message {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd166;
  flex-shrink: 0;
}

.alert-icon-box svg {
  width: 24px;
  height: 24px;
}

.alert-text strong {
  font-size: 1.05rem;
  display: block;
  letter-spacing: -0.01em;
}

.alert-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ==============================================================================
   WHY US / BENEFIT CARDS ("UZ NAS MOŽETE RAČUNATI NA:")
   ============================================================================== */
.benefits-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(114, 176, 40, 0.3);
}

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

.benefit-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   SERVICES OVERVIEW GRID (6 CORE SERVICES)
   ============================================================================== */
.services-section {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(24, 25, 116, 0.1);
  border-color: var(--navy-soft);
}

.service-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-hover);
  gap: 0.6rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ==============================================================================
   STATS BAR
   ============================================================================== */
.stats-section {
  padding: 4rem 0;
  background: var(--navy-dark);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stat-block strong {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.stat-block p {
  font-size: 0.95rem;
  color: #c9d2f5;
  font-weight: 500;
}

/* ==============================================================================
   CONTACT FORM / CTA COMPONENT
   ============================================================================== */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-main);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
}

.contact-info-panel h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info-panel p {
  color: #c9d2f5;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-body span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #93a3e6;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail-body strong, .contact-detail-body a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.contact-detail-body a:hover {
  color: #a4e657;
}

/* Contact Form Box */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.form-label span.req {
  color: #dc2626;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* Honeypot field (hidden from humans, catches bots) */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.form-submit-btn svg {
  width: 20px;
  height: 20px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 1rem;
  text-align: center;
}

/* ==============================================================================
   PAGE: O NAMA (DETALJNO PREDSTAVLJANJE, USLUGE & ZAKONSKI ČLANOVI)
   ============================================================================== */
.page-hero {
  background: linear-gradient(135deg, rgba(12, 13, 69, 0.58) 0%, rgba(24, 25, 116, 0.48) 100%), var(--hero-bg, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 3.75rem 0 3.25rem 0;
  text-align: center;
  position: relative;
  border-bottom: 3px solid var(--primary);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(114, 176, 40, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-about {
  --hero-bg: url('/assets/images/hero-about.webp');
}

.page-hero-links {
  --hero-bg: url('/assets/images/hero-links.webp');
}

.page-hero-contact {
  --hero-bg: url('/assets/images/hero-contact.webp');
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.page-hero-lead {
  font-size: 1.15rem;
  color: #ffffff;
  max-width: 650px;
  margin: 0 auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  padding: 1.5rem 0 3.5rem 0;
}

.about-text-content p {
  font-size: 1.05rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  font-weight: 600;
  color: #2b480c;
}

.agency-profile-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--navy-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar svg {
  width: 32px;
  height: 32px;
}

.profile-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.profile-info span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-list-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-color);
}

.profile-list-item span.lbl {
  color: var(--slate-500);
}

.profile-list-item span.val {
  font-weight: 700;
  color: var(--slate-800);
}

/* Accordion Component for Services Breakdown */
.accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--slate-50);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-header-left svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.accordion-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: var(--white);
}

.accordion-content {
  padding: 0 1.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  padding: 0.5rem 1.75rem 1.75rem 1.75rem;
  max-height: 1000px;
}

.accordion-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.accordion-content li {
  margin-bottom: 0.4rem;
}

/* ==============================================================================
   PAGE: KORISNI LINKOVI
   ============================================================================== */
.links-section {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.links-search-bar {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.links-search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.links-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  pointer-events: none;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

.link-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.link-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.link-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--navy-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon-box svg {
  width: 24px;
  height: 24px;
}

.link-type-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-600);
}

.link-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.link-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.link-btn:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.link-btn svg {
  width: 16px;
  height: 16px;
}

/* ==============================================================================
   PAGE: KONTAKT
   ============================================================================== */
.contact-page-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.contact-card-details a {
  color: var(--navy);
  font-weight: 600;
}

.contact-card-details a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 380px;
  margin-top: 4rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==============================================================================
   SITE FOOTER
   ============================================================================== */
.site-footer {
  background: var(--slate-950);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  margin-top: auto;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-legal-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.footer-legal-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal-table td.lbl {
  color: #64748b;
  width: 40%;
}

.footer-legal-table td.val {
  color: #f1f5f9;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-credits {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-credits a {
  color: #a4e657;
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-credits a:hover {
  color: var(--white);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
}

.back-to-top:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==============================================================================
   ANIMATIONS & SCROLL REVEALS
   ============================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for child elements */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==============================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================================================================== */

/* Srednji ekrani / Laptopovi / Landscape tableti (1024px – 1199px) */
@media (max-width: 1199px) {
  :root {
    --header-height: 76px;
    --topbar-height: 38px;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .top-bar {
    font-size: 0.78rem;
  }
  .top-bar-left, .top-bar-right {
    gap: 0.85rem;
  }
  .top-bar-item {
    gap: 0.35rem;
  }
  .top-bar-label {
    display: none; /* Skraćuje "Pozovite nas: " na direktan telefon radi čistog prikaza */
  }
  .logo-img {
    height: 42px;
  }
  .desktop-nav {
    gap: 0.85rem;
  }
  .nav-list {
    gap: 0.2rem;
  }
  .nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .header-cta {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
    gap: 0.35rem;
    white-space: nowrap;
  }
  .header-cta svg {
    width: 15px;
    height: 15px;
  }
}

/* Tableti i manji laptopovi (do 991px) */
@media (max-width: 991px) {
  :root {
    --header-height: 70px;
    --topbar-height: 36px;
  }
  .top-bar {
    font-size: 0.76rem;
  }
  .top-bar-left, .top-bar-right {
    gap: 0.75rem;
  }
  .top-bar-item svg {
    width: 13px;
    height: 13px;
  }
  .top-bar-badge {
    font-size: 0.72rem;
    padding: 0.12rem 0.45rem;
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .logo-img {
    height: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Mobilni telefoni (do 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --topbar-height: 34px;
  }
  .top-bar .container {
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: space-between;
  }
  .top-bar-hours {
    display: none; /* Radno vreme je vidljivo u meniju i futeru, štedi vertikalni prostor */
  }
  .top-bar-label {
    display: none;
  }
  .top-bar-item {
    font-size: 0.74rem;
    gap: 0.3rem;
  }
  .top-bar-item svg {
    width: 12px;
    height: 12px;
  }
  .top-bar-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
  }
  .logo-img {
    height: 36px;
  }
  .hero-section {
    padding: 3rem 0 4rem 0;
  }
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-features-list {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-box {
    padding: 2rem 1.5rem;
  }
  .contact-info-panel {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-pill {
    display: none; /* Avoid overflowing mobile screens */
  }
}

/* Manji mobilni ekrani (do 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
    --topbar-height: 32px;
  }
  .top-bar .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .top-bar-email {
    display: none; /* Prikazuje telefon sa leve strane i PIB sa desne za čist 1-red prikaz */
  }
  .top-bar-item {
    font-size: 0.72rem;
  }
  .logo-img {
    height: 32px;
  }
}

/* 404 Error Page */
.page-404 {
  padding: 6rem 0;
  text-align: center;
  background: var(--bg-alt);
}
.error-code {
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-subtitle {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}
.error-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.65;
}
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}
.error-link-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.error-link-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

/* Print Styles */
@media print {
  .top-bar, .site-header, .mobile-drawer, .contact-section, .site-footer, .back-to-top {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
