@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background-color: #fff;
    font-size: 12pt;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/*
***********************
* Navbar and sidebar  *
***********************
*/

nav {
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    padding-right: 20px;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 90px;
}

nav a  {
    width: max-content;
    margin: 35px 20px 15px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    padding-bottom: 7px;
}

nav li.active a::after:not(.sidebar li.active a::after){
    width: 60px;
    background-color: #ddd;
}

nav li a::after {
    content: '';
    height: 2px;
    width: 0;
    background-color: #1B69B2;
    position: absolute;
    bottom: 0px;
    left: 0px;
    transition: width 0.25s ease-in-out;
}

nav li:first-child a:hover::after {
    width: 0; 
}

nav li:not(:first-child, :last-child) a:hover::after {
    width: 60px; 
}

nav li:first-child {
    margin-right: auto;
}

nav li:first-child a {
    margin-top: 30px;
}

nav li.contact-link a {
    width: max-content;
    background-color: #1B69B2;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 27px;
    margin-left: 30px;
    transition: 0.3s;
}

nav li.contact-link a:hover {
    background-color: #207fd8;
}

nav li.mainlogo img {
    width: 400px;
    height: 31px;
}

nav li.hamburger-menu  {
    display: none;
}

nav li.close-menu {
    margin-bottom: 40px;
}

nav li.hamburger-menu a {
    margin-top: 25px;
}

nav li.close-menu a {
    margin-top: 10px;
}



.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
    height: 60px;
}

.sidebar li a {
    width: 100%;
}


@media (max-width: 1200px) {

    /* Top Navigation */
    .hide-on-mobile {
        display: none;
    }

    nav li.hamburger-menu  {
        display: block;
    }

    nav a {
        margin: 0px 20px;
    }

    .sidebar li.active a {
       font-weight: bold;
       color: #1B69B2
    } 

}

@media (max-width: 768px) {
	nav {
		padding-right: 0;
	}
	nav li.mainlogo img {
		width: 220px;
		height: 17px;
		padding-top: 10px;
	}
}



/*
***********************
*    Hero Section     *
***********************
*/
.hero {
    position: relative;
    height: calc(100vh - 90px); /* subtract height of navigation */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(to bottom right, #1b69b2, #ddd);
    overflow: hidden;
}

.hero-content {
    position: absolute;
    left: 7%;
    color: white;
    max-width: 900px;
    opacity: 0;
    animation: fadeIn 3s forwards 0.5s;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-content p.subheadline{
    margin-bottom: 50px;
    font-size: 1.5rem;
}

.hero-content a {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    background-color: #1b69b2;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
}

.hero-content a:hover {
    color: #1b69b2;
    background-color: #fff;
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 95%;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1600px) {
    .hero-content h1 {
        font-size: 4rem;
    }

}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1400px) and (orientation:portrait) {
    .hero {
        height: calc(50vh - 90px);
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top:40px;
    }
	.hero-content h1 {
		font-size: 1.8rem;
		margin-bottom: 5px;
	}
	.hero-content p, .hero-content p.subheadline {
		font-size: 1.0rem;
	}
    .hero-image {
        height: 60%;
    }
	
}




/* General */
.divider {
    border-top: solid 1px #e6e6e6;
    height: 1px;
    padding: 0px;
    margin-bottom: 30px;
}

/* Section mainsection */
.mainsection {
    background-color: #fff;
    padding: 100px 0;
}

.mainsection .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.mainsection-header {
    text-align: left;
    margin-bottom: 20px;
}

.mainsection-header p.section-tag {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 1.2rem;
    margin-bottom: 0rem;
    line-height: 1rem;
    position: relative;
    padding-left: 24px;
}

.mainsection-header p.section-tag::before {
    content: '';
    background-color: #1b69b2;
    height: 15px;
    width: 15px;
    position: absolute;
    top:0;
    left:0;
}

.mainsection-header h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #888;
    font-weight: 400;
}

.mainsection-content-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.mainsection-content {
    flex: 1 1 50%;
    color: #888;
    font-size: 1.4rem;
    line-height: 1.7;
}

.mainsection-content p {
    margin-bottom: 15px;
}

.mainsection-content .about-link {
    display: inline-block;
    margin-top: 20px;
    color: #1b69b2;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.4rem;
    position: relative;
}

