:root {
  --navy: #003366;
  --teal: #008080;
  --light-blue: #e0f2f2;
  --white: #ffffff;
  --gray: #f4f7f6;
  --text-dark: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Header*/
header {
  background-color: var(--white);
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- Logo --- */
.logo-container {
  padding: 10px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

/* Stil simbola */
.logo-symbol {
  width: 60px;
  height: 60px;
}

.spine-icon {
  width: 100%;
  height: 100%;
}

.outer-circle {
  fill: none;
  stroke: var(--navy); /* Navy */
  stroke-width: 2;
}

.inner-circle {
  fill: none;
  stroke: var(--teal); /* Teal */
  stroke-width: 1.5;
}

.spine-path {
  stroke: var(--navy);
  stroke-width: 3;
  stroke-linecap: round;
}

.logo-letter {
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-size: 22px;
  fill: var(--navy);
}

/* Stil za tekst */
.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-underline {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--navy), var(--teal));
  margin: 4px 0;
}

.logo-address {
  font-size: 0.75rem;
  color: var(--teal);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header mobile */
@media (max-width: 768px) {
  .brand-name {
    font-size: 1.3rem;
  }
  .logo-symbol {
    width: 50px;
    height: 50px;
  }
  .logo-address {
    font-size: 0.65rem;
  }
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: 0.3s;
}

/* --- HAMBURGER meni  --- */
.hamburger {
  display: none; /* Skriveno na PC */
  cursor: pointer;
  width: 45px;
  height: 45px;
  background-color: var(--light-blue);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 128, 128, 0.1);
  z-index: 1001; /* Stay above the nav-menu */
}

.hamburger:hover {
  background-color: #d1e8e8; /* malo tamnije prolikom prelazka misa preko ekrana */
  transform: scale(1.05);
}

.hamburger span {
  display: block;
  width: 22px; /* Širina linije */
  height: 2px; /* Visina linije */
  background-color: var(--navy); /* Boja linije */
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .hamburger.active {
    background-color: var(
      --primary
    ); /* Promena boje kruga kada se otvori meni */
  }
  .hamburger.active span {
    background-color: var(
      --teal
    ); /*  Promena boje linije kada se otvori meni */
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

nav a:hover {
  color: var(--teal);
}

/* --- FOOTER  --- */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 10% 20px 10%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-typography-wrap {
  flex: 1;
  min-width: 250px;
}
.footer-typography-wrap .outer-circle {
  fill: none;
  stroke: var(--white); /* Navy */
  stroke-width: 2;
}

.footer-typography-wrap .inner-circle {
  fill: none;
  stroke: var(--teal); /* Teal */
  stroke-width: 1.5;
}

.footer-typography-wrap .spine-path {
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
}

.footer-typography-wrap .logo-letter {
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-size: 22px;
  fill: var(--white);
}

/* Stil teksta */
.footer-typography-wrap .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-typography-wrap .brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: 1px;
  line-height: 1;
}

.footer-typography-wrap .logo-underline {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--white), var(--teal));
  margin: 4px 0;
}

.footer-typography-wrap .logo-address {
  font-size: 0.75rem;
  color: var(--teal);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-typography-wrap p {
  color: #cbd5e0;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
}

/* Stil otvaranje ordinacije */
.footer-opening-hours-wrap {
  flex: 1;
  min-width: 250px;
}

.footer-opening-hours-wrap h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
  padding-bottom: 5px;
}

.day-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.day-item span:last-child {
  font-weight: bold;
  color: var(--teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #a0aec0;
}

.footer-legal-links {
  margin-top: 10px;
}

.footer-legal-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 5px;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--teal);
}

/* Footer mobile*/
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-typography-wrap p,
  .footer-opening-hours-wrap h2 {
    margin-left: auto;
    margin-right: auto;
  }
  .day-item {
    justify-content: center;
    gap: 20px;
  }
}

.ortho-image img,
.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Sprečava distorziju */
  aspect-ratio: 4 / 5; /* Opciono: drži sve slike u istoj proporciji */
}
/* ----------------Index.html sections begin-------------- */

/* Orho-care sekcija */
.ortho-care-section {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  gap: 60px;
  max-width: 1400px; /* Drži ceo sadržaj u granicama normale */
  margin: 0 auto;
}

.ortho-text {
  flex: 1.2; /* Tekst dobija malo više prostora */
}

.ortho-image {
  flex: 0.8; /* Slika je malo uža od teksta */
  max-width: 500px; /* Ne dozvoljava slici da postane prevelika na 4K ekranima */
}

