@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-color: #f0f8f7; /* Light pastel green background */
  --second-bg-color: #a0c4ff; /* Light blue accent color */
  --text-color: #444444; /* Dark grey text for contrast */
  --main-color: #000000; /* Soft sandal (light orange/tan) */
  --accent-color: #000000; /* Light green */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

/* Section Styling */
section {
  min-height: 100vh;
  padding: 10rem 9%;
}

/* Header Styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom: 0.1rem solid rgba(68, 68, 68, 0.1); /* Light border */
}

.header.sticky {
  border-bottom: 1rem solid rgba(68, 68, 68, 0.2);
}

.logo {
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 800;
}

.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: var(--accent-color); /* Light green hover */
}

#menu-icon {
  font-size: 3.5rem;
  color: var(--text-color);
  display: none;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
}

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.home-content h3:nth-last-of-type(2) {
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--second-bg-color); /* Light blue heading */
}

.home-content p {
  font-size: 1.6rem;
  color: var(--text-color);
}

.social-media a {
  color: var(--main-color); /* Sandal button */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  background: transparent;
  border: 0.3rem solid var(--main-color);
  border-radius: 50%;
  font-size: 5rem;
  margin: 3rem 1.5rem;
  transition: 0.3s ease;
}

.social-media a:hover {
  background: var(--accent-color); /* Light green hover */
  color: white;
  box-shadow: 0 0 1rem var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color); /* Sandal button */
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 2.1rem;
  color: #000;
  letter-spacing: 0.1rem;
  font-weight: 700;
  transition: 0.6s ease;
}

.btn:hover {
  background: var(--accent-color);
  color: white;
  box-shadow: none;
}

/* About Section */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--second-bg-color); /* Light blue */
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5rem;
  padding: 0 20px;
}

.about-img {
  flex: 1;
}

.about-img img {
  max-width: 100%;
  height: auto;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  text-align: left;
  line-height: 3;
  color: var(--main-color);
}

.about-content p {
  font-size: 1.6rem;
  text-align: center;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    padding: 0;
  }

  .about-content p {
    text-align: justify;
  }

  .about-img {
    margin-top: 20px;
  }
}

/* Services Section */
.services h2 {
  margin-bottom: 5rem;
  color: var(--text-color);
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.services-box {
  flex: 1 1 30rem;
  background: #fff;
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: 0.2rem solid var(--bg-color);
  transition: 0.5s ease;
  color: var(--text-color);
}

.services-box:hover {
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.services-box i {
  font-size: 7rem;
  color: var(--main-color); /* Sandal icons */
}

.services-box h2 {
  font-size: 5rem;
  color: var(--text-color);
}

/* Portfolio Section */
.portfolio {
  background: var(--bg-color);
  padding: 3rem;
}

.services {
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10rem 0;
}

.services__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.services__card {
  margin: 10px;
  height: 425px;
  width: 300px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--main-color); /* Sandal card background */
  color: white;
  transition: 0.3s ease-in;
}

.services__card h2,
.services__card p {
  text-align: center;
  color: white;
}

.services__btn {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.services__card button {
  color: white;
  padding: 12px 36px;
  border-radius: 21px;
  background: var(--accent-color); /* Light green button */
  font-size: 2rem;
}

.services__card:hover {
  transform: scale(1.075);
}

@media screen and (max-width: 1200px) {
  .services__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .services__wrapper {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  background: #f0f8f7;
  border-radius: 0.8rem;
  margin: 0.7rem 0;
  color: var(--text-color);
}

.contact form input {
  width: 49%;
}

.contact form textarea {
  resize: none;
}

.contact form .btn {
  margin-top: 2rem;
  cursor: pointer;
  background: var(--main-color); /* Sandal submit button */
  color: white;
}

/* Footer Styling */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: var(--second-bg-color); /* Light blue */
}

.footer .footer-text p {
  font-size: 1.6rem;
  color: var(--text-color);
}

.footer-icon a i {
  font-size: 4rem;
  color: var(--accent-color); /* Light green icon */
}

.footer-icon a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: 50%;
  transition: 0.5s ease;
}

.footer-icon a:hover {
  box-shadow: 0 0 7rem var(--main-color);
}
.services__card {
	margin: 30px;
	margin-left: 30px;
	margin-right: 30px;
	width: 100%; /* Adjust the width of the card as needed */
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden; /* Prevents overflow if the image is too big */
	border-radius: 8px; /* Optional: Rounds the corners of the card */
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for better aesthetics */
}

.services__card img {
	width: 100%; /* Make the image fill the card's width */
	height: 100%; /* Make the image fill the card's height */
	object-fit: cover; /* Ensures the image maintains aspect ratio and covers the entire card */
	border-radius: inherit; /* Apply the same border-radius to the image */
}