@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


body {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

hr{
    border-bottom: 1px black solid;
}

.text-color-mol{
    color: #005396;
}

.text-color-alistair{
  color: #f7aa1a;
}



.text-a{
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.op-animation:hover{
  opacity: 50%;
}

.bg-color-mol{
    background-color: #005396;
    color: white;
}

.link-arrow::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* for solid icons */
  content: "\f35d"; /* unicode for fa-arrow-up-right-from-square */
  font-size: 0.8em;
  padding-left: 0.3em;
}



.float-center {
    margin: 0 auto;
  }

/* Navbar Start */

.navbar-brand{
    font-family: "Dancing Script", cursive, sans-serif;
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.navbar{
    font-size: 14px;
    font-weight: 450;
    background: rgba(255, 255, 255, 1);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #0066b3;
}

.my-nav{
    position: fixed;
    width:100%;
    top:0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
}

.navbar{
  background: rgba(255, 255, 255, 0.6);
}

.nav-link:hover{
    text-decoration: underline;
}

.navbar-dropdown-item{
    font-size: 14px;
    font-weight: 400;
}
.navbar-toggler{
    z-index: 1;
}

.navbar-dropdown:hover > .navbar-dropdown-menu {
  display: block;    
}

.navbar-dropdown-menu li a:hover{
  background-color: #0066b3;
  color: white;
}

.filter-dropdown-menu li a:hover{
  background-color: #0066b3;
  color: white;
  border: 1px white solid;
}

.filter-dropdown-menu .active{
  background-color: #0066b3;
  color: white;
}

/* @media (min-width: 979px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
} */

/* Navbar End */

/* Sidenav Start */
.sidenav li::after {
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  left: auto;
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  content: "";
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sidenav a{
  text-decoration: none;
}

.card-header small{
  color: #0177fe;
  font-weight: bold;
}
/* Sidenav End */


.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
    }

.form-control{
    border: black 1px solid;
}

/* BreadCrumb Start */
.h1ImgWrap {
    width: 100%;
    height: 250px;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center bottom !important;
    background-position: center center !important;
    color: white;
    }
    
/* Base area (orange background without logo) */
.h1ImgWrap.inner-bg-8.alistair-breadcrumb {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: url('assets/images/breadcrumb-alistair.jpg') no-repeat center/cover;

  /* custom properties control the angled wedge */
  --wedge-top: 78%;     /* where the diagonal starts at the top (0–100%) */
  --wedge-bottom: 70%;  /* where the diagonal meets the bottom (0–100%) */
  --wedge-white: 0.2%;  /* thickness of the white line */
}

/* Black angled panel */
.h1ImgWrap.inner-bg-8.alistair-breadcrumb::after {
  content: "";
  position: absolute; inset: 0;
  background: #000;
  z-index: 0;
  clip-path: polygon(var(--wedge-top) 0%, 100% 0%, 100% 101%, var(--wedge-bottom) 101%);
}

/* White diagonal line */
.h1ImgWrap.inner-bg-8.alistair-breadcrumb::before {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  z-index: 1;
  clip-path: polygon(
    calc(var(--wedge-top) - var(--wedge-white)) 0%,
    var(--wedge-top) 0%,
    var(--wedge-bottom) 100%,
    calc(var(--wedge-bottom) - var(--wedge-white)) 100%
  );
}

/* Keep text away from logo */
.h1ImgWrap.inner-bg-8.alistair-breadcrumb .container {
  position: relative;
  z-index: 2;
  padding-right: 200px; /* space for logo */
}

/* Logo */
.alistair-breadcrumb__logo {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  height: 140px;  /* default size */
  width: auto;

  /* Place closer to white diagonal instead of edge */
  right: calc(0px + 10vw);
  /* explanation: 100% - wedge-top ≈ distance from left edge of black panel,
     +20px gives a little padding */
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .h1ImgWrap.inner-bg-8.alistair-breadcrumb {
    min-height: 220px;
    --wedge-top: 67%;
    --wedge-bottom: 48%;
  }
  .h1ImgWrap.inner-bg-8.alistair-breadcrumb .container { padding-right: 200px; }
}

@media (max-width: 576px) {
  .h1ImgWrap.inner-bg-8.alistair-breadcrumb {
    min-height: 220px;
    --wedge-top: 66%;
    --wedge-bottom: 43%;
  }
  .h1ImgWrap.inner-bg-8.alistair-breadcrumb .container { padding-right: 10px; }
  .alistair-breadcrumb__logo {
    height: 120px; /* smaller on mobile */
  }
}

.inner-bg-1 {
	background: url(assets/images/breadcrumb-contact-us.jpg);
    
    opacity: 100%;
}
.inner-bg-3 {
	background: url(assets/images/breadcrumb-africa-operations.jpg);
    
    opacity: 100%;
}
.inner-bg-4 {
	background: url(assets/images/breadcrumb-about-mol.jpg);
    
    opacity: 100%;
}
.inner-bg-5 {
	background: url(assets/images/breadcrumb-africa-offices.jpg);
    
    opacity: 100%;
}
.inner-bg-6 {
	background: url(assets/images/breadcrumb-media.jpg);
    
    opacity: 100%;
}
.inner-bg-7 {
	background: url(assets/images/breadcrumb-africa-history.jpg);
    
    opacity: 100%;
}

.inner-bg-8 {
	background: url(assets/images/breadcrumb-alistair-4.jpg);
    
    opacity: 100%;
}
.inner-bg-9 {
	background: url(assets/images/breadcrumb-resources.jpg);
    
    opacity: 100%;
}

.inner-bg-2{
  background: linear-gradient(to bottom right, #FDFCFB, #E2D1C3);

}
/* BreadCrumb End */

/* Resources */
    .resource-cover { aspect-ratio: 1/1; object-fit: cover; }
    .category-chip { cursor: pointer; }
    .card-hover:hover { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); transform: translateY(-4px); cursor: pointer; }
    .results-empty { display:none; }
    

/*Newsletter Pop-up Css*/

#newsletter-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.popup-content {
color:black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  background-image: url(assets/images/newsletter-pr-pop.jpg);
  background-size: cover;
  padding: 40px;
  text-align: center;
  width: 800px;
  height: 450px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #333;
opacity: 0.95;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  color: black;
  font-size: 50px;
}

@media (max-width: 767px) {
  .popup-content {
    width: 90%;
    height: 650px;
    padding: 20px;
  }
}
/*Newsletter Pop-up Css End */

.submit-button{
    border: white 1px solid;
    color: white;
}

.submit-button:hover{
    color: #005396;
    background-color: white;
}


/* Blog Start */

.btn-group .btn[data-filter="blog"].active {
  background-color: #ffc107 !important; /* same as btn-warning */
  color: #000 !important;
  box-shadow: 0 0 0 0.25rem rgba(255,193,7,.5); /* subtle glow */
}

.btn-group .btn[data-filter="news"].active {
  background-color: #198754 !important; /* same as btn-success */
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(25,135,84,.5);
}

.btn-group .btn[data-filter="press"].active {
  background-color: #0d6efd !important; /* same as btn-primary */
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.5);
}