.ortho-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}
.ortho-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 10px;
}
.accent-bar {
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin-bottom: 25px;
}
.ortho-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid var(--teal);
  color: var(--teal);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .ortho-care-section {
    flex-direction: column;
    padding: 40px 5%;
  }
}

/* 4. Transformacija kolona (Care, Who We Are i Mission) */
@media (max-width: 992px) {
  .ortho-care-section,
  .who-we-are,
  .our-mission,
  .contact-location {
    flex-direction: column !important; /* Forces vertical stack */
    padding: 40px 5% !important;
    text-align: center;
    gap: 30px;
  }

  .ortho-text,
  .ortho-image,
  .who-visual,
  .who-content,
  .mission-gallery,
  .mission-content,
  .map-container,
  .contact-details {
    width: 100% !important;
    flex: none;
  }

  /* Centrira akcentne trake i ikone kada su naslagane */
  .accent-bar {
    margin: 0 auto 20px auto;
  }

  .feature-item,
  .mission-item,
  .contact-item {
    flex-direction: column;
    align-items: center;
  }

  /* Pomerite Eksperijens karticu za mobilni tako da se ne preklapa */
  .experience-card {
    position: static;
    margin: 20px auto 0;
    width: fit-content;
  }
}

/* Stil sekcije WHO WE ARE */
.who-we-are {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  background: #fdfdfd;
}

.who-visual {
  flex: 0.8;
  max-width: 550px; /* Ista maksimalna širina kao i prva slika! */
}

.who-content {
  flex: 1.2;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.experience-card {
  position: absolute;
  bottom: -15px;
  right: -25px;
  background: var(--white);
  color: var(--teal);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 128, 128, 0.3);
}
.experience-card .years {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}
.experience-card .desc {
  font-size: 0.9rem;
  font-weight: 300;
}

