/* General styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
}

h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 1px;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

nav a:hover {
  border-bottom: 2px solid #fff;
}

/* Hero styles */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  background-color: #333;
  color: #fff;
}

.hero-text {
  text-align: center;
}

h2 {
  margin-top: 0;
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services styles */
.services {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.services h2 {
  margin-top: 0;
}

.services li {
  margin-top: 2rem;
  font-size: 1.2rem;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services li i {
  margin-right: 1rem;
  font-size: 2rem;
}

/* Portfolio styles */
.portfolio {
  padding: 4rem 2rem;
  text-align: center;
}

.portfolio h2 {
  margin-top: 0;
}

.portfolio p {
  margin-top: 2rem;
}

.portfolio-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-items img {
  width: 100%;
  height: auto;
}

/* About styles */
.about {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.about h2 {
  margin-top: 0;
}

.about p {
  margin-top: 2rem;
}

/* Footer styles */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 2rem;
  background-color: #222;
  color: #fff;
}

footer p {
  margin: 0;
}

/* Contact styles */
.contact-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #f2f2f2;
padding: 4rem 2rem;
}

.contact-form {
max-width: 500px;
margin: 0 auto;
text-align: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
display: block;
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: none;
background-color: #fff;
font-family: inherit;
font-size: 16px;
font-weight: 400;
color: #333;
outline: none;
}

.contact-form textarea {
resize: none;
height: 150px;
}

.contact-form input[type="submit"] {
display: inline-block;
background-color: #0080ff;
color: #fff;
padding: 12px 40px;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
background-color: #0066cc;
}

@media (min-width: 768px) {
.contact-section {
min-height: 80vh;
display: flex;
justify-content: center;
align-items: center;
}
}