.btn-group .btn[data-filter="all"].active {
  background-color: #6c757d !important; /* same as btn-secondary */
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(108,117,125,.5);
}

.blog-carousel-prev,
.blog-carousel-next {
    z-index: 1000; /* Ensure it's above other elements */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Ensure it's visible */
    transition: opacity 0.3s ease-in-out;
}

.blog-carousel-prev:hover,
.blog-carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

.blog-carousel-prev {
    left: -30px; /* Adjust position */
}

.blog-carousel-next {
    right: -30px; /* Adjust position */
}

/* Blog End */

/* Responsiveness */
@media all and (max-width: 1006px) {
    .my-nav{
        position: sticky;
    }
    .h1ImgWrap{
        height: 200px;
    }
    #navbarContent{
        width:100%;
        background: linear-gradient(to right, #005396, #00a0dc);
    }
    .nav-link{
        color: white !important;
    }
    .main-carousel-indicators{
        display: none;
    }
    .blog-carousel-prev,
    .blog-carousel-next {
        display: none;
    }
    .main-carousel-prev, .main-carousel-next{
        top:30px
    }
    .search-bar{
        color: white !important;
    }
    .text-content{
      color: #000;
    }
    .search-dropdown{
      left: 20px;
    }

  }

  /*blog*/

  /*blog card*/
  .blog-card-title{
    font-size: 1.5rem;
  }
  
  .blog-card{
    min-width:200px;
    transition: all 0.5s ease-in-out;
    border-radius: 5%;
  }
  
  .share-btn{
      border:none;
    }
  
  .blog-header{
    font-size:3rem;
    color: black;
  }
  
  .blog-content {
    color: black;
    text-decoration: none;
  }

  .blog-content h1{
    text-decoration: none;
  }
  
  
  
  .img-box{
    overflow: hidden;
  }
  .img-box img{
    transition: all 0.8s ease-in-out;
  }
  .img-box img:hover{
    transform: scale(1.1);
  }
  
  .blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  
  }

  .lazy-loader{
    transform: translateY(50px);
    opacity: 0;
    transition: 1000ms;
    
  }

  .lazy-loader.show{
    transform: translateY(0);
    opacity: 1;
  }
  
  
  
  /* .blog-card:hover{
    transform: translateY(-10px);
  } */
  
  .top-blog-text{
    border-bottom: 1px solid black;
  }
  
  .top-blog-img img{
    box-shadow: 0px 2px 3px #8b8b8b;
    border-radius:5px;
  }
  
  .read-more{
    position: absolute;
    bottom: 0;
    right: 0;
    color: #2ed97c;
  }
  
  
  .blog-info i {
    color:#005396;
  }
  
  /* .author{
    border: 1px solid black;
    border-radius: 50%;
    width:64px;
    margin-left:20px;
    box-shadow: 0px 3px 5px #8b8b8b;
  } */

  .author img{
    width:64px;
  }

  .author span {
    font-size: x-small;
    text-wrap: nowrap;
  }
  
  .in-blog-img{
  
    width: 100%;
    height: 410px;
    object-fit: cover;
  }
  
  .in-text-img{
    width: 140px;
  }
  
  
  .in-blog-content{
    box-shadow: 0px 3px 5px #8b8b8b;
  }
  
  .in-blog-content li{
    margin: 15px 0px;
  }
  
  .share-btn i{
    transition: all 0.2s ease-in;
  }
  .share-btn i:hover{
    transform: scale(1.3);
  }
  
  .subtitle {
    font-weight: bold;
    font-size:1.8rem;
    color: #3d3d3d;
  }
  
  .definition{
    border-bottom: dotted 2px #3d3d3d;
    padding-bottom:1px;
    cursor: pointer;
    padding:2px 3px 2px 2px;
    margin-right: 12px;
  
  }
  
  .definition:after{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight:900;
    content: "\f05A";
    color: #3d3d3d;
    font-size: 0.8rem;
  
  }

  .small-sq-album{
    padding-left: 3%;
    padding-right: 3%;
  }

  .pr-table td{
    border: #000 solid 1px;
  }
  
  .pr-table tbody{
    border: #000 solid 1px;
  }

