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 4px 8px rgba(0, 0, 0, 0.05);
  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;
}

.select-circle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 3px solid #007BFF;
  background-color: white;
  z-index: 2;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  /* hidden by default */
}

.select-circle i {
  display: none;
}

.service-card.selected .select-circle {
  background-color: #fff;
  color: #007BFF;
}

.service-card.selected .select-circle i {
  display: block;
}



#nextBtn {
  display: none;

  background-color: #007BFF;
  color: white;
  margin: 4% auto 0 auto;
  /* Pushes down and centers */
  width: 200px;
  font-weight: bold;
  text-align: center;
  padding: 14px 28px;
  border: 6px solid #007BFF;
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

#nextBtn:hover {
  background-color: #fff;
  color: #007BFF;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #007BFF;
  cursor: pointer;
  z-index: 10000;
  /* Ensure it's on top */
}


.popup-content {
  width: 90%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 2px solid #007BFF;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 123, 255, 0.3);
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
  display: flex;
  flex-direction: column;
}

/* Title styling */
.popup-title {
  text-align: center;
  font-size: 28px;
  font-family: cursive;
  color: #007BFF;
  padding: 20px 0 0 0;
}

/* Horizontal split: image + form */
.popup-body {
  display: flex;
  flex-direction: row;
}

/* Left side image */
.popup-left {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-left img {
  width: 450px;
  height: 70%;
  object-fit: cover;
  display: block;
  justify-items: center;
  justify-content: center;

}

/* Right side form */
.popup-right {
  width: 50%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-right input,
.popup-right textarea {
  padding: 10px;
  margin-bottom: 15px;
  width: 90%;
  border: 2px solid #007BFF;
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
}

.popup-right button {
  background-color: #007BFF;
  color: white;
  margin-left: auto;
  width: 150px;
  font-weight: bold;
  padding: 10px 20px;
  border: 6px solid #007BFF;
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.popup-right button:hover {
  background-color: #fff;
  color: #007BFF;
}

/* Success Message Popup */
#successMessage .popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Success Image */
#successMessage .popup-left {
  width: 100%;
  display: flex;
  justify-content: center;
}

#successMessage .popup-left img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Success Heading */
#successMessage .popup-title h2 {
  font-size: 23px;
  margin-top: 20px;
  color: #007BFF;
  font-family: cursive;
}

/* Message Paragraph */
#successMessage .popup-right p {
  margin-top: 0%;
  font-size: 14px;
  color: #333;
}

/* Back Button */
#successMessage .popup-right button {
  margin-top: 10px;
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  justify-items: center;
  margin-right: 0%;
  border: 2px solid #007BFF;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#successMessage .popup-right button:hover {
  background-color: #fff;
  color: #007BFF;
}
/* 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);
  }
}
@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


footer {
  background-color: #036fe2;
  padding: 10px;
  margin: 0;
  text-align: center;
  margin-top: 50px;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

/* 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;
    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;
  }

  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;
  }

  #nextBtn {
    display: none;

    background-color: #007BFF;
    color: white;
    margin: 4% auto 0 auto;
    /* Pushes down and centers */
    width: 150px;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    border: 6px solid #007BFF;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    max-width: 100%;
    flex-direction: column;
    /* Stack image and form vertically */
  }

  .popup-title {
    font-size: 19px;
  }

  .popup-body {
    flex-direction: column;
    /* Stack on top of each other */
  }

  .popup-left,
  .popup-right {
    width: 100%;
    margin-left: 20px;
  }

  .popup-left img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-top: 0%;
    margin-right: 33px;
  }

  .popup-right {
    padding: 20px;
    margin-top: 0%;
    align-items: center;
  }

  .popup-right input,
  .popup-right textarea {
    width: 75%;
  }

  .popup-close {
    top: 10px;
    right: 10px;
    font-size: 20px;
  }

  .popup-right button {

    width: 50%;
    max-width: 150px;
    margin-right: 10%;

    padding: 8px 16px;

  }
}

/* 🔽 Responsive for Mobile Devices */
@media screen and (max-width: 768px) {
  #successMessage .popup-left img {
    max-width: 90%;
  }

  #successMessage .popup-title h2 {
    font-size: 20px;
  }

  #successMessage .popup-right p {
    font-size: 13px;
  }

  #successMessage .popup-right button {
    width: 100%;
     
    padding: 10px;
    font-size: 13px;
    margin-left: 0%;
  }
}

/* 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);
  }

}