/* =========================================================
   BASE
   ========================================================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body{
  width: 100%;
  max-width: 100%;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
}

a{
  color: #f5f5f5;
  text-decoration: none;
}

a:hover{
  text-decoration: none;
}

/* Global headings (ostavljeno kako si imao) */
/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
  position: relative;
  width: 100%;

  /* fallback + modern fix for mobile 100vh  */
  min-height: 100vh;
  min-height: 100svh;

  background: #0f172a url("../images/hero-image-cover.webp") center/cover no-repeat;
  overflow: hidden;

  /* navbar je 64px; plus malo prostora za hero */
  padding-top: calc(64px + 70px);
  padding-bottom: 70px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;

  text-align: center;
}

/* Overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(15, 23, 42, 85%);
  z-index: 1;
}

/* Sadržaj iznad overlaya */
.hero-section > *{
  position: relative;
  z-index: 2;
}

/* HERO TEXT */
.hero-heading {
  font-family: 'Roboto Serif', serif;
  color: #F5F5F5;
  text-align: center;
  font-weight: 400;

  /* fluidno skaliranje (override globalnog h1) */
  font-size: clamp(26px, 3.2vw + 10px, 52px) !important;
  line-height: 1.15;
  letter-spacing: 2.25px;

  margin: 0;
  padding: 0 18px;
}

.hero-heading .block{
  display: block;
}

.hero-subheading {
  color: #f5f5f5;
  width: min(92%, 760px);
  margin: 0 auto;

  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 300;

  /* fluidno skaliranje (override globalnog h2) */
  font-size: clamp(14px, 1.05vw + 12px, 18px) !important;
  line-height: 1.75;

  letter-spacing: 1.4px;
  padding: 0 10px;
}

.hero-subheading span {
  font-weight: 700;
  font-style: italic;
}

/* Divider */
.outline-hero {
  background-color: #00CFC5;
  height: 2px;
  margin: 6px auto 0;
  width: 100px;
}

/* =========================================================
   RESPONSIVE 
   ========================================================= */

/* TABLETI I MANJI DESKTOPI */
@media (max-width: 1024px){
  /* global h1/h2 ostaju, ali hero sada koristi clamp() */

  .hero-section{
    padding-top: calc(64px + 50px);
    padding-bottom: 55px;
    gap: 18px;
  }

  .infinity-container{
    max-width: min(460px, 86vw);
  }

  .btn-outline-aqua,
  .btn-aqua{
    font-size: 1rem;
    padding: 0.7rem 2rem;
  }

  .btn-aqua.margin {
    margin: 0.7rem 2.4rem;
  }

  .hamburger-icon{
    width: 50px;
    height: 50px;
  }

  .hamburger-icon .line{
    width: 28px;
  }
}

/* MOBILNI TELEFONI */
@media (max-width: 768px){
  .hero-section{
    padding-top: calc(64px + 42px);
    padding-bottom: 48px;
    gap: 16px;
  }

  .hero-subheading{
    letter-spacing: 1px;
  }

  .outline-hero{
    width: 72px;
  }

  .btn-outline-aqua,
  .btn-aqua{
    font-size: 0.95rem;
    padding: 0.65rem 1.6rem;
  }

  .parent-container{
    flex-direction: column;
    align-items: center;
  }

  .nav-mobile ul li{
    font-size: 20px;
  }
}

/* MALI EKRANI (NPR. IPHONE SE) */
@media (max-width: 480px){
  .hero-section{
    padding-top: calc(64px + 34px);
    padding-bottom: 40px;
  }

  .hero-subheading{
    letter-spacing: 0.7px;
  }

  .hamburger-icon{
    width: 45px;
    height: 45px;
  }

  .hamburger-icon .line{
    width: 24px;
  }

  .nav-mobile ul li{
    font-size: 18px;
  }
}

/* =========================================================
   HERO BACKGROUND ANIMATION (canvas)
   ========================================================= */

.background-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

canvas {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  display: block;
  z-index: 0;
}

/* =========================================================
   INFINITY + TYPING
   ========================================================= */

.infinity-container{
  width: 100%;
  max-width: min(460px, 88vw);
  margin: 10px auto 0;

  display: flex;
  justify-content: center;
  align-items: center;

  pointer-events: none;
  padding: 0;
  box-sizing: border-box;
}

/* SVG logo unutar infinity-container */
.infinity-container svg{
  width: 100%;
  height: auto;
  display: block;
}

