/*nav{
  position: fixed;    
  top: 0;              
  left: 0;
  width: 100%;         
  z-index: 1000;    
}
*/
body {
  font-family: 'Manrope', sans-serif;
}
*{
  margin: 0;
  padding: 0;
}
 nav a:hover {
  background-color: #0663c7;        
 transform: scale(1.2);
 } 

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo {
  width: 250px;
  height: auto;
}


ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #0A2A43;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

li {
  float: none;
  font-size: 20px;
}

li a,
.dropbtn {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0A2A43;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#naslov{ 
  color: white;
  text-align: center;
  font-size: 35px;
}

#naslov1{ 
  color: white;
  text-align: center;
  font-size: 25px;
}


#header{
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(primer1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


#glaven_paragraf {
  max-width: 800px;
  text-align: center;
  font-size: 1.3rem;
  padding: 20px;
  color: white;
}



/* ============================= */
/* INTRO SECTION */
/* ============================= */

.collab-intro {
  padding: 110px 10%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.collab-intro h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

.collab-intro p {
  margin-bottom: 25px;
  font-size: 17px;
  color: #444;
  line-height: 1.8;
}

/* ============================= */
/* CRITERIA SECTION */
/* ============================= */

.collab-criteria {
  padding: 120px 10%;
  background: #edf0f0;
  text-align: center;
}

.collab-criteria h2 {
  font-size: 34px;
  margin-bottom: 70px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.criteria-card {
  background: white;
  padding: 50px 35px;
  border-radius: 14px;
  transition: 0.35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: left;
}

.criteria-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.criteria-card h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.criteria-card p {
  margin-bottom: 18px;
  font-size: 15.5px;
  color: #555;
  line-height: 1.7;
}

/* ============================= */
/* PHILOSOPHY SECTION */
/* ============================= */

.collab-philosophy {
  padding: 120px 10%;
  background: #ffffff;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.collab-philosophy h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

.collab-philosophy p {
  margin-bottom: 25px;
  font-size: 17px;
  color: #444;
  line-height: 1.8;
}

/* ============================= */
/* CTA SECTION */
/* ============================= */

.collab-cta {
  padding: 120px 10%;
  background: #edf0f0;
  text-align: center;
}

.collab-cta h2 {
  font-size: 34px;
  margin-bottom: 25px;
}

.collab-cta p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.9;
}

.contact-btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 30px;
  background: #1c2e4a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #0f1c2e;
}

.contact-btn.secondary {
  background: #ffffff;
  color: #1c2e4a;
  border: 2px solid #1c2e4a;
}

.contact-btn.secondary:hover {
  background: #1c2e4a;
  color: white;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1100px) {
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .collab-hero {
    padding: 100px 7%;
  }

  .collab-hero h1 {
    font-size: 38px;
  }

  .collab-intro,
  .collab-criteria,
  .collab-philosophy,
  .collab-cta {
    padding: 80px 7%;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .criteria-card {
    text-align: center;
  }
}




.footer {
  background: linear-gradient(135deg, #0A2A43, #071c2c);
  color: white;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 0 40px 60px 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid #1e5b85;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p {
  line-height: 1.7;
  color: #d6d6d6;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #d6d6d6;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #4aa3df;
  padding-left: 5px;
}

.footer-column a {
  color: #4aa3df;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 10px;
  margin-top: 15px;
}

.footer-bottom {
  background-color: #05141f;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column h3 {
    border: none;
  }

}


/* ================= ANIMACII =================== */

/* ===== Navbar underline animation ===== */
nav ul li a {
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0%;
  height: 2px;
  background: #4aa3df;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}


/* ===== Hero Stagger Reveal ===== */
#naslov,
#glaven_paragraf {
  opacity: 0;
  transform: translateY(30px);
}

#naslov.show {
  animation: fadeUp 1s ease forwards;
}

#glaven_paragraf.show {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}


/* ===== Smooth fade-up секции ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Card Premium Hover ===== */
.info-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}


/* ===== Button subtle glow ===== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 0 15px rgba(74,163,223,0.6);
  transform: translateY(-3px);
}


/* ===== Footer fade ===== */
.footer {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Keyframes ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Dropdown mobile support ===== */
.dropdown.active .dropdown-content {
  display: block;
}