.sub-label {
  color: var(--teal);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.who-content h2 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: var(--navy);
  margin: 10px 0 20px 0;
}
.who-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.who-features {
  margin-top: 40px;
}
.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-text h3 {
  margin: 0 0 5px 0;
  color: var(--navy);
  font-size: 1.3rem;
}
.feature-text p {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

/* Dugme vise->*/
.read-more-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.read-more-btn span {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.read-more-btn:hover {
  color: var(--navy);
}

.read-more-btn:hover span {
  transform: translateX(5px); /* Strelica se pomera udesno kada se pređe mišem */
}

/* Stil za sekciju OUR MISSION */
.our-mission {
  display: flex;
  align-items: center;
  padding: 80px 10%; /* Padding da prati ostale sekcije */
  background: #fff;
  gap: 60px;
  /* NOVE LINIJE ZA PORAVNANJE: */
  max-width: 1400px;
  margin: 0 auto;
}

/* Stil za Image Grid */
.mission-gallery {
  flex: 1;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 250px; /* Fiksna visina za stabilnost */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

.mission-content {
  flex: 1;
}
.mission-content h2 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: var(--navy);
  margin: 10px 0 20px 0;
}
.mission-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.mission-features {
  margin-top: 30px;
}
.mission-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.mission-icon {
  background: var(--light-blue);
  padding: 15px;
  border-radius: 50%;
  height: fit-content;
}

.mission-text h3 {
  margin: 0 0 5px 0;
  color: var(--navy);
  font-size: 1.2rem;
}
.mission-text p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .our-mission {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }
  .mission-item {
    flex-direction: column;
    align-items: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile stil */

@media (max-width: 768px) {
  /* Obezbeđeno da gallery-grid zna kako da obradi skrivene slike */
  .gallery-grid {
    grid-template-columns: 1fr; /* Prelaz na jednu kolonu */
    display: block; /* Jednostavniji izgled za mobilne uređaje */
  }

  /* Sakrivanje slika 2,3 i 4 */
  .gallery-grid img.img-2,
  .gallery-grid img.img-3,
  .gallery-grid img.img-4 {
    display: none !important;
  }

  /* Da prva slika bude istaknuta kao primarni vizuelni prikaz */
  .gallery-grid img.img-1 {
    width: 100%;
    height: 250px; /* Podešavanje za visinu da izgleda dobro na telefonima */
    margin-bottom: 20px;
    display: block;
  }
}

/* ---Stil za sekciju CONTACT --- */
.contact-location {
  padding: 80px 10%; 
  background-color: #fff;
  max-width: 1400px; /* Ključ za poravnanje */
  margin: 0 auto; /* Centriranje sekcije */
}

.contact-container {
  display: flex;
  gap: 60px; /* Ujednačen razmak  */
  align-items: center;
  justify-content: space-between;
}

.contact-info-wrap {
  flex: 1.2;
}

.contact-description h2 {
  color: var(--navy);
  font-size: clamp(2rem, 2.5vw, 3rem);
  margin-bottom: 20px;
}

.contact-description p {
  color: #666;
  margin-bottom: 40px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Osigurava da sub-label uvek stoji lepo */
.contact-description .sub-label {
  display: block;
  margin-bottom: 10px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  background-color: var(--light-blue);
  color: var(--teal);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-text p,
.info-text a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
}

.info-text a:hover {
  color: var(--teal);
}

/* Map Container */
.map-wrap {
  flex: 0.8; 
  height: 450px; /* Malo veća visina za bolji vizuelni balans */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive Mobile */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info-wrap {
    text-align: center;
  }

  .info-card {
    flex-direction: column;
    align-items: center;
  }

  .map-wrap {
    width: 100%;
    height: 350px;
  }
}


/* 2. Responsive Navigation Menu */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 15px;
    text-align: center;
  }
  nav {
    margin-top: 15px;
    display: none; /* Podrazumevano skriveno na mobilnom */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  nav.active {
    display: flex;
  }
  nav a {
    margin: 15px 0;
    font-size: 18px;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

.mobile-call-btn {
  display: none; /* Podrazumevano skriveno na desktopu */
}

/* Media upiti za ekran manji od desktopa */
@media (max-width: 992px) {
  .who-we-are .image-wrapper {
    display: none !important;
  }

  /* Sadržaj teksta da zauzme punu širinu sada kada slika nedostaje */
  .who-we-are .content-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0; /* Uklanja se pedding koji je bio namenjen za razmak oko slike */
    text-align: center; /* Opciono : centrira tekst za čistiji izgled na mobilnom */
  }
}

/* --- Stil dugmeta MOBILE CALL --- */
@media (max-width: 768px) {
  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(5, 176, 93);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.4);
    z-index: 9999; /* Osigurava da ostane iznad svega */
    width: 80%;
    max-width: 190px;
    transition: transform 0.2s ease;
  }

  .mobile-call-btn:active {
    transform: translateX(-50%) scale(0.95); /* Smanjuje se slabo kada se tapka */
  }

  /* Dodato malo razmake na dnu body tako da dugme ne sakrije tekst podnožja */
  body {
    padding-bottom: 80px;
  }
}
/* ----------------Index.html sections end-------------- */

/* ----------------Services.html sections begin-------------- */

/* --- Sekcija Services Hero --- */
.services-hero {
  position: relative;
  overflow: hidden;
  min-height: 40vh; /* Zadrži tvoju visinu */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 51, 102, 0.336), rgba(0, 128, 128, 0.27));
  padding: 80px 10%;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ovo zamenjuje background-size: cover */
  z-index: -1; /* Šalje sliku iza teksta */
}

.hero-content-services {
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.services-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.services-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 800px;
  opacity: 0.9;
}
/* NASLOV "Naše specijalističke usluge" */
.services-section-container h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-top: 70px;
  margin-bottom: 50px;
  position: relative; /* Potrebno za pozicioniranje linije */
  padding-bottom: 15px;
}

/* KREIRANJE ZELENE LINIJE ISPOD NASLOVA */
.services-section-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Centriranje linije */
  width: 80px; 
  height: 4px; 
  background-color: var(--teal); 
  border-radius: 2px;
}

/* GRID KOJI OSIGURAVA TAČNO 4 KARTICE U REDU */
.services-grid {
  display: grid;
  /* Postavljamo tačno 4 kolone za ekrane veće od 1000px */
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 10% 80px 10%;
}

/* KARTICA - DOTERIVANJE */
.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.6;
  flex-grow: 1; /* Omogućava tekstu da zauzme dostupan prostor */
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kartice na tabletima */
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 kartica na mobilnom */
  }
}

/* SMANJENJE IKONICA */
.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #f0f9f9;
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle svg {
  width: 30px;
  height: 30px;
}

/* NASLOV UNUTAR KARTICE */
.service-card h3 {
  color: var(--navy);
  font-size: 1.2rem; /* Malo manji font da bi stalo u 4 kolone */
  margin-bottom: 15px;
  line-height: 1.3;
}

/* OPIS UNUTAR KARTICE */
.service-card p {
  color: #5e6d82;
  font-size: 0.9rem; /* Smanjen font za bolji fit */
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .services-hero h1 {
    font-size: clamp(1.7rem, 2vw, 1.2rem);
  }
}
/* ----------------Services.html sections end-------------- */

