* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Raleway", sans-serif;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  background: black;
  color: white;
}

/* Header/Banner Styles */
.banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.banner-content {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.logo {
  margin-bottom: 1.875rem;
}

.logo img {
  width: 248px;
  height: 214px;
}

.banner h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

.banner button {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 1.125rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 3.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

.banner button:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

/* Main Content Styles */
main {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Course Content Section */
#course-content {
  padding: 5rem 0;
  text-align: center;
}

#course-content h2 {
  font-size: 2.8rem;
  color: whitesmoke;
  margin-bottom: 1.875rem;
  position: relative;
}

#course-content h2::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.25rem;
  background: #667eea;
  margin: 1.25rem auto;
  border-radius: 2px;
}

#course-content > p {
  font-size: 1.2rem;
  color: whitesmoke;
  max-width: 50rem;
  margin: 0 auto 3.125rem;
  line-height: 1.8;
}

.modules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.875rem;
  margin-top: 3.125rem;
}

.module {
  background: white;
  color: black;
  padding: 1.875rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
}

.module:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: #2d50eb;
}

.module span {
  color: #0633f8;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Transform World Section */
#transform-world {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
  padding: 6.25rem 0;
  margin: 5rem 0;
  position: relative;
  overflow: hidden;
}

#transform-world::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="20" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="70" r="2" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1.5" fill="white" opacity="0.1"/></svg>');
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-20px, -20px) rotate(360deg);
  }
}

#transform-world p {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.1875rem;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Professional Challenges Section */
#professional-challenges {
  padding: 5rem 0;
  text-align: center;
}

#professional-challenges h2 {
  font-size: 2.8rem;
  color: whitesmoke;
  margin-bottom: 3.125rem;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

#professional-challenges img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease;
}

#professional-challenges img:hover {
  transform: scale(1.02);
}

#professional-challenges p {
  font-size: 1.2rem;
  color: whitesmoke;
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* Footer Styles */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 3.75rem 0;
  margin-top: 5rem;
}

.dio-logo {
  max-height: 3.75rem;
  margin-bottom: 1.25rem;
  filter: brightness(1.2);
}

footer p {
  font-size: 1.1rem;
  opacity: 0.9;
}

footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2.5rem;
  }

  .banner p {
    font-size: 1.1rem;
  }

  .banner button {
    padding: 0.9375rem 1.875rem;
    font-size: 1rem;
  }

  #course-content h2,
  #professional-challenges h2 {
    font-size: 2.2rem;
  }

  #transform-world p {
    font-size: 1.8rem;
    letter-spacing: 0.125rem;
  }

  .modules-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .module {
    padding: 1.5625rem;
  }
}

@media (max-width: 480px) {
  .banner {
    padding: 3.75rem 0;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
  }

  #course-content,
  #professional-challenges {
    padding: 3.75rem 0;
  }

  #transform-world {
    padding: 5rem 0;
  }

  #transform-world p {
    font-size: 1.5rem;
    letter-spacing: 0.0625rem;
  }
}

/* Animation for elements on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.module {
  animation: fadeInUp 0.6s ease forwards;
}

.module:nth-child(1) {
  animation-delay: 0.1s;
}
.module:nth-child(2) {
  animation-delay: 0.2s;
}
.module:nth-child(3) {
  animation-delay: 0.3s;
}
