/* Hero Start */

#hero .image-background {

    background-repeat: no-repeat;
    background-size: cover;
    min-height: 844px;
    border-radius: 16px;
    padding: 0px 128px 0px 64px;
    position: relative; /* Make it a positioned element for the pseudo-element */
    overflow: hidden; /* Ensure the pseudo-element stays within the container */
  }
  
  #hero .image-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(
      0,
      0,
      0,
      0.5
    ); /* Adjust the color and opacity (0.5) as needed */
    border-radius: 16px; /* Maintain the same border radius */
    z-index: 1; /* Ensure the overlay appears above the image */
  }
  
  #hero .image-background * {
    position: relative;
    z-index: 2;
    background-size: cover;
    background-position: center;
  }
  
  #hero h1 {
    color: var(--White, #fff);
    /* H3 semibold 50 (AA) */
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; /* 65px */
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  
  #hero p {
    color: white;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    margin-bottom: 40px;
    width: 73%;
  }
  
  #hero .button-wrapper a {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 3.2px;
    text-transform: uppercase;
  }

   
  #hero .button-wrapper a:hover {
    color: var(--Red);

  }
  
  /* Hexagon button with SVG background */
  #hero .hexagon-button {
    position: relative;
    display: grid;
    width: 254px;
    height: 54px;
    line-height: 54px !important;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #1e3c72;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    background: url("/wp-content/uploads/2024/09/white-hexagon.svg") no-repeat center;
    background-size: auto;
    background-size: contain;
    transition: all 0.3s ease;
    z-index: 1;
    box-sizing: border-box;
  }
  
  /* Adding silver lines */
  #hero .hexagon-button::before,
  #hero .hexagon-button::after {
    content: "";
    position: absolute;
    width: 40px; /* Adjust the size of the silver lines */
    height: 2px; /* Thickness of the silver lines */
    background-color: #1d1e31; /* Silver color */
    z-index: 2; /* Ensure they appear above the SVG background */
    transition: all 0.3s ease;
  }
  
  #hero .hexagon-button::before {
    top: 0px;
    left: 63%;
    transform: translateX(-50%);
    height: 2px;
    width: 75px;
  }
  
  #hero .hexagon-button::after {
    bottom: 0px;
    left: 37%;
    transform: translateX(-50%);
    height: 2px;
    width: 120px;
  }
  
  #hero .hexagon-button:hover::before {
    left: 28%;
  }
  
  #hero .hexagon-button:hover::after {
    left: 65%;
  }
  
  #hero .stats {
    padding: 0px;
    display: inline-block; /* Makes the container fit its content */
    text-align: right; /* Aligns the content to the right */
  }
  
  #hero .stats .number {
    color: var(--White, #fff);
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; /* 62.4px */
  }
  
  #hero .line {
    height: 2px;
    border-top: 2px solid white; /* Set the thickness and color */
    width: 277px; /* Adjust the width of the line */
    margin-left: auto; /* Push the line to the right */
    opacity: 1;
  }
  
  #hero .stats .length {
    color: var(--White, #fff);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: 4.2px;
    text-transform: uppercase;
  }
  
  @media only screen and (max-width: 1200px) {
    #hero .stats {
      margin-bottom: 10%;
    }


    #hero .button-wrapper{
      justify-content: left !important;
    }
  }
  
  @media only screen and (max-width: 768px) {
    #hero h1 {
      color: var(--White, #fff);
      font-size: 36px;
      font-style: normal;
      font-weight: 600;
      line-height: 40px; /* 111.111% */
      text-transform: uppercase;
    }
  
    #hero .image-background {
      min-height: 696px;
      border-radius: 16px;
      background-position: center;
      padding: 42px 24px 0px;
    	align-items: flex-start !important;
    }
  
    #hero .stats {
      margin-bottom: 20% !important;
    }
  
    #hero .stats .number {
      font-size: 24px;
      font-style: normal;
      font-weight: 500;
      line-height: 32px; /* 133.333% */
    }
  
    #hero .line {
      width: 231px;
    }
  
    #hero .stats .length {
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      line-height: 16px; /* 133.333% */
    }
  
    #hero p {
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 20px;
      margin-bottom: 40px;
      width: 100%;
    }
  
    #hero .button-wrapper {
      justify-content: left !important;
    }
  }
  
  /* Hero End */