.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px ,1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  position: absolute !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: -1px !important;
}

*,
::before, 
::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none; /* Removes default bullet points */
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  color: #222020; /* Dark Charcoal */
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.6rem;
  background-color: #333333; /* Charcoal Black */
  background-image: url('/static/images/Hero.jpg'); /* Correct path to image */
  background-size: contain;  /* Ensures the whole image is visible without cropping */
  background-position: center; /* Centers the image */
  background-repeat: repeat; /* Repeats the image if needed to fill the screen */
}

main {
  padding: 2rem;
  padding-top: 6.5rem;
  margin-bottom: 5rem;
}

h1 {
  text-align: center;
}

h3 {
  font-weight: bold;
  margin-bottom: 2rem;
  font-size: 3rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Prevent Bootstrap from affecting normal links */
a p {
  margin: 0;
  padding: 0;
  display: inline;
  color: inherit;
  text-decoration: none;
}

/* Custom sidebar link styling */
.sidebar-link {
  color: inherit !important;  /* Ensures it doesn't override your existing styles */
  font-weight: bold;
}

li {
  list-style: none;
}

#company_logo {
  width: 30%;
  height: 100%;
  overflow: auto;
  object-fit: cover;
}

#main_header {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  column-gap: 1rem;
  align-items: center;
  height: 6.5rem;
  padding: 1rem 2rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid rgba(187, 185, 183, 0.712);
}

#main_navigation{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#nav_items, #nav_itemsb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  column-gap: 2rem;
  list-style: none;
  align-items: center;
  text-align: center;
  color: #222020;
  font-size: 1.8rem;
  font-weight: bold;
}

#nav_items li a {
  position: relative;
  text-decoration: none;
  padding-bottom: 0.2rem; /* Ensures spacing for border */
  display: inline-block;
}

#nav_items li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #f28705;
  transform: scaleX(0); /* Initially hidden */
  transform-origin: left; /* Starts from the left */
  transition: transform 0.3s ease-in-out; /* Smooth effect */
}

#nav_items li a:hover::after {
  transform: scaleX(1); /* Expands fully on hover */
}

#nav_itemsb i {
  border-radius: 2rem;
  padding: 1rem;
  text-align: center; 
  color: #fefefe;
  background-color: #26343D;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border 0.4s ease-in-out;
}

#nav_itemsb i:hover {
  border: 1px solid #222020;
  background-color: #fefefe;
  color:  #222020;
}

#nav_itemsb li:last-of-type a {
  padding: 0.2rem 1rem;
  border-radius: 2rem;
  border: 1px solid #222020;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border 0.4s ease-in-out;
}

#nav_itemsb li:last-of-type a:hover {
  color: #fefefe;
  background-color: #26343D;
  border: 1px solid transparent;
}

.hero {
  width: 100%;
  height: 100vh;
  text-align: center;
  transform: scale(0.85);
  opacity: 0; /* Start invisible */
  animation: expand 1.5s ease-in-out forwards; /* Smooth in animation */
}

@keyframes expand {
  0% {
    transform: scale(0.85);
    opacity: 0; /* Invisible at the start */
  }
  30% {
    transform: scale(1.02);
    opacity: 1; /* Fully visible early for a natural effect */
  }
  60% {
    transform: scale(0.98); /* Soft pullback for realism */
  }
  100% {
    transform: scale(1); /* Final stable size */
    opacity: 1; /* Ensure full visibility */
  }
}

/* Optional: Add a smooth fade-out effect */
.hero.fade-out {
  animation: collapse 1.5s ease-in-out forwards; /* Smooth out animation */
}

@keyframes collapse {
  0% {
    transform: scale(1);
    opacity: 1; /* Start fully visible */
  }
  50% {
    transform: scale(0.98); /* Subtle shrink before fading */
  }
  100% {
    transform: scale(0.85);
    opacity: 0; /* Fade out while shrinking */
  }
}