.infinity-base{
  fill: none;
  stroke: #f5f5f510;
  stroke-width: .1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.infinity-animated{
  fill: none;
  stroke: url(#gradient);
  stroke-width: .5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawColoredStroke 15s ease-out forwards;
}

@keyframes drawColoredStroke{
  to{
    stroke-dashoffset: 0;
  }
}

@keyframes glowPulse{
  0%,
  100%{
    filter: drop-shadow(0 0 10px rgba(39, 43, 66, 0.5));
  }
  50%{
    filter: drop-shadow(0 0 20px rgba(39, 43, 66, 0.8));
  }
}

.infinity-container.glow-effect{
  animation: glowPulse 6s ease-in-out infinite;
}

.typing-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: clamp(18px, 2.6vw + 6px, 36px);
  font-weight: 300;
  color: white;
  white-space: nowrap;

  font-family: 'Arvo', sans-serif;
  visibility: hidden;
}

.typing-effect::after{
  content: '';
  display: inline-block;
  vertical-align: bottom;
}



/* =========================================================
   OUTLINE HELPERS (ostavljeno)
   ========================================================= */

.outline-headings{
  background-color: #00CFC5;
  height: 2px;
  margin: 0 auto;
  margin-bottom: 40px;
  width: 70px;
}

.outline-headings-middle{
  background-color: #00CFC5;
  height: 2px;
  margin: 0 auto;
  margin-bottom: 40px;
  width: 40px;
}

.outline-headings-small{
  background-color: #00CFC5;
  height: 1px;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 30px;
}

/* =========================================================
   GENERIC CONTENT (ostavljeno)
   ========================================================= */

.content-section {
  background-color: white;
  color: #111;
  padding: 4rem 2rem;
  text-align: center;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn-outline-aqua {
  padding: 0.8rem 1.8rem;
  border: 1px solid #00CFC5;
  border-radius: 9999px;
  background-color: transparent;
  color: white !important;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
   font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-align: center;
  user-select: none;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-aqua:hover{
  background-color: #00CFC5;
  color: #1a1b22;
}

.btn-aqua{
  padding: 0.8rem 1.8rem;
  background-color: #00CFC5;
  border-radius: 9999px;
  color: #16171D;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-align: center;
  user-select: none;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-aqua:hover {
  background-color: #06fff3;
}

.text-dark-h:hover{
  color: #16171D !important;
}

.text-dark {
   color: #16171D !important;
}

/* CTA wrapper ispod hero */
.parent-container{
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 4vw, 70px);
  margin-bottom: 0; /* hero-section već ima padding-bottom */
}

/* =========================================================
   SERVICES SECTION – PRO AGENCY DESIGN
   ========================================================= */

/* Section */
.services-content-section{
  padding-top: 60px;
  padding-bottom: 60px;
  background: linear-gradient(
    180deg,
    #F5F5F5 0%,
    #ffffff 100%
  );
}

/* RESPONSIVNI HEADING */
.services-heading {
  font-family: 'Roboto Serif', serif !important;  /* ako koristiš, kao u ostalim sekcijama */
  font-size: clamp(24px, 4vw, 38px) !important;   /* mobil:24px, desktop:38px */
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 1.8px) !important;
  text-align: center;
  margin-bottom: 14px;
  color: #0F172A;
}

/* RESPONSIVNI SUBHEADING */
.services-subheading {
  font-family: 'Lato', sans-serif !important;
  font-size: clamp(16px, 2.2vw, 22px) !important; /* mobil:16px, desktop:22px */
  font-weight: 400;
  line-height: 1.6 !important;
  letter-spacing: clamp(0.6px, 0.12vw, 1.2px) !important;
  text-align: center;
  margin-top: 40px;     /* smanjeno za mobilni */
  margin-bottom: 48px;  /* smanjeno za mobilni */
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(15, 23, 42, 0.75);
  padding: 0 clamp(10px, 2vw, 18px);  /* padding se skalira */
}

/* Mali mobilni */
@media (max-width: 480px) {
  .services-heading {
    font-size: clamp(22px, 6vw, 32px) !important;
    margin-bottom: 12px;
  }
  .services-subheading {
    font-size: clamp(15px, 4.5vw, 20px) !important;
    margin-top: 32px;
    margin-bottom: 40px;
    padding: 0 12px;
  }
}


/* Container */
.services-container{
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

@media (min-width: 640px){
  .services-container{
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1024px){
  .services-container{
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* =========================================================
   GRID
   ========================================================= */

.services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px){
  .services-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card{
  position: relative;
  background: #ffffff;
  border-radius: 28px;

  /* 2px gradient border – ISTI KAO DUGME */
  box-shadow:
    0 0 0 2px transparent,
    0 12px 30px rgba(15, 23, 42, 0.10);

  padding: 2.2rem 2rem 1.8rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;

  color: #0F172A;

    transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Gradient outline on hover */
.service-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;

 background: linear-gradient(
  135deg,
  rgba(37, 99, 235, 0.85),
  rgba(0, 207, 197, 0.85)
);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;

   transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.service-card:hover{
  transform: translateY(-8px);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18);
}


.service-card:hover::before{
  opacity: 1;
}

/* =========================================================
   ICON
   ========================================================= */

.service-card__icon{
  width: 92px;
  height: 92px;
  margin-bottom: 20px;

  border-radius: 20px;

  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14),
    rgba(0, 207, 197, 0.14)
  );

  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.12);

  display: grid;
  place-items: center;
}

.service-card__icon img{
  width: 52px;
  height: 52px;
}

/* =========================================================
   TITLE
   ========================================================= */

.service-card__title{
  font-family: 'Roboto Serif', serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  color: #0F172A;
}

/* =========================================================
   TEXT
   ========================================================= */

.service-card__text{
  font-size: 15.8px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.75);
  margin-bottom: 22px;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   BUTTON
   ========================================================= */

.service-card__btn{
  margin-top: auto;

  /* Dupli gradient za animaciju */
  background-image: linear-gradient(
    135deg,
    #2563EB,
    #00CFC5,
    #2563EB
  );
  background-size: 200% 200%;
  background-position: left center;

  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 17px;

  padding: 0.65rem 3rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;

  transition:
    background-position 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


.service-card__btn:hover{
  background-position: right center;
    box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.35);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px){
  .services-subheading{
    font-size: 16px;
    margin-bottom: 44px;
  }

  .service-card__btn{
    font-size: 16px;
    padding: 0.6rem 2.6rem;
  }

  .services-container {
    padding: 0;
  }
}


/* ======================================================
   SERVICES SCROLL SECTION
   ====================================================== */

:root {
  --services-bg: #0f172a;
  --card-bg: #dddddd;
  --text-light: rgba(245, 245, 245, 0.85);

  --card-radius: 18px;
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= SECTION ================= */

.services-scroll-content-section {
  background: var(--services-bg);
  padding: 40px 0;
  overflow: hidden;
}

/* ================= CONTAINER ================= */

.servicesScroll-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  overflow: hidden;
}

/* ================= HEADING ================= */

.services-scroll-heading {
  font-family: 'Roboto Serif', serif;
  font-weight: 600;
  text-align: center;
  color: #F5F5F5;
  margin: clamp(40px, 8vw, 70px) auto clamp(12px, 2vw, 20px);
  padding: 0 clamp(12px, 3vw, 24px);
  word-break: break-word;
  /* FLUIDNO SKALIRANJE - ovo zamenjuje sve media query-je */
  font-size: clamp(20px, 4.5vw, 36px) !important;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.5px, 0.15vw, 1.5px) !important;
}


/* ================= FADE SIDES (Desktop only) ================= */

.servicesScroll-container::before,
.servicesScroll-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.servicesScroll-container::before {
  left: 0;
  background: linear-gradient(to right, var(--services-bg), transparent);
}

.servicesScroll-container::after {
  right: 0;
  background: linear-gradient(to left, var(--services-bg), transparent);
}

/* ================= WRAPPER (Desktop Scroll Mode) ================= */

.servicesScroll-wrapper {
  display: flex;
  gap: 48px;
  padding: 70px 0;
  width: max-content;
  animation: slide 60s linear infinite;
}

/* ================= ITEM ================= */

.servicesScroll-item {
  flex: 0 0 auto;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= CARD ================= */

.servicesScroll-card {
  width: 100%;
  height: 150px;
  background: var(--card-bg);
  border-radius: var(--card-radius);

  display: flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.servicesScroll-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.servicesScroll-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(1.1);
}

/* ================= CAPTION ================= */

.servicesScroll-caption {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  color: var(--text-light);
  line-height: 1.4;
  word-break: break-word;
}

/* ================= ANIMATION ================= */

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

/* ================= TABLET ================= */

@media (max-width: 1024px) {
  .servicesScroll-wrapper {
    padding: 50px 0;
  }

  .servicesScroll-item {
    width: 140px;
  }

  .servicesScroll-card {
    height: 140px;
    border-radius: 16px;
  }

  .servicesScroll-card img {
    width: 52px;
    height: 52px;
  }

  .servicesScroll-caption {
    font-size: 14px;
  }
}

/* ================= GRID MODE (768px and below) ================= */

@media (max-width: 768px) {

  .servicesScroll-container {
    overflow: visible;
  }

  /* Remove fades */
  .servicesScroll-container::before,
  .servicesScroll-container::after {
    display: none;
  }

  /* Switch to grid */
  .servicesScroll-wrapper {
    animation: none;
    width: 100%;
    padding: 24px 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .servicesScroll-item {
    width: 100%;
  }

  .servicesScroll-card {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
     height: 65px;
     width: 65px;
  }

  .servicesScroll-card img {
    width: 44px;
    height: 44px;
  }

  .servicesScroll-caption {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.3;
  }

  /* Hide duplicated second half */
  .servicesScroll-item:nth-child(n + 17) {
    display: none;
  }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

  .services-scroll-content-section {
    padding: 30px 0;
  }

  .servicesScroll-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .servicesScroll-card img {
    width: 40px;
    height: 40px;
  }

  .servicesScroll-caption {
    font-size: 11px;
  }
}

/* ================= EXTRA SMALL ================= */

@media (max-width: 360px) {

  .servicesScroll-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .servicesScroll-card img {
    width: 36px;
    height: 36px;
  }

  .servicesScroll-caption {
    font-size: 10px;
  }
}


/* -----------------------------------------------------------*/

/* "Ko smo mi?" section  */

.us-content-section {
  padding-top: 3rem;
  padding-bottom: 6rem;
}


.why-us-block .why-us-mobile-image {
  display: none !important;
}

  .us-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
}

.us-highlight {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  font-size: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  font-style: italic;
  color: white;
  max-width: 100%;
}

.us-highlight.left {
  background: linear-gradient(to right, #6a1b9a 0%, rgba(106, 27, 154, 0.2) 100%);
  justify-content: flex-start;
  margin-left: 20%;
  margin-right: 0;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
}

.us-highlight.right {
  background: linear-gradient(to left, #6a1b9a 0%, rgba(106, 27, 154, 0.2) 100%);
  justify-content: flex-end;
  margin-right: 20%;
  margin-left: 0;
  text-align: right;
  border-bottom-right-radius: 40px;
  border-top-right-radius: 40px;
}


.us-highlight .icon {
  font-weight: bold;
  font-size: 22px;
  margin: 0 15px;
  white-space: nowrap;
}

.us-highlight.left .icon {
  order: 0;
}

.us-highlight.right .icon {
  order: 1;
}


/* Why Us Section */
.why-us-section {
  padding: 80px 20px;
  background-color: #f5f5f5;
}

.why-us-container {
  max-width: 1280px;
  margin: 0 auto;
}

.why-us-heading {
  font-family: 'Roboto Serif', serif !important; 
  font-size: clamp(24px, 4vw, 38px) !important;
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 1.8px) !important;
  text-align: center;
  margin-bottom: 14px;
  color: #0F172A;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.why-us-block {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 60px;
}

.why-us-text {
  flex: 1;
  max-width: 600px;
}

.why-us-text p {
  font-size: 18px;
  line-height: 1.7;
  font-family: 'Lato', sans-serif;
  color: #1e293b;
  padding: 24px 28px;
  background-color: #ffffff;
  border-radius: 14px;
  border-left: 4px solid #2563eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.why-us-text p strong {
  font-style: italic;
  color: #00CFC5;
}

/* 
 font-style: italic; */

.why-us-image {
  flex: 1;
  max-width: 500px;
}

.why-us-image img {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 60px;
  border-top-right-radius: 60px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 4px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}


/* Responsive */
@media (max-width: 1024px) {
  .why-us-block {
    gap: 40px;
  }
  
  .why-us-text p {
    font-size: 20px;
    padding: 25px 35px;
  }
}

@media (max-width: 768px) {
  .why-us-block {
    display: flex !important;
    width: 100%;
  }
  
  .why-us-text {
    max-width: 100%;
  }
  
  .why-us-text p {
    font-size: 18px;
    padding: 25px 30px;
    border-radius: 50px;
  }

  
.why-us-block .why-us-mobile-image {
  display: block !important;
}
}

@media (max-width: 480px) {
  .why-us-text p {
    font-size: 16px;
    padding: 20px 25px;
  }
}


/* ===========================
   WHY US - PHONE LAYOUT
   Slika LEVO, tekst DESNO
   =========================== */

@media (max-width: 768px) {

  .why-us-image.image-right, .why-us-image.image-left {
    display: none;
  }

  .why-us-section {
    padding: 46px 16px;
  }

  .why-us-heading {
    font-size: 24px !important;
  }

  .why-us-content {
    gap: 18px;
    margin-top: 22px;
  }

  /* svaki blok kao "media card" */
  .why-us-block {
    flex-direction: row;          /* ostaje row i na telefonu */
    align-items: center;
    justify-content: center;
    gap: 12px;

    text-align: left;
  }


  .why-us-image img {
    width: 100%;
    height: 100%;        /* da ne bude prevelika */
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
    margin-top: 20px;
  }

  .why-us-text {
    flex: 1;
    max-width: 100%;
  }

  .why-us-text p {
    font-size: 14px;
    line-height: 1.55;
    padding: 14px 14px;
    border-radius: 16px;
  }

  /* blokovi bez slike - normalno full width */
  .why-us-block:not(:has(.why-us-image)) {
    flex-direction: column;
  }
}

/* ===========================
   EXTRA SMALL (<= 420px)
   Ako je ekran baš mali, pređi u stack,
   ali drži sliku i tekst "zalepljene" kao jedna kartica
   =========================== */
@media (max-width: 420px) {
  .why-us-block {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .why-us-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .why-us-image img {
    max-height: 300px;
  }

  .why-us-text p {
    font-size: 14px;
    padding: 14px 14px;
  }
}


/* ============================= */
/* Proces izrade – Stacking kartice */
/* ============================= */

.process-section {
    padding: 60px 20px 0;
    background-color: #0F172A;
    text-align: center;
}

/* Intro */
.process-intro {
    max-width: 900px;
    margin: 0 auto 140px;
}

.process-heading {
  font-family: 'Roboto Serif', serif !important;
  font-weight: 600;
  color: #F5F5F5;
  text-align: center;
  margin-bottom: clamp(10px, 2vw, 16px) !important;
  /* FLUIDNO: mobil 24px → desktop 38px */
  font-size: clamp(24px, 4.2vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 1.8px) !important;
  padding: 0 clamp(12px, 3vw, 24px);
}

.process-subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  text-align: center;
  /* Margine skaliraju se */
  margin-top: clamp(40px, 8vw, 60px);
  margin-bottom: clamp(40px, 8vw, 60px);
  max-width: min(90vw, 1080px);
  margin-left: auto;
  margin-right: auto;
  color: #F5F5F5;
  padding: 0 clamp(12px, 3vw, 24px);
  /* FLUIDNO: mobil 16px → desktop 22px */
  font-size: clamp(16px, 2.2vw, 22px) !important;
  line-height: 1.6 !important;
  letter-spacing: clamp(0.6px, 0.12vw, 1.2px) !important;
}


/* Wrapper – KONTROLISANA visina (nema praznog skrola) */
.process-cards-wrapper {
    position: relative;
    min-height: calc(100vh + (5 * 320px)); /* 5 kartica */
    padding: 0 20px 120px;
}

/* Kartice */
.process-card {
    width: 85%;
    max-width: 700px;
    height: 420px;
    margin: 0 auto 180px auto;
    padding: 50px 40px;
    border-radius: 30px;

    position: sticky;
    top: 100px;

    background: #ffffff;
    
    color: #0F172A;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;
    z-index: 1;

    transition: 
        transform 0.4s ease,
        box-shadow 0.4s ease,
        z-index 0.1s ease;
}

.process-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 6px;

 background: linear-gradient(
  135deg,
  rgba(37, 99, 235, 0.85),
  rgba(0, 207, 197, 0.85)
);


  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;

   transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* VAŽNO: uklanjanje praznog prostora posle poslednje kartice */
.process-card:last-child {
    margin-bottom: 40px;
}

/* Hover efekat */
.process-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Tekst */
.process-card h2 {
    font-size: 26px !important;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Roboto Serif', serif;
}

.process-card p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    font-family: 'Lato', sans-serif;
    margin: 0;
}

/* Poslednja kartica – jači tekst */
.process-card:nth-child(5) p {
    opacity: 1;
}

/* Slike u karticama */
.process-image {
    width: 100%;
    max-width: 150px;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
    .process-card {
        width: 90%;
        height: 450px;
        padding: 40px 35px;
        top: 90px;
        margin-bottom: 160px;
    }

    .process-card h2 {
        font-size: 24px;
    }

    .process-card p {
        font-size: 17px;
    }

    /* Slike u karticama */
.process-image {
    width: 100%;
    max-width: 120px;
    position: absolute;
    right: 20px;
    top: 20px;
}

}

@media (max-width: 768px) {
    .process-cards-wrapper {
        min-height: calc(100vh + (5 * 280px));
        padding-bottom: 80px;
    }

    .process-card {
        width: 100%;
        height: 420px;
        padding: 35px 30px;
        top: 70px;
        margin-bottom: 200px;
    }

    .process-card:last-child {
        margin-bottom: 30px;
    }

    .process-card h2 {
        font-size: 18px !important;
    }

    .process-card p {
        font-size: 16px;
    }

    /* Slike u karticama */
.process-image {
    width: 100%;
    max-width: 100px;
    position: absolute;
    right: 20px;
    top: 20px;
}

}

@media (max-width: 480px) {
    .process-card {
        height: 400px;
        padding: 30px 25px;
    }

    .process-card h2 {
        font-size: 26px;
    }

    /* Slike u karticama */
.process-image {
    width: 100%;
    max-width: 60px;
    position: absolute;
    right: 10px;
    top: 10px;
}

}

.process-end-spacer {
    height: 420px; /* ISTO kao visina kartice */
}

/* ============================= */
/* Why Webflow ? */
/* ============================= */
/* =========================
   ZAŠTO WEBFLOW – SEKCIJA
   ========================= */
/* ZAŠTO WEBFLOW SEKCIJA - FULL RESPONSIVE */
.expect-section {
  padding: clamp(50px, 10vw, 80px) clamp(20px, 5vw, 40px) clamp(70px, 12vw, 110px);
  background: #F5F5F5;
}

.expect-container {
  max-width: clamp(900px, 90vw, 1180px);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* RESPONSIVNI HEADING */
.expect-heading {
  font-family: 'Roboto Serif', serif !important;
  font-weight: 700;
  text-align: center;
  color: #0F172A;
  margin-bottom: clamp(12px, 2vw, 18px) !important;
  /* Fluidno: mobil 26px → desktop 38px */
  font-size: clamp(26px, 4.5vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 2px) !important;
  padding: 0 clamp(12px, 3vw, 24px);
}

.outline-headings {
  background: #00CFC5;
  height: 2px;
  margin: clamp(10px, 2vw, 16px) auto clamp(16px, 3vw, 24px);
  width: clamp(80px, 12vw, 140px);
}

/* UVODNI BLOK: TEKST + SLika - RESPONSIVNI GRID */
.expect-block {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(30px, 6vw, 56px);
  align-items: start;  /* top align za bolji flow */
  margin: clamp(30px, 6vw, 50px) 0;
}

.expect-text {
  display: flex; flex-direction: column;
  gap: clamp(12px, 2.5vw, 18px);
  text-align: justify;
}

.expect-lead {
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

.expect-lead strong {
  color: #0a0a0a; font-style: italic;
}

.expect-image {
  position: relative;
  display: flex; justify-content: center;
}

.expect-image img {
  width: 100%; height: auto;
  max-width: clamp(100px, 25vw, 250px);
}

/* POREĐENJE KARTICE - RESPONSIVNI GRID */
.expect-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 64px);
  margin-top: clamp(20px, 4vw, 40px);
}

/* KARTICE OSNOVA */
.compare-card {
  background: #FFFFFF;
  border-radius: 0 0 clamp(20px, 4vw, 28px) clamp(20px, 4vw, 28px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 clamp(12px, 2.5vw, 20px) clamp(30px, 6vw, 45px) rgba(15, 23, 42, 0.12);
  padding: clamp(32px, 6vw, 56px);
  position: relative; overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 clamp(18px, 4vw, 28px) clamp(45px, 8vw, 60px) rgba(15, 23, 42, 0.18);
}

/* TOP BORDER GRADIENT */
.compare-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1;
}

.compare-card::before {
  background: linear-gradient(90deg, #2563EB, #00CFC5);
}

.compare-card--wp::before {
  background: linear-gradient(90deg, #6B7280, #9CA3AF);
}

/* HEADER KARTICE */
.compare-header {
  display: flex; align-items: center;
  justify-content: center; text-align: center;
  gap: clamp(12px, 2vw, 18px);
  margin-bottom: clamp(12px, 2.5vw, 20px);
  padding-bottom: clamp(12px, 2.5vw, 20px);
  position: relative; z-index: 2;
}

.compare-logo {
  height: clamp(36px, 6vw, 48px);
  border-radius: clamp(10px, 2vw, 16px);
  display: grid; place-items: center;
  background: rgba(15, 23, 42, 0.06);
  padding: clamp(6px, 1.2vw, 10px);
}

.compare-logo img {
  width: clamp(20px, 4vw, 28px); height: auto;
}

.compare-header h3 {
  margin: 0;
  font-family: 'Roboto Serif', serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700; letter-spacing: 0.6px;
  color: #0F172A;
}

/* LISTE ITEM-OVA */
.compare-items {
  margin-left: clamp(20px, 4vw, 36px);
}

.compare-item {
  display: flex; align-items: flex-start;
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 2.1vw, 17px);
  line-height: 1.65; margin-bottom: clamp(18px, 3vw, 26px);
}

.checkmark, .checkmark-x {
  margin-right: clamp(8px, 1.5vw, 14px);
  margin-top: 2px; flex-shrink: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1;
}

.checkmark { color: #2563EB; }
.checkmark img { width: clamp(18px, 3vw, 24px); height: auto; }
.checkmark-x { color: #6B6B6B; }

/* SPECIJALNI STILOVI */
.compare-card--webflow {
  box-shadow: 0 clamp(16px, 3vw, 24px) clamp(40px, 7vw, 55px) rgba(0, 38, 207, 0.404);
}

.compare-card--webflow:hover {
  box-shadow: 0 clamp(16px, 3vw, 24px) clamp(40px, 7vw, 55px) rgba(0, 38, 207, 0.527);
}

.compare-card--wp {
  background: #F9FAFB;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ========================================
   RESPONSIVE - SAMO LAYOUT PROMENE
   (Fontovi već skaliraju clamp-om)
======================================== */
@media (max-width: 1024px) {
  .expect-block {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 40px);
    text-align: left;
  }
  .expect-image { order: -1; }  /* Slika ide gore */
}

@media (max-width: 768px) {
  .expect-section { padding: clamp(45px, 10vw, 70px) clamp(16px, 4vw, 28px); }
  .expect-compare {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 40px);
  }
  .compare-items { margin-left: clamp(16px, 3vw, 28px); }
  .compare-card {
    padding: clamp(28px, 6vw, 45px);
  }
}

@media (max-width: 480px) {
  .expect-lead {
    font-size: clamp(14px, 4vw, 17px) !important;
    padding: 0 clamp(8px, 2vw, 16px);
  }
}



/* Philosophy Section */

.philosophy-section {
  background: radial-gradient(circle at top, #0b1630, #050b1d);
  padding: 120px 20px;
  text-align: center;
  color: #ffffff;
}

.philosophy-heading {
  font-family: 'Roboto Serif', serif !important;
  font-weight: 600;
  color: #F5F5F5;
  text-align: center;
  margin-bottom: clamp(10px, 2vw, 16px) !important;
  /* Fluidno: mobil 24px → desktop 38px */
  font-size: clamp(24px, 4.2vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 1.8px) !important;
  padding: 0 clamp(12px, 3vw, 24px);
}

.philosophy-subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  text-align: center;
  /* Margine skaliraju se automatski */
  margin-top: clamp(40px, 8vw, 60px);
  margin-bottom: clamp(40px, 8vw, 60px);
  max-width: min(90vw, 1080px);
  margin-left: auto;
  margin-right: auto;
  color: #F5F5F5;
  padding: 0 clamp(12px, 3vw, 24px);
  /* Fluidno: mobil 16px → desktop 22px */
  font-size: clamp(16px, 2.2vw, 22px) !important;
  line-height: 1.6 !important;
  letter-spacing: clamp(0.6px, 0.12vw, 1.2px) !important;
}

.philosophy-wrapper {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  margin-bottom: 80px;
}

/* Centralna sijalica */
.idea-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.bulb-icon img {
  max-width: 100%;
  height: auto;
}

/* SVG konektori */
.connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Osnovno stanje svih linija – stalno vidljive i isprekidane */
.connector-line {
  stroke: rgba(32, 224, 208, 0.5);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
  opacity: 1;
  transition: stroke 0.4s ease, stroke-dasharray 0.4s ease, stroke-width 0.4s ease;
}

/* Aktivna linija na hover – puna, jača i svetlija */
.connector-svg .connector-line.active {
  stroke: #20E0D0;
  stroke-width: 3;
  stroke-dasharray: none; /* uklanja isprekidano → puna linija */
}

/* Oblacici (thought bubbles) */
.thought {
  position: absolute;
  max-width: 180px;
  height: 100px;
  padding: 14px 18px;
  background: #f5f5f50a;
  color: #f5f5f5;
  border: 4px solid #f5f5f51a;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.thought:hover {
  border-color: #00CFC5;
  box-shadow: 0 0 40px rgba(32, 224, 208, 0.6);
}

/* Pozicije oblacica */
.b1 { top: 0; left: 50%; transform: translateX(-50%); }
.b2 { top: 20%; right: 0; }
.b3 { bottom: 20%; right: 0; }
.b4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.b5 { bottom: 20%; left: 0; }
.b6 { top: 20%; left: 0; }

/* Responsive – na manjim ekranima prelazi u vertikalni raspored */
@media (max-width: 768px) {
  .philosophy-wrapper {
    width: 100%;
    height: auto;
    min-height: 800px; /* dovoljno prostora za sve elemente */
  }

  .thought {
    position: static;
    transform: none !important;
    margin: 20px auto;
  }

  .idea-center {
    position: static;
    transform: none;
    margin: 40px auto;
  }

  /* Na mobilnom sakrij linije jer su pozicije promenjene (ili ih možeš ostaviti ako želiš haotičan efekat) */
  .connector-svg {
    display: none;
  }
}

/* ============================= */
/* Floating efekat BEZ pomeranja */
/* ============================= */

.thought {
  isolation: isolate; /* štiti layout transform */
}

/* Floating sloj */
.thought::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;

  animation: thoughtFloat 8s ease-in-out infinite;
  will-change: transform;
}

/* Varijacije po elementima (da ne plutaju sinhrono) */
.b1::after { animation-duration: 9s; }
.b2::after { animation-duration: 7.5s; animation-direction: reverse; }
.b3::after { animation-duration: 8.5s; }
.b4::after { animation-duration: 10s; animation-direction: reverse; }
.b5::after { animation-duration: 7.8s; }
.b6::after { animation-duration: 9.5s; animation-direction: reverse; }

/* Sama floating animacija – SAMO Y osa */
@keyframes thoughtFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Hover lift – bez X pomeranja */
.thought:hover::after {
  transform: translateY(-10px);
}
/* FAQ SEKCIJA - FULL RESPONSIVE */
.faq-section {
  padding: clamp(60px, 12vw, 90px) clamp(20px, 5vw, 40px);
  background-color: #F5F5F5;
}

.faq-container {
  max-width: clamp(900px, 90vw, 1280px);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* RESPONSIVNI HEADING */
.faq-heading {
  font-family: 'Roboto Serif', serif !important;
  font-weight: 600;
  text-align: center;
  color: #16171D;
  margin-bottom: clamp(12px, 2vw, 18px) !important;
  /* Fluidno: mobil 24px → desktop 36px */
  font-size: clamp(24px, 4.2vw, 36px) !important;
  line-height: 1.2 !important;
  letter-spacing: clamp(0.8px, 0.2vw, 1.8px) !important;
  padding: 0 clamp(12px, 3vw, 24px);
}

.outline-headings {
  background: #00CFC5;
  height: 2px;
  margin: clamp(10px, 2vw, 16px) auto clamp(20px, 4vw, 30px);
  width: clamp(70px, 10vw, 120px);
}

/* RESPONSIVNI SUBHEADING */
.faq-subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  text-align: center;
  margin: clamp(40px, 8vw, 60px) 0 clamp(40px, 8vw, 60px) !important;
  max-width: min(90vw, 1080px);
  margin-left: auto;
  margin-right: auto;
  color: #16171D;
  padding: 0 clamp(12px, 3vw, 24px);
  /* Fluidno: mobil 15px → desktop 20px */
  font-size: clamp(15px, 2.2vw, 20px) !important;
  line-height: 1.6 !important;
  letter-spacing: clamp(0.4px, 0.1vw, 1px) !important;
}

/* FAQ LIST */
.faq-list {
  max-width: min(90vw, 1080px);
  margin: 0 auto clamp(40px, 8vw, 70px);
}

.faq-item {
  border-bottom: 1px solid #00CFC5;
}

.faq-question {
  width: 100%;
  padding: clamp(18px, 4vw, 28px) 0;
  display: flex; align-items: center;
  gap: clamp(12px, 2.5vw, 20px);
  background: none; border: none;
  cursor: pointer; text-align: left;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: rgba(0, 207, 197, 0.05);
  padding-left: clamp(8px, 2vw, 16px);
  border-radius: 0 clamp(8px, 1.5vw, 12px) 0 0;
}

.faq-icon {
  width: clamp(20px, 4vw, 28px);
  height: clamp(20px, 4vw, 28px);
  background-color: #C9C9C9;
  border-radius: 50%;
  padding: clamp(2px, 0.5vw, 4px);
  flex-shrink: 0;
}

.faq-icon img {
  width: 100%; height: 100%; object-fit: contain;
}

.faq-text {
  flex: 1;
  /* Fluidno: mobil 16px → desktop 20px */
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  color: #16171D;
  line-height: 1.5;
}

/* ARROW */
.faq-arrow {
  color: #00CFC5;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: clamp(18px, 3vw, 22px);
  height: clamp(18px, 3vw, 22px);
  flex-shrink: 0;
  margin-right: 5px;
}

/* ANSWER ANIMACIJA */
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s ease;
}

.faq-answer p {
  padding: clamp(12px, 3vw, 24px) 0 clamp(16px, 3.5vw, 28px) clamp(44px, 8vw, 56px);
  /* Fluidno: mobil 14px → desktop 18px */
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.7;
  color: #1E293B;
  margin: 0;
  text-align: justify;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 500px;  /* dovoljno za duge odgovore */
  padding: clamp(8px, 2vw, 16px) 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* SLika na dnu (ako postoji) */
.faq-image {
  margin-top: clamp(40px, 8vw, 70px);
  max-width: clamp(300px, 40vw, 450px);
  margin-left: auto; margin-right: auto;
}

.faq-image img {
  width: clamp(60%, 70vw, 80%); height: auto;
  border-radius: clamp(12px, 2.5vw, 20px);
}

/* ========================================
   RESPONSIVE - SAMO LAYOUT (fontovi već clamp)
======================================== */
@media (max-width: 480px) {
  .faq-question {
    padding: clamp(16px, 5vw, 24px) 0;
    align-items: flex-start;
    gap: clamp(8px, 2vw, 12px);
  }
  .faq-text {
    font-size: clamp(15px, 4.5vw, 18px);
  }
}


/* O nama section – full width */
.about-teaser-section {
  background-color: #0F172A;
  padding: 80px 0;            
}

/* KONTAINER – 3 kolone preko celog viewporta */
.about-teaser-container {
  width: 100%;
  max-width: 100vw;             /* ograniči na viewport */
  margin: 0;
  padding: 20px 0 20px 0;       /* ravnomerni padding */
  display: grid;
  grid-template-columns: 500px auto 500px; 
  align-items: center;
  overflow-x: hidden;           /* sakrij horizontalni overflow */
}

/* LEVA / DESNA slika – prilepljene na ivice */
.about-image-left,
.about-image-right {
  position: relative;
  width: 100%;
  height: 320px;
  margin: 0;
  overflow: hidden;
}

.about-image-left img,
.about-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;         
}

.about-image-left img {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

.about-image-right img {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

/* OVERLAY */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(37,99,235,0.4));
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}

/* HOVER EFEKT */
.about-image-left:hover .image-overlay,
.about-image-right:hover .image-overlay {
  opacity: 0;
  transform: scale(1.02);
}

.about-image-left .image-overlay {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

.about-image-right .image-overlay {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

/* SREDINA – tekst */
.about-teaser-text {
  text-align: center;
  padding: 0 40px;            
}

.about-teaser-slogan {
  color: #f5f5f5;
  font-family: 'Arvo', serif;
  font-size: 18px;
}

.about-teaser-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 280px;
}

.about-teaser-main {
  font-family: 'Roboto Serif', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: #f5f5f5;
  margin: 0;
}

.about-parent-container {
  margin: 0;                
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .about-teaser-container {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .about-image-left,
  .about-image-right {
    width: 100%;
    height: 320px;
    border-radius: 40px;
  }

  .about-teaser-text {
    padding: 0 10px;
  }

  .image-overlay {
    border-radius: 40px;
  }
}

@media (max-width: 640px) {
  .about-teaser-main {
    font-size: 20px;
  }

  .about-image-left,
  .about-image-right {
    height: 260px;
    border-radius: 40px;
  }

  .image-overlay {
    border-radius: 40px;
  }
}


/* =========================
   TEAM SECTION
========================= */

.aboutSection--team {
  background-color: #f8fafc;
}

.teamCards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* KARTICA */
.teamCard {
  width: 580px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teamCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

/* SLIKA */
.teamCard__image {
  width: 100%;
  height: 540px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .teamCard__image {
    max-width: auto;
    height: 340px;
  }

}

.teamCard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEKST */
.teamCard__name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.teamCard__role {
  font-size: 14px;
  color: #64748b;
  margin-top: 6px;
}

.site-footer {
  background: linear-gradient(180deg, #020617 0%, #0F172A 100%);
  color: #e5e7eb;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* MAIN CONTAINER */
.footer-main {
  padding-top: 50px;
  border-bottom: 1px solid #1f2937;
  text-align: center;
}

/* LOGO – centrirano gore */
.footer-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #1f2937;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 66px;
  height: 66px;
}

.footer-logo h2 {
  font-family: 'Roboto Serif', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #f5f5f5;
  margin: 0;
}

/* 3 KOLONE */
.footer-container {
  max-width: 1100px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* NAVIGACIJA + USLUGE + KONTAKT */
.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
  font-family: 'Roboto Serif', serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: #f5f5f5;
  text-transform: uppercase;
}

.footer-container .footer-nav, .footer-container .footer-services, .footer-container .footer-contact {
  margin: 30px 0;
}

.footer-nav ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 30px;
}

.footer-nav li + li,
.footer-services li + li,
.footer-contact li + li {
  margin-top: 10px;
}

.footer-nav a,
.footer-services a,
.footer-contact a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.25s ease;
    font-size: 16px;
}

.footer-nav a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: #00CFC5;
}

/* SOCIAL IKONE – centrirane */
.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: center;  /* CENTROVANO */
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;      /* VERTIKALNO centrirano */
  justify-content: center;  /* HORIZONTALNO centrirano */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social img {
  width: 20px;
  height: 20px;
  filter: brightness(1.15);
  display: block;           /* osigurava centriranje */
}

.footer-social a:hover {
  background: #00CFC5;
  border-color: #00CFC5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 207, 197, 0.3);
}

/* BOTTOM BAR */
.footer-bottom {
  padding: 24px 20px 20px;
  border-top: 1px solid #1f2937;
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: center;   /* horizontalno centriranje */
  align-items: center;       /* vertikalno poravnanje */
  gap: 20px;
  font-size: 13px;
  color: #9ca3af;
}

.footer-bottom .footer-container {
  text-align: center;
  justify-content: center;   /* opcionalno, ako ćeš kasnije dodavati još elemenata */
}



.footer-legal {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 24px;
}

.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #00CFC5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 50px 16px 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-logo-center {
    padding-bottom: 40px;
  }
  .footer-logo img {
    width: 48px;
    height: 48px;
  }
  .footer-logo h2 {
    font-size: 26px;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom .footer-container {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* ABOUT PAGE  */

/* Da sadržaj ne upada ispod fixed nav-a */
.about-hero-page {
  position: relative;
  padding-top: 110px; /* zbog fixed nav-a */
  padding-bottom: 150px;
  overflow: hidden;

  /* Tvoja tamna InfinityCode pozadina */
  background: #0F172A;
}

/* “Waves” overlay (ako nemaš sliku, ovo i dalje izgleda lepo) */
.about-hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 60%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 65% 45%, #2564eb10, transparent 35%),
    radial-gradient(circle at 95% 80%, #2564eb80, transparent 55%);
  pointer-events: none;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.10), rgba(0,0,0,0.35));
  pointer-events: none;
}

.about-hero__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
  text-align: center;
}

.about-hero__title {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.about-hero__subtitle {
  font-family: 'Roboto Serif', serif;
  color: #00d4bf;
  font-size: clamp(12px, 2.5vw, 16px);
  margin: 18px 0;
  font-weight: 600;
}

.aboutHero__actions {
  text-align: center;
  margin-top: 30px;
}

.aboutHero__actions a {
  margin: 10px;
}

.about-hero__wave {
  position: absolute;
  bottom: -1px; /* da nema prazne linije */
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden; z-index: 10;
}

.about-hero__wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

.about-hero__wave svg {
  display: block;
  width: 100%;
  height: 120px; /* desktop */
}

@media (max-width: 768px) {
  .about-hero__wave svg {
    height: 70px; /* tablet/mobilni */
  }
}

@media (max-width: 480px) {
  .about-hero__wave svg {
    height: 45px; /* mali mobilni */
  }
}


/* Professional About (kompatibilno sa tvojim bojama/typography i card hover principima) [file:2] */
.aboutPro-section{
  background:
    radial-gradient(circle at 15% 15%, rgba(0,207,197,0.10), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(37,99,235,0.10), transparent 45%),
    linear-gradient(180deg, #F5F5F5 0%, #FFFFFF 100%);
  padding: 90px 0 110px;
}
.aboutPro-container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.aboutPro-header{
  max-width: 980px;
  margin: 0 auto 52px;
  text-align: center;
}

.aboutPro-title{
  font-family: "Roboto Serif", serif;
  font-weight: 400;
  letter-spacing: 2.25px;
  font-size: clamp(30px, 3.2vw + 10px, 54px);
  line-height: 1.12;
  color: #0F172A;
  margin: 0 0 10px;
}
.aboutPro-outline{
  margin: 12px auto 16px;
  width: 120px;
  height: 2px;
  background: #00CFC5;
}
.aboutPro-lead{
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(15, 23, 42, 0.75);
  margin: 0 auto;
  max-width: 860px;
}
.aboutPro-actions{
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Grid cards */
.aboutPro-grid{
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin: 0 auto 70px;
}
.aboutPro-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  padding: 28px 28px;
}
.aboutPro-card--primary{
  position: relative;
  overflow: hidden;
}
.aboutPro-card--primary::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(0,207,197,0.22));
  opacity: 0.9;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}
.aboutPro-h2{
  font-family: "Roboto Serif", serif;
  font-weight: 600;
  font-size: 30px !important;
  color: #16171D;
  margin: 0 0 10px;
  text-align: left;
}
.aboutPro-h2.centered{ text-align: center; }
.aboutPro-par{
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 16.8px;
  line-height: 1.85;
  color: rgba(15, 23, 42, 0.78);
  margin: 0 0 14px;
}
.aboutPro-bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.80);
  font-family: Lato, Arial, Helvetica, sans-serif;
  line-height: 1.9;
}
.aboutPro-bullets li{ margin: 6px 0; }

