* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

.background {
background-image: url('img_0894.jpg');
background-size: cover;
background-position: center;
position: relative;

}

body {
background-color: #b3d9ff
}



header, footer {
    background-color: #b3d9ff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 999;
}
header a, footer a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    margin-left: 20px;
}
footer {
width: 100%;
}
nav {
display: flex;
justify-content: center;
}

nav ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}

nav li {
margin: 0 10px;
}

nav a {
color: #fff;
text-decoration: none;
font-weight: bold;
font-size: 16px;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}

nav a:hover {
background-color: #fff;
color: #ADD8E6;
}

.hero {
    background-image: url('https://example.com/hero.jpg');
    background-size: cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 999;
}
h1 {
    font-size: 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 999;
}
p {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 999;
}
.services {
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto;
    max-width: 1000px;
    justify-content: center;
    position: relative;
    z-index: 999;
}
.service {
    flex-basis: calc(33.33% - 20px);
    margin: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;

}
.service:hover {
    transform: translateY(-5px);
}
.service i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #b3d9ff;
}
.service h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.service p {
    font-size: 18px;
    line-height: 1.5;
}
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.footer-social a {
    margin: 0 10px;
    font-size: 24px;
}

.article {
max-width: 800px;
min-width: 300px;
height: 100vh;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
}

.article h2 {
font-size: 36px;
font-weight: bold;
margin-bottom: 20px;
}

.article h2 i {
margin-right: 10px;
}

.article h3 {
font-size: 24px;
font-weight: bold;
margin-top: 40px;
margin-bottom: 20px;
}

.article h3 i {
margin-right: 10px;
}

.article p {
font-size: 18px;
line-height: 1.5;
margin-bottom: 20px;
}

.article ul {
margin-bottom: 20px;
margin-left: 25px;
}

.article li {
font-size: 18px;
line-height: 1.5;
margin-bottom: 5px;
list-style: none;
}

.article li i {
margin-right: 10px;
color: #428bca;
}

.fa {
margin-right: 10px;
font-size: 20px;
color: #428bca;
}

form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
  }
  
  form div {
    margin-bottom: 10px;
  }
  
  form label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  form input,
  form select,
  form textarea {
    font-size: 16px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  
  form textarea {
    height: 150px;
  }
  
  form button {
    background-color: #428bca;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  form button i {
    margin-right: 5px;
  }
  
  form button:hover {
    background-color: #3071a9;
  }
  
  .fa {
    margin-right: 10px;
    font-size: 20px;
  }
  
  @media screen and (max-width: 1160px) {
    nav {
        display: none;
    }
}


@media screen and (max-width: 850px){
    .services{
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 10px;
  }
  
  .service {

    padding: 20px;
    font-size: 24px;
    text-align: center;
  }
}  



  @media screen and (max-width: 650px) {
    .services {
        display: flex;
        justify-content: center;
      flex-direction: column;
      width: 400px;
    }

    .service {
        
        padding: 20px;
        font-size: 24px;
        text-align: center;
      }
    
  }

  