.hero i {
  color: #f28705;
}

#hero_header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70%;
  width: 80%;
  position: relative;
  margin: auto;
  margin-top: 2rem;
  background-color: hsla(0, 0%, 94%, 0.65); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

#hero_header h1 {
  font-size: 5rem;
  font-weight: 700;
  position: absolute;
  top: 30%;
  color: #26343D;
  font-weight: bold;
  font-family: 'Bricolage Grotesque', sans-serif;
}

#hero_header p {
  font-weight: bold;
  position: absolute;
  top: 52%;
}

#hero_header p:first-of-type {
  color: #6B7378;
}

#hero_header p:last-of-type {
  padding: 0.5rem;
  padding-right: 2rem;
  background-color: #fefefe;
  border-radius: 2rem;
  box-shadow: 0 0 0 rgba(217, 139, 82, 0); /* Start without shadow */
  top: 15%;
  transform-origin: right;
  transform: scaleX(0);
  opacity: 0;
  animation: scale 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards; /* Smoother easing */
}

@keyframes scale {
  0% {
    transform: scaleX(0.1);
    opacity: 0;
    box-shadow: 0 0 0 rgba(217, 139, 82, 0); /* No shadow at start */
  }
  40% {
    transform: scaleX(1.05); /* Slight overshoot */
    opacity: 1;
    box-shadow: 0 0 0.6rem rgba(217, 139, 82, 0.2); /* Soft shadow */
  }
  70% {
    transform: scaleX(0.98); /* Gentle pullback for realism */
    box-shadow: 0 0 0.9rem rgba(217, 139, 82, 0.4);
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
    box-shadow: 0 0 1rem rgba(217, 139, 82, 0.5); /* Final shadow */
  }
}

#hero_header p:last-of-type strong {
  color: #FEFEFE;
  background-color: #26343D;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
}

.hero_stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  column-gap: 10rem;
  justify-content: center;
  align-items: center;
  margin: -15rem auto 5rem auto ;
  width: 55%;
  position: relative;
}

.hero_stats p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: #fefefe;
  padding: 1.6rem 0.2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 1rem rgba(217, 139, 82, 0.5);
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform, box-shadow;
  backface-visibility: hidden; /* Prevents rendering artifacts */
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero_stats p:hover {
  transform: perspective(800px) translateZ(40px) scale(1.02) rotateX(5deg);
  box-shadow: 0 1.2rem 2.5rem rgba(217, 139, 82, 0.6);
  cursor: auto;
}

/* Ensures text does not blur */
.hero_stats p * {
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: center;
  backface-visibility: hidden;
  transform: translateZ(0); /* Forces hardware acceleration for crisp text */
}

.hero_stats p:hover * {
  transform: translateZ(0); /* Keeps text sharp even during scaling */
}

.hero_stats p i {
  margin-top: -0.2rem;
}

.hero_stats p span {
  color: #6b7378;
  font-weight: bold;
}

.hero_stats p strong {
  font-size: 1.8rem;
}

.hero_rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  width: 95%;
  margin: auto;
  position: relative;
}

.hero_rating li {
  width: 30%;
  max-height: 100%;
}

.hero_rating li header {
  display: grid;
  grid-template-columns: 1fr 4fr 2fr;
  grid-auto-flow: column;
  justify-items: space-between;
  align-items: center;
  background-color: #fefefe;
  border-radius: 0.5rem;
  box-shadow: 0 0 1rem rgba(217, 139, 82, 0.5);
  padding: 0.3rem;
}

.hero_rating h2 {
  font-size: 1.4rem;
}

.hero_rating img {
  grid-column: 1 / 2;
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  margin: auto;
  border-radius: 50%;
}