/* Stats */
.aboutPro-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.aboutPro-stat{
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
}
.aboutPro-stat:nth-child(2n){
  background: rgba(0, 207, 197, 0.07);
  border-color: rgba(0, 207, 197, 0.18);
}
.aboutPro-statNum{
  font-family: "Roboto Serif", serif;
  font-size: 20px;
  letter-spacing: 0.8px;
  color: #0F172A;
  margin-bottom: 6px;
}
.aboutPro-statLbl{
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.70);
}
.aboutPro-note{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.72);
}
.aboutPro-note strong{
  color: #0F172A;
}

/* Services – “premium” kartice, ali isti hover/gradient border osećaj kao tvoj .service-card [file:2] */
.aboutPro-services{ margin: 0 0 70px; }
.aboutPro-servicesGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.aboutPro-serviceCard{
  position: relative;
  background: #FFFFFF;
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  padding: 26px 24px 22px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.aboutPro-serviceCard::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(0, 207, 197, 0.85));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.aboutPro-serviceCard:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
.aboutPro-serviceCard:hover::before{ opacity: 1; }

.aboutPro-icon{
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(0, 207, 197, 0.14));
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  display: grid;
  place-items: center;
  color: #2563EB;
  margin-bottom: 14px;
}
.aboutPro-icon svg{ width: 46px; height: 46px; }
.aboutPro-serviceTitle{
  font-family: "Roboto Serif", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
  color: #0F172A;
}
.aboutPro-serviceText{
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 15.6px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.75);
  margin: 0;
}


