body {
  margin: 0;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
  background-color: #1f3542;
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  position: fixed;
  width: 100%;
  display: flex;
}

.logo img {
  height: 75px;
}

.logo a {
  text-decoration: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 25px;
}

nav ul {
  list-style: none;
  display: flex;
}


nav li {
  margin-left: 20px;
}

nav a {
  color: #8a7b56;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
}

nav a:hover {
  color: blue;

}

/*  */

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding-top: 60px;
  z-index: 20;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: grid;
  grid-template-columns: auto;
}

.mobile-nav li {
  margin: 20px 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;

}


@media (max-width: 768px) {
  header {
    top: 0px;
    height: 9vh;
    justify-content: space-between;
  }

  .logo {
    padding: 20px;
  }

  nav {
    display: none;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
    padding: 20px;
  }

  body {
    padding-top: 60px;
  }

  .logo img {
    height: 55px;
  }



  .pictures p {
    color: blue;
    width: auto;
  }

  #home {
    position: relative;
    height: 65vh;
    width: 100%;
    overflow: hidden;

  }

  #home .home-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 65vh;
    width: 100%;
  }
}



section {
  padding: 0px;
}

section h1 {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  font-size: 28px;
}

section ul {
  list-style: disc;
}

#home {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.home-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
}

.home-img img {
  height: auto;
  width: 100%;
}

@media (max-width: 768px) {
  #home {
    height: 57vh;
  }

  .home-img img {
    height: 57vh;
    width: 100%;
  }
}

@media (max-width: 768px) {

  #home .home-text h1,
  #home .home-text h2,
  #home .home-text h3 {
    font-size: 14px;
  }
}

.home-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 600px;
  padding: 20px;
  text-align: center;
  color: #fff;
  border-radius: 25px;
  box-shadow: 2px 2px white;
}

.home-text h2 {
  font-size: 20px;
}

.home-text h3 {
  font-size: 20px;
}

.home-text h1 {
  margin-top: 0;
  font-size: 3rem;
}

.home-text p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.home-text button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
}


/* style the services  */

#services {
  padding: 5px 0;
  background-color: #cecbcb;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service {
  width: 30%;
  margin: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  position: relative;
  display: inline-block;
  border: 5px solid #ccc;
  border-radius: 10px;
}




.service:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  background-color: #545a54;
  color: #fff;
  transform: scale(1.05);
}

.service:hover h3,
.service:hover p {
  color: #fff;
}

.service-content {
  padding: 20px;
  text-align: center;
  z-index: 1;
}

.service h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #8a7b56;
}

.service img {
  display: inline-block;
}

.service p {
  font-size: 1.2rem;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  color: #8a7b56;
}






@media (min-width: 768px) {


  #contact a {
    text-decoration: none;
    padding: 0 8px;
  }

  .pictures p {
    color: blue;
    width: auto;
  }

}

@media (max-width: 960px) {


  #contact a {
    text-decoration: none;
    padding: 0 8px;
  }

  .service {
    width: 100%;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    display: inline-block;
  }


}

/* style the about  */

#about {
  background-color: #4e4b4b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

#about .with-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.half-col {
  position: relative;
  color: #fff;
  padding: 8px;
}

.shape {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #f5f5f5;
  z-index: -1;
}

.image-shape {
  height: 15px;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.image-shape2 {
  height: 300px;
  width: 100%;
  background-color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


#about .section-title {
  color: #fff;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}

.description {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 30px;
}

ul {
  display: grid;
  grid-template-columns: auto auto;
}

ul li {
  margin-bottom: 10px;
}




@media (max-width: 768px) {


  .pictures p {
    color: blue;
  }
}

@media (max-width: 480px) {


  .pictures p {
    color: blue;
  }
}


/* team */
/* Section styling */
#our-team {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
  /* Light background color */
}

#our-team h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Individual team member styling */
.team-member {
  display: inline-block;
  width: 300px;
  margin: 20px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: scale(1.05);
}

/* Image styling */
.team-member img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #007bff;
  /* Adds a nice border under the image */
}

