@import url('https://fonts.googleapis.com/css2?family=Playwrite+NG+Modern:wght@100..400&display=swap'); /* Use a similar font since "Playwrite NG Modern" is not found */

body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
  background-image:  linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(https://images.unsplash.com/photo-1555601568-c9e6f328489b?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  background-size: cover; 
  background-position: center;
  background-attachment: fixed;  
  color: #2a2a2a;
  line-height: 1.7;
}

.fancy-handwriting {
  font-family: 'Playwrite NG Modern', cursive; 
  font-size: 24px; 
  font-optical-sizing: auto;
  font-weight: 400; 
  font-style: normal;
  line-height: 1.5; 
  letter-spacing: 0.05em; 
  padding: 20px;
  margin: 20px;
  background-color: #f0f0f0;
  border-radius: 10px; 
}

header {
  background-color: rgba(233, 232, 232, 0.527);
  padding: 5px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) ;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 2.0rem;
  margin: 0;
  font-weight: 600;
  color: #000000;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 0 15px;
}

nav ul li a {
  color: #2a2a2a;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
} 

nav ul li a:hover {
  background-color: #156554;
  color: white;
}

section {
  padding: 100px 20px;
  margin-top: 90px;
}

h2 {
  color: #000000;
  font-weight: 400;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8); /* White shadow */
  -webkit-text-stroke: 0.009px white;
  text-stroke: 0.009px white;
}  

#home {
  background-color: rgba(13, 121, 71, 0.644);
  color: white;
  text-align: center;
  padding: 150px 20px;
}

#home h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.vertical-line {
  width: 4px; 
  height: 80px; 
  background-color: white;
  margin: 20px auto; 
}

.workwithmebutton {
  display: block;
  width: max-content;
  margin: 20px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background-color: #92E4BE; 
  color: #343434; 
  border-radius: 50px;
  border: none;
  transition: background-color 0.3s;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 5px; 
  transition: background-color 0.3s ease;
}

.workwithmebutton:hover {
  background-color: #114c41;
}

#about {
  background-color: rgba(237, 243, 240, 0.473);
  padding: 100px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  max-width: 40%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-content {
  flex: 2;
}

.text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about h2 {
  color: rgb(0, 0, 0);
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8); /* White shadow */
  -webkit-text-stroke: 0.009px white;
  text-stroke: 0.009px white;
}

#about p {
  color: rgb(0, 0, 0);
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8); /* White shadow */
  -webkit-text-stroke: 0.009px white;
  text-stroke: 0.009px white;
}

#services {
  background-color: rgba(13, 121, 71, 0.568);
  color: rgb(0, 0, 0);
}

#services, #contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
}
.rights {
  text-align: center;
}

.servicesboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#box {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.863);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#box:hover {
  transform: translateY(-10px);
}

#box h3 {
  font-size: 1.5rem;
  margin-top: 15px;
  font-weight: 700;
}

#box p {
  font-size: 1rem;
  color: #555;
  font-size: medium;
}

#portfolio {
  padding: 50px 20px;
  background-color: #f9f9f994;
  color: #343434;
}

.portfolio-item {
  flex:0, 0, 50; 
  text-align: center;
  background-color: rgba(255, 255, 255, 0.616);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  object-fit: scale-down;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item h3 {
  font-size: 1.5rem;
  margin-top: 15px;
  font-weight: 700;
}

.portfolio-item p {
  font-size: 1rem;
  margin-top: 10px;
  color: #555;
}

.portfolio-item1 {
    float: left;
    width: 25%;
    height: 400px;
}

.portfolio-item2 {
    float: left;
    width: 25%;
    height: 400px;
}

.portfolio-item3 {
  float: right;
  width: 25%;
  height: 400px;
}

.portfolio-wrapper {
  display: grid;
  gap: 20px;
}

.portfolio-wrapper::-webkit-scrollbar {
  height: 10px;
  margin: 20px;
}

.portfolio-wrapper::-webkit-scrollbar-thumb {
  background-color: #0d7946;
  border-radius: 5px;
}

.portfolio-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#contact {
  background-color: #f4f4f4;
}

#portfolio h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
}

.portfolio-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
}

form button {
  background-color: #156554;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}