body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  color: #222;
}
.white-bg, .gray-bg { text-align: center; }
.white-bg { background-color: #fff; }
.gray-bg { background-color: #f7f7f7; }
.blue-bg { background-color: #0074c2; color: #fff; }
.fade-in { opacity: 0; animation: fadeIn 1s ease-in forwards; }
.fade-in-delay { opacity: 0; animation: fadeInDelay 3s ease-in forwards; animation-delay: 0.5s; }
.hover-bright img { transition: filter 0.3s ease; }
.hover-bright img:hover { filter: drop-shadow(0 0 20px rgba(255,255,255,0.7)) brightness(1.3); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDelay { from { opacity: 0; } to { opacity: 1; } }

header { position: relative; text-align: center; color: white; }
.header-logo { position: absolute; top: 15px; left: 20px; width: 120px; }
.header-gif { width: 100%; max-height: 400px; object-fit: cover; }
.header-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
header h1 { font-size: clamp(2rem, 5vw, 6rem); font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.4); }
header h2 { font-size: clamp(1rem, 2.5vw, 2rem); color: #d9d9d9; margin-top: 10px; letter-spacing: 3px; }

.welcome-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 60px 20px;
}
.welcome-logo img { width: 280px; max-width: 90%; }
.welcome-text { flex: 1 1 400px; padding: 20px; text-align: left; }
.welcome-text h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 20px; }
.welcome-text p { font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.6; }

.value-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: left;
}
.value-text, .value-image { flex: 1 1 400px; padding: 20px; }
.value-text { margin-left: 8%; }
.blue-title { color: #0074c2; }
.big-title { font-size: clamp(2.2rem, 3vw, 3.6rem); font-weight: 700; }
.value ul {
  list-style-type: disc;
  color: #0074c2;
  margin: 20px 0;
  padding-left: 40px;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}
.value-image img { max-width: 530px; width: 90%; margin-left: 5px; }

.gear-up {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/gears-cogwheels.jpg') center/cover no-repeat;
  background-size: 100% 85%;
  text-align: center;
  color: white;
  padding: 125px 20px;
}
.gear-title {
  color: #0074c2;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 700;
}
.gear-up .three-words {
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.prepare img { max-width: 75%; border-radius: 10px; margin-top: 20px; }
.photo-block img { max-width: 40%; }
.caption { font-size: 1rem; color: #555; }
.video-placeholder {
  background-color: #e0e0e0;
  border: 2px dashed #0074c2;
  padding: 40px;
  color: #0074c2;
  font-weight: 600;
  border-radius: 10px;
  width: 80%;
  margin: 0 auto;
  font-size: 1.2rem;
}
footer {
  background-color: #4d4d4d;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
.footer-logo { max-width: 200px; margin-bottom: 10px; }

@media (max-width: 768px) {
  .welcome-container { flex-direction: column; text-align: center; }
  .welcome-logo img { margin-bottom: 20px; }
  .value-container { flex-direction: column; }
  .photo-block img { max-width: 80%; }
  .value-image img { max-width: 80%; margin-left: 0; }
}