.hero_rating li > p {
  padding: 1rem;
  color: #6b7378;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

section:not(.hero, .news_letter) {
  width: 90%;
  margin: auto;
}

section:not(.hero, .about_us, .news_letter) {
  margin-top: 8rem;
}

section:not(.hero, .news_letter) header {
  text-align: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

section:not(.hero, .news_letter, .partners) h2 {
  font-size: 1.6rem;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  margin: auto;
  margin-bottom: 1rem;
  text-align: center;
  width: fit-content;
  color: #FEFEFE;
  background-color: #26343D;
}

section:not(.hero, .about_us, .news_letter) header p,
.about_us header strong, .partners h2 {
  font-size: 3.5rem;
  font-weight: bold;
}

.about_us div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about_us figure {
  grid-column: 1 / 3;
  object-fit: cover;
  position: relative;
}

.about_us img {
  display: block;
  width: 100%;
  height: 60vh;
  border-radius: 2rem;
  object-fit: cover;
  
}

.about_us figure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  background: rgba(0, 0, 0, 0.65);
}

.about_us figcaption {
  position: absolute;
  bottom: 25%;
  margin-left: 3rem;
  width: 60%;
  font-weight: bold;
  font-size: 2rem;
  color: #fefefe;
  z-index: 5;
}

.about_us figcaption strong {
  display: block;
  color: #222020;
  background-color: #fefefe;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  width: fit-content;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.about_us header p {
  font-weight: bold;
  color: #6b7378;
}

.about_us header strong {
  display: block;
  color: #222020;
}

.about_us article {
  text-align: center;
  padding: 2rem;
  border-radius: 2rem;
  background-color: #fefefe;
  box-shadow: 0 0 2rem rgba(217, 139, 82, 0.5);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.about_us article:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2.5rem rgba(217, 139, 82, 0.6);
}

.mission {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally (optional) */
  height: 100%; /* Ensure it takes full height */
}

.mission p {
  font-size: 2.5rem;
  line-height: 4rem;
}


.values ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-auto-columns: 1fr;
  gap: 2rem;
  list-style: none;
}

.values li {
  margin: auto;
}

.values li:last-of-type {
  grid-column: 1 / -1;
}

.values li:last-of-type h4{
  width: 35%;
}

.values li p {
  text-align: center;
}

.values h4 {
  font-size: 2rem;
  width: 70%;
  border-radius: 0.5rem;
  padding: 0.2rem; 
  color: #FEFEFE;
  background-color: #26343D;
  margin: auto;
  margin-bottom: 1rem;
}

.digital_solutions div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.digital_solutions > a {
  padding: 1rem 2rem;
  display: block;
  width: max-content;
  margin: auto;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 2.5rem;
}

.digital_solutions i:not(p > i), #our_core_values i, .users_stats i {
  padding: 0.8rem;
  border-radius: 50%;
  color: #fefefe;
  background-color: #f28705;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.digital_solutions i:not(a i):hover {
  box-shadow: 0 1.2rem 2.5rem rgba(217, 139, 82, 0.6);
  cursor: auto;
}

.digital_solutions > a {
  background-color: #fefefe;
 border: #222020 1px solid;
 transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border 0.4s ease-in-out;
}

.digital_solutions > a:hover {
  color: #fefefe;
  background-color: #26343D;
  border: 1px solid transparent;
}

.digital_solutions img {
  border-radius: 2rem 2rem 0 0;
}

.img_container {
  padding: 1rem 1rem 0 1rem;
  border-radius: 2rem;
  width: 100%;
  height: 35vh;
  display: block;
  overflow: hidden;
  background-color: #fefefe;
}

.simap, .portal, .applead_property {
  border-radius: 2rem;
  background-color: hsl(42, 60%, 96%);
}

.simap img, .portal img, .applead_property img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.simap {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  align-items: center;
  gap: 5rem;
  padding: 2rem;
  height: 70vh;
}

.simap .img_container {
  grid-column: 2 / 3;
  display: block;
  height: 100%;
  margin: auto;
}

.simap img {
  object-fit: cover;
  
}

