/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}
/* Navigation bar */
nav {
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;           /* Align horizontally */
  justify-content: space-between;
  align-items: center;     /* Align vertically center */
  padding: 0 20px;
  height: 60px;
}
/* Logo */
.nav-logo a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  line-height: 60px; /* Vertical center alignment */
}
/* Default menu (large screen) */
#nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center; /* Vertically center align icons and text */
}
/* Each menu item */
#nav-links li {
  margin-left: 15px;
}
/* Add margin only to the last menu item (right of Privacy Policy) */
#nav-links li:last-child {
  margin-right: 30px; 
}
/* Menu link style */
#nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  /* Use inline-flex for vertical alignment */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Add some horizontal padding */
  padding: 0 8px;
  /* Vertically center align to nav height */
  height: 60px;
}
/* Align store icons vertically with text */
#nav-links li a img {
  height: 30px;
  width: auto;
  margin-right: 5px; /* Space after icon */
  vertical-align: middle;
}
/* Hide hamburger icon by default (large screen) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  height: 40px;
  width: 40px;
}
.hamburger span {
  background: #fff;
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: 0.4s;
}
/* Banner image container */
#banner-image-container {
  position: relative;
  margin-top: 60px; /* Push down by header height */
  text-align: center;
}
#banner-image {
  width: 100%;
  height: auto;
  display: block;
}
/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}
.feature {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 20px;
}
.feature img {
  width: 80%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
}
.feature-content h2 {
  font-size: 20px;
  margin: 10px 0;
}
.feature-content p {
  font-size: 16px;
  line-height: 1.5;
}
/* YouTube Section */
#youtube-section {
  margin: 40px auto;
  text-align: center;
}
#youtube-section iframe {
  width: 80%;
  height: 600px;
  border: none;
}
/* Footer Banner */
#footer-banner {
  position: relative;
  margin: 20px 0 0;
  text-align: center;
  background-color: #333;
}
#footer-banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.footer-btn {
  position: absolute;
  bottom: 40px;            /* Positioned 20px above the bottom of the image (adjust as needed) */
  left: 50%;               /* Horizontally centered */
  transform: translateX(-80%);
  width: 150px; 
  z-index: 10;             /* Positioned above the image */
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}
.footer-btn img {
  height: 25px;
  margin-right: 10px;
  vertical-align: middle;
}
/* ---------- Change styles for mobile (screen width 768px or less) ---------- */
@media (max-width: 768px) {
  /* Show hamburger menu */
  .hamburger {
    display: flex;
  }
  /* Hide default menu */
  #nav-links {
    display: none;
    flex-direction: column;    /* Vertical layout */
    align-items: flex-start;   /* Left align */
    background-color: #333;    /* Maintain background when expanded */
    width: 100%;
    margin-top: 10px;
    padding: 0 20px 20px;      /* Left/right/bottom padding */
  }
  /* Show on toggle */
  #nav-links.show {
    display: flex;
  }
  /* Menu items in mobile are arranged top to bottom */
  #nav-links li {
    margin: 10px 0;
    width: 100%;
  }
  #nav-links li a {
    width: 100%;
    height: auto;
    line-height: 1.2;
    padding: 10px 0; /* Increase touch area */
  }
  #nav-links li a:hover {
    background: #444; 
  }
  /* Auto height for nav itself */
  nav {
    height: auto;
    flex-wrap: wrap; /* Line break if needed */
  }
  /* Slightly reduce font size in feature section */
  .feature-content h2 {
    font-size: 16px;
  }
  .feature-content p {
    font-size: 14px;
  }
  /* YouTube video size */
  #youtube-section iframe {
    width: 100%;
    height: 300px;
  }
  .footer-btn {
    transform: translateX(-50%);
    bottom: 10px;
    font-size: 14px;
    padding: 8px 16px;
  }
  .footer-btn img {
    height: 20px;       /* reduce icon size */
    margin-right: 5px;
  }
}
  
  