body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding-top: 95px;
  /* 65px header height + 30px padding */
}

header {
  background-color: #036fe2;
  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: 20%;
  /* This shifts the entire nav bar left */
}

.nav-links a.active {
  color: #000000;
  /* 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: #000000;
}


.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  margin-left: 30%;
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 10px;

}

.logo-left img {
  width: 70px;
  height: 68px;
  border-radius: 50%;
}

.site-name {
  font-family: cursive;
  font-weight: bold;
}

.site-name .blink {
  font-size: 35px;
}

.site-name .bowl {
  font-size: 25px;
}

.services-section {
  text-align: center;
  padding: 50px 20px;

}

.services-section h2 {
  font-size: 32px;
  text-align: start;
  margin-left: 20%;
  margin-bottom: 10px;
}
 
.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: flyIn 0.5s forwards;
}

@keyframes flyIn {
  to {
    opacity: 5;
    transform: translateY(0);
  }
}

.services-section p {
  color: #666;
  text-align: start;
  margin-left: 20%;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  /* shadow all sides */
  overflow: hidden;
  transition: 0.3s;
  position: relative;
  padding-bottom: 20px;
  height: 450px;
}



.service-card:hover {
  background: #007BFF;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.carousel {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.carousel img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel img.active {
  opacity: 1;
  z-index: 1;
}

.icon-circle {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  background: #007BFF;
  border: 6px solid #fff;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
  background: #fff;
  color: #007BFF;
  border: 6px solid #007BFF;
}

.service-content {
  margin-top: 65px;
  padding: 0 30px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.service-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
  margin-left: 0%;
  transition: color 0.3s ease;
}

.service-card:hover p {
  color: #fff;
}

.service-card a {
  display: inline-block;
  background-color: #fff;
  color: #007BFF;
   border: 1px solid #007BFF;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.service-card a:hover {
  text-decoration: underline;
}

footer {
  background-color: #036fe2;
  padding: 10px;
  margin: 0;
  text-align: center;
  margin-top: 50px;
  color: white;
}

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;
    /* ✅ Use center instead of 'left' */
    justify-content: flex-start;
    gap: 10px;

  }

  .logo-link {
    margin-left: 0%;
    margin-right: 40%;
    /* ✅ Pushes it to the left */
  }

  .logo-left img {
    width: 50px;
    height: 50px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 79px;
    left: 41%;
    width: 60%;
    background-color: #75a7dd;
    padding: 5px 5px 25px 2px;
    /* Increased bottom padding */
    z-index: 1001;
    border-radius: 0 0 20px 20px;
    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;
  }

  footer {
    background-color: #036fe2;
    padding: 5px;
    margin: 0;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: white;
  }

   
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    
     margin: 0 auto;
  }
  .services-section {
    text-align: center;
    padding: 25px 10px;

  }

  .services-section h2 {
    font-size: 20px;
    text-align: start;
    margin-left: 25px;
    margin-bottom: 8px;
  }

  .services-section p {
    color: #666;
    text-align: start;
    margin-left: 25px;
    margin-bottom: 30px;
  }

  .service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    padding-bottom: 20px;
    height: 330px;
    width: 300px;
     
  }

  .carousel {
    position: relative;
    width: 100%;
    height: 165px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .carousel img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease-in-out;
  }

  .icon-circle {
    position: absolute;
    top: 140px;
    left: 50%;
    font-size: 20px;
  }

  .service-content {
    margin-top: 50px;
    padding: 0 15px;
  }

  .service-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .service-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    margin-left: 0%;
    transition: color 0.3s ease;
  }

  .service-card a {
    display: inline-block;
    background-color: #fff;
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 8px;
    transition: background-color 0.3s ease;
  }
}

/* Responsive for phones and small devices */
@media (max-width: 600px) {
  .logo-left img {
    width: 50px;
    height: 50px;
    justify-items: flex-start;
  }

  .site-name .blink {
    font-size: 24px;
  }

  .site-name .bowl {
    font-size: 21px;
  }

  .welcome-section,
  .services-section {
    padding: 20px 15px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto;
    
  }

  .service-card {
    width: 90%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-card h3 {
    font-size: 18px;
  }
  #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);
  }

}