/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* BODY LAYOUT */
body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* stop full-page scroll */
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* HEADER (Fixed) */
/* header { */
  /* background-color: #113a63; */
  /* color: white; */
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* padding: 15px 40px; */
  /* flex-wrap: wrap; */
  /* position: fixed; */
  /* top: 0; */
  /* left: 0; */
  /* width: 100%; */
  /* z-index: 1000; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
/* } */

/* .logo-container { */
  /* display: flex; */
  /* align-items: center; */
  /* gap: 10px; */
/* } */

/* .logo { */
  /* width: 50px; */
  /* height: 50px; */
  /* object-fit: contain; */
/* } */

/* NAVIGATION */
/* nav ul { */
  /* list-style: none; */
  /* display: flex; */
  /* gap: 20px; */
/* } */


/* nav a { */
  /* color: white; */
  /* text-decoration: none; */
  /* font-weight: bold; */
  /* padding: 6px 10px; */
  /* border-radius: 4px; */
/* } */

/* nav a:hover, */
/* nav a.active { */
  /* background-color: #1b5a91; */
/* } */

/* FOOTER (Fixed) */
footer {
  background-color: #113a63;
  color: white;
  text-align: center;
  padding: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* MAIN CONTENT AREA */
main {
  flex: 1;
  overflow-y: auto; /* only this scrolls */
  padding: 20px;
  margin-top: 100px; /* keeps content below header */
  margin-bottom: 70px; /* keeps content above footer */
}

/* HERO SECTION */
.hero {
  text-align: center;
  background: linear-gradient(to right, #e6f0fa, #f8f9fa);
  border-radius: 8px;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2rem;
  color: #113a63;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

.btn {
  background-color: #113a63;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background-color: #0d2c4a;
}

/* CARDS SECTION */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/*.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 280px;
  max-width: 400px;
  text-align: center;
}*/
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.card img {
  width: 100%;
  height:100%;
  border-radius: 8px;
}

.card h3 {
  color: #113a63;
  margin-top: 15px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #113a63;
  font-weight: bold;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.mini-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  width: 200px;             /* small, compact size */
  text-align: center;
  transition: transform 0.2s;
}

.mini-card:hover {
  transform: translateY(-5px);
}

.mini-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.mini-card h4 {
  color: #113a63;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.mini-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.mini-card a {
  color: #113a63;
  font-weight: bold;
  text-decoration: none;
}

.mini-card a:hover {
  text-decoration: underline;
}

.mini-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  width: 200px;
  text-align: center;
  margin: 10px;
}

.mini-card i {
  color: #113a63;
  margin-bottom: 10px;
}

.mini-card h4 {
  color: #113a63;
  margin-bottom: 5px;
}

.mini-card p {
  color: #555;
  font-size: 0.9rem;
}
.mini-card iframe {
  border-radius: 8px;
  margin-top: 10px;
}
.horizontal-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 350px;       /* adjust as needed */
  margin: 10px 0;
  transition: transform 0.2s;
}

.horizontal-card:hover {
  transform: translateY(-3px);
}

.card-icon {
  margin-right: 15px;
  color: #113a63;
}

.card-content h4 {
  margin: 0 0 5px 0;
  color: #113a63;
}

.card-content p {
  margin: 0;
  color: #555;
}

/* ===== General Header Styles ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo-container h5 {
  font-size: 1rem;
  color: #113a63;
  margin: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #113a63;
  font-weight: bold;
}

nav ul li a.active {
  color: #007BFF;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #113a63;
  margin: 4px 0;
  transition: 0.3s;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px; /* height of header */
    left: -100%;
    background-color: #fff;
    width: 100%;
    height: calc(100% - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }

  nav ul {
    flex-direction: column;
    gap: 30px;
  }

  nav.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }
}
/* ===== footer ===== */
footer {
  background-color: #113a63;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer p {
  margin-bottom: 10px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: white; /* Light blue on hover */
}
