@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body {
    font-family: 'Poppins', sans-serif;
    
    background: linear-gradient(135deg, #0d0d15 0%, #16162a 50%, #1f2035 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 50vh;
}
footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -2px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(11, 48, 168, 0.636), transparent);
    filter: blur(6px);
}

footer {
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  background: rgba(18, 18, 32, 0.85);
  backdrop-filter: blur(6px);
   border-top:1.5px solid rgba(83, 120, 212, 0.384);
  justify-content: center;
  gap: 2rem;
  
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 32, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
nav {
   
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-bottom:1.5px solid rgba(83, 120, 212, 0.384);
      position:relative; 
      z-index:10;      
     }
     
     nav::after { 
      content:""; 
      position:absolute; 
      left:0; 
      right:0; 
      bottom:-2px;     
      height:4px; 
      background:linear-gradient(90deg,transparent,rgba(11, 48, 168, 0.9),transparent); 
      filter:blur(6px); 
     
     }


nav a {
    position: relative;
    font-weight: 500;
    letter-spacing: .5px;
    text-decoration: none;
    color: #ffffff;
    transition: color .3s ease;
}
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #4fa3ff;
    transition: width .3s ease;
}
nav a:hover {
    color: #4fa3ff;
}
nav a:hover::after {
    width: 100%;
}

time {
  font-size: smaller;
}

main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}
.s1 {
    text-align: center;
    margin-bottom: 4rem;
}
.s1 h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}
.s1 p {
    max-width: 700px;
    margin: 0 auto;
    color: #a0a3b8;
}

#s3 .div1Grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}
@media (min-width: 600px) {
    #s3 .div1Grid {
        grid-template-columns: repeat(2, 1fr);
    }
       
}


@media (max-width: 600px){
    nav{             
        gap:1.25rem;
                flex-direction:column;
        align-items:center;   
        gap:.5rem;
        padding:1rem 1.5rem;
    }
    nav .logo{          
        font-size:1rem;
               position:static;    
        order:-1;           
        margin-bottom:.25rem;
        font-size:1rem;
    }
     
  header .brand{
        font-size:1.25rem;
        padding:.6rem 1.5rem .2rem;
    }
  

}



