@font-face {
    font-family: 'ZenKurenaido-ARC';
    src: url('../font/ZenKurenaido-ARC.ttf');
    font-display: swap;
}
@font-face {
    font-family: 'Zen Kurenaido';
    src: url('../font/ZenKurenaido.ttf');
    font-display: swap;
}
@media screen and (max-width: 675px) {
    .navItem1 {
        display:none;
    }
  }
@media screen and (max-width: 580px) {
    .navItem2 {
        display:none;
    }
}
@media screen and (max-width: 540px) {
    .navItem3 {
        display:none;
    }
    .navItem {
        margin-right: 0px;
    }
    .icon-text {
        display: inline;
        text-align: center;
    }
    .icon-text p{
        text-align: left;
    }
    #about{
        padding: 20px;
    }
  }
@media screen and (min-width: 540px) {
    .navItem {
          margin-right: 20px;
    }
    .icon-text {
        display: flex;
    }
    #about{
        padding: 50px;
    }
}
body, h2{
    font-family: 'Zen Kurenaido' !important;
}
h1, h3{
    font-family: 'ZenKurenaido-ARC' !important;
}
main {
    margin: auto;
    padding: 20px;
}
.servicesgrid {
    display: grid;
    grid-gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.contactUsGrid {
    display: grid;
    grid-gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid article{
    background-color: var(--pico-secondary-background);
}

.hero-background {
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(to bottom, var(--pico-background-color) 0%, rgba(0, 0, 0, 0) 33%), linear-gradient(to top, var(--pico-background-color) 0%, rgba(0, 0, 0, 0) 33%),
        url('../images/background.webp');
    background-size: cover;
    background-position: center;
    height: 520px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-background::after {
    content: '';
    position: absolute;
    height: 120px;
    z-index: 2;
}
section {
    position: relative;
    z-index: 2;
    min-width: 400px;
}
header {
    position: relative;
    z-index: 3;
    max-width: 1020px !important;
    margin: auto;
}
nav {
    margin: 10px 25px;
}
main {
    max-width: 1020px;
    margin: auto;
}
main section {
    max-width: 1020px;
    margin: auto;
}
.hero-text {
    position: relative;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(10,10,15, 0.8);
    max-width: 680px;
    width: 85%;
    color: #FFFFFF;
}
.modal-content {
    background-color: var(--pico-background-color);
    color: var(--pico-color);
    margin: 10% auto;
    padding: 20px;
    border: 1px solid var(--pico-muted-border-color);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: var(--pico-box-shadow);
}
#services article {
    border: 1px solid var(--pico-muted-border-color);
    transition: transform 0.3s ease-in-out; /* Smooth transition for scaling */
}
#services h2, #services h3, #about h2 {
    color: var(--pico-secondary) !important;
}
#services article:hover {
    box-shadow: var(--pico-box-shadow);
    transform: scale(1.02); /* Slightly increase size on hover */

}
#contact {
    margin-top: 15px;
    padding-top: 15px;
    text-align: center;
    background-color: #1a1a1a; /* Dark background color */
    color: #ffffff; /* Light text color */
    padding: 50px; /* Add padding for spacing */
    text-align: left; /* Align text to the left */
    border-radius: 10px; /* Rounded corners for a softer look */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Add a shadow for depth */
}
/* Update the CSS for the about section */
#about {
    background-color: #1a1a1a; /* Dark background color */
    color: #ffffff; /* Light text color */
    text-align: left; /* Align text to the left */
    border-radius: 10px; /* Rounded corners for a softer look */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Add a shadow for depth */
}

.about-content {
    max-width: 980px; /* Limit the width of the content */
    margin: 0 auto; /* Center the content horizontally */
}

#about h2 {
    font-size: 2.5rem; /* Larger font size for the heading */
    margin-bottom: 20px; /* Add space below the heading */
}

.icon-text {
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    margin-right: 20px;
}

.icon i {
    font-size: 48px;
    color: var(--pico-primary-inverse); /* Icon color */
}

#about p {
    font-size: 1.2rem; /* Slightly larger font size for paragraphs */
    line-height: 1.6; /* Increase line height for better readability */
    margin-bottom: 20px; /* Add space below paragraphs */
}
footer {
    padding: 20px 0;
    text-align: center;
    bottom: 0;
    max-width: 1020px;
    margin: auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    padding: 0;
}

.footer-links li {
    margin-right: 20px;
    list-style-type: none; /* Remove bullet points */
}

.footer-links li:last-child {
    margin-right: 0;
}
.copyright {
    text-align: center;
}

.contact-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(132px, max-content));
    align-items: center;
    justify-content: center;
}
.phone, .email {
    flex-grow: 1;
    padding: 15px 15px;
    width: fit-content;
    text-align: center;
}
.phone{
    min-width: 179px;
}
.email {
    min-width: 190px;
}
.nameField{
    background: url(../images/name.svg) no-repeat scroll 12px 12px;
    padding-left: 56px !important;
}

.emailField{
    background: url(../images/mail.svg) no-repeat scroll 12px 12px;
    padding-left: 56px !important;
}

.phoneField{
    background: url(../images/phone.svg) no-repeat scroll 12px 12px;
    padding-left: 56px !important;
}
.messageField{
    background: url(../images/note.svg) no-repeat scroll 12px 12px;
    padding-left: 56px !important;
}

.contatct-us-text {
    font-size: 1.1em;
}

.navLink { 
    position: relative;
    text-decoration: none;
  } 

.navLink:hover { 
    text-decoration: none; 
  } 
  
.navLink::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--pico-primary);;
    bottom: 5px;
    left: 5%;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .4s ease-in-out;
}
  
.navLink:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }

.phoneIcon {
    position: relative; 
    bottom: -5px; 
    color: inherit;
  }
  .sendIcon{
    position: relative; 
    bottom: -4px;
    padding-right: 4px;
  }

.contact-us-button {
    margin: auto auto;
    font-size: 1.3em;
    padding: 12px 16px;
    max-width: 300px;
}