/* Basic Reset 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}

*/

body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background: #fdfbf4;
}

/* Navbar styling */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdfbf4;
  color: grey;
  position: relative;
}

/* The below is for menu */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
}

.logo {
  position: absolute;
  left: 1rem;
  color: #666;
  font-size: 1.5rem;
  text-decoration: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: auto;
}

.nav-link {
  color: #36454f; /* charcoal */
  text-decoration: none;
  padding: 5px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  /*  color: #ff6060;
  color: red;*/
  text-decoration: underline;
  text-decoration-color: #33bd9a;
}

.textWhite:hover {
  color: white;
  text-decoration: underline;
}

.nav-item {
  position: relative;
  letter-spacing: 1px;
}

.nav-item a {
  font-size: 20px;
}

.nav-item a .sub-menu-small {
  font-size: 15px;
}

/* Sub-menu styling */
.sub-menu {
  display: none;
  list-style: none;
  padding-left: 1rem;
  background-color: rgb(229, 231, 235); /* silver */
  padding: 5px;
}

.sub-menu.active {
  display: block;
}

.sub-link {
  color: #36454f; /* Charcoal */
  display: contents;
  padding: 0.5rem;
  margin: 15px;
  padding: 5px;
}

.sub-link:hover {
  color: #ff6060;
  background-color: rgb(229, 229, 229); /* Light Silver */
  border: 1px solid #ff6060;
}

.hamburger {
  position: absolute;
  right: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /*  .nav-menu.active {
    display: flex;
    box-sizing: border-box;
  }

*/

  .hamburger {
    display: flex;
  }

  /* Adjust submenu to flow inline within main menu on mobile */
  .sub-menu {
    display: none;
    padding-left: 1rem; /* Indentation for submenu items */
  }

  .sub-menu.active {
    display: block;
    padding: 10px;
    max-height: 300px; /* Adjust as needed based on content size */
    overflow-y: auto; /* Enable scrolling within the submenu if needed */
  }
}

/* Dropdown icon styling */
.dropdown-icon {
  width: 1em;
  height: 1em;
  margin-left: 0.3rem;
  /* Adjust the vertical alignment */
  vertical-align: middle;
  fill: currentColor; /* Matches the color of the text */
}

/* Show submenu on hover for desktop screens */
@media (min-width: 769px) {
  .nav-item:hover .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    /* 
    background-color: rgb(229, 231, 235);  silver 
    padding: 0.5rem;  */
    padding-right: 20px;
    border-radius: 5px;
    border: 1px dotted #ff6060;
    min-width: 200px;
  }

  .om-icon {
    vertical-align: bottom; /* Align the image vertically with the text */
  }
}

.om-icon {
  margin-left: 5px; /* Add spacing between the text and the image */
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #36454f; /* Charcoal */
  transition: 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: rgb(229, 231, 235); /* Silver  */
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
    box-sizing: border-box;
  }

  .hamburger {
    display: flex;
  }

  /* Adjust submenu to flow inline within main menu on mobile */
  .sub-menu {
    display: none;
    padding-left: 1rem; /* Indentation for submenu items */
  }

  .sub-menu.active {
    display: block;
  }
}

@media (max-width: 1020px) {
  .nav-item a {
    color: #36454f; /* Charcoal */
    text-decoration: none;
    padding: 3px;
    font-size: 23px;
  }

  .nav-item .background_color_menu {
    color: white;
    padding: 3px;
    display: inline;
  }

  .nav-item .textWhite {
    color: white;
  }

  .nav-item a .sub-menu-small {
    font-size: 23px;
  }
}

.sub-menu li {
  margin: 5px;
  padding: 5px;
}

.style1 {
  color: yellow;
  position: fixed;
  padding: 3px;
  right: 0%;
  overflow: visible;
}

.style1:hover {
  cursor: pointer;
}

.styleScrollToTop {
  background-color: #f0ebde;
  color: #ff6060;
  transform: translate(35%, -40%) rotate(270deg);
  -webkit-transform: translate(35%, -40%) rotate(270deg);
  -moz-transform: translate(35%, -40%) rotate(270deg);
  -ms-transform: translate(35%, -40%) rotate(270deg);
  -o-transform: translate(35%, -40%) rotate(270deg);
  top: 87%;
}