.simap figcaption {
  grid-column: 1/ 2;
  font-size: 2rem;
  line-height: 3.5rem;
}

.simap strong {
  color: #F28705;
}

.portal, .applead_property {
  display: grid;
  grid-template-rows: 1fr 5fr;
  grid-auto-flow: row;
  justify-items: center;
  align-items: center;
  overflow: hidden;
  gap: 1rem;
  padding: 2rem;
  height: 70vh;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.portal:hover, .applead_property:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2.5rem rgba(217, 139, 82, 0.6);
}

.portal .img_container {
  grid-row: 2 / 3;
  display: block;
}

.applead_property .img_container {
  grid-row: 2 / 3;
  display: block;
}

.partners {
  text-align: center;
}

.partners img {
  display: block;
  margin: 1rem auto;
}

.users_stats {
  background-color: #F2870526;
  padding: 3rem;
   font-size: 2rem;
}

.users_stats span {
  font-weight: bold;
}

.users_stats figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: unset;
}

.users_stats figure i {
  display: block;
  margin-right: 1rem;
  font-weight: bold;
}

.trusted div, .partners div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-auto-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.trusted article, .partners article {
  padding: 1rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  background-color: #f0f0f0;
}

.trusted article h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trusted article img {
  padding: 0.5rem;
  display: block;
  width: 4rem;
  object-fit: cover;
  border-radius: 50%;
  background-color: #eadfc8;
}

.trusted article strong, .partners strong {
  color: #f28705;
}

.trusted > p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
  height: 50vh;
  border-radius: 3rem;
  color: #fefefe;
  background-color: rgb(8, 40, 50);
  width: 80%;
  margin: auto;
}

.trusted > p a {
  display: block;
  font-size: 2.5rem;
  padding: 1rem 3rem;
  border-radius: 1rem;
  color: #222020;
  background-color: #fefefe;
  transition: box-shadow 0.4s ease-in-out;
}

.trusted > p a:hover {
  box-shadow: inset 0 0 1rem rgba(8, 40, 50, 0.8);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: end;
  width: 95%;
  padding: 4rem 2rem;
  margin: auto;
  position: relative;
  background-color: #fefefe;
}

.news_letter {
  line-height: 3.6rem;
}

.news_letter h2 {
  font-size: 1.8rem;
}

.news_letter form {
  height: clamp(5rem, 5vw, 10vw);
  border-radius: 1rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #f0f0f0;
  text-align: center;
  height: 7rem;
}

.news_letter input {
  padding: 1rem;
  border-radius: 1rem;
  border: none;
  width: 65%;
  font-size: 1.6rem;
  background-color: #f0f0f0;
}

.news_letter button {
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  border: none;
  width: 20%;
  background-color: #161928;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border 0.4s ease-in-out;
}

.news_letter button:hover {
  border: 1px solid #222020;
  background-color: #fefefe;
  color:  #222020;
  cursor: pointer;
}

.news_letter form label {
  border-radius: 1rem;
  display: flex; /* Enables flexbox */
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  background-color: #eadfc8;
  width: fit-content; /* Ensures it wraps around the icon */
  padding: 0.5rem; /* Adds some spacing */
}

.news_letter i {
  font-size: 4rem;
  padding: 1rem;
  border-radius: 1rem;
  color: #f28705;
  width: 5rem; /* Ensures a consistent size */
  height: 5rem; /* Makes sure it's a perfect square */
  display: flex;
  align-items: center; /* Centers icon inside */
  justify-content: center; /* Centers icon inside */
  background-color: transparent; /* Inherit label background */
}

.footer_logo, .socials {
  grid-column: 1 / -1;
}

.footer_logo {
  position: absolute;
  top: 2%;
  left: -1%;
}

.footer_logo img {
  display: block;
  width: 15rem;
  height: 4rem;
  object-fit: cover;
}

.footer_navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 3rem;
  width: 80%;
  margin-left: auto;
}