.about-link::after {
    padding-left: 10px;
    content: "»";
    transition: padding-left 0.4s;
}

.about-link:hover::after {
    padding-left: 20px; 
}

.mainsection-map {
    flex: 1 1 50%;
    text-align: center;
}

.mainsection-map img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1600px) {
    .mainsection {
        padding: 100px 30px;
    } 
}

@media (max-width: 1400px) {
    .mainsection-header h2{
        line-height: 4rem;
        margin-top: 15px;  
    }
}

@media (max-width: 1024px) {
    .mainsection-content-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
	.mainsection {
        padding: 40px 5px;
    }
	.mainsection-header h2 {
		font-size: 2rem;
		line-height: 2.5rem;
	}
    .mainsection-header p.section-tag {
        font-size: 1.2rem;
    }
    .mainsection-content {
        font-size: 1.2rem;
        hyphens: auto;
    }

    .mainsection-content .about-link {

    }

}

/* Wind Big Picture */
.mainsection.mission {
    margin: 100px 0 70px; 
    background-image: url('../images/misc/wind_energy_poland.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    padding: 600px 0 50px 0
}

.mission p {
    color: #fff;
    line-height: 2.2rem;    
}

.mission h2 {
    color: #fff;
    line-height: 4rem
}

.mainsection.mission .mainsection-header p {
    color: #fff;
    padding-bottom: 10px;
}

@media (max-width: 1600px) {
    .mainsection.mission .container {
        padding: 0px 50px;
    } 
}

@media (max-width: 768px) {
    .mainsection.mission  {
		padding: 0;
		
    } 
    .mainsection.mission .container {
		padding: 60px 20px 40px 30px;
		background-color: rgba(0,0,0,0.4);
	}
	.mission h2 {
		font-size: 1.5rem;
		line-height: 2.2rem;
	}
	.mission p {
		line-height: 1.6rem;
		font-size: 1rem;
	}

}

/* Teaser Start */
.teaser {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.teaser-item {
    text-align: left;
    position: relative;
    overflow: hidden; /* Ensures the slide effect stays within bounds */
}

.teaser-item img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 auto;
    border: 1px solid #e6e6e6;
}

.teaser-item h3 {
    margin-bottom: 10px;
    font-size: 1.45rem;
    color: #888;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.14rem;
    position: relative;
}

.teaser-item h3::before {
    content: '|';
    padding-right: 6px;
    color: #888;
    transition: color 0.3s;
}

.teaser-item:hover h3::before {
    color: #1b69b2; /* Blue color on hover */
}

.teaser-item::after {
    content: '';
    position: absolute;
    bottom: 2px; /* Positioned at the bottom of the image */
    left: 1px;
    width: 0%;
    height: 4px;
    background-color: #1b69b2; /* Blue color */
    transition: width 0.35s ease-in-out;
    box-sizing: border-box; /* Ensures proper sizing */
}

.teaser-item:hover::after {
    width: calc(100% - 2px); /* Matches the image width minus the border */
}


.teaser-item:hover {
    cursor: pointer;
}

.marketsegments .teaser-item h3 {
    text-transform: none;
}

.marketsegments .teaser-item img {
    aspect-ratio: auto;
}

@media (max-width: 1650px) {
	.marketsegments .teaser {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
    .marketsegments .teaser-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .teaser-item h3 {
        font-size: 1.3rem;
    }

    .teaser-item img {
        max-width: 450px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .teaser {
       
    }
    .teaser-item h3 {
        font-size: 1.3rem;
    }
    .teaser-item img {
        max-width: 1000px;
    }
}


.footer {
    padding: 60px 0 40px 0;
    background-color: #888;
    color: #fff;
    display: flex;
    justify-content: center;
}

.footer > div {
    min-width: 25%;
}


.footer h2 {
    font-weight: 400;
    font-size: 1.5rem;
}

.footer ul {
    margin-top: 18px;
    list-style: none;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    line-height: 2.6rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .footer:nth-child(2) {
        display: none;
    }
}


@media (max-width: 577px) {
    .footer {
        display: block;
    }
    .footer-legal, .footer-navigation {
        margin: 50px 10px;
        width: 40%;
        padding-left: 30px;
        display: inline-block;
        vertical-align: top;
    }
    .footer-legal h2, .footer-navigation h2 {
        font-size: 1.5rem;
    }
}