.styleWhatsApp {
  top: 69%;
}

.strikethrough {
  text-decoration: line-through;
}

/* The below is for the menu sticky 
Header and Navbar - fixed at the top 
new - start
*/

.header-banner-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* Ensures it stays on top 
  background-color: white;*/
}

.body-banner-container {
  width: 100%;

  /*  background: linear-gradient(to right, #fdfbf4, white);
    padding: 4px;
      background-color: #f8f8f8;
 */
}

.header__container {
  margin-top: 133px;
}

.learn-more-link {
  text-align: center;
  /*  background-color: #0271b1;
  background-color: #5a6fec;
  */
}

.learn-more-link a {
  /*  color: #6e66cf; 
  color: #36454f;
  text-decoration: none;
  border-bottom: 1px solid red;
*/
  text-decoration: underline;
  -webkit-text-decoration-color: #007cff;
  /* Safari */
  text-decoration-color: #007cff;

  font-size: 20px;
  color: #007cff;
}

.learn-more-link:hoverremovetoactivate a {
  border-bottom: 1.53px solid red;
}

/* The below is for the mobile device menu to transform from .bar to X */

.hamburger.active {
  .bar:nth-child(1) {
    transform: rotate(45deg) translate(0px, 10px);
  }
  .bar:nth-child(2) {
    opacity: 0; /* hide the middle bar */
  }
  .bar:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -10px);
  }
}

.buttonclass {
  font-size: large;
  border: 1.5px solid skyblue;
  border-radius: 4px;
  display: inline-block; /* Set to inline-block */
  text-decoration: none;
}

.buttonclass:hover {
  cursor: pointer;
}

.careersimage img {
  vertical-align: middle; /* Align the image vertically to middle */
}

.textWhite {
  color: white;
}

.sub-menu li {
  border-bottom: 0.75px dotted #ff6060;
  border-bottom: 0.75px dotted grey;
}

.body_container_features form {
  text-align: center;
  margin-top: 10px;
}

.background_color_menu {
  background-color: #ff6060;
  color: white;
}

/*
The below is for scroller
*/

/* Wrapper ensures no overflow and horizontal scrolling */

/* Wrapper ensures no overflow and horizontal scrolling */
.autoscroll-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

/* Track moves continuously */
.logos-track {
  display: inline-flex;
  animation: scroll-left 60s linear infinite;
}

/* Each list sits side by side */
.logos-list {
  display: inline-flex;
  gap: 60px; /* default gap for desktop */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each logo item */
.list-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-height: 60px; /* keeps logos uniform */
  object-fit: contain;
}

/* Animation keyframes */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* since 2 lists = 200% */
  }
}

/* Section styling */
.logo-garden {
  overflow: hidden;
  padding: 30px 0;
}

.logo-garden.centered {
  text-align: center;
}

/*
.theindex {
  margin-bottom: 20px;
  font-size: 1.1rem;
}
*/

/* -------------------
   📱 Responsive tweaks
---------------------- */

/* Tablets */
@media (max-width: 1024px) {
  .logos-list {
    gap: 40px; /* smaller gap */
  }
  .image-container img {
    max-height: 50px;
  }
  .logos-track {
    animation-duration: 50s; /* scroll slower */
  }
}

/* Mobiles */
@media (max-width: 600px) {
  .logos-list {
    gap: 25px; /* very compact */
  }
  .image-container img {
    max-height: 40px;
  }
  .logos-track {
    animation-duration: 40s; /* slower for small screens */
  }

  /*
  .theindex {
    font-size: 0.9rem; 
    padding: 0 10px;
  }
  */
}

.color_white {
  color: white;
}

.bg_imagehome {
  position: relative; /* Needed to contain absolutely positioned image */
  padding: 113px; /* Keeps same spacing */
  overflow: hidden; /* Prevents image overflow */
}

.bg_imagehome .bg_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Fill the container width */
  height: 100%; /* Fill the container height */
  object-fit: cover; /* Maintain aspect ratio and cover like background-size: cover */
  z-index: 0; /* Place it behind the content */
}

/* Ensure text stays on top of image */
.bg_imagehome > *:not(.bg_img) {
  position: relative;
  z-index: 1;
}
