/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #000;
    color: #fff;
    padding-top: 70px; /* prevent overlap with fixed header */
}

/* Hero Section */
.hero-section {
    background: url('MWA_WALL2.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    gap: 20px;
}

/* Hero containers */
.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
    width: 100%;
    flex-wrap: wrap;
}

.hero-inner .container {
    flex: 1 1 48%;
    height: 400px;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container 3 - Registration */
.container3 {
    max-width: 400px;
    width: 90%;
    background: rgba(255,255,255,0.15);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Login Box */
.login-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  width: 90%;
  max-width: 350px;
  box-sizing: border-box;
  flex-direction: column;
}

.login-logo {
  width: 80px; 
  height: auto;
  margin-bottom: 10px;
}

input {
  width: 100%;
  padding: 10px; 
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: rgba(255,255,255,0.9);
  box-sizing: border-box;
  font-size: 14px;
}

button {
  background: #6a11cb;
  color: white;
  padding: 10px; 
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

button:hover {
  background: #2575fc;
}

.error {
  color: red;
  margin-top: 10px;
}

.forgot-link a {
  color: white;
  text-decoration: underline;
  font-size: 14px;
  display: block;
  margin-top: 10px;
}

/* Captcha row */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
}

.captcha-row img {
  height: 40px;
}

.captcha-row input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.captcha-row button {
  width: 35px; 
  padding: 2px;
  font-size: 16px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Container Scrolling Notification Full Width */
.container_scrol {
  width: 100vw;
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,0); /* fully transparent */
  margin-top: 15px;
  height: 30px;
}

.scrolling-link {
  display: inline-block;
  color: red; /* red text */
  font-weight: bold;
  text-decoration: none;
  position: absolute;
  white-space: nowrap;
  animation: scroll-horizontal 15s linear infinite;
}

@keyframes scroll-horizontal {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* Sections after hero */
.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px;
    gap: 2%;
    flex-wrap: wrap;
    min-height: 100vh;
}

/* Odd sections = black, Even = gray */
.main-container:nth-of-type(odd) {
    background: #111;
}

.main-container:nth-of-type(even) {
    background: #222;
}

/* Responsive */
@media(max-width: 900px){

  .hero-inner {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .hero-inner .container {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
  }

  .login-box {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  input, button, .captcha-row input {
    width: 100%;
    font-size: 12px;
    padding: 10px;
  }

  .captcha-row img {
    height: 25px;
  }

  .container3 {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 15px;
    box-sizing: border-box;
  }

  .container_scrol {
    width: 100%;
  }
}