@media (min-width: 900px) {
    #s3 .div1Grid {
        grid-template-columns: repeat(3, 1fr);
}
}
.div1 {
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(130deg, #1e1e34 0%, #2f3664 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.div1:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.div1 h3 {
    margin-bottom: .75rem;
    background: linear-gradient(90deg, #4fa3ff, #9f7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.div1 p {
    color: #c2c4d6;
}


details {
  background: linear-gradient(130deg, #1e1e34 0%, #2f3664 100%);
    border-radius: 1rem;
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    transition: box-shadow .3s ease;
}
details[open] {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
details summary {
    cursor: pointer;
    font-weight: 500;
}
details p {
    color: #c2c4d6;
    margin-top: .75rem;
}
details img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: .75rem;
  margin-top: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
}



.section {
    margin-bottom: 3rem;
    border:1.5px solid rgba(120, 153, 237, 0.384);
    border-radius: 20px;
    box-shadow: rgba(41, 54, 176, 0.35) 0px 6px 18px;
    padding:40px 30px;
  }

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #4fa3ff, #9f7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section p {
    margin-bottom: 1.25rem;
    color: #c2c4d6;
}
.section img {
    width: 80%;
    max-height: 330px;
    object-fit: cover;
    border-radius: .75rem;
    margin-top: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

header .brand{
    display:block;               
    text-align:center;
    padding:.8rem 2rem .4rem;    
    font:700 1.6rem/1.1 'Poppins', sans-serif;
    letter-spacing:1px;

    background:linear-gradient(90deg,#4fa3ff,#9f7bff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

h1 .brand {
   background:linear-gradient(90deg,#4fa3ff,#9f7bff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    font-size:smaller;
}






@media (max-width: 768px) {
    .timeline li {
        padding-left: 30px;
}
    .timeline li::before {
        left: 0;
}
.timeline ol li .details .h33 {
  font-size: 1.14rem;
  
  margin: 15px 0;
}

 nav{             
        gap:1.25rem;
                flex-direction:column;
        align-items:center;   
        gap:.5rem;
        padding:1rem 1.5rem;
    }
    nav .logo{          
        font-size:1rem;
               position:static;    
        order:-1;           
        margin-bottom:.25rem;
        font-size:1rem;
    }
     

}



.timeline li img {
  width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: .75rem;
    margin-top: 1rem;

}

.timeline {
  padding: 40px 40px;
  margin: 0 auto;
  max-width: 1000px;
  color: #ffffff;
  border:1.5px solid rgba(83, 120, 212, 0.384);
  border-radius: 20px;
  box-shadow: rgba(41, 54, 176, 0.35) 0px 6px 18px;

}
.timeline ol {
  position: relative;
  list-style: none;
}
.timeline ol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #4fa3ff;
}
.timeline ol li .unutarnje {
  padding: 20px 180px;
  margin-bottom: 8vh;
}
.timeline ol li .timeline2 {
  position: relative;
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 0.9;
}
.timeline ol li .timeline2::before,
.timeline ol li .timeline2::after {
  content: "";
  position: absolute;
  background: #4fa3ff;
}
.timeline ol li .timeline2::before {
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  transition: width 0.8s linear;
}
.timeline ol li .timeline2::after {
  top: calc(50% - 8px);
  left: -60px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: left center;
  transition: all 0.4s linear;
  box-shadow: 0 0 6px #2e6fe9,
             0 0 12px #58bfcf,
             0 0 18px #ba82ff;
}
.timeline ol li time,
.timeline ol li .details * {
  opacity: 0;
  transition: 0.5s;
  transition-delay: 1.7s;
}
.timeline ol li time {
  display: inline-block;
  transform: translateY(-30px);
}
.timeline ol li .details * {
  transform: translateY(30px);
}
.timeline ol li .details h3 {
  font-size: 2rem;
  
  margin: 15px 0;
}


.timeline ol li.in-view .timeline2::before {
  width: 120px;
}
.timeline ol li.in-view .timeline2::after {
  transition-delay: 0.8s;
  transform: scale(1.5);
}
.timeline ol li.in-view time,
.timeline ol li.in-view .details * {
  opacity: 1;
  transform: none;
}
.timeline ol li.in-view time {
   transition-delay: 1.3s;
}

.timeline ol li.in-view .details h3 {
   transition-delay: 1.5s;
}

.timeline ol li.in-view .details p {
   transition-delay: 1.7s;
}

@media (max-width: 700px) {
  .timeline ol li .unutarnje {
   padding: 20px 40px;
}

  .timeline ol li .timeline2::before {
   display: none;
}

  .timeline ol li .timeline2::after {
    left: -76px;
    transform-origin: center;
}

  .timeline ol li.in-view .timeline2::after {
   transition-delay: 0s;
}

  .timeline ol li.in-view time {
   transition-delay: 0.5s;
}

  .timeline ol li.in-view .details h3 {
   transition-delay: 0.7s;
}

  .timeline ol li.in-view .details p {
   transition-delay: 0.9s;
}
}

.timeline ol li .unutarnje {
  margin-bottom: 8vh;
  background:linear-gradient(130deg, #10101d 0%, #202443 100%);
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 18px;
  opacity: 0;
  transform: translateY(30px);
}
.timeline ol li.in-view .unutarnje {
  opacity: 1;
  transform: none;
}

.unutarnje h3 {
  background: linear-gradient(90deg, #4fa3ff, #9f7bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.timeline ol li time {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

#s2 h2 {
    text-align: center;
    color: #4fa3ff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
#s2 p {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    color: #b6b9c7;
}


nav .logo{
    position:absolute;        
    left:1.5rem;              
    top:50%; transform:translateY(-50%);

    font-weight:700;
    font-size:1.1rem;
    letter-spacing:1px;

    background:linear-gradient(90deg,#4fa3ff,#9f7bff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}


nav .logo::after{display:none;}

.s1,
#s2{
  
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;

    text-align: left;
}

#s2 h2,
#s2 p{
    text-align: left;
}


.s1 p,
#s2 p{
    margin: 0;
}