.footer_navigation h3 {
  font-size: 2.2rem;
}

.socials {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
}

.socials ul {
  display: flex;
  gap: 3rem;
}
.socials li {
  padding: 1rem;
  border-radius: 50%;
  background-color: #eadfc8;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.3, 1), 
              background-color 0.3s ease-in-out;
}

.socials li:hover {
  transform: scale(1.15); /* More natural hover effect */
  box-shadow: 0 0 0.8rem rgba(217, 139, 82, 0.4); /* Softer, more realistic shadow */
  background-color: hsl(38, 45%, 75%); /* Subtle contrast for hover */
}

.socials p {
  font-weight: bold;
}

.socials i {
  text-align: center;
  width: 2rem;
  height: 2rem;
  color: #f28705;
}

.about, .features, #about_us_header, #about_us_main section{
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

.about {
  padding: 2rem 0 2rem 2rem;
}

.about p:first-of-type {
  margin-bottom: 2rem;
}

.features {
  padding: 2rem 2rem 2rem 0;
}

.features li, #our_core_values li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
  background-color: hsl(42, 60%, 96%);
  border-radius: 1.5rem;
}

#products_portal_figure div {
  grid-column: 1 / 2;
}

#products_portal_figure figcaption {
  grid-column: 2 / 3;
}

#products_h1, #about_us_header {
  width: 80%;
  margin: auto;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

#about_us_header p {
  text-align: center;
  margin: auto;
  margin-top: 1rem;
}

#about_us_main section {
  text-align: center;
  width: 80%;
}

#about_us_main section:last-of-type article{
  font-weight: bold;
  color: #6b7378;
  margin-top: 5rem;
}

#our_story p:first-of-type {
  margin-bottom: 1rem;
}

@media (max-width: 1105px) {
  #main_header {
    grid-template-columns: 1fr 3fr;
    column-gap: 0.5rem;
  }

  #hero_header {
    height: 70%;
    width: 90%;
  }
  
  #company_logo {
    width: 80%;
    object-fit: contain;
  }

  #hero_header h1 {
    font-size: 4rem;
  }
  
  #hero_header p {
    font-weight: bold;
    position: absolute;
    top: 52%;
  }

  .hero_stats {
    column-gap: 10rem;
    width: 60%;
  }
  
  .hero_stats p {
    gap: 0.2rem;
    font-size: 1.2rem;
    padding: 1.5rem 0.5rem;
  }
    
  .hero_stats p strong {
    font-size: 1.4rem;
  }

  .hero_rating li header {
    grid-template-columns: 1fr 3fr 2fr;
    padding: 0.2rem;
  }
  
  .hero_rating h2 {
    font-size: 1.2rem;
  }

  .hero_rating li > p {
    padding: 0.5rem;
  }

  .news_letter input {
    padding: 1rem;
    width: 55%;
  }

  .news_letter button {
    padding: 0.5rem 1rem;
    width: 25%;
    font-size: 1.2rem;
    text-align: center;
  }

  .footer_logo {
    position: absolute;
    top: 2%;
    left: -2%;
  }
}

