.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* You can change this to match your site's background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .dots {
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background-color: #eb5a1c; /* You can change this to match your site's theme */
    border-radius: 50%;
    animation: dotPulse 0.5s infinite ease-in-out both;
  }
  
  .dot:nth-child(2) {
    animation-delay: 0.3s;
  }
  
  .dot:nth-child(3) {
    animation-delay: 0.6s;
  }
  
  @keyframes dotPulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
  }
  

@font-face {
    font-family: 'MyCustomFont';
    src: url("../fonts/Impacted.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

header{
    font-weight:600;
}

.hero {
    position: relative;
    width: 100%;
    height: 725px;
    background: url('../images/maze.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(45, 59, 85 , 0.95), 60%, rgba(242, 112, 78, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    margin-top: 95px;
}
.hero-content h1 {
    font-size: 3em;
    margin: 0 0 20px;
    font-family: 'MyCustomFont', sans-serif;
}
.hero-content p {
    font-size: 2.14em;
    margin: 0 0 20px;
    color: #eb5a1c;
    font-weight: bold;
}
.hero-images {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    z-index: 2;
}
.hero-images img {
    height: auto;
    transform: skew(-10deg) rotate(-10deg);
    margin: 30px;
    border: 12px solid #eb5a1c;
    border-radius: 35px;
    transition: transform 0.3s ease;
    width: 340px;
}
.hero-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    z-index: 2;
    color: white;
    justify-content: center;
}
.hero-contact a {
    text-decoration: none;
    font-size: 35px;
    font-family: 'MyCustomFont', sans-serif;
}
.hero-contact .ct-button {
    padding: 5px 10px;
    background-color: #ffffff;
    border: none;
    color: #232759;
    cursor: default;
    border-radius: 50px;
    font-weight: bold;
    font-size: 30px;
    font-family: 'MyCustomFont', sans-serif;
    transition: 0.5s;
}

.about_section{
    margin-top:-140px;
}

@media (max-width: 990px) {
    .about_section{
        margin-top:0px;
    }    
}

.logo {
    position: absolute;
    top: 10px; /* Adjust as needed */
    left: 10px; /* Adjust as needed */
    max-width: 100px; /* Adjust to fit your needs */
    height: auto;
    z-index: 2; /* Ensure it’s above the overlay */
}

@media (max-width: 1535px) {
    .hero-content {
        text-align: center;
    }
}

@media (max-width: 1275px) {
    .hero{
      height: 850px;
    }
}


.on-smaller{
    display: none;
}
.on-smaller img{
    max-width: 300px; 
    height: 170px;
}

.on-bigger{
    display: block;
}

@media (max-width: 1216px) {
    .on-smaller{
        display:flex
    }
    .on-bigger{
        display: none;
    }
}

@media (max-width: 1200px) {
    .hero {
        position: relative;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .height{
        height: 0px;
      }
    .about_section{
      position: relative;
      top: -50px;
    }
}

@media (max-width: 831px) {
    .hero {
      height: 900px;
    }
}

@media (max-width: 786px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 28px;
    }
    .hero-images img {
        margin: 20px;
        border-width: 9px;
    }
}


    @media (max-width: 768px) {
    .hero {
        height: 770px;
    }
    .on-smaller img{
        max-width: 240px; 
        height: 140px;
    }
}
@media (max-width: 576px) {
    .hero {
        height: 800px;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 20px;
    }
    .hero-images img {
        margin: 10px;
        border-width: 8px;
    }
    .hero-contact a {
        font-size: 25px;
    }
    .hero-contact button {
        font-size: 20px;
    }
    .hero-images img {
        margin: 10px;
        border-width: 8px;
        width: 320px;
    }
    .on-smaller img{
        max-width: 150px; 
        height: 100px;
    }
}

