/* Define color variables */
:root {
  --main-bg: #e8e6e6;
  --nav-bg-color: #f0f0f0;
  --section-bg-color: #8d3aa4;
  --headline-color: #060606;
  --paragraph-color: #080808;
  --button-bg-color: #023163;
  --button-hover-bg-color: #0056b3;
  --footer-bg-color: #e3e3e3;
  --footer-text-color: rgb(0, 0, 0);
  --light-green: #0a7d0e;
}

/* Basic resets to remove the browser defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-moz-selection {
  /* Code for Firefox */
  color: rgb(0, 0, 0);
  background: var(--light-green);
}

::selection {
  color: rgb(0, 0, 0);
  background: var(--light-green);
}

body {
  background-color: var(--main-bg);
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 200;
  line-height: 1.6;
  color: var(--paragraph-color);
}

p {
  color: var(--paragraph-color);
  font-family: "Source Sans Pro", sans-serif;
  line-height: 2;
  font-size: 1.4em;
}

.lightgray-bg{
    background-color: #d8d8d8;
}
/* Headline font - Marcellus :)  */
h1,
h2,
h3 {
  font-family: "Marcellus", serif;
  color: var(--headline-color);
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 3em;
  line-height: 1.3;
  padding-top:1em;
}

h3 {
  font-size: 1.6em;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}
.ph-100{
    padding-top:100px;
    padding-bottom:100px;
}

/* Header and navigation styles */
header {
  background-color: var(--nav-bg-color);
  color: #fff;
}

header .logo {
  max-width: 250px;
}
header {
  padding: 0 20px;
}
header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  min-height: 100px;
}
header nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  padding: 8px 12px;
}
header nav ul li a:hover {
  color: var(--light-green);
}
.book-btn {
  color: white;
  font-family: "Marcellus", serif;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.book-btn a {
  text-decoration: none;
  color: var(--light-green);
}
.book-btn a:hover {
  color: var(--light-green);
}
.book-btn a:visited {
  color: var(--light-green);
}

.book-btn:hover {
  color: var(--light-green);
  animation: moveButton 0.3s ease-in-out forwards; /* Apply animation on hover */
}

@keyframes moveButton {
  0% {
    transform: translateX(0); /* Start at the normal position */
  }
  50% {
    transform: translateX(10px); /* Move to the right */
  }
  100% {
    transform: translateX(0);
  }
}
.hero {
  display: flex;
  align-items: center;
}
.hero-card {
  padding-top: 150px;
  max-width: 500px;
  padding-bottom: 200px;
}
.hero-card h1 {
  font-size: 24px;
  color: var(--light-green);
  padding-bottom: 30px;
}
.hero-card h2 {
  font-size: 40px;
  line-height: 50px;
  padding-bottom: 30px;
  letter-spacing: 3px;
}
.hero-crest {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}
.hero-crest-inner {
  max-width: 200px;
}
.hero-bg {
  background: linear-gradient(180deg, #f1f1f1 0%, var(--main-bg) 100%);
}
.hero-img {
  background-image: url("images/background.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}
.meet-the-projects{
    padding-top:100px;
    padding-bottom:100px;
}
.meet-the-projects h2{
  padding-top:0px;
    padding-bottom:50px;
}
.projects{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.project {
  max-width: 500px;
}

.project-profile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.project-image {
  max-width: 100px;
}
.project-name {
  padding-left: 30px;
  line-height: 1.25;
}
.project-name h2{
    font-size:28px;
}

.project-book {
  padding-top: 10px;
  padding-bottom: 40px;
}
.project-about {
  position: relative;
  max-height: 100px;
  overflow: hidden;
}
.project-about-over {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 255, 0.5);
  color: white;
  padding: 10px;
  text-align: center;
  z-index: 10;
  background-color: red;
  background: linear-gradient(0deg, var(--main-bg) 0%, rgba(0, 255, 72, 0) 100%);
}
.project-about:hover{
    cursor: pointer;}
.project:hover .project-meet p{
    cursor: pointer;
    text-decoration: underline;
}

.fifty-fifty{
    display: flex;
    gap:40px;
}
.half{
    flex-basis: 50%;
}
.half img{
    padding:20px;
}
.half p{
    max-width: 600px;
    padding-top:2em;
}

.why-choose-us h4{
    font-family: "Marcellus", serif;
    font-size: 2em;
    margin-top: 20px;
    margin-bottom:0;
}

.why-choose-us p{
    padding-top: 0;
}
/* button {
    background-color: var(--button-bg-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--button-hover-bg-color);
} */

/* Footer styling */
footer .container {
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer .address{
    padding-bottom: 50px;
}
footer h2{
    font-size: 30px;
}
footer h2.two, footer h2.two{
    font-size:20px;
}

footer .logo {
  max-width: 120px;
  margin-bottom: 20px;
}

footer .google-map {
  max-width: 1000px;
  width: 100%;
}

/* Images styling */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .order-1-mobile{
        order:1;
    }
    .order-2-mobile{
        order:2;
    }
  .hero-crest {
    display: none;
  }
  header {
    flex-direction: column;
    text-align: center;
  }
  header .nav {
    padding-top: 20px;
    height: auto;
  }

  header nav ul {
    flex-direction: column;
  }

  header nav ul li {
    margin: 10px 0;
  }
  .hero-img {
    background-image: none;
  }
  .fifty-fifty{
    flex-direction: column;
  }
  .half{
    flex-basis: 100%;
}

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer .address {
    margin-bottom: 20px;
  }

  footer .google-map {
    margin-top: 20px;
  }
}
@media screen and (max-width: 968px) {
   .why-choose-us .fifty-fifty{
        flex-direction: column;
      }
      .why-choose-us  .half{
        flex-basis: 100%;
    }
    footer .container {
        justify-content: center;
      }

}