/* Responsive */
@media (max-width: 1024px){
  .aboutPro-grid{ grid-template-columns: 1fr; }
  .aboutPro-servicesGrid{ grid-template-columns: 1fr; }
  .aboutPro-teamGrid{ grid-template-columns: 1fr; }
  .aboutPro-person{ grid-template-columns: 1fr; }
  .aboutPro-personMedia{ min-height: 260px; }
}
@media (max-width: 768px){
  .aboutPro-section{ padding: 70px 0 90px; }
  .aboutPro-h2{ font-size: 26px !important; }
  .aboutPro-lead{ font-size: 16.5px; }
  .aboutPro-stats{ grid-template-columns: 1fr; }
}

/* ============================
   ABOUT PAGE (NEW - CLEAN)
   ============================ */



/* SECTION WRAPPER */
.aboutSection{
  padding: 74px 20px;
  background: #f5f5f5;
}

.aboutSection__container{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.aboutSection__title{
  font-family: "Roboto Serif", serif;
  font-weight: 600;
  font-size: clamp(26px, 5vw, 32px);
  color: #0F172A;
  margin: 0 0 10px;
  text-align: center;
}

.aboutSection__line{
  width: 70px;
  height: 2px;
  margin: 0 auto 28px;
  background: #00CFC5;
}

.aboutSection__text{
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 2.5vw, 18px);
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.72);
  max-width: 980px;
  margin: 0 auto;
}