@media (max-width: 600px) {
  .users_stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    font-size: 1.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .users_stats figure {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 450px) {
  *,
  ::before, 
  ::after {
    scrollbar-width: none;
  }

  h3 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }

  main {
    padding: 1rem;
    padding-top: 6.5rem;
    margin-bottom: 5rem;
  }
  
  #main_header {
    grid-template-columns: 3fr 1fr;
    column-gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    font-size: 1rem;
  }

  #company_logo {
    width: 60%;
    position: relative;
    left: -12%;
  }

  section:not(.hero, .news_letter) {
    width: 95%;
  }
  
  section:not(.hero, .about_us, .news_letter) {
    margin-top: 5rem;
  }

  section.about_us {
    margin-top: -12rem;
  }  
  
  section:not(.hero, .news_letter) header {
    margin-bottom: 2rem;
  }
  
  section:not(.hero, .news_letter) h2 {
    margin-bottom: 1rem;
    width: fit-content;
    font-size: 1.5rem;
  }
  
  section:not(.hero, .about_us, .news_letter) header p,
  .about_us header strong {
    font-size: 2rem;
  }

  #hero_header {
    width: 95%;
    margin-top: 2%;
  }
  
  #hero_header h1 {
    font-size: 3.5rem;
    top: 18%;
    font-weight: bold;
  }
  
  #hero_header p {
    font-weight: bold;
    top: 54%;
    font-size: 1.4rem;
  }
  
  
  #hero_header p:last-of-type {
    padding: 0.5rem;
    padding-right: 1rem;
    border-radius: 2rem;
    top: 8%;
  }
  
  #hero_header p:last-of-type strong {
    padding: 0.3rem 1rem;
  }
  
  .hero_stats {
    column-gap: 1rem;
    width: 100%;
  }
  
  .hero_stats p {
    gap: 0.2rem;
    font-size: 0.85rem;
    padding: 1rem 0.2rem;
  }
  
  .hero_stats p strong {
    font-size: 1rem;
  }
  
  .hero_rating {
    align-items: unset;
    padding: 0.2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    width: 100%;
  }
  
  .hero_rating li {
    width: 48%;
  }
  
  .hero_rating li header {
    padding: 0.2rem;
  }
  
  .hero_rating h2 {
    font-size: 1rem;
  }
  
  .hero_rating img {
    width: 3rem;
    height: 3rem;
  }

  .about_us img {
    height: 50vh;
  }
  
  .about_us figcaption {
    bottom: 20%;
    width: 70%;
  }
  
  .about_us article {
    padding: 1.5rem;
    grid-column: 1 / 3;
  }
  
  .mission p {
    font-size: 2rem;
    line-height: 3.5rem;
  }
  
  .values ul {
    gap: 2rem;
  }
  
  .values li:last-of-type h4{
    width: 70%;
  }

  .digital_solutions div {
    margin-bottom: 2rem;
  }
  
  .digital_solutions i:not(a i), #our_core_values i {
    padding: 0.5rem;
  }
  
  .img_container {
    width: 100%;
    height: 35vh;
  }
  
  .simap, .portal, .applead_property {
    grid-column: 1 / -1;
  }
  
  .simap {
    gap: 2rem;
    padding: 1rem;
  }
  
  .simap .img_container {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  
  .simap figcaption {
    grid-column: 1/ 3;
    font-size: 1.6rem;
    line-height: unset;
  }

  .portal, .applead_property {
    gap: 1rem;
    padding: 1rem;
    font-size: 1.6rem;
  }
  
  .portal figcaption, .applead_property figcaption {
    margin-top: 3rem;
  }
  
  .applead_property .img_container {
    grid-row: 2 / 3;
    display: block;
  } 
  
  .trusted > p {
    gap: 2rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    height: 25vh;
    width: 100%;

  }
  
  .trusted > p a {
    padding: 0.5rem 1rem;
  }

  footer {
    row-gap: 2rem;
    align-items: end;
    width: 100%;
    padding: 2rem 1rem;
  }
  
  .news_letter {
    line-height: unset;
    grid-column: 1 / -1;
  }
  
  .news_letter h2 {
    font-size: 1.6rem;
  }
  
  .news_letter form {
    height: 15vw;
    border-radius: 1rem;
    padding: 0.5rem;
    justify-content: space-between;
    text-align: center;
  }
  
  .news_letter input {
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    width: 60%;
    font-size: 1.4rem;
  }
  
  .news_letter button {
    padding: 0.5rem;
    width: 20%;
    font-size: 1.2rem;
    overflow: hidden;
  }
  
  .footer_logo, .socials {
    grid-column: 1 / -1;
  }
  
  .footer_logo {
    top: -3%;
    left: -2%;
  }
  
  .footer_logo img {
    width: 8rem;
    height: 3rem;
    object-fit: cover;
  }
  
  .footer_navigation {
    grid-column: 1 / -1;
    line-height: unset;
    width: 90%;
    text-align: start;
    margin: auto;
  }
  
  .footer_navigation div:last-of-type {
    text-align: end;
  }

  .footer_navigation h3 {
    font-size: 1.8rem;
  }
  
  .socials {
    flex-direction: column;
    margin-top: 1rem;
    text-align: center;
  }

  .socials ul {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .socials li {
    padding: 0.6rem;
  }
  
  .socials i {
    width: 2rem;
    height: 2rem;
  }

  .socials p {
    font-size: 1.3rem;
  }
  
  #about_us_main section {
    margin-top: 2rem;
  }

  .about {
    grid-column: 1 / 3;
    padding:unset;
  }
  
  .about p {
    font-size: 1.6rem;
  }
  
  .about p:first-of-type {
    margin-bottom: 2rem;
  }
  
  .features {
    grid-column: 1 / 3;
    padding: unset;
  }
  .features h3 {
    text-align: center;
  }

  .features li, #our_core_values li {
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  #our_core_values li {
    text-align: left;
  }

  #our_core_values li strong {
    display: block;
  }
  
  #products_portal_figure div,   #products_portal_figure figcaption {
    grid-column: 1 / 3;
  }

  #products_h1, #about_us_header {
    width: 100%;
 
  }

  #products_h1, #about_us_header h1 {
    font-size: 2rem;
  }
  
  #about_us_main section {
    width: 90%;
  }
  
  #about_us_main section:last-of-type article{
    margin-top: 3rem;
  }
}

