

p {
    font-size: 15px;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
}

b {
    font-weight: 800;
}

i {
    padding-right: 1rem;
}

i:hover {
    color:#2358ba
}
i {
    transition: 0.3s;
}

strong {
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
  }

/* underline color */

.links {
    flex: 1;
}

.links a {
    color:azure;
}

a {
    position: relative;
    z-index: 5;
  }

.underline::before {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 0px;
    background: linear-gradient(
        90deg,
        rgb(143, 180, 255) 0%,
        rgb(114, 192, 255) 10%,
        rgb(118, 215, 207) 20%,
        rgb(114, 192, 255) 30%,
        rgb(143, 180, 255) 40%,
        rgb(114, 192, 255) 50%,
        rgb(118, 215, 207) 60%,
        rgb(114, 192, 255)70%,
        rgb(143, 180, 255)80%,
        rgb(114, 192, 255) 90%,
        rgb(118, 215, 207) 100%
      )
      0 0/100% 200%;
    animation: underlinemove 2s linear infinite;
    background-size: 400% 400%;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;
    z-index: -1;
  }
  
  @keyframes underlinemove {
    to {
      background-position: 133% 0;
    }
  }
  
  .underline:hover::before {
    visibility: visible;
  }
 
  .links a::before {
    height: 7px;
    bottom: 2px;
    left: 1px;
  }
  
  .links a:hover::before {
    width: calc(100% - 6px);
  }
  


/* underline color END */



main {
    margin-top: 0px;
}

h1 {
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-size: 36px;
    color: azure;
    line-height: 4rem;
    padding: 3rem 3rem 6rem 1.3rem;
}


h2 {
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    font-size: 24px;
}

h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: azure;
}

header h3 {
    position:absolute;
    padding-left: 1.5rem;
    padding-right: 7rem;
    top: 190px;
}

.menu-wrapper {
    font-family: 'Josefin Sans', sans-serif;
    padding: .5rem;
    transition: 0.3s;
    align-items: center;
    
}

.mobile-only a {
    text-transform: uppercase;
    text-decoration: none !important;
    font-weight: 800;
    color: azure;
    font-size: 10pt;
}

figcaption {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
}

header {
    background-image: url('../img/phoenix.jpeg');
    background-size: cover;
    height: 50vh;
    padding: 0px 20px;
    padding-bottom: 35rem;
}

nav {
    display: none;
    background-color: rgba(255, 255, 255, .0);
    padding: 1.5rem 1rem;
}

.open {
    max-height: 200px;
}

nav li {
    list-style: none;
}

nav a {
    color: #000;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
}

.menu-wrapper {
    display: flex;
    justify-content: space-between;
}

.hx-logo {
   margin-left: 14px;
   max-width: 68px;
   max-height: 52px;
   transition: .3s;
}

.hx-logo:hover{
    transform: scale(0.93);
    transition: .3s;
}

li {
    text-decoration: none;
    list-style: none;
    color:azure;
    
}



.inner p {
    margin-left: 1.5rem;
    margin-top: 10rem;
    padding-right: 11rem;
}

.inner h3 {
    font-size: 13px;
    padding-top: 10rem;
    margin-right: 2rem;
    text-transform: uppercase;
    font-weight: 400;
}

.inner {
    padding-top: 1rem;
}


/* SECTION 2 */

.section-2 {
    background-color: #EFEFEF;
    padding: 4rem 40px 4rem 40px;
}

.section-2 img {
    max-height: 100%;
    padding-top: 3rem;
}

.section-2 a {
    color: #000;
}


.about p {
    padding: 1rem 0rem 1rem 0rem;
}

.about {
    padding: 2rem 0rem 2rem 0rem;
}

.socials {
    padding-top: 1rem;
}

/* SECTION 3 */

.section-3 {
    padding: 4rem 40px 4rem 40px;
}

.section-3 h2 {
    padding: 1rem 0rem 2rem 0rem;
}


