/* General Layout */
body {
  font-family: 'Poppins', sans-serif; 
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f7f7f7; /* Softer background */
  color: #333; /* Darker text for better contrast */
}

/* Top Bar */
.top-bar {
  width: 100%;
  font-size: 11.5px;
  background-color: #1DB954; 
  color: #333; /* Dark text for visibility */
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
  top: 0;
  left: 0;
  z-index: 1000;
}
/* Header */
header {
  background-color: #ffffff;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  color: #000000;
  text-decoration: none;
  margin: 0 15px;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

header nav a:hover {
  color: #4d7f01;
}

header .logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header img {
  height: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column; /* Stack logo and nav vertically */
    padding: 20px;
  }

  header nav {
    justify-content: flex-start; /* Left-align the nav items */
    margin-top: 10px; /* Adds spacing between logo and nav */
  }

  header nav a {
    margin: 5px 10px; /* Reduce space between links on mobile */
    font-size: 16px; /* Adjust font size for better readability */
  }

  header .logo-container {
    display: none; /* Hide the logo on mobile */
  }
  
  header img {
    height: 35px;
  }
}
/* Info Section */
section {
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.info-section {
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  padding: 20px;
  margin-bottom: 0px;
  margin-top: 10px;
}

.info-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Apps Section (Grid Layout) */
#apps-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  padding: 20px;
}

.buymeacoffee-icon img {
  width: 120px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
}

.container {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.container a, .container a:visited {
  text-decoration: none; /* Ensures links are not underlined */
  color: inherit; /* Keeps the color of the links consistent */
}

.container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}

.container h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0;
  color: #333;
}

.app-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Contact Section */
form input[type="image"] {
  max-width: 150px; /* Limit the size of the PayPal button */
  margin-top: 20px;
}

footer {
  background-color: #1DB954;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  font-size: 14px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Show the logo at the top */
  header .logo-container {
    display: block;
    position: static;
    transform: none;
    margin-bottom: 10px;
    order: -1; /* Moves the logo to the top */
  }

  header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header nav a {
    display: block;
    padding: 0px;
    font-size: 16px;
  }
}