/* Small Screen Navbar (Mobile Styling) */
@media (max-width: 991px) {
  #main_header {
    padding: 10px 15px;
    border-bottom: 1px solid hsla(33, 96%, 48%, 0.329);
  }

  /* Menu Button Styling */
  .btn-dark {
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #f28705;
    border: none;
  }

  .btn-dark:hover {
    background-color: #d97504;
  }

  /* Offcanvas Sidebar Customization */
  .offcanvas {
    background-color: #fff;
    width: 75%;
    max-width: 300px;
  }

  .offcanvas-header {
    border-bottom: 1px solid #ddd;
    padding: 15px;
  }

  .offcanvas-body {
    padding: 20px;
  }

  .nav.flex-column .nav-item {
    padding: 10px 0;
  }

  .nav.flex-column .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease-in-out;
    padding: 10px;
    border-radius: 5px;
  }

  .nav.flex-column .nav-link:hover {
    background-color: #f28705;
    color: #fff;
  }

  /* Icons inside Sidebar */
  .nav-link i {
    margin-right: 8px;
  }
}

/* General Modal Styling */
#announcementModal .modal-header {
  background-color: #f28705;
  color: white;
}

#announcementModal .btn-close {
  filter: invert(1);
  opacity: 1;
}

/* Modal Backdrop */
.modal-backdrop.show {
  opacity: 0.7;
  background-color: #000;
}

/* Mobile Modal Fixes */
@media (max-width: 768px) {
  #announcementModal .modal-dialog {
    margin: 0 auto;
    max-width: 95%;
    width: 95%;
  }
  
  #announcementModal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .announcement-image {
    max-height: 50vh;
    width: auto;
    max-width: 100%;
  }
  
  /* Only apply fixed positioning to body on mobile */
  body.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
}

/* Ensure modal content is properly displayed */
#announcementModal .modal-content {
  background-color: white;
  transition: transform 0.3s ease-out;
}

/* Default body styles - ensure scrolling works */
body {
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative !important;
}

/* Desktop specific - ensure scrolling works */
@media (min-width: 769px) {
  body.modal-open {
    position: static !important;
    overflow: auto !important;
  }
}