*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.header-box{
    background: url('/img/switzerland-2.webp') center/cover no-repeat;
    width: 100vw;
    position: relative;
}
.hero {
    position: relative;
    color: #ffffff;
    height: 80vh;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay Blur */
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(105, 105, 105, 0.507);
    z-index: 1;
}

.hero-item {
    position: relative;
    z-index: 2;
    text-align: center;
    border-radius: 10px;
}
.hero-item h1{
    text-shadow: 1px 1px 1px #000000;
}
p,
li{
    color: #210a5f;
}


.cta-button {
    background: #16b079;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #fff;
}

.cta-button:hover {
    background: #139467;
}

/* Sekcja aplikacyjna */
.application-section {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #eee;
    margin: 20px 0px;
  }

  #faq {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e6e6e6;
}

#faq h2 {
    color: #004080;
    margin-bottom: 20px;
}

details {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6e6e6;
}

summary {
    font-weight: bold;
    font-size: 16px;
    color: #004080;
    cursor: pointer;
}

details p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

details[open] {
    background: #e6f0ff;
}

/* Obrazy */
.content-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

h1{
    font-size: 6em;
    font-weight: bold;
    margin-bottom: 40px;
    columns: #ffffff;
}
h2{
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #004080;
}
.intro{
    background-color: cornsilk;
    padding: 10px;
    border-radius: 10px;
    color: #003366;
}
.highlight{
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #c5c3c3;
}

.section{
    margin: 30px 0px;
}


.highlight-img{
    width: 20px;
    height: 20px;
    margin: 5px;
}
.navbar{
    padding: 20px 0px;
}

footer{
    background-color: #004080;
    margin-top: 40px;
    padding: 20px;
}
footer p{
    color: #fff;
}

.content-image{
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #c1dffd;
}
.navbar-brand img{
    width: 280px;
    height: auto;
}

.contact-section {
    padding: 40px 20px;
    border-radius: 10px;
}
 
.contact-section h2 {
    color: #004080;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 15px;
    margin-bottom: 20px;
}

.contact-info .copy-email {
    font-family: monospace;
    background: #c1dffd;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.contact-list {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.contact-list li {
    margin: 5px 0;
}
.text-contact{
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 15px;
    background-color: #f4faff;
}
.slogan{
    color: #fff;
    font-size: 18px;
}
.content-image{
   float: right;
   border-radius: 10px;
   box-shadow: 10px 10px 5px #888888;
}

.navbar.navbar-expand-lg.navbar-light.bg-light {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
  }
  .nav-item .nav-link:hover {
    color: #007BFF; /* Zmiana koloru tekstu na niebieski */
}

.nav-item .nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: #007BFF; /* Kolor podkreślenia */
    transition: width 0.3s ease-in-out;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}


@media (max-width: 600px){
    .hero-item,
    .slogna-par{
        display: inline;
    }
    .hero-item{
        flex-direction: column;
    }
}