/* General */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #222;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  box-sizing: border-box;
  z-index: 999;
}

.logo img {
  height: 59px;
  width: auto;
}

/* Nav Menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 15px;
  color: white;
}

/* Access button */
.btn-access {
  padding: 10px 20px;
  border: 1px solid #000;
  background: #fff;
  font-weight: bold;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('images/lab.webp') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-schedule {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
}

/* Buttons */
.btn-learn {
  display: inline-block;
  background: #144257;
  color: #fff;
  padding: 8px 18px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 5px;
}
/* Two Columns Section */
.two-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* default gap for desktop */
  padding: 50px 20px; /* top/bottom padding desktop */
  flex-wrap: wrap;
}

.two-columns .column {
  flex: 1 1 400px;
  text-align: left;
}

.two-columns .column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Reverse for alternate sections */
.two-columns.reverse {
  flex-direction: row-reverse;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .two-columns,
  .two-columns.reverse {
    flex-direction: column; /* stack vertically */
    gap: 20px; /* reduce gap */
    padding: 30px 10px; /* reduce padding */
  }

  .two-columns .column {
    flex: 1 1 100%; /* full width */
    text-align: center; /* center content */
  }

  .two-columns .column img {
    width: 90%; /* make image smaller on mobile */
    max-width: 300px; /* optional max width */
    margin: 0 auto; /* center image */
  }

  .two-columns .column h2 {
    font-size: 1.5rem; /* reduce heading size */
  }

  .two-columns .column p {
    font-size: 1rem; /* reduce paragraph size */
    line-height: 1.4;
  }

  .two-columns .column .btn-learn {
    padding: 10px 20px; /* smaller button on mobile */
    font-size: 0.9rem;
  }
}


/* Mobile View */
@media (max-width: 768px) {

  /* Header mobile */
  .site-header {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #144257;
    text-align: center;
    margin-top: 10px;
    padding: 10px 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .btn-access {
    margin: 10px auto 0 auto;
  }

  /* Hero Section mobile */
  .hero {
    height: 70vh;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 35px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* Two Columns stack */
  .two-columns,
  .two-columns.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 10px;
  }

  .two-columns .column {
    text-align: center;
  }
}

/* Footer */
.site-footer {
  background: #1d1d1d;
  color: #fff;
  padding: 30px 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px; /* spacing between logo and info */
}

.footer-logo img {
  height: 94px;
  width: auto;
}

.footer-info {
  text-align: center;
  font-size: 14px;
}

.footer-info a {
  color: #fff;
  text-decoration: underline;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .site-footer {
    padding: 20px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    height: 70px; /* smaller logo for mobile */
    margin: 0 auto;
  }

  .footer-info {
    font-size: 13px;
  }
}
