/*  Main colours */

:root {
    --orange: #f68712ff;
    --dark-grey: rgb(84,84,84);
}

.text-orange {
    color: var(--orange);
}

.active {
    color: var(--orange) !important;
}

.background-orange {
    background: #f68712ff;
}

.nav-link-orange:hover {
    color: var(--orange) ;
}


.yellow {
    background: #fddd04ff;
}

body {
    overflow-x: hidden;
}

.hero-image {
    object-fit: fill;
    max-width: 100%;
    min-height: 200px;
    padding: 0;
}

.topper {
    height: 40px;
    background: rgb(84,84,84);
    background: linear-gradient(13deg, rgba(84,84,84,1) 50%, rgba(246,135,18,1) 50%);
    color: white;
    font-size: 0.8rem;
    align-items: center;
}

.topper-left {
    text-align: left;
}

.topper-right {
    text-align: right;
}

.picture-box {
    text-align: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.picture-box > img {
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    max-width: 100%;
    height: auto;
    -webkit-box-shadow: 28px -24px 0px 6px rgba(246,135,18,1);
    -moz-box-shadow: 28px -24px 0px 6px rgba(246,135,18,1);
    box-shadow: 28px -24px 0px 6px rgba(246,135,18,1);
    box-sizing: border-box;
}

.services-box {
    min-height: fit-content;
    height: calc(min-height + 10px);
}

.services-box:hover {
    border-color: #f68712ff !important;
}

.services-box-link {
    width: 100%;
    height: 100%;
    text-decoration: none;
    font: inherit;
    color: inherit;
}

.btn-orange {
    width: fit-content;
    background: #f68712ff;
    color: white;
}

.btn-orange:hover {
    background-color: white !important;
    color: var(--orange);
    border: solid 1px var(--orange);
}


/* Initial states for animations */
.slide-in-left, .slide-in-right {
    transform: translateX(0); /* Prevent layout shift during intersection */
    opacity: 0;
    will-change: transform, opacity; /* Hint to the browser to optimise */
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; /* Smooth transition */
  }
  
  .slide-in-left {
    transform: translateX(-100%);
  }
  
  .slide-in-right {
    transform: translateX(100%);
  }
  
  /* Final states when animation is triggered */
  .slide-in-left.show, .slide-in-right.show {
    transform: translateX(0);
    opacity: 1;
  }
  

  /* Initial state for fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Slightly offset to create a smooth effect */
    transition: opacity 3s ease-out, transform 3s ease-out;
  }
  
  /* Final state when animation is triggered */
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }

  .background-dark-grey {
    background: var(--dark-grey);
  }

.map-box {
    max-width: 70%;
}

p {
    font-size: 1.1rem;
}


/* Enable dropdown menu on hover */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Aligns the dropdown with the parent */
}

/* Optional: Add transition for smooth hover effect */
.navbar .dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item.active {
    background: white;
}