/* Cards */
.aboutSection--cards{
  background: #f5f5f5;
  padding-top: 20px;
}

.aboutCards{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aboutCard{
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.aboutCard:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.aboutCard__iconWrap{
  width: 78px;
  height: 78px;
  border-radius: 16px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(0,207,197,0.12));
  display: grid;
  place-items: center;
}

.aboutCard__icon{
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.aboutCard__title{
  font-family: "Roboto Serif", serif;
  font-weight: 700;
  font-size: 18px;
  color: #0F172A;
  margin: 0 0 10px;
}

.aboutCard__text{
  font-family: 'Lato', sans-serif;
  font-size: 14.8px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.72);
  margin: 0;
}

/* TEAM */
.aboutSection--team{
  background: #f5f5f5;
  padding-top: 10px;
}

.teamGrid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
   justify-content: center;
  justify-items: center;
}

.teamCard{
  max-width: 400px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.teamCard:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.teamCard__img{
  background: #eef2ff;
}

.teamCard__img img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.teamCard__content{
  padding: 18px 18px 20px;
  text-align: left;
}

.teamCard__name{
  font-family: "Roboto Serif", serif;
  font-size: 18px;
  margin: 0 0 6px;
  color: #0F172A;
}

.teamCard__role{
  color: #8f8f8f;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: italic;
}

/* CTA STRIP */
.aboutCta {
  background: #0F172A;
  padding: 34px 20px;
}

.aboutCta__container{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.aboutCta__text{
  margin: 0;
  color: rgba(245,245,245,0.88);
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
}

.aboutCta__text a{
  color: #00CFC5;
  font-weight: 700;
}

.aboutCta__actions{
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .aboutHero__container{
    grid-template-columns: 1fr;
  }

  .aboutCards{
    grid-template-columns: 1fr;
  }

  .teamGrid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT PAGE (InfinityCode)
   ========================= */

.contact-page {
  background: #f6f7fb;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.10), rgba(0,0,0,0.35));
  pointer-events: none;
}

.contact-hero__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.contact-hero__subtitle {
  font-family: 'Roboto Serif', serif;
  color: #00d4bf;
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 18px 0;
  font-weight: 600;
}

.contact-hero__lead {
  font-size: clamp(12px, 2vw, 18px);
  opacity: 0.92;
  line-height: 1.6;
  text-align: center;
}

/* STARI CONTENT (2 kolone) */
.contact-content {
  padding: 70px 0 90px;
  background: #f6f7fb;
}

.contact-content__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: start;
}

/* Card styling – premium glass */
.contact-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);

  border-radius: 22px;
  padding: 28px;

  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}

