/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body with flex layout */
html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
}
/* Header & Navbar */
header {
  background: #222;
  color: #fff;
  padding: 15px 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo container */
nav .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

nav .logo img {
  height: 40px;
  width: auto;
  display: block;

/* Logo image */
.logo img {
  height: 40px;     /* Increase/decrease this for size */
  width: auto;      /* Keeps aspect ratio */
  margin-right: 10px;
  vertical-align: middle;
}
}

nav .logo span {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

nav .logo span:hover {
  color: #ff9800;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  color: #ff9800;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* About Section */
.about {
  flex: 1;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.about h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Footer always at bottom */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
}

/* ========================= */
/* Media Queries for Mobile  */
/* ========================= */

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }

  .about {
    margin: 30px 15px;
    padding: 15px;
    text-align: left;
  }

  .about h1 {
    font-size: 24px;
  }

  .about p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  nav .logo {
    font-size: 18px;
  }

  .about h1 {
    font-size: 20px;
  }

  .about p {
    font-size: 14px;
  }
}
