/*sscroll bar */

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
}


/*scrol bar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0f172a;
  color: white;
}

.header {
  background: linear-gradient(to right, #020617, #0f172a, #020617);
  padding: 32px 24px;
  border-bottom: 4px solid #b91c1c;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.container {
  max-width: 1200px;
  margin: auto;
  width: 90%;
}

/* Top row */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
  color:white;
  flex-wrap: wrap;
  gap: 12px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.5);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 18px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 140px;
}

.info-box i {
  width: 24px;
  height: 24px;
  color: #f87171;
}

.time-box span {
  font-size: 24px;
  font-family: monospace;
  letter-spacing: 2px;
}

/* Title row */
.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  flex-wrap: wrap;
}

.hospital-icon {
  width: 48px;
  height: 48px;
  color: #f87171;
}

.title-link {
  text-decoration: none;
  color: white;
  max-width: 600px;
}

.title-link h1 {
  font-size: 2.5rem;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.title-link:hover h1 {
  color: #fca5a5;
}

.title-link p {
  font-size: 1.1rem;
  color: #cbd5f5;
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .title-link h1 {
    font-size: 2.2rem;
  }
  .title-link p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    font-size: 16px;
    padding: 10px 18px;
    gap: 8px;
  }

  .time-box span {
    font-size: 20px;
  }

  .title-row {
    flex-direction: column;
    gap: 16px;
  }

  .hospital-icon {
    width: 40px;
    height: 40px;
  }

  .title-link h1 {
    font-size: 2rem;
  }

  .title-link p {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 24px 16px;
  }

  .title-link h1 {
    font-size: 1.7rem;
  }

  .title-link p {
    font-size: 0.9rem;
  }

  .hospital-icon {
    width: 36px;
    height: 36px;
  }
}




/* Map instruction banner */
/* =========================
   HOSPITAL MAP SECTION
========================= */
.hospital-map-section {
  width: 100%;
  padding: 40px 16px 30px;
  position: relative;
}

/* =========================
   MAP INSTRUCTION
========================= */
.map-instruction {
  max-width: 1047px;
  margin: 0 auto 24px;
}

.map-instruction-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.map-instruction-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.12);
}

.map-instruction-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-instruction-text strong {
  font-size: 1.1rem;
  color: #0f172a;
  line-height: 1.2;
}

.map-instruction-text span {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.5;
}

/* =========================
   DESKTOP MAP
========================= */
#map-container {
  position: relative;
  width: 1047px;
  height: 830px;
  margin: 0 auto;
  background: transparent;
  display: block;
}

.bg-map {
  position: absolute;
  top: 22px;
  left: 0;
  width: 1047px;
  height: 785px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 8, 23, 0.22);
}

.bg-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 35%),
    linear-gradient(to bottom, rgba(15,23,42,0.05), rgba(15,23,42,0.12));
  pointer-events: none;
}

.map-border {
  position: absolute;
  inset: 0;
  border: 4px solid #0f172a;
  border-radius: 24px;
  pointer-events: none;
}

/* =========================
   MAP MARKERS
========================= */
.cross {
  position: absolute;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  z-index: 3;
  transform-origin: center;
}

.cross:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.22));
}

.cross.selected {
  transform: scale(1.28);
  z-index: 10;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.3));
}

/* =========================
   TOOLTIP
========================= */
#tooltip {
  position: absolute;
  display: none;
  align-items: center;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  pointer-events: none;
  z-index: 50;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 16px 35px rgba(2, 8, 23, 0.35);
  border: 1px solid rgba(255,255,255,0.08);
}

.tooltip-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tooltip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

#tooltip-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 13px;
}

.tooltip-arrow {
  width: 12px;
  height: 12px;
  position: absolute;
  background: rgba(15, 23, 42, 0.96);
  transform: rotate(45deg);
}

/* Arrow positions */
#tooltip.show[data-position="top"] .tooltip-arrow {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

#tooltip.show[data-position="bottom"] .tooltip-arrow {
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

#tooltip.show[data-position="left"] .tooltip-arrow {
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

#tooltip.show[data-position="right"] .tooltip-arrow {
  left: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* =========================
   MOBILE / TABLET LIST