.contact-card__title {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(20px, 4vw, 26px);
  margin-bottom: 10px;
  color: #0F172A;
  text-align: center;
}

.contact-card__text {
  text-align: center;
  color: rgba(15, 23, 42, 0.70);
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: clamp(14px, 4vw, 16px);
}

/* važno: hero wrapper mora biti relative da absolute wave radi kako treba */
.contact-hero {
  position: relative;
  overflow: hidden; /* da se ne vidi višak */
}

.contact-hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px; /* bez tanke linije */
  width: 100%;
  line-height: 0;
  z-index: 5; /* iznad background-a, ispod sadržaja */
  pointer-events: none;
}

.contact-hero__wave svg {
  display: block;
  width: 100%;
  height: 120px; /* desktop */
}

/* plići talasi na manjim ekranima */
@media (max-width: 768px) {
  .contact-hero__wave svg { height: 70px; }
}

@media (max-width: 480px) {
  .contact-hero__wave svg { height: 45px; }
}

/* da tekst bude iznad overlay-a i wave-a */
.contact-hero__container {
  position: relative;
  z-index: 10;
}


/* underline (tvoja klasa) */
.outline-headings-middle {
  width: 70px;
  height: 3px;
  border-radius: 999px;
  margin: 10px auto 20px auto;
  background: #00d4bf;
}

