/* =================================header */
header {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4a90e2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  border-radius: 50%;
}

/* ==================================nav bar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 10px 20px;
  color: #2c3e50;
}

.left-section {
  display: flex;
  align-items: center;
}

.menu-btn {
  padding: 10px;
  color: #2c3e50;
  cursor: pointer;
  margin-right: 0; /* No gap between three dots and logo */
}

.logo {
  margin-left: 10px; /* Minimal spacing for clarity */
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a,
.hamburger-content a {
  color: #2c3e50;
  text-decoration: none;
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  cursor: pointer;
}

.menu-content,
.hamburger-content {
  display: none;
  position: fixed;
  top: 0;
  background-color: #ffffff;
  width: 250px;
  height: 100vh;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
}

.menu-content.active {
  left: 0;
  display: block;
}

.hamburger-content.active {
  right: 0;
  display: block;
}

.hamburger-content div,
.menu-content div div {
  color: #2c3e50;
}

.hamburger-content div a,
.menu-content div div a {
  padding: 8px;
  margin: 5px;
  color: #2c3e50;
  display: block;
  background-color: #ececec;
}

ul li a {
  text-decoration: none;
  color: #2c3e50;
  display: block;
  padding: 5px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

#home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

#home-logo h1 {
  color: rgb(255, 149, 0);
  font-weight: bold;
  font-size: 25px;
}
#home-logo h3 {
  color: rgb(255, 149, 0);
  font-weight: bold;
  font-size: 50px;
}

#logo-img {
  width: 40px;
  border-radius: 50%;
}

.service-container {
  padding: 50px 0;
}

.service-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3em;
  color: #007bff;
}

.service-title {
  font-size: 1.5em;
  margin: 20px 0;
}

.service-description {
  font-size: 1em;
  color: #555;
}

@media (max-width: 768px) {
  .service-card {
    margin-bottom: 20px;
  }
}

/* ==============================Notification Box */
#whatsappIcon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
/* Floating WhatsApp Icon */
#whatsappIcon {
  position: fixed;
  bottom: 30px; /* Distance from the bottom */
  right: 30px; /* Distance from the right */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  padding: 8px 10px;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 3;
  animation: floatAnimation 3s ease-in-out infinite;
}
#whatsappIcon button {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Animation for floating effect */
@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* Moves the icon up */
  }
  100% {
    transform: translateY(0); /* Returns to original position */
  }
}

.welcome-popup {
  position: fixed;
  bottom: 70px; /* Adjust this to position above the WhatsApp icon */
  right: 80px; /* Adjust based on where you want the popup to appear */
  background: #fff;
  border: 2px solid #0074cc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  display: none; /* Initially hidden */
  opacity: 0;
  z-index: 4;
  transform: translateX(10px);
  animation: slideIn 0.5s forwards;
}

.welcome-popup.show {
  display: block;
  animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#welcomePopup p {
  font-size: 14px;
  margin: 0 0 10px;
}

#welcomePopup button {
  font-size: 14px;
  background-color: #0074cc;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

#welcomePopup button:hover {
  background-color: #005fa3;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
    font-size: 20px;
    background-color: white;
    color: white;
    padding: 10px;
  }
  50% {
    transform: rotate(90deg);
    font-size: 20px;
    background-color: rgb(255, 149, 0);
    color: rgb(255, 149, 0);
    padding: 10px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
  }
}

@keyframes zoom {
  0% {
    transform: rotate(0deg);
    font-size: 20px;
    background-color: white;
    color: white;
    padding: 10px;
  }
  50% {
    transform: rotate(180deg);
    font-size: 20px;
    background-color: rgb(255, 149, 0);
    color: rgb(255, 149, 0);
    padding: 10px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
}

/* ==================footer style */

footer {
  background: linear-gradient(
    135deg,
    #1a1a1a 0%,
    #005f8f 100%
  ); /* dark background for premium feel */
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#footercontents {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin: 10px 3%;
}
#footer-logo {
  padding: 0px 40px;
}
.gradient-text {
  margin-top: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  display: inline-block;
  background: linear-gradient(
    to right,
    rgb(255, 149, 0) 0%,
    rgb(255, 149, 0) 40%,
    blue 50%,
    blue 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#get-in-touch-heading,
#company-insights {
  color: rgb(255, 149, 0);
  font-size: 20px;
}

#other-links,
#useful-links {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
#useful-links h2 {
  color: #007bff;
  font-size: 20px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
#other-footer-links-one,
#other-footer-links-two,
#footer-nav-links-one,
#footer-nav-links-two {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}
.newsletter-footer {
  background: transparent; /* inherits footer background */
}

.text-orange {
  color: rgb(255, 149, 0);
}

.btn-orange {
  background-color: rgb(255, 149, 0) !important;
  color: white !important;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  transition: 0.3s ease;
}

.btn-orange:hover {
  background-color: darkorange !important;
}

.footer-bottom {
  text-align: center;
  background-color: #00293e;
  padding: 20px 10px;
}

@media screen and (max-width: 750px) {
  #footercontents {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 10px 3%;
  }
}

@media screen and (max-width: 500px) {
  #footercontents {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin: 10px 8%;
  }
}