========================= */
.hospital-mobile-list {
  display: none;
  max-width: 1047px;
  margin: 0 auto;
}

.mobile-list-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 24px 18px 8px;
}

.mobile-list-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.12);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.mobile-list-header h3 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #0f172a;
  line-height: 1.1;
}

.mobile-list-header p {
  margin: 0 auto;
  max-width: 720px;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.98rem;
}

.hospital-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hospital-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 18px 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.hospital-card-marker {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.list-cross {
  width: 42px;
  height: 42px;
  display: block;
}

.hospital-card-body {
  min-width: 0;
}

.hospital-card-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.hospital-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
  color: #0f172a;
}

.hospital-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hospital-card-arrow {
  font-size: 24px;
  font-weight: 700;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hospital-card:hover .hospital-card-arrow {
  transform: translateX(4px);
  color: #0f172a;
}

/* Accent borders */
.hospital-yellow { border-left: 6px solid #f9ff50; }
.hospital-blue { border-left: 6px solid #3793fd; }
.hospital-magenta { border-left: 6px solid #c813f5; }
.hospital-red { border-left: 6px solid #fd186c; }
.hospital-cyan { border-left: 6px solid #59faef; }

/* =========================
   BREAKPOINTS
========================= */
@media (max-width: 1200px) {
  .hospital-map-section {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 1049px) {
  #map-container {
    display: none !important;
  }
  #map-instruction{
      display:none;
  }

  .hospital-mobile-list {
    display: block;
  }

  .map-instruction {
    margin-bottom: 18px;
  }

  .map-instruction-inner {
    padding: 16px 16px;
    border-radius: 18px;
  }

  .map-instruction-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 14px;
  }

  .map-instruction-text strong {
    font-size: 1rem;
  }

  .map-instruction-text span {
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .hospital-map-section {
    padding: 28px 12px 20px;
  }

  .map-instruction-inner {
    align-items: flex-start;
    gap: 12px;
  }

  .hospital-card {
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    padding: 16px 14px;
    border-radius: 18px;
  }

  .hospital-card-marker {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .list-cross {
    width: 34px;
    height: 34px;
  }

  .hospital-card h4 {
    font-size: 0.95rem;
  }

  .hospital-card p {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .map-instruction-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }

  .map-instruction-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .mobile-list-header {
    padding: 12px 6px 4px;
    margin-bottom: 18px;
  }

  .hospital-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .hospital-card-marker {
    margin-bottom: 4px;
  }

  .hospital-card-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
  }
}


    
    
    
    
    
    
    

.main-content {
  background-color: #f8fafc;
}

/* Statistics Banner */
.stats-banner {
  background: linear-gradient(to right, #9f0712, #82181a);
  color: white;
  padding: 32px 16px;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  width: 90%;
}

/* Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

/* Card */
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

/* Icon */
.stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.stat-icon svg {
  width: 42px;
  height: 42px;
  stroke: white;
}

/* Number & Label */
.stat-number {
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1.05rem;
  color: white;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }
  .stat-number {
    font-size: 1.9rem;
  }
  .stat-label {
    font-size: 1rem;
  }
  .stat-icon svg {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .stat-icon svg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .stats-banner {
    padding: 24px 12px;
  }

  .stat-card {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .stat-icon svg {
    width: 30px;
    height: 30px;
  }
}

/* Map Section */
.map-section {
  padding: 64px 16px;
  text-align:center;
}
.map-section h2 {
  font-size: 2rem;
  color: #b91c1c;
  margin-bottom: 8px;
}
.map-section p {
  color: #4b5563;
  margin-bottom: 24px;
}
.map-placeholder {
  position: relative;
  background: #e5e7eb;
  height: 400px;
  border-radius: 12px;
}
.map-marker {
  position: absolute;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s;
}
.map-marker:hover {
  transform: scale(1.3);
}

/* Timeline */
/* Timeline Section */
.timeline-section {
  background: white;
  padding: 50px 16px;
  text-align: center;
}

.timeline-section h2 {
  color: #9b1c31; /* crvena */
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.3;
  font-weight: 700; /* jača slova bez stroke */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* lagana sjena za dubinu */
  -webkit-text-stroke: 0px; /* uklonjen crni stroke */
  letter-spacing: 1px; /* malo prozračniji tekst */
}


/* Timeline Image */
.timeline-wrapper {
  width: 100%;
  overflow-x: auto; /* Omogućava scroll ako je slika preširoka */
}

.timeline-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}



/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .timeline-section h2 {
    font-size: 2rem;
  }
  .timeline-img {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .timeline-section {
    padding: 36px 12px;
        display: none;

  }
  .timeline-section h2 {
    font-size: 1.6rem;
  }

}

/* Big Header */
/* Big Header Section */
.big-header-section {
  background: linear-gradient(to right, #0f172a, #1e293b, #0f172a);
  color: white;
  padding: 100px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 20px;
}

.big-header-section h2 {
  font-size: 3.2rem;
  color: #fca5a5;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  transition: font-size 0.3s ease;
}

.big-header-section p {
  font-size: 1.5rem;
  color: #cbd5f5;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  transition: font-size 0.3s ease;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .big-header-section {
    padding: 80px 16px;
  }
  .big-header-section h2 {
    font-size: 2.6rem;
  }
  .big-header-section p {
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .big-header-section {
    padding: 60px 12px;
  }
  .big-header-section h2 {
    font-size: 2rem;
  }
  .big-header-section p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}


/* Heritage Section */
.heritage-section {
  background: linear-gradient(to bottom, #0f172a, #020617);
  color: white;
  padding: 60px 16px;
  text-align:center;
}

/* Container */
.container-heritage {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header-heritage h2 {
  color: #f87171;
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.header-heritage p {
  font-size: 1.3rem;
  color: #cbd5f5;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

/* Timeline */
.timeline-heritage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.timeline-card {
  display: flex;
  flex-direction: column;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.timeline-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.timeline-text {
  padding: 20px 24px;
}

.timeline-text h3 {
  color: #f87171;
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.timeline-text p {
  color: #cbd5f5;
  font-size: 1rem;
  line-height: 1.5;
}

/* Reverse card for alternating layout */
.reverse-card {
  flex-direction: column-reverse;
}

/* Gallery */
.gallery-heritage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-info {
  padding: 16px 12px;
}

.gallery-info h4 {
  color: #f87171;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.gallery-info p {
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .header-heritage h2 {
    font-size: 2.4rem;
  }
  .header-heritage p {
    font-size: 1.15rem;
  }
  .timeline-text h3 {
    font-size: 1.5rem;
  }
  .timeline-text p {
    font-size: 0.95rem;
  }
  .gallery-info h4 {
    font-size: 1.15rem;
  }
  .gallery-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .timeline-heritage {
    gap: 20px;
  }
  .timeline-card {
    flex-direction: column;
  }
  .reverse-card {
    flex-direction: column;
  }
  .header-heritage h2 {
    font-size: 1.9rem;
  }
  .header-heritage p {
    font-size: 1rem;
  }
  .timeline-text h3 {
    font-size: 1.3rem;
  }
  .timeline-text p {
    font-size: 0.9rem;
  }
  .gallery-heritage {
    grid-template-columns: 1fr;
  }
  .gallery-info h4 {
    font-size: 1.1rem;
  }
  .gallery-info p {
    font-size: 0.85rem;
  }
}

/* History Section */
/* HISTORY TIMELINE */

.history-timeline{
  position: relative;
  max-width: 900px;
  margin: auto;
}

/* vertikalna linija */
.history-timeline::before{
  content:'';
  position:absolute;
  left:18px;
  top:0;
  width:3px;
  height:100%;
  background:#e5e7eb;
}

/* sekcija */
.history-section{
  margin-bottom:50px;
}

/* naslov sekcije */
.history-subtitle{
  font-size:1.4rem;
  color:#7f1d1d;
  margin-bottom:20px;
  padding-left:40px;
}

/* item */
.history-item{
  position:relative;
  padding-left:50px;
  margin-bottom:20px;
}

/* tačka na liniji */
.timeline-dot{
  position:absolute;
  left:10px;
  top:10px;
  width:16px;
  height:16px;
  background:#7f1d1d;
  border-radius:50%;
  border:3px solid white;
  box-shadow:0 0 0 3px #e5e7eb;
}

/* kartica */
.history-card{
  background:#f8fafc;
  padding:18px 20px;
  border-radius:10px;
  border-left:4px solid #7f1d1d;
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
}

/* tekst */
.history-card p{
  margin:0;
  line-height:1.6;
  color:#374151;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 16px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #82181a, #9f0712);
  color: white;
  padding: 64px 16px;
  text-align: center;
}

.container-cta {
  max-width: 1000px;
  margin: auto;
}

.cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #f87171;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.cta-text {
  font-size: 1.3rem;
  margin-bottom: 32px;
  color: #cbd5f5;
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  text-decoration: none;
  display: inline-block;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  color: white;
  font-weight: 600;
}

.cta-button:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .cta-section h2 {
    font-size: 2rem;
  }
  .cta-text {
    font-size: 1.15rem;
  }
  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 48px 12px;
  }
  .cta-section h2 {
    font-size: 1.6rem;
  }
  .cta-text {
    font-size: 1rem;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Tekst varijanta za mobilne uređaje */
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
}
@media (min-width: 641px) {
  .mobile-text {
    display: none;
  }
  .desktop-text {
    display: inline;
  }
}

/* Responsive */
@media(max-width:1024px){
  .stats-grid { grid-template-columns: repeat(2,1fr);}
  .history-grid { grid-template-columns: 1fr;}
  .gallery-grid { grid-template-columns: 1fr;}
}





.footer {
  background: linear-gradient(to bottom, #1e293b, #020617);
  color: white;
  padding: 48px 16px;
  border-top: 4px solid #b91c1c;
}

.footer .containerf {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

/* CARD */
.footer-card {
  background: rgba(15, 23, 42, 0.5);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-align:center;
}

.footer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 113, 113, 0.18);
  background: rgba(15, 23, 42, 0.62);
}

.footer-card p {
  color: #cbd5f5;
  line-height: 1.6;
  margin: 0;
  font-size: 0.96rem;
}

/* TITLE */
.footer-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-title i {
  width: 24px;
  height: 24px;
  color: #f87171;
  flex-shrink: 0;
}

.footer-title h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
  text-align:left;
}

/* LINKS */
.footer-link {
  color: #dbeafe;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  font-weight: 500;
  word-break: break-word;
}

.footer-link:hover {
  color: #b91c1c;
  text-decoration: underline;
}

.footer-map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list li:last-child {
  margin-bottom: 0;
}

.footer-text-static {
  color: #cbd5f5;
  display: inline-block;
  word-break: break-word;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom .copyright {
  color: #94a3b8;
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.footer-bottom .dedication {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 36px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-card {
    padding: 20px;
    border-radius: 10px;
  }

  .footer-title {
    gap: 10px;
    margin-bottom: 14px;
  }

  .footer-title h3 {
    font-size: 1rem;
  }

  .footer-card p,
  .footer-text-static,
  .footer-link {
    font-size: 0.94rem;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-bottom .copyright {
    font-size: 0.9rem;
  }

  .footer-bottom .dedication {
    font-size: 0.84rem;
  }
}













/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: #1e293b;
}

.containerm {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
  margin-left:10%;
}

/* =========================
   BACK STRIP / BACK BUTTON
========================= */
.back-strip {
  background: linear-gradient(to right, #f8fafc, #f1f5f9, #e2e8f0);
  border-bottom: 1px solid #cbd5e1;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.6);
}

.back-strip-container {
  padding: 14px 0;
}

.back-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  will-change: transform;
}

.back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.back-text {
  white-space: nowrap;
}

.back-link:hover {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.25);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.back-link:hover .back-arrow {
  transform: translateX(-3px);
  background: rgba(185, 28, 28, 0.12);
}

.back-link:focus-visible {
  outline: 3px solid rgba(185, 28, 28, 0.25);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .back-strip-container {
    padding: 12px 0;
  }

  .back-link {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .back-arrow {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .back-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    gap: 10px;
  }

  .back-arrow {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .back-text {
    white-space: normal;
    text-align: center;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  min-height: 720px;
  height: clamp(560px, 78vh, 820px);
  overflow: hidden;
  background: #0f172a;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}

/* Main dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  z-index: 1;
}

/* Cinematic gradient overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(2, 6, 23, 0.95) 8%, rgba(2, 6, 23, 0.78) 28%, rgba(2, 6, 23, 0.3) 58%, rgba(2, 6, 23, 0.08) 100%),
    linear-gradient(to right, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.18) 40%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-bottom {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
}

.hero-inner {
  max-width: 980px;
  padding: 0 0 56px;
}

/* =========================
   HERO BADGE
========================= */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(185, 28, 28, 0.9);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top:7px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.35);
  backdrop-filter: blur(8px);
}

.hero-badge i {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* =========================
   HERO TITLE
========================= */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  max-width: 900px;
  letter-spacing: -0.02em;
}

/* =========================
   LOCATION
========================= */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.95);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 28px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-location i {
  width: 18px;
  height: 18px;
  color: #fca5a5;
  flex-shrink: 0;
}

/* =========================
   STATS GRID
========================= */
.stats-gridd {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
}

.stat-cardd {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-cardd:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.34);
  border-color: rgba(252, 165, 165, 0.35);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.stat-header i {
  width: 17px;
  height: 17px;
  color: #fca5a5;
  flex-shrink: 0;
}

.stat-number {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  word-break: break-word;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

/* =========================
   LARGE SCREENS
========================= */
@media (min-width: 1400px) {
  .hero-inner {
    max-width: 1080px;
    padding-bottom: 70px;
  }

  .stats-gridd {
    max-width: 980px;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .hero {
    min-height: 640px;
    height: auto;
  }

  .hero-inner {
    max-width: 100%;
    padding-bottom: 42px;
  }

  .stats-gridd {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .hero {
    min-height: 560px;
    height: auto;
  }
    .hero .containerm{
        margin-left:auto;
    }

  .hero-img {
    object-position: center center;
  }

  .hero-inner {
    padding-bottom: 28px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 12px;
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero-title {
    margin-bottom: 14px;
  }

  .hero-location {
    width: fit-content;
    max-width: 100%;
    font-size: 0.95rem;
    padding: 8px 12px;
    margin-bottom: 18px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .stats-gridd {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-cardd {
    padding: 16px;
    border-radius: 16px;
  }

  .stat-header {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .stat-number {
    font-size: 1.35rem;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }

  .hero-inner {
    padding-bottom: 22px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-location {
    font-size: 0.88rem;
  }

  .hero-badge {
    border-radius: 14px;
    text-transform: none;
    letter-spacing: 0.4px;
  }

  .stat-number {
    font-size: 1.2rem;
  }
  .stat-cardd {
    padding: 10px;
    border-radius: 16px;
  }
}

/* =========================
   HISTORY SECTION
========================= */
.history {
  position: relative;
  padding: 110px 0;
}

#history,
#gallery,
#documents,
#videos{
  margin-left: auto;
}

/* =========================
   SECTION HEADING
========================= */
.section-heading {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 70px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.15);
  color: #991b1b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.history-title h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: #7f1d1d;
  letter-spacing: -0.02em;
  flex-wrap: wrap;
}

.history-title h2::before,
.history-title h2::after {
  content: "";
  width: clamp(40px, 8vw, 100px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, #fca5a5, #dc2626);
}

.section-lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  color: #475569;
}

/* =========================
   TIMELINE WRAPPER
========================= */
.history-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 70px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #dc2626, #7f1d1d, #dc2626);
  box-shadow: 0 0 18px rgba(185, 28, 28, 0.15);
}

/* =========================
   SECTION GROUP
========================= */
.history-section {
  position: relative;
  margin-bottom: 34px;
}

.history-section:last-child {
  margin-bottom: 0;
}

.history-section-head {
  margin-bottom: 18px;
}

.history-subtitle {
  position: relative;
  margin: 0 0 0 18px;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(127, 29, 29, 0.18);
}

/* =========================
   TIMELINE ITEMS
========================= */
.history-item {
  position: relative;
  margin-bottom: 22px;
}

.history-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -62px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b);
  border: 4px solid #f8fafc;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(127, 29, 29, 0.28);
  z-index: 2;
}

/* =========================
   HISTORY CARD
========================= */
.history-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 28px 30px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-left: 6px solid #dc2626;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.history-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(220, 38, 38, 0.025), transparent 30%);
  pointer-events: none;
}

.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
  border-color: rgba(220, 38, 38, 0.18);
}

.history-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.95;
  color: #1e293b;
  text-align: justify;
}

/* =========================
   LARGE DESKTOP
========================= */
@media (min-width: 1400px) {
  .history {
    padding: 130px 0;
  }

  .history-timeline {
    max-width: 1080px;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .history {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 56px;
  }

  .history-timeline {
    padding-left: 56px;
  }

  .history-timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: -48px;
    width: 22px;
    height: 22px;
  }

  .history-card {
    padding: 24px 24px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .history {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-kicker {
    font-size: 11px;
    padding: 7px 12px;
    letter-spacing: 0.8px;
  }

  .history-title h2 {
    gap: 12px;
    margin-bottom: 14px;
  }

  .history-title h2::before,
  .history-title h2::after {
    width: 34px;
    height: 3px;
  }

  .section-lead {
    line-height: 1.7;
  }

  .history-timeline {
    padding-left: 34px;
  }

  .history-timeline::before {
    left: 8px;
    width: 4px;
  }

  .history-subtitle {
    margin-left: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .timeline-dot {
    left: -30px;
    top: 20px;
    width: 16px;
    height: 16px;
    border: 3px solid #f8fafc;
  }

  .history-item {
    margin-bottom: 16px;
  }

  .history-card {
    padding: 18px 16px;
    border-radius: 14px;
    border-left-width: 4px;
  }

  .history-card p {
    font-size: 0.98rem;
    line-height: 1.8;
    text-align: left;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .history {
    padding: 56px 0;
  }

  .history-title h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .history-timeline {
    padding-left: 26px;
  }

  .history-timeline::before {
    left: 5px;
  }

  .timeline-dot {
    left: -22px;
    width: 14px;
    height: 14px;
  }

  .history-subtitle {
    margin-left: 4px;
    font-size: 0.95rem;
  }

  .history-card {
    padding: 16px 14px;
  }

  .history-card p {
    font-size: 0.94rem;
    line-height: 1.75;
  }
}

/* =========================
   GALLERY SECTION
========================= */
.gallery {
  position: relative;
  margin-bottom: 120px;
  padding-top: 10px;
}

.gallery-title {
  margin-bottom: 52px;
}

/* =========================
   GALLERY GRID
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* =========================
   GALLERY CARD
========================= */
.gallery-card {
  position: relative;
  cursor: pointer;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  isolation: isolate;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  border-color: rgba(220, 38, 38, 0.18);
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

/* Slika */
.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.08);
}

/* Dark gradient overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.2) 45%, rgba(2, 6, 23, 0.02) 100%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* =========================
   CAPTION
========================= */
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.gallery-caption-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 12px;
  color: #ffffff;
  flex: 1;
}

.gallery-caption-left i {
  width: 17px;
  height: 17px;
  color: #fca5a5;
  flex-shrink: 0;
}

.gallery-caption-left span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

/* Zoom icon */
.gallery-zoom {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(185, 28, 28, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 26px rgba(127, 29, 29, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-zoom i {
  width: 18px;
  height: 18px;
}

.gallery-card:hover .gallery-zoom {
  transform: scale(1.06);
  background: rgba(153, 27, 27, 0.95);
}

/* =========================
   EMPTY STATE
========================= */
.gallery-empty {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  border-radius: 22px;
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.gallery-empty i {
  width: 34px;
  height: 34px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.gallery-empty p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================
   FOCUS ACCESSIBILITY
========================= */
.gallery-card:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.35);
  outline-offset: 4px;
}

/* =========================
   LARGE SCREENS
========================= */
@media (min-width: 1400px) {
  .gallery-grid {
    gap: 24px;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .gallery {
    margin-bottom: 90px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .gallery-title {
    margin-bottom: 42px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .gallery {
    margin-bottom: 70px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card {
    border-radius: 18px;
  }

  .gallery-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .gallery-caption {
    padding: 12px;
    gap: 10px;
  }

  .gallery-caption-left {
    border-radius: 12px;
    padding: 9px 10px;
    gap: 8px;
  }

  .gallery-caption-left span {
    font-size: 0.9rem;
  }

  .gallery-zoom {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .gallery-zoom i {
    width: 16px;
    height: 16px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .gallery {
    margin-bottom: 56px;
  }

  .gallery-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .gallery-caption {
    padding: 10px;
  }

  .gallery-caption-left {
    padding: 8px 10px;
  }

  .gallery-caption-left span {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .gallery-zoom {
    width: 38px;
    height: 38px;
  }
}
/* =========================
   HIDDEN GALLERY ITEMS
========================= */
.hidden-gallery-item {
  display: none !important;
}
/* =========================
   GALLERY ACTIONS
========================= */
.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.gallery-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #991b1b, #b91c1c);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(127, 29, 29, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.gallery-load-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(127, 29, 29, 0.3);
}

.gallery-load-more i {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .gallery-actions {
    margin-top: 24px;
  }

  .gallery-load-more {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
    border-radius: 16px;
  }
}


/* =========================
   DOCUMENTS
========================= */
.documents {
  margin-bottom: 120px;
}

.documents-title {
  margin-bottom: 36px;
}

.documents-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

/* Custom scrollbar */
.documents-slider::-webkit-scrollbar {
  height: 10px;
}

.documents-slider::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.9);
  border-radius: 999px;
}

.documents-slider::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #fca5a5, #dc2626);
  border-radius: 999px;
}

.documents-slider::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #f87171, #b91c1c);
}

.doc-card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: 22px;
  outline: none;
}

.doc-card-inner {
  position: relative;
  height: 100%;
  min-height: 260px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(185,28,28,.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.doc-card:hover .doc-card-inner,
.doc-card:focus-visible .doc-card-inner {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  border-color: rgba(220, 38, 38, 0.35);
}

.doc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.doc-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 28px rgba(127, 29, 29, 0.28);
  flex-shrink: 0;
}

.doc-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.doc-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.doc-type-badge svg {
  width: 16px;
  height: 16px;
}

.doc-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #0f172a;
  font-weight: 800;
}

.doc-card-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.doc-card-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.doc-open-text {
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: .02em;
}

.doc-open-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.doc-open-icon svg {
  width: 18px;
  height: 18px;
}

.doc-card:hover .doc-open-icon,
.doc-card:focus-visible .doc-open-icon {
  transform: translate(2px, -2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.documents-empty {
  width: 100%;
  min-height: 220px;
  border: 2px dashed #cbd5e1;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  text-align: center;
  color: #64748b;
}

.documents-empty svg {
  width: 40px;
  height: 40px;
  color: #b91c1c;
}

.documents-empty p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* =========================
   DOCUMENTS RESPONSIVE
========================= */
@media (max-width: 992px) {
  .doc-card {
    min-width: 290px;
    max-width: 290px;
  }

  .doc-card-inner {
    min-height: 245px;
    padding: 20px;
  }

  .doc-icon-wrap {
    width: 62px;
    height: 62px;
  }

  .doc-icon-wrap svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .documents {
    margin-bottom: 90px;
  }

  .documents-slider {
    gap: 16px;
    padding: 8px 2px 14px;
  }

  .doc-card {
    min-width: 84%;
    max-width: 84%;
  }

  .doc-card-inner {
    min-height: 230px;
    padding: 18px;
    border-radius: 18px;
  }

  .doc-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .doc-icon-wrap svg {
    width: 26px;
    height: 26px;
  }

  .doc-card-content h3 {
    font-size: 1.05rem;
  }

  .doc-card-content p {
    font-size: 14px;
  }

  .doc-open-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 520px) {
  .doc-card {
    min-width: 92%;
    max-width: 92%;
  }

  .doc-card-inner {
    min-height: 220px;
    padding: 16px;
  }

  .doc-card-top {
    gap: 10px;
  }

  .doc-type-badge {
    padding: 7px 10px;
    font-size: 12px;
  }

  .doc-card-content h3 {
    font-size: 1rem;
  }

  .documents-empty {
    min-height: 180px;
    padding: 22px;
  }

  .documents-empty p {
    font-size: 14px;
  }
}

/* =========================
   VIDEOS
========================= */
.videos {
  margin-bottom: 120px;
}

.videos-title {
  margin-bottom: 36px;
}

.videos-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

/* Custom scrollbar */
.videos-slider::-webkit-scrollbar {
  height: 10px;
}

.videos-slider::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.9);
  border-radius: 999px;
}

.videos-slider::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #fca5a5, #dc2626);
  border-radius: 999px;
}

.videos-slider::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #f87171, #b91c1c);
}

.video-card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: 22px;
  outline: none;
}

.video-card-inner {
  position: relative;
  height: 100%;
  min-height: 260px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(185,28,28,.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.video-card:hover .video-card-inner,
.video-card:focus-visible .video-card-inner {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  border-color: rgba(220, 38, 38, 0.35);
}

.video-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.video-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 28px rgba(127, 29, 29, 0.28);
  flex-shrink: 0;
}

.video-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.video-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.video-type-badge svg {
  width: 16px;
  height: 16px;
}

.video-card-content h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #0f172a;
  font-weight: 800;
}

.video-card-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.video-card-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.video-open-text {
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: .02em;
}

.video-open-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.video-open-icon svg {
  width: 18px;
  height: 18px;
}

.video-card:hover .video-open-icon,
.video-card:focus-visible .video-open-icon {
  transform: translate(2px, -2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.videos-empty {
  width: 100%;
  min-height: 220px;
  border: 2px dashed #cbd5e1;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  text-align: center;
  color: #64748b;
}

.videos-empty svg {
  width: 40px;
  height: 40px;
  color: #b91c1c;
}

.videos-empty p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* =========================
   VIDEOS RESPONSIVE
========================= */
@media (max-width: 992px) {
  .video-card {
    min-width: 290px;
    max-width: 290px;
  }

  .video-card-inner {
    min-height: 245px;
    padding: 20px;
  }

  .video-icon-wrap {
    width: 62px;
    height: 62px;
  }

  .video-icon-wrap svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .videos {
    margin-bottom: 90px;
  }

  .videos-slider {
    gap: 16px;
    padding: 8px 2px 14px;
  }

  .video-card {
    min-width: 84%;
    max-width: 84%;
  }

  .video-card-inner {
    min-height: 230px;
    padding: 18px;
    border-radius: 18px;
  }

  .video-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .video-icon-wrap svg {
    width: 26px;
    height: 26px;
  }

  .video-card-content h3 {
    font-size: 1.05rem;
  }

  .video-card-content p {
    font-size: 14px;
  }

  .video-open-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 520px) {
  .video-card {
    min-width: 92%;
    max-width: 92%;
  }

  .video-card-inner {
    min-height: 220px;
    padding: 16px;
  }

  .video-card-top {
    gap: 10px;
  }

  .video-type-badge {
    padding: 7px 10px;
    font-size: 12px;
  }

  .video-card-content h3 {
    font-size: 1rem;
  }

  .videos-empty {
    min-height: 180px;
    padding: 22px;
  }

  .videos-empty p {
    font-size: 14px;
  }
}
/* =========================
   CTA SECTION
========================= */
.cta {
  position: relative;
  margin-top: 80px;
  padding: 90px 16px;
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.12), transparent 40%),
    linear-gradient(135deg, #0f172a 0%, #111827 50%, #1e293b 100%);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 28px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: #fecaca;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.cta-badge i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.cta h3 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 35px rgba(185, 28, 28, 0.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cta-btn i {
  width: 20px;
  height: 20px;
  stroke-width: 2.3;
}

.cta-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.42);
}

.cta-btn:active {
  transform: translateY(-1px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .cta {
    margin-top: 60px;
    padding: 70px 14px;
  }

  .cta-inner {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .cta-badge {
    font-size: 13px;
    padding: 8px 14px;
    gap: 8px;
  }

  .cta h3 {
    margin-bottom: 12px;
  }

  .cta p {
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 56px 12px;
  }

  .cta-inner {
    padding: 24px 14px;
    border-radius: 18px;
  }

  .cta-badge {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .cta p {
    font-size: 0.94rem;
  }

  .cta-btn {
    min-height: 52px;
    font-size: 15px;
    gap: 10px;
  }

  .cta-btn i {
    width: 18px;
    height: 18px;
  }
}


/* ============================= */
/* RESPONSIVE FIX – GLOBAL */
/* ============================= */

img {
  max-width: 100%;
  height: auto;
}

.container,
.containerf,
.containerm {
  max-width: 1200px;
  width: 100%;
  padding: 0 16px;
}