/* Calendly wrap (da deluje “uokvireno”) */
.calendly-wrap {
  border-radius: 18px;
  overflow: hidden;
}

/* Sticky aside */
.contact-card--sticky {
  position: sticky;
  top: 95px; /* ispod nav-a */
}

/* Action pill buttons */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 22px 0;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(99,130,201,0.10);
  border: 1px solid rgba(99,130,201,0.20);

  text-decoration: none;
  color: #0F172A;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
}

.contact-action__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-action__text {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.85);
}

/* Mini list */

.contact-mini__title {
  font-family: 'Roboto Serif', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.85);
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.contact-mini__list {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.75);
  line-height: 1.6;
  font-size: 14px;
   list-style: decimal !important; 
}

/* Responsive */
@media (max-width: 980px) {
  .contact-content__container {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-card {
    padding: 18px;
    margin: 20px;
  }

  .contact-card--sticky {
    position: static;
  }
}

/* Da sadržaj ne upada ispod fixed nav-a */
.contact-hero-page {
  position: relative;
  padding-top: 110px; /* zbog fixed nav-a */
  padding-bottom: 150px;
  overflow: hidden;

  /* Tvoja tamna InfinityCode pozadina */
  background: #0F172A;
}

/* “Waves” overlay (ako nemaš sliku, ovo i dalje izgleda lepo) */
.contact-hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 60%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 65% 45%, #2564eb10, transparent 35%),
    radial-gradient(circle at 95% 80%, #2564eb80, transparent 55%);
  pointer-events: none;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.10), rgba(0,0,0,0.35));
  pointer-events: none;
}