/* ----------------About.html sections begin-------------- */

/* ---Stil za ABOUT HERO --- */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh; /* Zadrži tvoju visinu */
  display: flex;
  align-items: center;
  padding: 150px 10%;
  background: linear-gradient(rgba(0, 51, 102, 0.342), rgba(0, 51, 102, 0.599));
}

.hero1-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ovo zamenjuje background-size: cover */
  z-index: -1; /* Šalje sliku iza teksta */
}

.hero-content-about {
  z-index: 1;
  text-align: start;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 15px; /* Pravi stabilan razmak između naslova i teksta */
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.about-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  opacity: 0.9;
}

.hero-content-about h1 {
  position: absolute;
  top: 57%;
}
.hero-content-about p {
  position: absolute;
  top: 73%;
}

/* Responzivno prilagođavanje za mobilne */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 5%;
    min-height: 30vh;
    align-items: center; /* Centrira tekst horizontalno na mobilnom */
    text-align: center;
  }
}

/* --- Stil ya PAIN SECTION --- */
.solutions-section {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  background: var(--white);
}
.solutions-image {
  flex: 1;
}
.solutions-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.solutions-content {
  flex: 1;
}
.solutions-content h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.solutions-content p {
  margin-bottom: 20px;
  color: #666;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.solutions-list {
  list-style: none;
}
.solutions-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.solutions-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: bold;
}

/* ---Stil za sekciju TEAM  --- */
.team-section {
  padding: 80px 10%;
  background: var(--gray);
  text-align: center;
}
.team-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.team-card {
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.team-card:hover {
  transform: translateY(-10px);
}

/* Stil za kontejner slike lekara */
.team-img {
  width: 100%;
  /* max-width: 280px; Idealna širina za portret na mobilnom */
  margin: 0 auto 15px auto; /* Centriranje i razmak odozdo */
  overflow: hidden;
  border-radius: 12px; /* Da se slaže sa dizajnom ordinacije */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Na mobilnom, neka lekari idu jedan ispod drugog sa razmakom */
@media (max-width: 992px) {
  .team-card {
    margin-bottom: 40px;
    text-align: center;
  }
  .hero-content-about h1 {
    position: absolute;
    top: 57%;
    font-size: clamp(1.7rem, 2vw, 1.2rem);
  }
}

/* Na mobilnom, neka lekari idu jedan ispod drugog sa razmakom */
@media (max-width: 768px) {
  .team-card {
    margin-bottom: 40px;
    text-align: center;
  }
  .hero-content-about h1 {
    position: absolute;
    top: 57%;
    font-size: clamp(1.7rem, 2vw, 1.2rem);
  }
}

.team-card h3 {
  color: var(--navy);
  margin-bottom: 5px;
}
.team-card p {
  color: var(--teal);
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ----------------About.html sections end-------------- */

/* ----------------Contact.html sections start-------------- */

/* Stil za stranicu CONTACT */
.contact-section {
  background: var(--gray);
}
.contact-container-form {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 10%;
  gap: 50px;
}
.contact-info {
  flex: 1;
  min-width: 300px;
}
.contact-info h2 {
  color: var(--navy);
  font-size: clamp(2rem, 2vw, 3rem);
  margin-bottom: 20px;
}
.contact-info p {
  margin-bottom: 20px;
  color: #666;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.contact-form {
  flex: 1;
  min-width: 300px; /* Ne dozvoljava da postane preusko */
  max-width: 600px; /* Ne dozvoljava da se previše raširi na velikim ekranima */
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto; /* Centriranje ako je sama u redu */
}

/* Da podesi razmak između elemenata unutar forme */
.contact-form input,
.contact-form textarea {
  resize: vertical; /* Dozvoljava promenu veličine samo na dole, ne i u stranu */
  min-height: 20px;
  max-height: 200px; /* Postavljamo limit da ne bi otišla u beskonačnost */
}
.info-item {
  margin-bottom: 20px;
}
.info-item strong {
  color: var(--teal);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.info-item p,
.info-item a {
  color: #555;
  text-decoration: none;
  font-size: 1rem;
}
.info-item a:hover {
  color: var(--teal);
}
input,
textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
button {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  width: 100%;
}
button:hover {
  background: var(--navy);
}

.blog-section {
  padding: 50px 10%;
  background: var(--white);
}
.blog-list {
  list-style: none;
  padding: 0;
}
.blog-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.blog-list a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.blog-list a:hover {
  color: var(--teal);
}

/* ----------------Contact.html sections end-------------- */ 