/* Map */

.map{
  border: #000 1px solid; 
  border-radius: 3px;
}

  /* Style for the countries */
  #popup {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    display: none;
    z-index: 1000; /* Ensure popup is above other elements */
}



/* Accordion Start */
.accordion-item{
  border:#000 solid 1px;
}

.bg-color-accordion{
  background-color: #ebede3;
  color: black;
}
/* Accordion End */

/* Corporate Table Start */
.corporate-table{
  border:#fff solid 1px;
}


.corporate-table th {
  background-color: rgb(0, 123, 209);
  color: white;
}
.corporate-table td {
  background-color: rgb(242, 242, 239);
}

/* Corporate Table End */
/* loader */
.loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 29999;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #005396, #00a0dc);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  display: inline-block;
  width: 75px; /* Adjust the size to fit the SVG */
  height: 75px; /* Adjust the size to fit the SVG */
  position: relative;
}

.loader-inner {
  fill: #fff; /* Make the SVG white */
  clip-path: inset(0 0 0 0); /* Start with the SVG fully hidden */
  animation: fill-animation 2.2s ease-in infinite;
}

/* Keyframes for the filling effect */
@keyframes fill-animation {
  0% {
    clip-path: inset(0% 0% 95% 0%); /* Hidden from the top */
  }
  50% {
    clip-path: inset(75% 0 0 0); /* Fully visible */
  }
  75% {
    clip-path: inset(0 0 0 0); /* Fully visible */
  }
  100% {
    clip-path: inset(0 0 0 0); /* Fully visible */
  }
}

