*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
a{
  text-decoration: none;
  color: #7FA1C3;
}
a:hover{
  color: #7FA1C3;
  cursor: pointer;
}
p, a, i{
  font-size: 1rem;
  line-height: normal;
}
h1, h2, h3{
  line-height: 1.2;
  font-family: 'Bricolage Grotesque', sans-serif;
}
ul{
  list-style: none;
}
hr{
  border: 2px solid #7FA1C3;
  margin: .5rem;
}
button{
  font-family: 'Changa', sans-serif;
  background-color: #7FA1C3;
  color: #333333;
  border: 2px solid #7FA1C3;
  box-shadow: 0 5px 5px rgba(0, 102, 204, 0.1);
  outline: none;
  border-radius: .7rem;
  padding: .45rem;
  margin: .5rem 0;
  font-size: .9rem;
  cursor: pointer;
}
button:hover{
  color: #F5EDED;
  background-color: #20806B;
  border-color: #20806B;
  box-shadow: 0 5px 5px rgba(0, 102, 204, 0.75);
}
button:focus{
  transform: scale(0.95);
}
body{
  font-family: 'Changa', sans-serif;
  line-height: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333333;
  background-color: #F5EDED;
  font-size: .9rem;
}
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.63rem 1.25rem;
  background-color: #E1E4E6;
  color: #F5EDED;
  position: relative;
  z-index: 10;
  transition: background-color 0.01s ease-in;
}

.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80px;
  margin: .5rem 0 0 0;
}
.logo img{
  width: 80%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Hamburger Menu Styles */
.hamburger{
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
  position: relative;
}
.hamburger div{
  width: 100%;
  height: 3px;
  background-color: #7FA1C3;
  transition: all 0.4s ease-in-out;
  transform-origin: center;
}
.hamburger.active div:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active div:nth-child(2){
  opacity: 0;
}
.hamburger.active div:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger.active div{
  background-color: #20806B;
}
/* Navigation Styles */
.nav-links{
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #7FA1C3;
  position: absolute;
  top: 80px;
  right: 0;
  width: 100%;
  text-align: center;
}
.nav-links li{
  margin: 1rem 0;
}
.nav-links a{
  color: #333333;
  text-decoration: none;
  font-size: 1.3rem;
}
.nav-links a:hover{
  text-decoration: underline;
  text-decoration-color: #7FA1C3;
}
.nav-links.open{
  display: flex;
}
.social-links a{
  margin: 0 1rem;
}
.social-links i{
  color: #F5EDED;
  padding: .2rem;
  font-size: 1.25rem;
  border-radius: .4rem;
}
.social-links i:hover{
  color: #333333;
  background-color: #7FA1C3;
}
.dropdown{
  display: none;
}
/* Scroll Up Styles */
#scrollTopBtn{
  display: none;
  position: fixed;
  bottom: 60px;
  right: 25px;
  z-index: 99;
  font-size: 1.35rem;
  color: #7FA1C3;
  background-color: #E1E4E6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  border-radius: 7rem;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: opacity 0.3s;
  text-align: center;
  line-height: 24px;
}
#scrollTopBtn:hover{
  background-color: #20806B;
  border-color: #20806B;
  color: #E1E4E6;
}