.recent:hover {
    transform: scale(0.93);
    transition: .3s;
}



.row-1 {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.row-2 {
    display: flex;
    gap: 2rem;
}

figcaption {
    padding-top: 2rem;
}

.services2:hover{
    transform: scale(0.93);
    transition: .3s;
}


/* SECTION 4 */

.section-4 {
    padding: 2rem 50px 4rem 40px;
    background-color: #EFEFEF;
}

.section-4 h2 {
    padding: 1rem 0rem;
}

.section-4 a {
    color: #000;
}

.contact-us {
    padding: 1rem 0rem;
}

.map {
    height: 400px;
    width: 100%;
}


/* FOOTER */

.footer {
    padding: 4rem 40px 4rem 40px;
}

.footerlogo {
    display:flex;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0px 4rem 40px;
}

.footerlogo img {
    max-width: 80px;
}

.footertext p {
    font-size: 13px;
line-height: 1.2rem;
}

.credit {
    padding-top: .6rem;
    
}

.credit a {
    text-decoration: none;
    color:#0b3b94;
    font-size: 8pt;
}

/* SERVICE LIST */
/* SERVICE LIST */

.row-alt p {
display: flex;
max-width:100%;
   margin-bottom: 3rem;
}


@media screen and (min-width: 680px) {
    
    p {
        font-size: 16px;
    }

    h1 {
        font-size: 40pt;
        padding-top: 3rem;
    }

    .inner p {
        margin-left: 1.5rem;
        margin-top: -4rem;
        padding-right: 11rem;
    }
    
    
    header {
        background-image: url('../img/phoenix.jpeg');
        background-size: cover;
        height: 70vh;
        padding: 20px;
    }

   .mobile-only {
    display:none;
   }

    header h3 {
        position:absolute;
        padding-left: 1.5rem;
        padding-right: 20rem;
        top: 100px;
    }

}

@media screen and (min-width: 1000px) {
    p {
        font-size: 18px;
        line-height: 1.6rem;
    }    

    h2 {
        font-size: 50px;
    }

    .hx-logo {
        padding-left: 1rem;
    }

    header {
        background-image: url('../img/phoenix.jpeg');
        background-size: cover;
        height: 75vh;
        padding: 0rem 1rem;
    }

    button {
        display: none;
    }

    .menu-wrapper {
        width:100%;
    }
    
    nav {
        display:block;
      }
      nav ul {
        display: flex;
        gap: 6rem;
        padding-right: 3rem;
        
      }

    li {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
        text-transform: uppercase;
        padding-right: 3rem;
    }

    h1 {
        font-size: 90px;
        line-height: 7rem;
        text-align:center;
        padding-top: 8rem;
    }

    header h3 {
        position:absolute;
        top: 210px;
        left: 40%;
    }

    .section-2 {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
        padding: 50px 6rem 80px 6rem;
    }

/* SERVICE LIST */
/* SERVICE LIST */

    .row-alt {
        display: flex;
        padding-bottom: 4rem;
    }

    .row-alt img {
        max-width: 200px;
        max-height: 200px;
        
    }

    .row-alt p {
        font-size: 10pt;
        line-height: 1.5rem;
        max-width: 500px;
       
    }

.services-body {
    padding: 0rem 4rem;
}

    .services-head {
        font-size: 20pt;
        max-width: 700px;
    }

.services-head-2 {
    font-size: 16pt;
        max-width: 400px;
}

/* SERVICE LIST END */
/* SERVICE LIST END */

    .about p {
        padding-right: 140px;
    }

    .section-3 {
        padding: 50px 6rem;
    }
  

    .images {
        display: flex;
        gap: 2rem;
    }

    .section-4 {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 3rem;
            padding: 40px 6rem 460px 6rem;
        }

        .map img {
            max-width:920px;
        }

    footer {
        padding: 0px 4rem;
    }
}