/* Homepage Operations Start */
.operations-container {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full height of the section */
}
.operation-img-container {
  position: relative;
  width: 100%;
  height: 20%; /* Each image takes 20% of the height */
  overflow: hidden;
}
.operation-img {
  width: 100%; /* Each image takes full width */
  height: 100%; /* Ensures image covers the full height */
  object-fit: cover; /* Ensures image covers the div */
  object-position: 50% 40%; /* Adjust the part of the image to show */
  transform: rotate(0deg); /* Slightly angled */
  border: 1px solid #fff;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth transition for scaling and opacity */
}
.operation-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.operation-img-container:hover .operation-img {
  transform: rotate(0deg) scale(0.9); /* Zoom-out effect */
  opacity: 0.4;
}
.operation-img-container:hover .operation-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.text-image-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-content {
  padding: 20px;
}

.operation-img.zoom-out {
  object-position: 0% 70%; /* Adjust the part of the image to show */
}

.operations-container a {
  text-decoration: none;
}

/* Homepage Operations End */

.btn-white{
  border: 1px solid #fff;
  color: white;
}

.btn-white:hover{
  background-color: #fff;
  color: #00a0dc;
}

.btn-blue{
  border: 1px solid #00a0dc;
  color: #00a0dc;
}

.btn-blue:hover{
  background-color: #00a0dc;
  color: #fff
}




.section {
  height: auto; /* Default height */
  display: block; /* Default display */
  justify-content: flex-start; /* Default alignment */
  align-items: flex-start; /* Default alignment */
}

/* Styling for larger screens */
@media (min-width: 1024px) {
  .section {
    min-height: 100vh; /* Full viewport height */
    display: flex; /* Flex display */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
  }
  .main-carousel {
    height: 100vh;
  }
  
  .main-carousel-item {
    height: 100vh;
  }
  
  .main-carousel-image {
    object-fit: cover;
    height: 100%;
  }
}

/* body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  scroll-behavior: smooth;
} */


.search-dropdown{
  position: absolute;
  right: 0;                 /* align to input; use left:0 if you prefer */
  top: calc(100% + .25rem); /* sit just under the input */
  width: 270px;

  background: #fff;         /* ensure solid background */
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .5rem;
  padding: 6px 4px;
  z-index: 1055;

  max-height: min(60vh, 480px);
  overflow-y: auto;         /* <-- key: scroll inside */
  overflow-x: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,.12);
}

.search-dropdown img{ width:40px; height:40px; object-fit:cover; border-radius:8px; }

.search-result-lg{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  line-height: 1.25;
  white-space: normal;      /* allow wrapping */
  word-break: break-word;
  border-radius: .375rem;
}
.search-result-lg:hover{
  background-color:#005396;
  color:white;
}