@keyframes fadeIn{
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active{
  opacity: 1;
  transform: translateY(0);
}
/*Hero Styles*/
.hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
  padding: 1rem;
  background-color: #E1E4E6;
  text-align: center;
  z-index: 1;
}
.hero1, .hero2, .hero1a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem auto;
  margin: 0.5rem auto;
}
.hero1a h1{
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 0.25rem;
  animation: fadeIn 1s ease-in-out;
}
.hero1 hr{
  width: 75%;
  height: 3px;
  background-color: #7FA1C3;
  border: none;
  animation: fadeIn 2.5s ease-in-out;
  margin: 0.75rem auto;
}
.hero1a h2{
  font-size: 2rem;
  color: #333333;
  margin: 0.25rem auto;
  animation: fadeIn 1.5s ease-in-out;
}
.hero1a h3{
  color: #7FA1C3;
  margin: 0.25rem 0;
  width: 75%;
  font-size: 1.1rem;
  animation: fadeIn 2s ease-in-out;
}
.hero2 img{
  height: auto;
  width: 75%;
  max-width: 375px;
  object-fit: cover;
}
/*About Styles*/
.indexAbout{
  display: flex;
  flex-direction: column;
  height: fit-content;
  padding: 1rem;
  margin: 1rem 2rem;
  color: #333333;
  border-radius: .7rem;
  text-align: justify;
}
.indexAbout h2{
  text-align: left;
  margin-top: 1rem;
  color: #7FA1C3;
  font-size: 1rem;
}
.indexAbout h3{
  text-align: left;
  margin-bottom: 1rem;
  width: 87.5%;
  font-size: 1.2rem;
}
.indexAbout p{
  padding: .25rem;
}
#ux{
  font-size: larger;
  font-weight: bolder;
}
#ux1{
  font-style: italic;
  font-weight: bolder;
}
.indexAbout button{
  width: max-content;
  margin: 1rem 0;
}
/*Featured Projects Styles*/
.featured-projects{
  height: max-content;
  margin: 0 1.5rem 1rem 1.5rem;
  padding: 0 1rem;
  border-radius: .7rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-projectsContent{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.featured-projects h2{
  text-align: left;
  margin-top: 1rem;
  color: #7FA1C3;
  font-size: 1rem;
}
.featured-projects h3{
  text-align: left;
  margin-bottom: 1rem;
  width: 87.5%;
  font-size: 1.2rem;
}

.designaCarsIndex{
  position: relative;
  height: 450px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  background: #e5e5e5; /* fallback */
}
/* Image layer */
.designaCarsIndex img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Overlay */
.designaCarsIndex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.designaCarsIndex:hover::before {
  opacity: 1;
}
/* Client name */
.designaCarsIndex h3 {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 2;

  font-size: 1.4rem;
  font-weight: 600;
  color: #20806B;
}
/* Bottom content panel */
.designaCarsIndexContent {
  position: relative;
  z-index: 2;

  width: 90%;
  margin: 1.5rem;
  padding: 1.25rem;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
/* Hover reveal (desktop) */
.designaCarsIndex:hover .designaCarsIndexContent {
  opacity: 1;
  transform: translateY(0);
}
/* Paragraph */
.designaCarsIndexContent p {
  color: #333333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
/* Link */
.designaCarsIndexContent a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  color: #333333;
  text-decoration: none;

  transition: transform 0.3s ease, color 0.3s ease;
}
.designaCarsIndexContent a:hover {
  transform: translateX(7.5px);
  color: #155346;
}

.featured-projects hr{
  margin: 1rem;
}

.PawlyProjectIndex {
  position: relative;
  height: 450px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  background: #e5e5e5; /* fallback */
}
/* Image layer */
.PawlyProjectIndex img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Overlay */
.PawlyProjectIndex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.PawlyProjectIndex:hover::before {
  opacity: 1;
}
/* Client name */
.PawlyProjectIndex h3 {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 2;

  font-size: 1.4rem;
  font-weight: 600;
  color: #20806B;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
/* Bottom content panel */
.PawlyProjectIndexContent {
  position: relative;
  z-index: 2;

  width: 90%;
  margin: 1.5rem;
  padding: 1.25rem;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
/* Hover reveal (desktop) */
.PawlyProjectIndex:hover .PawlyProjectIndexContent {
  opacity: 1;
  transform: translateY(0);
}
/* Paragraph */
.PawlyProjectIndexContent p {
  color: #333333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
/* Link */
.PawlyProjectIndexContent a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  color: #333333;
  text-decoration: none;

  transition: transform 0.3s ease, color 0.3s ease;
}
.PawlyProjectIndexContent a:hover {
  transform: translateX(7.5px);
  color: #155346;
}
.btnPortfolioCTA{
  width: fit-content;
}

/*index-contact Styles*/
.index-contact{
  height: fit-content;
  padding: 3rem 2rem 1rem 2rem;
  margin: 0 auto 1rem auto;
  color: #333333;
  border-radius: .7rem;
  text-align: center;
}
.index-contact span{
  margin: auto;
  width: fit-content;
}
.index-contact h2{
  color: #7FA1C3;
  font-size: 2rem;
  margin: 0 0 1rem 0;
}
.index-contact span h3{
  margin: auto;
  font-size: 1.5rem;
}
.index-contact span i{
  margin: auto .5rem;
  padding: 0;
}
.index-contact span button{
  background-color: #E1E4E6;
  border-color: #E1E4E6;
  color: #7FA1C3;
  padding: 0;
  margin: 0 .5rem;
  font-size: 1rem;
  border-radius: .4rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
  transition: transform 0.3s ease;
}
.index-contact span button:hover{
  transform: translateX(10px);
  background-color: #20806B;
  border-color: #20806B;
  color: #E1E4E6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.index-contact li{
  text-decoration: none;
  margin: 1rem 0;
  padding: 0;
}
.index-contact li i{
  color: #7FA1C3;
  margin: auto 1rem;
  padding: .25rem;
  font-size: 1.25rem;
  border-radius: .4rem;
}
.index-contact i:hover{
  color: #E1E4E6;
  background-color: #20806B;
}
.index-contact p{
  width: 85%;
  margin: 1rem auto;
}

/*Footer Styles*/
footer{
  background-color: #7FA1C3;
  color: #F5EDED;
  text-align: center;
  padding: 1rem 1rem 0 1rem;
}
.footerSections{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 10px;
  margin-bottom: .5rem;
}
.footerLogo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.footerLogo img{
  width: 75px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.footerLinks{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.footerNav{
  display: flex;
  justify-content: space-around;
  padding: 1rem auto;
  margin: auto;
  width: fit-content;
  gap: 10px;
}
.footerNav a{
  color: #333333;
  font-size: 1.15rem;
}
.footerNav a:hover{
  color: #20806B;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #333333;
}
.footerSocials{
  display: flex;
  justify-content: space-evenly;
  margin: auto;
  width: fit-content;
  gap: 5px;
}
.footerSocials a{
  font-size: 1rem;
  color: #333333;
}
.footerSocials a:hover{
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #20806B;
}
footer small{
  font-size: .65rem;
}