
* {
  box-sizing: border-box;
  font-family: "Jura", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
/* LIGHT MODE DEFAULT */
:root {
  --body-bg: linear-gradient(to bottom, #87CEEB 0%, #ffffff 100%);
  --header-bg: whitesmoke;
  --header-text: black;
  --hero-bg: linear-gradient(to bottom, #87CEEB 0%, #ffffff 100%)
  --hero-text-color: #000000;
  --hero-fade-bg:  linear-gradient(rgba(255,255,255,0) 15%, rgba(255,255,255,1) 100%);
  --hero-gradient: linear-gradient(90deg, #c72cc7, #eb6ee3, #00c6ff, #00617c);
  --sustainability-bg: rgb(255, 255, 255);
  --sustainability-text: #111334;
  --turbine-bg: url("./bg2.jpg");
  --turbine-gradient: linear-gradient(
      to bottom,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.7) 30%,
      rgba(255,255,255,0) 60%
    );
  --turbine-text-bg: rgba(255,255,255,0.1);
  --turbine-text-color: #111334;
}

/* DARK MODE */
body.dark {
  --body-bg: #051937;
  --header-bg: #c8c0c090;
  --header-text: #ffffff;
  --hero-bg: linear-gradient(to bottom, #051937, #0e315f, #164c8b, #1969ba, #1287eb);
  --hero-text-color: #ffffff;
  --hero-fade-bg: linear-gradient(rgba(50,50,50,0) 0%, rgba(50,50,50,1) 100%);
  --hero-gradient: linear-gradient(90deg, #bb86fc, #d646cf, #03dac6, #03a9f4);
  --sustainability-bg:linear-gradient(
        to bottom,
        #322542 0%,          /* solid color at top */
        #ffffff 100%         /* fade to the starting color of the next section */
    );
  --sustainability-text: #e0e0e0;
  --turbine-bg: url("./bg2.jpg"); /* optional dark version */
  --turbine-gradient: linear-gradient(
        to bottom,
      rgba(30,30,30,1) 0%,
      rgba(30,30,30,0.7) 30%,
      rgba(30,30,30,0) 60%
    );
  --turbine-text-bg: rgba(0,0,0,0.3);
  --turbine-text-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background: var(--body-bg);
    transition: background 0.3s ease;
}


.header{
    margin: 25px auto 0px;
    background-color: var(--header-bg);
    color: var(--header-text);
    transition: background-color 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(10px);
    width: 1200px;
    height: 80px;
    position: sticky;
    top: 15px;
    z-index: 1000;

    display: flex;
    justify-content:space-between;
    padding-right: 40px;
    align-items: center;
    border: black 0.2px solid;
    border-radius: 25px;
}
.header img {
    height: 70px;
    display: block;
    margin-left: 30px;
    padding-top: 3px;
}
.navbar{
    display: flex;
    gap: 34px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
}
.navbar a {
    text-decoration: none;
    color: var(--header-text);
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 400;
}
.navbar a:hover {
    background-color: rgb(107, 196, 94);
    padding: 8px 15px;
    border-radius: 12px;
    transition: 0.3s
}
.checkbox-wrapper-5{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #000000;
}
.checkbox-wrapper-5 .check {
  --size: 30px;
  position: relative;
  background: linear-gradient(90deg, #3b383b, #2e2c2c);
  line-height: 0;
  perspective: 400px;
  font-size: var(--size);
}

.checkbox-wrapper-5 .check input[type="checkbox"],
  .checkbox-wrapper-5 .check label,
  .checkbox-wrapper-5 .check label::after,
  .checkbox-wrapper-5 .check label::before,
  .checkbox-wrapper-5 .check {
  appearance: none;
  display: inline-block;
  border-radius: var(--size);
  border: 0;
  transition: .35s ease-in-out;
  box-sizing: border-box;
  cursor: pointer;
}

.checkbox-wrapper-5 .check label {
  width: calc(2.2 * var(--size));
  height: var(--size);
  background: #74c1ed;
  overflow: hidden;
}

.checkbox-wrapper-5 .check input[type="checkbox"] {
  position: absolute;
  z-index: 1;
  width: calc(.8 * var(--size));
  height: calc(.8 * var(--size));
  top: calc(.1 * var(--size));
  left: calc(.1 * var(--size));
  background: linear-gradient(45deg, #dedede, #ffffff);
  box-shadow: 0 6px 7px rgba(109, 205, 232, 0.3);
  outline: none;
  margin: 0;
}

.checkbox-wrapper-5 .check input[type="checkbox"]:checked {
  left: calc(1.3 * var(--size));
}

.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label {
  background: transparent;
}

.checkbox-wrapper-5 .check label::after,
  .checkbox-wrapper-5 .check label::before {
  content: "· ·";
  position: absolute;
  overflow: hidden;
  left: calc(.15 * var(--size));
  top: calc(.5 * var(--size));
  height: var(--size);
  letter-spacing: calc(-0.04 * var(--size));
  color: #9b9b9b;
  font-family: "Times New Roman", serif;
  z-index: 2;
  font-size: calc(.6 * var(--size));
  border-radius: 0;
  transform-origin: 0 0 calc(-0.5 * var(--size));
  backface-visibility: hidden;
}

.checkbox-wrapper-5 .check label::before {
  content: "●";
  top: calc(.65 * var(--size));
  left: calc(.2 * var(--size));
  height: calc(.1 * var(--size));
  width: calc(.35 * var(--size));
  font-size: calc(.2 * var(--size));
  transform-origin: 0 0 calc(-0.4 * var(--size));
}

.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::after,
  .checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::before {
  left: calc(1.55 * var(--size));
  top: calc(.4 * var(--size));
  line-height: calc(.1 * var(--size));
  transform: rotateY(360deg);
}

.checkbox-wrapper-5 .check input[type="checkbox"]:checked + label::before {
  height: calc(.16 * var(--size));
  top: calc(.55 * var(--size));
  left: calc(1.6 * var(--size));
  font-size: calc(.6 * var(--size));
  line-height: 0;
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-bg);
    transition: background 0.3s ease;
    overflow:hidden; 
    padding-top: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 1;
}

.hero-text {
    max-width: 1090px;
    text-align: center; 
}

.text-hero-h1-1 {
    margin: 0px;
    padding-bottom: 0px;
    font-size: 90px;
    font-weight: bolder;

   
    background: var(--hero-gradient);
    transition: background 0.3s ease;
    background-size: 300% 100%;  

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    display: inline-block;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.text-hero-h1-2 {
    font-size: 78px;
    color: var(--hero-text-color);
    transition: color 0.3s ease;
    margin: 0px;
    padding-bottom: 0px;
}

.dot-loader {
    display: inline-block;
    font-weight: bold;
    color:var(--hero-text-color);  
    transition: color 0.3s ease;
    margin-left:1pxpx; 
    position: relative;
    width: 20px;
}

.dot-loader::after {
    content: '.';
    animation: dots 3s steps(3, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}


.hero-text p {
    font-size: 18px;
    color: var(--hero-text-color);
    transition: color 0.3s ease;
    line-height: 1.5;
}


.hero-fade {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: var(--hero-fade-bg);
    pointer-events: none;
}
.weather-card {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  background: linear-gradient(145deg, rgba(46, 202, 246, 0.85), rgba(24, 119, 208, 0.85));
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px;
  color: #000;
  font-family: "Jura", sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: background 0.4s ease, transform 0.3s ease;
  z-index: 10;
}

body.dark .weather-card {
  background: linear-gradient(145deg, rgba(50,50,50,0.85), rgba(30,30,30,0.85));
  color: #fff;
}

.weather-card:hover {
  transform: scale(1.05);
  background: linear-gradient(145deg, rgba(187,134,252,0.85), rgba(3,218,198,0.85));
}

.weather-summary {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
}

.other-cities {
  margin-top: 10px;
  font-size: 14px;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  line-height: 1.3;
}

.weather-card:hover .other-cities {
  max-height: 200px;
  opacity: 1;
}

.other-cities p {
  margin: 3px 0;
}


.sustainability-section {
    background-color: var(--sustainability-bg);
    transition: background-color 0.3s ease;
    padding: 100px 20px;
}

.sustainability-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--sustainability-bg);
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
}

.sustainability-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--sustainability-text);
    transition: color 0.3s ease;
}

.sustainability-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 60px;
}

/* Two-column blocks */
.sustainability-blocks {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.sustainability-block {
    max-width: 380px;
    text-align: left;
}

.sustainability-block h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--sustainability-text);
    transition: color 0.3s ease;
}

.sustainability-block p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sustainability-text);
    transition: color 0.3s ease;
}

.turbine-section {
    position: relative;
    max-height: 800px;
    min-height: 600px;
    background:
       var(--turbine-gradient),
        var(--turbine-bg);
    background-repeat: no-repeat;
    background-position:center ;
    background-size:cover;
    /* background-color: #87ceeb; sky blue base */
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.turbine-content {
    width: 100%;
    max-width: 1200px;
    padding-left: 80px;
    position: relative;
    z-index: 2;
}

.turbine-text-box {
    max-width: 600px;
    background-color: var(--turbine-text-bg); /* 10% transparency */
    color: var(--turbine-text-color);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.turbine-text-box h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--turbine-text-color);
    transition: color 0.3s ease;
}

.turbine-text-box p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--turbine-text-color);
    transition: color 0.3s ease;
}

.team-title{
    text-align: center;
    font-size: 42px;
    color: wheat;
}