*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}
:root{
    --bg-color:#f7f6f4;
    --text-color: #111;
    --main-color: #7a7770;
}
body{
  font-size: 16px;
}


.navBar{
    list-style-type: none;
    overflow: hidden;
    background-color: var(--bg-color);
    position: sticky;
    display: flex;
    align-items: center;
    flex-direction: column; 
}
.logo{
  margin-left: 8%;
  padding: 5px;
}
.logo img{
  width: 5em;
}
.navBar ul{
    margin-left: 0;
}
.navBar li{
    float: left;
    display: inline;
}
.navBar a{
    color: var(--text-color);
    text-align: center;
    padding: 0 10px;
    margin: 0 20px;
    text-decoration: none;
}
.navBar a:hover{
    color: var(--main-color);
}
.navBtn{ 
    color: var(--text-color);
}
section{
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero{
    width: 100%;
    height: 100vh;
    background-image: url(/Assets/bg.jpg);
    background-position: center;
    background-size: cover;
}
.heroText{
    position: absolute;
    color: #ffffffe5;
    top: 20%;
    left: 5%;
    border: 1px solid #ffffffe5;
    border-radius: 7px;
    padding: 10px 20px;
    backdrop-filter: blur(4px);
}
.heroText h1{
    font-size: 60px;
    font-family: Cormorant;
    font-weight: 800;
    margin-bottom: 40px;
}
.heroText p{
    font-size: 18px;
    font-family: Open Sans;
    font-weight: 600;
}
.container{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    gap: 20px;
}
.container div{
    border: none;
    padding: 70px 30px;
    border-radius: 9px;
    transition: all ease 0.3s;
}
.container div:hover{
    transform: translateY(-5px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
     rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.container h3{
    margin-bottom: 25px;
    font-size: 21px;
    text-align: center;
}
.container p{
    font-family: Open Sans;
    text-align: center;
    line-height: 1.6em;
    font-size: 14px;
}

.section-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 60px;
    background-image: linear-gradient(to right bottom, #f7f7fb, #f1f7fb, #edf7f8, #ecf6f1, #f1f4ea);
  }
  .section-category {
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    color: #475569; /* slate-600 */
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .section-title {
    font-weight: 800;
    font-size: 2rem; /* 32px */
    line-height: 1.18;
    margin-bottom: 35px;
    color: #0f172a; /* slate-900 */
  }
  .section-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #607d8b; /* slate-500 */
} 
button {
  padding: 0;
  margin: 18px;
  border: none;
  background: none;
  cursor: pointer;
}

button {
  --primary-color: #111;
  --hovered-color: #c84747;
  position: relative;
  display: flex;
  font-size: 14px;
  gap: 0.5rem;
  align-items: center;
}

button a {
  margin: 0;
  position: relative;
  font-size: 16px;
  color: var(--primary-color);
  text-decoration: none;
}

button::after {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--hovered-color);
  height: 2px;
  transition: 0.3s ease-out;
}

button a::before {
  position: absolute;
  content: "Services";
  width: 0%;
  inset: 0;
  color: var(--hovered-color);
  overflow: hidden;
  transition: 0.3s ease-out;
}

button:hover::after {
  width: 100%;
}

button:hover a::before {
  width: 100%;
}

button:hover svg {
  transform: translateX(4px);
  color: var(--hovered-color);
}

button svg {
  color: var(--primary-color);
  transition: 0.2s;
  position: relative;
  width: 15px;
  transition-delay: 0.2s;
}

  .section-image img{
    width: 500px;
    border: none;
    border-radius: 10px;
  }
  .reveiws{
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}
  .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 1);
  padding: 35px;
  max-width: 320px;
  margin-left: 4.2rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
     rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.stars {
  display: flex;
  grid-gap: 0.125rem;
  gap: 0.125rem;
  color: rgb(238, 203, 8);
}

.star {
  height: 1.3rem;
  width: 1.3rem;
}
  .infos {
  margin-top: 1rem;
}

.description {
  margin-top: 0.4rem;
  line-height: 1.5;
  color: rgba(107, 114, 128, 1);
  font-size: 15px;
}

.author {
  margin-top: 1.3rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(107, 114, 128, 1);
}

footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f7fb;
  color: #1a1a1a;
  justify-content: space-around;
}
.footer-Logo img{
  width: 10em;
}
.dropdown{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dropdown a{
  color: #1a1a1a;
}
.dropdown a:hover{
  color: #1a1a1a94;
} 

@media(max-width:550px) {
  .heroText{
    top: 30%;
  }
  .heroText h1{
    font-size: 29px;
  }
  .container{
    margin: 0;
  }
  .container div{
    padding: 30px 0;
  }
}


@media (min-width: 768px) {
    .navBar {
        flex-direction: row;
    }
    .navBar ul {
        margin-left: 26%;
    }
    .heroText {
        top: 30%; 
        left: 12%; 
        padding: 20px 40px;
    }
    .container {
        flex-direction: row; 
        margin: 0 90px; 
    }
    .section-container {
        flex-direction: row;
        padding: 0 150px; 
    }
    .reveiws {
        grid-template-columns: repeat(3, 1fr);
    }
    footer {
        flex-direction: row;
    }
}

@media (max-width:768px){
  .container{
    padding: 20px 10px;
    gap: 0;
  }
  .section-image img{
    width: 300px;
  }
  .reveiws{
      margin-bottom: 300px;
  }
  .footer-Logo img{
      width: 5em;
  }
  .dropdown{
      flex-direction: row;
  }
}

@media (min-width: 1024px) {
    /* Additional styles for larger screens can be added here */
}
