/* Misq */

:root{
    --header-color: #f58a06;
    --header-color-secondary: #f58a06;
    --header-text: white;
}


/* FOOTER CONTENT */

.site-header {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.mainNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(var(--header-color-secondary), var(--header-color));
    display: flex;
    justify-content: space-between;
    align-items: center; 
    box-shadow: 0 1px 15px -2px rgb(0, 0, 0);
    color: var(--header-text);
    font-weight: 100;
}

a{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: none;
}


.leftNavBar,
.rightNavBar {
    padding: 10px;
    display: flex;
    align-items: center;
}
.leftNavBar a {
    margin-left: 15px; 
}
.rightNavBar {
    text-align: right;
    padding-right: 35px;
    margin-right: 10px; 
}
.rightNavBar a {
    margin-right: 15px; 
}

.stackableEmails {
    list-style-type: none;
    margin: 0;
    margin-top: 3px;
    line-height: 12px;
}

.stackableEmails li {
    margin-bottom: 5px; 
}

.downLine{
    line-height: 50px;
}
.centreNav {
    width: 325px; 
    height: 55px; 
    margin-top: 55px;
    background-color: #122B96;
    display: flex; 
    border-radius: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 2px;
}

.imgHeader {
    margin-top: -20px;
}

.button {
    flex: 1; 
    text-align: center;
    line-height: 55px; 
    color: white;
    cursor: pointer;
    margin-top: 0;
    height: 100%;
    transition: background-color 0.3s;
    font-size: 22px;
    text-decoration: none;
}

.border-right {
    border-radius: 0 20px 20px 0;
}

.border-left {
    border-radius: 20px 0 0 20px;
}

.button:hover {
    background-color: darkblue;
}


.active {
    background-color: #0a174d;
    font-size: 25px;
}

@media screen and (max-width: 1000px) {
    .leftNavBar,
    .rightNavBar {
        display: none;
    }

    .centreNav{
        margin: auto;
        margin-top: 25px;
    }
}

/* MAIN BODY CONTENT */


.hero1{
    margin-top: 175px;
}


.image-gallery {
    --s: 230px; /* control the size */
    --g: 10px;  /* control the gap */
    --f: 1.5;   /* control the scale factor */
  
    list-style-type: none;
    display: grid;
    gap: var(--g);
    width: calc(3*var(--s) + 2*var(--g));
    aspect-ratio: 1;
    grid-template-columns: repeat(3,auto);

  }
  
  .image-gallery > li {
    flex-basis: 350px; /* width: 350px; */
  }
  
  .image-gallery img {
    width: 0;
    height: 0;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: .35s linear;
  }
  .image-gallery::after {
    content: "";
    flex-basis: 350px;
  }

  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* hover */
  .image-gallery > img:hover {
    width:  calc(var(--s)*var(--f));
    height: calc(var(--s)*var(--f));
  }



  @media screen and (max-width: 1000px) {
    .image-gallery {
        --s: calc((100vw / 3.39) + 0.5px); /* control the size */
        --g: 10px;  /* control the gap */
        --f: 1.5;   /* control the scale factor */
      
        list-style-type: none;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    
      }
}
.imageOne{
    border-radius: 2% 50% 50% 50%;
    border: 3px solid var(--header-color);
    height: 500px;
    width: 500px;
    object-fit: contain;
    z-index: 1;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 1s ease, box-shadow 0.3s ease;
}


.imageOne:hover{
    transform: scale(1.02);
}
.blockHeader{
    font-weight: 800;
    font-size: 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.subHeading {
    margin-top: -35px;
    font-size: 20px;
    font-weight: 400;
}
.text-underlined {
    position: relative;
}

.text-underlined::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    border-bottom: 1px solid black; 
}


@keyframes expandDown {
    from {
        opacity: 0;
        top: 90%;
    }
    to {
        opacity: 1;
        top: 100%;
    }
}

.contactCard {
    width: auto;
    margin: 10px;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    animation: expandDown 0.5s ease;
}

.contactCard svg {
    margin-bottom: 10px;
}

.contactCard {
    position: relative;
    transition: all 0.3s ease;
}
.additionalInfo {
    list-style-type: none;
    display: none;
    position: relative;
    font-size: 15px;
    margin-bottom: 0px;
    margin-left: -35px;
    right: 0;
    left: 0;
    width: 140%;
    padding: 10px;
    border-radius: 5px;
    padding: 10px;
    animation: expandDown 0.5s ease forwards;
}
.additionalInfo li {
    text-align: center;
    justify-content: center;
    align-self: center;
}
.offset{
    margin-left: -25px;
}
.cardContent{
    display: none;
}
.contactCard:hover .additionalInfo, .cardContent {
    display: block;
}

.blockContent{
    margin-top: 20px;
}
.card {
    width: auto;
    margin: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card > p{
    font-size: 15px;
}

.limitWidth {
    width: 40px;
}
.contactBox{
    text-align: lef;
}
.contactBox > li{
    list-style-type: none;
}

@media screen and (max-width: 1500px) {
    .imageOne{
        width: 450px;
        height: 450px;
    }

}


@media screen and (max-width: 1000px) {
    .imageOne{
        width: 250px;
        height: 250px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 65px;
    }
    
    }


.spaceBlock{
    width: auto;
    height: 10px;
    margin-top: 30px;
}
/* FOOTER CONTENT */

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--header-color); 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 1px 10px -3px rgb(0, 0, 0);
}

.footer-leftNavBar,
.footer-rightNavBar {
    color: #ffffff;
    padding: 10px;
    display: flex;
    align-items: center;
}

.footer-leftNavBar a {
    margin-left: 15px;
}

.footer-rightNavBar {
    text-align: right;
    padding-right: 35px;
    margin-right: 10px;
}

.footer-rightNavBar a {
    margin-right: 15px;
}


@media screen and (max-width: 600px) {
    .footer-rightNavBar {
        display: none;
    }
}