.contact-hero__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.contact-hero__title {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-align: center;
}

.contact-hero__subtitle {
  font-family: 'Roboto Serif', serif;
  color: #00d4bf;
  font-size: clamp(12px, 2.5vw, 16px);
  margin: 0 0 18px 0;
  font-weight: 600;
  text-align: center;
}

.contact-section--bottom {
  padding-top: 30px;
  padding-bottom: 80px;
}

.contact-section__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contact-section__title {
  font-family: 'Roboto Serif', serif;
  font-size: 34px;
  margin-bottom: 10px;
  color: #0F172A;
}

/* underline koja već postoji kod tebe */
.outline-headings-middle {
  width: 70px;
  height: 3px;
  border-radius: 99px;
  margin: 10px auto 35px auto;
  background: #00d4bf;
}

.calendly-inline-widget {
  border-radius: 18px;
  overflow: hidden;
  min-width:320px;
  height:850px;
}

/* Quick contact cards */
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 10px;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 22px;
  border-radius: 18px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);

  text-decoration: none;
  color: #0F172A;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
}

.contact-quick-card__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.contact-quick-card__title {
  font-family: 'Roboto Serif', serif;
  font-size: 20px;
  margin: 0;
}

.contact-quick-card__text {
  margin: 4px 0 0 0;
  color: rgba(15, 23, 42, 0.75);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  .calendly-inline-widget {
  min-width:220px;
  height:650px;
  overflow: hidden;
}

}

/* =========================
   KONTAKT CTA – POČETNA
========================= */

.contact-section{
  position: relative;
  overflow: hidden;
  padding: 90px 20px;
  background: radial-gradient(circle at top left, #ffffff 0%, #f6fbff 55%, #eaf6ff 100%);
}

/* Background glow */
.contact-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99,130,201,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(0,199,190,0.22) 0%, transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(99,130,201,0.12) 0%, transparent 60%);
}

/* “Talas” dekoracija bez slike */
.contact-wave{
  position: absolute;
  right: -280px;
  top: -220px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  z-index: 1;
  background:
    radial-gradient(circle at 35% 35%, rgba(0,199,190,0.25) 0%, transparent 62%),
    radial-gradient(circle at 55% 55%, rgba(99,130,201,0.22) 0%, transparent 65%),
    radial-gradient(circle at 70% 75%, rgba(0,199,190,0.14) 0%, transparent 70%);
  opacity: 0.95;
}

.contact-container{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero{
  margin-bottom: 26px;
}

.contact-heading{
  font-family: 'Roboto Serif', serif;
  font-size: clamp(24px, 4.2vw, 36px) !important;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.contact-subheading {
    font-size: 20px !important;
    font-weight: 400;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 18px;
}

/* Ako već imaš outline-headings, ostavi ga, ali ulepšaj */
.outline-headings{
  width: 70px;
  height: 3px;
  background: #00c7be;
  margin: 0 auto 20px;
  border-radius: 99px;
  opacity: 0.95;
}

/* CTA dugme – ako već imaš btn-blue-small, samo ga “upgrade” */
.contact-main-cta{
  margin-top: 28px;
  margin-bottom: 36px;
}


.btn-gradiant {
  margin-top: auto;

  /* Dupli gradient za animaciju */
  background-image: linear-gradient(
    135deg,
    #2563EB,
    #00CFC5,
    #2563EB
  );
  background-size: 200% 200%;
  background-position: left center;
  text-transform: uppercase;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-weight: bold;

  transition:
    background-position 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}




.btn-gradiant:hover{
  background-position: right center;
    box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.35);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px){

  .btn-gradiant{
    font-size: 14px;
    padding: 1rem 2.6rem;
  }
}


/* “Ili nas kontaktiraj” */
.contact-details__title{
  font-family: 'Roboto Serif', serif;
  font-size: 18px;
  color: #0F172A;
  padding-bottom: 28px;
  padding-top: 28px;
}

.contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

/* Pills */
.contact-action{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(99,130,201,0.25);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-action:hover{
  transform: translateY(-2px);
  border-color: rgba(0,199,190,0.45);
}

.contact-action__icon-wrap{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,130,201,0.10);
  border: 1px solid rgba(99,130,201,0.22);
  flex-shrink: 0;
}

.contact-action__icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-action__text{
  font-size: 15px;
  color: #0F172A;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 860px){
  .contact-section{
    padding: 70px 18px;
  }

  .contact-row{
    grid-template-columns: 1fr;
  }

  .contact-wave{
    right: -360px;
    top: -260px;
    width: 760px;
    height: 760px;
  }
}


/*-------------------- Scroll bar  ------------------*/

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2563EB #0F172A; /* plavi thumb, sivi track */
}

/* Chrome/Edge/Safari */
*::-webkit-scrollbar {
  width: 8px; /* tanak vertikalni */
}

*::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8); /* fensi gradient plavi */
  border-radius: 10px;
  border: 2px solid #f3f4f6;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  transform: scale(1.1); /* mali hover efekat */
}

*::-webkit-scrollbar-thumb:active {
  background: #1e40af;
}

.text-white {
  color: #fff;
}