/* BASICS */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'DM Sans', sans-serif;
background:white;
color:#2c2c2c;
line-height:1.6;
}
h1, h2, h3, h4, h5, h6{
font-family:'Poppins', sans-serif;
}

/* HERO */
.hero, .hero_title{
background:#000435;
color:white;
}
.hero{
padding:40px 60px;
}
header{
position: sticky;
top: 0;
z-index: 100;
transition: 0.3s;
padding: 40px;
}
.top-bar{
display:flex;
justify-content:space-between;
width: 100%;
max-width: 1370px;
margin: 0 auto;
transition: all 0.3s ease;
}

/* efekt po scrollu */
header.scrolled {
box-shadow:0 4px 12px rgba(0,0,0,0.08);
padding: 20px;
}
.hero_title h1{
  text-align:center;
    font-weight:600;
    font-size: clamp(24px, 5vw, 45px);
    line-height: 1.2;
    padding: 10px  10px 50px 10px;
}
  /* LOGO */
         @font-face {
            font-family: 'HK Grotesk';
            src: url('assets/font/HKGrotesk-Regular.woff2') format('woff2'),
                 url('assets/font/HKGrotesk-Regular.woff') format('woff');
            font-weight: normal;
            font-display: swap;
        }
        
.logo, .footer-logo {
            font-family: 'HK Grotesk', 'Arial', 'Helvetica', sans-serif;
        }
        
@media screen and (max-width: 900px) {
    .logo-text-large-white, header.scrolled .logo-text-large-white {
        font-size: 26px;
        font-weight: bold;
        margin: 0;
        line-height: 1.2;
        color: white;
    }
    .logo-text-small-white, header.scrolled .logo-text-small-white {
        font-size: 18px;
        color: white;
        font-weight: normal;
        margin: 0;
        line-height: 1.2;
    }
    .nav{
         display:none;
  }
}
@media screen and (min-width: 901px){
  .logo-text-large-white {
        font-size: 40px;
        font-weight: bold;
        margin: 0;
        line-height: 1.2;
        color: white;
    }
    .logo-text-small-white {
        font-size: 27px;
        color: white;
        font-weight: normal;
        margin: 0;
        line-height: 1.2;
    }
    .nav{
    max-width:1200px;
    display:flex;
    justify-content: flex-end;
    text-align: end;
    padding:0 20px;
    }  
  .hamburger, .sidebar{
    display:none;
  }
}
.logo-link{
text-decoration:none;
}
nav{
display:flex;
align-items:center;
gap:28px;
}

nav a{
color:white;
text-decoration:none;
font-size:15px;
}

.btn{
background:#3f66ff;
padding:10px 18px;
border-radius:6px;
font-weight:500;
}
@media screen and (max-width: 900px){
  .hamburger{
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border:none;
  cursor:pointer;
}
.hamburger span{
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
  }

/* SIDEBAR */
  .sidebar{
  position:fixed;
  top:0;
  left:-320px;
  width:300px;
  height:100%;
  background:#f7f7f7;
  padding:20px;
  transition:0.3s ease;
  z-index:1001;
  overflow-y:auto;
  }
  .sidebar.active{
  left:0;
  }
  .overlay{
  position:fixed;
  top:0;
  left: 0;
  width: 100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  opacity:0;
  visibility:hidden;
  transition:0.3s;
  z-index:1000;
  }
  .overlay.active{
  opacity:1;
  visibility:visible;
  }
  .sidebar-header{
    display:flex;
    justify-content:flex-end;
    margin-bottom:20px;
  }
  .close{
      background:none;
      border:none;
      font-size:22px;
      cursor:pointer;
  }
  /* sidebar content */
    .sidebar nav{
    display:flex;
    flex-direction: column;
    justify-content:flex-end;
    align-items: flex-start;
    margin:0 5px 20px 5px;
    }
  .sidebar nav a{
    background:none;
    border:none;
    font-size: 17px;
    cursor:pointer;
    display:block;
    padding:7px 0;
    border-bottom:1px solid #ddd;
    color:#111;
    text-decoration:none;
  }
}
/* CONTENT */
/* layout */
.container{
    max-width:1100px;
    margin:auto;
    padding:0 20px;
}

.container.narrow{
    max-width:700px;
}

/* sections */
.section{
    padding:80px 0;
}

.section.light{
    background:#f4f6fb;
}

/* hero */
.hero-home{
    background:#071a4a;
    color:white;
    padding:100px 20px;
    text-align:center;
}

.hero-home h1{
    font-size:clamp(28px,5vw,48px);
    line-height:1.2;
}

/* grid */
.grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

/* card */
.card{
    background:white;
    padding:30px;
    border-radius:6px;
}

/* CTA */
.cta{
    text-align:center;
}

/* form */
.form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.form input,
.form textarea{
    padding:12px;
    border:1px solid #ddd;
}

/* responsive */
@media(max-width: 768px){

    .grid-2,
    .grid-3{
        grid-template-columns:1fr;
    }

    .section{
        padding:50px 0;
    }
}
.content{
max-width:900px;
margin:60px auto;
background:white;
padding:50px 60px;
}

.content h2{
font-family:'Poppins', sans-serif;
font-size:22px;
margin-bottom:15px;
color:#0b1d51;
}

.content p{
margin-bottom:25px;
}

.content ul{
margin-left:18px;
margin-bottom:30px;
}

.content li{
margin-bottom:8px;
}
/* FOOTER */

.footer{
    position: relative;
    background:url('assets/footer-img.webp') center/cover no-repeat;
    color:#a5aec2;
    padding:60px 20px;
}
.footer-overlay{
    position:absolute;
    inset:0;
    background:#071a4a;
    opacity:0.9; 
    z-index:1;
}

.footer-container{
    position:relative;
    z-index:2;
    max-width:1000px;
    margin:auto;
}

/* LOGO */

.footer-logo{
    margin-bottom:30px;
    font-family:'DM Sans', sans-serif;
    line-height: 1.2;
}

.footer .logo-main{
    font-size:33px;
    font-weight:700;
    color:white;
}

.footer .logo-sub{
    font-size:23px;
     color: white;
}

/* CONTENT */

.footer-content h6{
    color:#a5aec2;
    font-size:15px;
    margin-bottom:10px;
}

.footer-content p{
    font-size:14px;
    margin-bottom:15px;
}

/* LINKS */
.footer-links a{
    display:block;
    color:white;
    font-weight:400;
    text-decoration:underline;
    margin-bottom:10px;
}

/* RESPONSIVE */
@media(max-width: 600px){

    .footer{
        padding:40px 20px;
    }

    .footer .logo-main{
        font-size:22px;
    }

}