html {
  scroll-behavior: smooth;
}

:root {
  --green-dark: #1f7a5a;
  --green-accent: #6fcf97;
  --dark-bg: #193b26;
  --dark-card: #162f26;
  --white: #ffffff;

  --header-height: 100px;
  --partners-height: 70px;


}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  color: var(--gray-dark);
}

/* HEADER */
.header {
  height: var(--header-height);
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--green-accent);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100px;
}

nav a {
  position: relative;
  margin-left: 2rem;
  text-decoration: none;
  color: var(--white);
  font-size: large;
  font-weight: 500;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--green-accent);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

#about,
#schedule,
#about-us {
  scroll-margin-top: 100px;
}

.above-the-fold {
  height: 100vh;
  display: flex;
  flex-direction: column;
}


/* HERO */
.hero {
  flex: 1;
  background: 
    linear-gradient(rgba(23, 89, 66, 0.65), rgba(16, 66, 49, 0.65)),
    url("assets/background1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  letter-spacing: 2px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: 3.5rem;
}

.floating-icons i {
  position: absolute;
  top: -10%;
  color: rgba(255, 255, 255, 0.15);
  font-size: 3rem;
  animation: fall linear infinite;
}


.floating-icons i:nth-child(1) {
  left: 5%;
  animation-duration: 10s;
}

.floating-icons i:nth-child(2) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
  left: 35%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.floating-icons i:nth-child(4) {
  left: 50%;
  animation-duration: 10s;
  animation-delay: 1s;
}

.floating-icons i:nth-child(5) {
  left: 65%;
  animation-duration: 10s;
  animation-delay: 3s;
}

.floating-icons i:nth-child(6) {
  left: 80%;
  animation-duration: 10s;
  animation-delay: 5s;
}

.floating-icons i:nth-child(7) {
  left: 95%;
  animation-duration: 10s;
  animation-delay: 6s;
}


@keyframes fall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 5%;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translateY(55vh) translateX(15px);
  }

  100% {
    transform: translateY(110vh) translateX(-15px);
    opacity: 5%;
  }
}

/* PARTNERS STRIP */
.partners-strip {
  height: var(--partners-height);
  display: flex;
  align-items: center;
  background: var(--green-dark);
  overflow: hidden;
  padding: 1.2rem 0;
  border-top: 1px solid var(--green-accent);
  border-bottom: 1px solid var(--green-accent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}

.partners-strip:hover .partners-track {
  animation-play-state: paused;
}

.partner {
  flex: 0 0 auto;
}

.partner img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMACIJA */
@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* SECTIONS */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--green-dark);
  color: var(--white);
}

.section-alt h2 {
  color: var(--white);
}

.section-soft {
  background: #eaf4ec;
}

.section::after {
  content: "";
  display: block;
  height: 1px;
  width: 80px;
  margin: 4rem auto 0;
}


.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}


/* ABOUT – RICH TEXT */
.lead-text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.highlight-box {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.info-card i {
  font-size: 1.8rem;
  color: var(--green-dark);
}

.card-icon {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}


/* SCHEDULE TABLE */
.schedule-table {
  margin-top: 3rem;
}

.schedule-header,
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 2rem;
  padding: 1.2rem 1rem;
}

.schedule-header {
  font-weight: 700;
  background: var(--dark-bg);
  border-radius: 8px;
}

.schedule-row {
  border-bottom: 1px solid #ddd;
}

.schedule-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 700;
  color: var(--white);
}



/* ABOUT CARDS */
.about-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.about-card.full {
  font-size: 1rem;
}

.about-card.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-card.split.reverse {
  grid-template-columns: 1fr 2fr;
}

.about-card.split.reverse img {
  order: -1;
}

.about-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* PROJECTS */
.subheading {
  margin: 3rem 0 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-card h4 {
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

.info-card,
.project-card,
.about-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.project-card:hover,
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}



/* MOBILNO */
@media (max-width: 768px) {
  .about-card.split,
  .about-card.split.reverse {
    grid-template-columns: 1fr;
  }

  .about-card.split.reverse img {
    order: 0;
  }
}


/* FOOTER */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 1.8rem 1.5rem;
}

footer i {
  font-size: 1.3rem;
  margin-left: 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-left {
  justify-self: start;
  display: flex;
  gap: 1.4rem;
}

.footer-left a {
  color: var(--white);
  font-size: 1.4rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-left a:hover {
  opacity: 0.75;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-contact a {
  color: var(--white);
  font-size: 1.3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s ease;
}

.footer-contact a span {
  font-size: 0.9rem;
}

.footer-contact a:hover {
  opacity: 0.75;
}


.footer-center {
  justify-self: center;
  
}

.footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-right img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-right img.nbt-logo {
  height: 32px;
}

/* MOBILNO */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    row-gap: 1.2rem;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
  }

  .footer-contact {
    justify-content: center;
    flex-wrap: wrap;
  }
}
