
/* ============= GENERAL ============= */
body { 
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ============= NAVIGATION ============= */
* {
 box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}
/* LOGO */
.logo {
  color: white;
  text-decoration: none;
  font-size: 20px; /* optional */
  font-weight: bold; /* optional */
}

/* prevent color change on hover / visit */
.logo:hover,
.logo:visited,
.logo:active {
  color: white;
}

.navbar {
  width: 100%;
background-color: #800000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}
/* ============= HEADER (HERO SECTION) ============= */
header {
  min-height: 85vh;
  padding-top: 80px; /* avoids nav overlap */
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 12px black;
  overflow: hidden;
}

header img.logo {
  width: 90px;
}

header h1 {
  font-size: 2.4rem;
  margin: 10px 20px;
}

header p {
  font-size: 1.2rem;
  max-width: 90%;
  margin: 10px auto;
}

/* Button */
.btn-main {
  background: #000088;
  position:relative;
  padding: 12px 30px;
  color: white;
  border-radius: 6px;
  margin-top: 25px;
  text-decoration: none;
  font-weight: bold;
}

/* ============= SECTIONS ============= */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #000080;
}

/* ============= CARDS (FLEX VERSION) ============= */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 260px;
  max-width: 350px;
}

/* ============= FOOTER ============= */
footer {
  background: #800000;
  color: white;
  padding: 30px;
  text-align: center;
  margin-top: 60px;
}

/* ============= MOBILE FIXES ============= */
@media (max-width: 768px) {

  nav {
    padding: 8px 5px;
    flex-wrap: wrap;
  }

  nav a {
    margin: 5px;
    font-size: 14px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  .slideshow {
    height: 40vh;
  }

  .card {
    max-width: 100%;
  }

  section {
    padding: 40px 15px;
  }

  h2 {
    font-size: 1.7rem;
  }
}