@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: 'Raleway', sans-serif;
  background-color: white;
  color: #003087;
  height: 100%;
}
a { text-decoration: none; color: inherit; }

/* RESPONSIVE NAVBAR STYLES */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  justify-content: center;
  border-bottom: 1px solid lightgray;
}

.logo { 
  display: flex; 
  align-items: center;
  margin-right: 30%;
  z-index: 101;
}
.logo img { height: 32px; margin-right: 8px; }

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  font-weight: 400;
  font-size: 12px;
  transition: opacity .2s;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.nav-menu a:hover { 
  opacity: 0.7;
  color: white;
  font-weight: bold;
  background: #003087;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #003087;
  border-radius: 2px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Mobile Menu Animation States */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
}

/* Rest of your existing styles remain the same */
.login-container {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-form {
  background: white;
  padding: 40px 32px;
  border-radius: 25px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
}

.form-group {
  margin-bottom: 10px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #dadce0;
  border-radius: 25px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #003087;
  box-shadow: 0 0 0 1px #4285f4;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  margin-top: 30px;
  background-color: #003087;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #1558c0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: white;
}

.sechero {
  max-width: 1000px;
  margin: 120px auto 80px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sechero h1,
.sechero p {
  width: 100%;
  text-align: left; /* forces text left alignment */
}

.sechero h1 {
  font-size: clamp(2rem, 4vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sechero p {
  font-size: clamp(0.8rem, 2vw, 1.125rem);
  font-weight: 400;
  margin-bottom: 32px;
  color: #c5c7c9;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: clamp(0.8rem, 2vw, 1.125rem);
  font-weight: 400;
  margin-bottom: 32px;
  color: #c5c7c9;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-download {
  background: #789693;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.btn-download:hover {
  background: #005fa1;
  transform: translateY(-1px);
}
.btn-download svg { width: 20px; height: 20px; }

#slideshow-container {
  width: 90%;
  max-width: 960px;
  height: clamp(300px, 56vw, 540px);
  position: relative;
  margin: 0px auto 80px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.slide {
  position: absolute;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }

footer {
  text-align: center;
  padding: 24px 8px;
  color: #7a7d80;
  font-size: 0.9rem;
}

.post-banner {
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  flex-wrap: wrap;
  gap: 20px;
}
.post-content {
  flex: 1;
  min-width: 280px;
}
.post-content h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  font-weight: 800; 
  margin-bottom: 16px; 
}
.post-content p { 
  font-size: clamp(0.875rem, 2vw, 1rem); 
  color: #f3f4f6; 
  margin-bottom: 24px; 
}
.post-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.donation-banner {
  background: url('/donation.png') center/cover no-repeat;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px;
  margin: 40px auto;
  max-width: 1000px;
  flex-wrap: wrap;
  gap: 20px;
}
.donation-content {
  flex: 1;
  min-width: 280px;
}

.game-banner {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px;
  margin: 40px auto;
  max-width: 1000px;
  flex-wrap: wrap;
  gap: 20px;
}
.game-content {
  flex: 1;
  min-width: 280px;
}

.game-content:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  transition: background .2s, transform .1s;
  cursor: pointer;
}

.donation-content h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  font-weight: 800; 
  margin-bottom: 16px; 
}
.donation-content p { 
  font-size: clamp(0.875rem, 2vw, 1rem); 
  color: #f3f4f6; 
  margin-bottom: 24px; 
}
.donation-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-donate {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  border: 2px solid #ffffff;
  border-radius: 25px;
  transition: background .2s, transform .1s;
}
.btn-donate:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.section { 
  padding: 30px 24px; 
  max-width: 1025px;
  margin: 0 auto; 
}
.row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 32px; 
  align-items: center; 
}
.col-6 { 
  flex: 1 1 calc(50% - 16px);
  min-width: 280px;
}
.col-4 { 
  flex: 1 1 calc(33.333% - 22px);
  min-width: 250px;
}
.section h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  font-weight: 800; 
  margin-bottom: 24px; 
}
.section h3 { 
  font-size: clamp(1.2rem, 3vw, 1.2rem); 
  font-weight: 800; 
  margin-bottom: -60px;
}
.section p { 
  font-size: 13px; 
  color: #d1d5db; 
  line-height: 1.6; 
}

.feature-card {
  background: #2a2d31;
  border-radius: 25px;
  padding: 24px;
  text-align: center;
  transition: transform .2s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 250px;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { 
  font-size: 10px; 
  font-weight: 800; 
  margin-bottom: 12px; 
}
.feature-card p { 
  flex-grow: 0; 
  font-size: clamp(0.625rem, 1.5vw, 0.625rem); 
}

.mouse-icon {
  text-align: center;
  margin-top: 20px;
}

.fa-mouse {
  font-size: clamp(30px, 5vw, 40px);
  color: grey;
}

.animated-arrow {
  font-size: clamp(18px, 3vw, 24px);
  color: grey;
  display: block;
  animation: slideDown 2s infinite;
}

@keyframes slideDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* TIMELINE STYLES (keeping your existing timeline styles) */
.timeline {
  position: relative;
  padding: 40px 20px;
  max-width: 980px;
  margin: 0 auto 30px;
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(120,150,147,0.1) 0%, rgba(0,48,135,0.1) 100%);
  border-radius: 30px;
  z-index: 1;
}

.timeline-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.timeline-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #003087;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #003087, #789693);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #64748b;
  font-weight: 400;
}

.timeline-line {
  position: absolute;
  top: 10.3%;
  left: 9%;
  right: 9%;
  height: 6px;
  background: url('public/soon.gif') center/cover no-repeat;
  border-radius: 3px;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #789693, #003087);
  border-radius: 3px;
  animation: progressLine 130s ease-out forwards;
  box-shadow: 0 0 20px rgba(120,150,147,0.4);
  z-index: 3;
}