/* Text styling */
.member-info {
  padding: 20px;
}

.member-info h3 {
  font-size: 1.5em;
  margin: 10px 0;
  color: #333;
}

.member-info p {
  font-size: 1em;
  color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #our-team {
    padding: 30px 10px;
  }

  .team-member {
    width: 80%;
    margin: 20px auto;
  }

  #our-team h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  #our-team h2 {
    font-size: 1.8em;
  }

  .member-info h3 {
    font-size: 1.2em;
  }

  .member-info p {
    font-size: 0.9em;
  }
}

/* Picture Gallery Styles */
.pictures {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
}

.pictures h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.picture-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.picture-item {
  width: calc(33.333% - 20px);
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.picture-item img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
  transition: transform 0.3s ease;
}

.picture-item p {
  margin: 10px 0;
  padding: 0 10px;
  font-size: 16px;
  color: #8a7b56;
}

.picture-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.picture-item:hover img {
  transform: scale(1.05);
}

#toggle-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #1f3542;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#toggle-btn:hover {
  background-color: #1d8acb;
}

.hidden {
  display: none;
}

/* Media Queries */
@media (max-width: 768px) {
  .picture-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .picture-item {
    width: 100%;
  }
}





.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Add this CSS for the zoom-in effect */
@keyframes zoom-in {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.modal-content {
  margin: auto;
  display: block;
  width: 60%;
  max-width: 700px;
  animation: zoom-in 0.3s ease-in-out;
  /* Add this line for zoom-in animation */
}

@media (max-width: 768px) {
  .modal {

    padding-top: 90px;

  }

  .modal-content {

    width: 95%;

  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* style the contact info div */
#contact {
  background-color: #cecbcb;
  padding: 5px 0;
}

#contact a {
  text-decoration: none;
}

.contact-info {
  display: grid;
  justify-content: space-evenly;
  margin-bottom: 20px;
  gap: 10px;
  grid-template-columns: auto;
}

.contact-info div {
  margin-right: 10px;
  margin-bottom: 10px;
}

.contact-info a {
  color: blue;
}

.contact-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-content {
  max-width: 600px;
  padding: 20px;
}

h2 {
  text-align: center;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 5px;
  pointer-events: none;
  transition: all 0.2s ease-out;
  color: cornflowerblue;

}

.form-group input,
.form-group textarea {
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  padding: 8px 5px;
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  color: #35363f;
  transform: scale(1);
  border-radius: 4px;
  border: 1px solid #d6daec;
}

.form-group input:focus,
.form-group textarea:focus {
  /* border-bottom: 2px solid #007bff; */
  outline: none;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
  top: -8px;
  font-size: 14px;
  /* color: #1f3c88; */
  background-color: white;
}

.form-group textarea {
  width: 100%;
  height: 70px;
  resize: none;
}

button {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  background-color: #0062cc;
}


/* footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #bbb;
} */
footer {
  background-color: #1f3542;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 16px;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contact-info a {
  display: flex;
  align-items: baseline;
  color: white;
  margin: 10px 0;
  font-size: 18px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-contact-info a:hover {
  color: blue;
}

.footer-contact-info i {
  margin-right: 8px;
  font-size: 20px;
  vertical-align: middle;
}

.footer-contact-info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
  gap: 10px;
  grid-template-columns: auto;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom a {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom a:hover {
  color: white;
}

.footer-bottom i {
  margin-left: 5px;
  font-size: 18px;
  vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-contact-info {
    display: flex;
    flex-wrap: wrap;
  }

  .footer-contact-info a {
    font-size: 16px;
  }

  .footer-bottom {
    padding-top: 10px;
  }
}

hr {
  max-width: 1125px;
  margin: auto;
  margin-top: 50px;
  border-top: 1px solid #1f3c88;
}