body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding-top: 90px;
  /* 65px header height + 30px padding */
}

header {
  background-color: #000;
  color: white;
  padding: 15px 0;
  position: fixed;
  /* 👈 Make it fixed */
  top: 0;
  /* 👈 Stick to top */
  width: 100%;
  /* 👈 Full width */
  z-index: 1000;
  /* 👈 Stay above other elements */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 65px;
}

/* Basic styles */
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-right: 25%;
  margin-top: 16px;
}

.nav-right {
  margin-right: 50%;
  /* This shifts the entire nav bar left */
}

.nav-links a.active {
  color: #036fe2;
  /* Highlight color */
  font-weight: bold;
  border-bottom: 2px solid #fff;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  margin-top: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  /* ❌ Remove this: margin-right: 20%; */
}

nav a:hover {
  color: #036fe2;
}

/* Base styles - remove conflicting margins */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  /* Remove margin-left: 1%; from here */
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5%;
}

.logo-left img {
  width: 250px;
  height: 150px;
}

.site-name {
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
}

.site-name .blink {
  font-size: 35px;
}

.site-name .bowl {
  font-size: 25px;
}

#about {
  background-color: #f7f8fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: #333;
}

.about-logo {
  width: 400px;
  height: auto;
 border-radius: 50px;
  margin-bottom: 20px;
}

.about-title {
  color: #036fe2;
  font-size: 36px;
  font-family: "Arial", sans-serif;
  margin-bottom: 20px;
}

.about-paragraph {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
}

.about-subheading {
  color: #036fe2;
  font-size: 24px;
  margin-top: 30px;
}

.about-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 20px auto;
  font-size: 18px;
  text-align: left;
  margin-left: 40%;
}

.about-list i {
  color: #036fe2;
  /* Green check color */
  margin-right: 10px;
}

footer {
  background-color: #000;
  padding: 10px;
  margin: 0;
  text-align: center;
  margin-top: 50px;
  color: white;
  font-size: 15px;
}

footer a {
  color: white;
  text-decoration: none;
}
/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(145deg, #007bff, #0056b3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 34px;
  font-weight: 900;
  line-height: 60px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

#scrollTopBtn:hover {
  background: #fff;
  color: #007bff;
  border: 2px solid #007bff;
  transform: scale(1.1);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  animation: moveUpDown 1.2s ease-in-out infinite;
}
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive for tablets and below */
@media (max-width: 992px) {
  .header-container {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }

  .logo-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-link {
    margin-left: 0;
    margin-right: 0; /* Reset all margins */
    flex-shrink: 0; /* Prevent logo from shrinking */
  }

  .logo-left img {
    width: 200px; /* Fixed width */
    height: auto; /* Auto height to maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
  }

  .menu-icon {
    display: block;
  }
  .nav-links a.active {
    color: #000;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 79px;
    left: 41%;
    width: 60%;
    background-color: #000;
    border-radius: 0 0 20px 20px;
    padding: 5px 5px 25px 2px;
    /* Increased bottom padding */
    z-index: 1001;
    align-items: center;
    gap: 4px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 14px;
    padding: 12px 20px;
    width: 80%;
    max-width: 110px;
    background-color: #036fe2;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
  }

  /* Hover effect */
  .nav-links a:hover {
    background-color: white;
    color: #036fe2;
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  .nav-links.show {
    display: flex;
  }

  .site-name .blink {
    font-size: 24px;
  }

  .site-name .bowl {
    font-size: 21px;
  }

  .about-title {
    font-size: 28px;
  }

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

  .about-paragraph {
    font-size: 16px;
    text-align: center;
    margin-left: 0;
    padding: 0 10px;
  }

  .about-list {
    font-size: 16px;
    text-align: left;
    margin-left: 0;
    padding: 0 10px;
  }

  .about-logo {
    width: 300px;
    height: 200px;
    
    margin-bottom: 20px;
  }

  footer {
    background-color: #000;
    padding: 10px;
    margin: 0;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: white;
  }
}
/* 768px Responsive Styles - Tablet Portrait */
@media (max-width: 768px) {
  header {
    padding: 8px 0; /* reduce header padding */
  }

  .header-container {
    height: 60px; /* reduce header height */
    padding: 0 10px;
  }
  footer {
    padding: 12px; /* reduce footer padding */
    font-size: 12px;
    margin-top: 15px;
  }
  .nav-links {
    top: 60px;
  }
  .logo-left img {
    width: 180px; /* Smaller fixed width for mobile */
    height: auto;
  }

  .logo-link {
    margin-right: 0; /* Ensure no right margin */
    margin-left: -16px;
  }
  .about-logo {
    width: 270px;
    height: 180px;
    
  }
}
/* Responsive for phones and small devices */
@media (max-width: 600px) {
  .logo-left img {
    width: 180px;
  }

  .site-name .blink {
    font-size: 24px;
  }

  .site-name .bowl {
    font-size: 21px;
  }
  #scrollTopBtn {
    width: 45px;
    height: 45px;
    font-size: 24px;
    line-height: 45px;
    bottom: 85px;
    right: 10px;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
  }
}
/* Medium Phone (480px and below) */
@media (max-width: 480px) {
  .logo-left {
    gap: 5px; /* Reduce gap on very small screens */
  }

  .logo-left img {
    width: 170px; /* Even smaller for very small screens */
  }
}
