*{
	box-sizing: border-box;
}
body,html{
    overflow-x: hidden;
}
.ui_navi_bar{
	height: 80px;
  z-index: 99;
  background-color: white;
  width: 100%;
}
.element_inner{
	width: 80%;
	max-width: 1280px;
	margin: 0 auto;
  padding: 0 !important;
}
.ui_logo{
	width: auto;
	height: 60px;
}

.button_xi {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 10px 13px;
  border-radius: 100px;
  background: #fb922d;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.button_xi:hover {
  background: #fb922d;

}

.button_xi > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.button_xi:hover svg {
  transform: translateX(5px);
}

.button_xi:active {
  transform: scale(0.95);
}
.poppins{
	font-family: "Poppins";
}
.ui_header{
	height: 100%;
	position: fixed;
	top: 0;
  width: 100%;
  background-color: white;
}
.ui_big_text{
  font-size: 70px;
}
.ui_trans_img{
  height: 600px;
}


@font-face{
    font-family: "SF Pro Display";
    src: url("https://afriboxindustries.com/assets/fonts/sf_regular.OTF");
}

.stack-sans{
font-family: 'SF Pro Display', sans-serif !important;
}
.text_orange{
  color: #fa922f !important;
}
.border_orange{
  border-color: #fa922f !important;
}
.poppins {
font-family: 'SF Pro Display', sans-serif !important;
}





/* Navigation Bar - Mobile Optimized */
.ui_navi_bar {
  height: 70px;
  z-index: 99;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
}

.element_inner {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px !important;
}

.logo_place {
  flex: 0 0 auto;
}

.ui_logo {
  width: auto;
  height: 45px;
  display: block;
}

/* Touch-Optimized Button */
.button_xi {
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  padding: 10px 16px;
  border-radius: 100px;
  background: #fb922d;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 14px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;
}

.button_xi:active {
  transform: scale(0.96);
  background: #e8841f;
}

.button_xi > svg {
  width: 28px;
  margin-left: 8px;
  transition: transform 0.3s ease-in-out;
}

.button_xi span {
  white-space: nowrap;
}

.text_blue{
  color: #0a3653 !important;
}
.ui_header_xi{
  height: 600px;
  background-image: linear-gradient(rgba(0,0,0,0.6) 50%, #0f3a56 100%),url("../images/venti-views-1cqIcrWFQBI-unsplash.jpg");
  background-position: center;
  background-size: cover;
  margin-top: 70px;
}
.ui_features-section{
  position: relative;
  /* border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px; */
}

/* Full-screen overlay */
.loader-overlay {
  position: fixed;
  inset: 0;                     /* top/right/bottom/left: 0 */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease-out, visibility 0s 0.4s;
}

/* Hide when .hidden is added */
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Spinner – uses Bootstrap primary color variable */
.loader-spinner {
  width: 56px;
  height: 56px;
  border: 6px solid #f3f3f3;
  border-top-color: var(--bs-primary, #0d6efd);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Optional: fade-in main content */
main { opacity: 0; transition: opacity 0.3s ease-in; }
main.loaded { opacity: 1; }

.ui_bg_text{
  font-size: 70px;
}
.about_img{
  height: auto;
  width: 100%;
}
.bg_orange{
  background-color: #e8841f !important;
}
.text_orange{
  color: #e8841f !important;
}
.bg_blue{
  background-color: #0f3a56 !important;
}
.text_blue{
  color: #0f3a56 !important;
}
.why_us_image{
  height: auto;
  width: 100%;
}
.clear_cta_img{
  height: 500px;
  width: auto;
}

#chartdiv {
  width: 100%;
  height: 500px;
max-width:100%;
  background-color:#000033;
}

/* clear cta code */


/* responsive css */

/* ==================================== */
/* === MOBILE OPTIMIZATION (NAVBAR) === */
/* ==================================== */


/* Tablet and Mobile Screens (<= 991.98px) */
@media (max-width: 991.98px) {
    
  /* Hide the full desktop menu and contact button */
  .links_place.desktop-menu, 
  .main_contact_btn.desktop-menu {
      display: none !important;
  }
  
.ui_mobile_btn_sec{
    display: inline !important;
}
  
  /* Ensure the main navbar height works with the smaller logo */
  .ui_navi_bar {
      height: 70px; /* Keep consistent with your existing setting */
      width: 100% !important;
  }

  /* Adjust element_inner width for mobile (already set to 90%) */
  
  /* Adjust logo size for mobile if needed (already set to 45px) */
  /* .ui_logo {
      height: 45px; 
  } */
  
  /* --- Offcanvas Styling --- */
  /* Adjust offcanvas appearance */
  .offcanvas {
      background-color: white;
  }
  
  .offcanvas-header {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  /* Style for mobile links */
  .offcanvas-body .nav-link {
      color: var(--theme-text-primary) !important;
      padding: 12px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  /* Style for dropdown items in mobile menu */
  .offcanvas-body .dropdown-menu {
      position: static !important; /* Allow dropdowns to push down content */
      transform: none !important;
      box-shadow: none !important;
      background-color: transparent;
      border: none;
  }
  
  .offcanvas-body .dropdown-menu .dropdown-item {
      padding-left: 30px;
      font-weight: 400;
      font-size: 15px;
      color: var(--theme-text-primary);
  }
  
  /* Mobile Theme Switcher style (using same styling as desktop themeSwitcher) */
  #themeSwitcherMobile {
      font-size: 30px;
      background: none;
      border: 2px solid var(--theme-orange-primary);
      color: var(--theme-text-secondary); 
      padding: 10px 15px;
      border-radius: 50%;
      transition: all 0.3s;
  }
  
  #themeSwitcherMobile:hover {
      background-color: var(--theme-orange-primary);
      color: white;
  }

  /* Ensure dropdown toggles look clean */
  .offcanvas-body .dropdown-toggle::after {
      float: right;
      margin-top: 0.5em;
  }
}
@media screen and (max-width: 623px){
  .clear_cta_img{
    width: 100%;
    height: auto;
  }
}