@keyframes progressLine {
  0% { width: 0%; }
  100% { width: 100%; }
}

.timeline-dots {
  position: absolute;
  top: 10%;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 4;
  flex-wrap: nowrap;
}

.timeline-dots li {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 5;
}

.timeline-dots li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 6;
}

.timeline-dots li:hover {
  transform: scale(1.2);
  border-color: #789693;
  box-shadow: 0 6px 20px rgba(120,150,147,0.3);
  z-index: 6;
}

.timeline-dots li:hover::before {
  background: #789693;
  transform: translate(-50%, -50%) scale(1.2);
}

.timeline-dots li.active {
  background: #003087;
  border-color: #003087;
  transform: scale(1.3);
  box-shadow: 0 8px 25px rgba(0,48,135,0.4);
  animation: pulse 2s infinite;
  z-index: 7;
}

.timeline-dots li.active::before {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.5);
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 0 8px 25px rgba(0,48,135,0.4), 0 0 0 0 rgba(0,48,135,0.4);
  }
  50% { 
    box-shadow: 0 8px 25px rgba(0,48,135,0.4), 0 0 0 10px rgba(0,48,135,0);
  }
}

.timeline-content {
  position: relative;
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 20px;
  z-index: 10;
}

.timeline-content > div {
  display: none;
  padding: 40px;
  background: rgba(255,255,255,0.98);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 15;
}

.timeline-content > div.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
  animation: slideInUp 0.6s ease-out;
  z-index: 20;
}

@keyframes slideInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.timeline-content h4 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  color: #003087;
  background: linear-gradient(135deg, #003087, #789693);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 21;
}

.timeline-content h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  border-radius: 2px;
}

.timeline-content time {
  display: inline-block;
  color: #789693;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(120,150,147,0.1);
  border-radius: 20px;
  border: 1px solid rgba(120,150,147,0.2);
  position: relative;
  z-index: 21;
}

.timeline-content p {
  font-size: 13px;
  color: #475569;
  line-height: 1.8;
  font-weight: 400;
  position: relative;
  z-index: 21;
}

/* MOBILE RESPONSIVE NAVBAR */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide desktop nav on mobile */
  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu a {
    font-size: 16px;
    font-weight: 400;
    padding: 15px 25px;
    margin: 8px 0;
    width: 100%;
    text-align: center;
    border-radius: 15px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(120,150,147,0.2);
    transition: all 0.3s ease;
  }
  
  .nav-menu a:hover {
    background: rgba(120,150,147,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  /* Show overlay when menu is open */
  .mobile-nav-overlay.active {
    display: block;
  }
  
  /* Prevent body scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .hero {
    padding: 100px 16px 60px;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  /* Mobile-specific: Make sure text is centered and image appears below */
  .section#about .row {
    flex-direction: column;
    text-align: center;
  }
  
  .section#about .col-6:first-child {
    order: 1;
  }
  
  .section#about .col-6:last-child {
    order: 2;
    margin-top: 20px;
  }
  
  .section#about h3 {
    font-size: 12px;
    text-align: center;
    padding: 0 16px;
    margin-bottom: 20px;
  }
  
  .col-6, .col-4 {
    flex: 1 1 100%;
  }
  
  .row {
    gap: 20px;
  }
  
  .section {
    padding: 20px 16px;
  }
  
  .post-banner, .donation-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .post-content, .donation-content {
    max-width: 100%;
  }
  
  /* MOBILE TIMELINE STYLES */
  .timeline {
    padding: 40px 15px;
    margin: 0 auto 60px;
    border-radius: 20px;
  }
  
  .timeline-header {
    margin-bottom: 40px;
  }
  
  .timeline-line {
    display: none;
  }
  
  .timeline-dots {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .timeline-dots li {
    width: 16px;
    height: 16px;
    border-width: 3px;
    position: relative;
  }
  
  .timeline-dots li::before {
    width: 6px;
    height: 6px;
  }
  
  .timeline-content {
    margin-top: 0;
    padding: 0 10px;
  }
  
  .timeline-content > div {
    padding: 25px 20px;
    border-radius: 20px;
  }
  
  #slideshow-container {
    width: 95%;
    height: clamp(200px, 50vw, 400px);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 12px 40px;
  }
  
  .section {
    padding: 15px 12px;
  }
  
  .feature-card {
    padding: 16px;
    min-width: 200px;
  }
  
  .timeline {
    padding: 30px 10px;
    border-radius: 15px;
  }
  
  .timeline-dots {
    gap: 8px;
  }
  
  .timeline-dots li {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
  
  .timeline-dots li::before {
    width: 4px;
    height: 4px;
  }
  
  .timeline-content > div {
    padding: 20px 15px;
  }
  
  .btn-download, .btn-donate {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  /* Mobile nav adjustments for very small screens */
  .nav-menu {
    width: 250px;
  }
  
  .nav-menu a {
    font-size: 14px;
    padding: 12px 20px;
  }
  
  /* Additional mobile adjustments for the about section */
  .section#about h3 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .section#about .col-6 p {
    font-size: clamp(11px, 3vw, 13px);
    text-align: center;
    padding: 0 10px;
  }
}

/* Landscape tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .col-4 {
    flex: 1 1 calc(50% - 16px);
  }
  
  .timeline {
    padding: 50px 20px;
  }
  
  .timeline-line {
    left: 6%;
    right: 6%;
  }
  
  .timeline-dots {
    left: 6%;
    right: 6%;
  }
  
  .timeline-dots li {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1200px) {
  .timeline-dots li {
    width: 22px;
    height: 22px;
  }
  
  .timeline-dots li::before {
    width: 10px;
    height: 10px;
  }
}