@font-face {
  font-family: 'CarattereROB';
  src: url('CarattereROB.ttf') format('truetype');

  font-weight: normal;
  font-style: normal;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  font-size: 62.5%;
  --clr1: #f7f7f7;
  --clr2: #f7f7f7;
  --clr3: #e599be;
  --clr4: rgba(120, 229, 221, 0.9);
  --bg2: white;
  --bg3: #f13875;
  --input: #f7f7f7;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font: 1.2rem 'Poppins', sans-serif;
  color: var(--clr3);
}

a {
  text-decoration: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

header a:not(.navLogo):hover {
  filter: invert(0.5);
}

header {
  background: transparent;
  width: 100%;
  position: fixed;
  top: 1rem;
  left: 0;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.innerWrap {
  max-width: 100rem;
  margin: 0 auto;
  position: relative;
}

.inner {
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5rem;
  box-shadow: 0 0 0.3rem 0 rgba(0, 0, 0, 0.2);
}

.inner .logo {
  max-width: 8rem;
  position: relative;
  top: 0.1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  top: 0;
  left: 0;
  margin-left: auto;
  padding-right: 5rem;
}

nav a {
  font-size: 1.5em;
  color: #323232;
  font-weight: 600;
}

nav a img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
}

img.logo:last-of-type,
.nav-bg img.logo:first-of-type {
  display: none;
}

.nav-bg img.logo:last-of-type {
  display: block;
}

/* .nav-bg .smallScreen p{
    color: rgba(255,255,255,0.5);
} */

/* .smallScreen{
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

.smallScreen h3{
    font-size: 1.8rem;
    font-weight: bold;
}

.smallScreen p{
    line-height: 1.2rem;
    font-size: 1rem;
    color: rgba(0,0,0,0.5);
    font-family: inherit;
    font-weight: normal;
}

.smallScreen-action {
    display: flex;
    gap: 1rem;

} */

/* .nav-bg .smallScreen-action a{
    --smallBg:rgba(255,255,255,0.05);
    --smallTxt:rgba(255,255,255,0.5);
    --smallHoverBg:white;
    --smallHoverTxt:#000;
}

.smallScreen-action a{
    --smallBg:rgba(0,0,0,0.05);
    --smallTxt:rgba(0,0,0,0.5);
    --smallHoverBg:#000;
    --smallHoverTxt:white;
    display: inline-block;
    padding: 8px 19px;
    border-radius: 5px;
    text-align: center;
    background: var(--smallBg);
    color: var(--smallTxt);
    transition: all 0.2s ease-in-out;
} */
/* 
.smallScreen-action a:hover{
    background-color: var(--smallHoverBg);
    color: var(--smallHoverTxt);
    filter: none!important ;
} */

main {
  width: 100%;
  box-shadow: 0 -2px 4px 5px rgba(0, 0, 0, 0.1);
}

.sketch {
  background: url('images/sketch.jpg') no-repeat center center;
  width: 100%;
  background-size: contain;
  height: 38rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3em;
  font-weight: 600;
  color: #323232;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.8em;
}

#team .innerWrap,
#whatWeDo .innerWrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}

#team,
#whatWeDo {
  background: white;
  width: 100%;
  display: flex;
  padding: 5rem 0;
  justify-content: center;
  align-items: center;
  position: relative;
}

#whatWeDo .innerWrap {
  gap: 2rem;
}

#team p,
#whatWeDo p {
  max-width: 883px;
  font-size: 1.5em;
  line-height: 2;
  margin: 0 auto;
  position: relative;
  color: #323232;
}

#whatWeDo p {
  width: 91%;
}

.aboutus,
.whatwedo-des {
  width: 100%;
  background-color: white;
  padding: 2rem;
  color: #323232;
  border-radius: 1rem;
  z-index: 1;
  text-align: center;
}

.whatwedo-des {
  flex: 1;
}

.aboutus-img {
  width: 50%;
}

.aboutus-img img {
  width: 125%;
  height: 120%;
  position: relative;
  bottom: 10%;
  right: 25%;
  border-radius: 1rem;
  object-fit: cover;
  object-position: 60% center;
}

.whatwedo-img {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatwedo-img img {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: var(--clr3);
  mix-blend-mode: darken;
}

#gallery {
  background-color: #f13875;
  width: 100%;
  padding: 10rem 0;
  color: white;
}

#gallery .innerWrap {
  max-width: 122.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.whatWeDo-content {
  display: flex;
  gap: 5rem;
  font-size: 1.8rem;
}

.whatWeDo-imageContent {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  display: flex;
}

.prev,
.next {
  width: 10%;
  display: flex;
  align-items: center;
}

.next {
  justify-content: flex-end;
}

.prev i,
.next i {
  font-size: 5rem;
  color: white;
  cursor: pointer;
}

.prev i:hover,
.next i:hover {
  text-shadow: 0 0 0.25rem white;
}

.disabledBtn {
  pointer-events: none;
  opacity: 0.3;
}

.imgSlider {
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.sliderInner {
  width: 100%;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.whatWeDo-content p {
  line-height: 2;
}

.whatWeDo-image {
  width: calc(33.33% - 2rem);
  flex-shrink: 0;
}

.whatWeDo-image img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

#hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-image: url('images/banner.jpg');
  background-position: center 0%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 80vh;
}

#hero h2 {
  font-family: 'CarattereROB', sans-serif;
  font-size: clamp(1em, 6.5vw, 10em);
  letter-spacing: 0.2rem;
  margin-bottom: 3rem;
  width: 100%;
  text-align: center;
  color: white;
  letter-spacing: 0.25rem;
  text-shadow: 0.1rem 0.1rem 0rem black, 0.1rem 0.1rem 0.4rem black;
}

.whatWeDo-content img {
  width: 100%;
  border-radius: 0.2rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.whatWeDo-placeholder {
  width: 50%;
  display: none;
}

.whatWeDo-content:last-child p {
  width: 100%;
  margin-top: 1rem;
}

#contactUs {
  background-color: var(--bg3);
  display: flex;
  padding: 5rem 0;
  position: relative;
}

#contactUs .innerWrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: max-content;
}

#contactUs h2 {
  font-size: 3em;
  font-weight: 600;
  color: var(--clr2);
  text-transform: uppercase;
  text-align: center;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-direction: column;
  margin-top: 5rem;
  width: clamp(28rem, 50%, 40rem);
}

form input,
form textarea {
  font-family: montserrat, sans-serif;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.8rem;

  border: none;
  outline: none;
  background-color: var(--input);
  border-radius: 1rem;
}

form input::placeholder,
form textarea::placeholder {
  color: #bbb;
}

form input:focus,
form textarea:focus {
  background-color: var(--input);
}

form textarea {
  resize: none;
  min-height: 10rem;
}

form button {
  padding: 1rem 2rem;
  color: var(--bg3);
  background-color: white;
  border: none;
  outline: none;
  border-radius: 1rem;
  font-size: 2rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

form button:hover {
  filter: invert(0.05);
}

button i.fa-spinner {
  display: none;
}

form .loadingBtn i.fa-spinner {
  display: inline-block;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  overflow: hidden;
  background-color: #000;
  color: white;
}

footer .innerWrap {
  display: flex;
  width: 100%;
  gap: 2rem;
  max-width: 100rem;
  margin: 0;
  align-items: center;
  justify-content: center;
}

footer img {
  height: 10rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer p {
  font-size: 1.8rem;
  /* font-weight: bold; */
}

footer h2 {
  color: inherit;
  font-size: 24px;
  font-weight: 600;
  font-weight: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-bg {
  background-color: white;
  /* Replace with your desired background color */
}

.nav-bg.bg2 {
  background-color: var(--bg2);
}

.nav-bg.bg3 {
  background-color: var(--bg3);
}

.nav-bg.bg3 a {
  color: white;
}

.animate-section.animate-section-visible {
  opacity: 1;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

form p {
  display: none;
}

.errorForm p,
.successForm p {
  width: 100%;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px white solid;
  color: #ff0000;
  background-color: #f5dcdf;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  position: relative;
  font-size: 2rem;
  font-weight: bold;
}

.errorForm i,
.successForm i {
  font-size: 1.8rem;
}

@media screen and (max-width: 700px) {
  .errorForm p,
  .successForm p {
    font-size: 1.5rem;
  }

  .errorForm i,
  .successForm i {
    font-size: 1.4rem;
  }
}

.successForm p {
  color: black;
}

.closeError {
  position: absolute;
  right: 1.5rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.closeError i:hover {
  scale: 1.2;
}

footer p span {
  display: none;
}

@media only screen and (max-width: 1000px) {
  #gallery,
  #team,
  #whatWeDo,
  footer {
    padding-left: 5%;
    padding-right: 5%;
  }

  #team p,
  #whatWeDo p {
    font-size: 1.45em;
  }

  #whatWeDo p {
    width: 90%;
  }
}

@media only screen and (max-width: 960px) {
  #team p,
  #whatWeDo p {
    font-size: 1.41em;
  }
}

@media only screen and (max-width: 935px) {
  #team p,
  #whatWeDo p {
    font-size: 1.35em;
  }

  #team p {
    width: 85%;
  }
}

@media only screen and (max-width: 920px) {
  header {
    box-shadow: none;
  }

  h1 {
    color: inherit;
    font-size: 2.6rem;
  }

  #contactUs h2 {
    color: white;
    font-size: 2.6rem;
    padding: 0;
  }

  #team,
  #whatWeDo {
    min-height: max-content;
    height: max-content;
    padding: 2vw 5vw;
  }

  #team p {
    margin-bottom: 0;
  }

  main {
    margin-bottom: 0;
    box-shadow: none;
  }

  #team img {
    display: none;
  }
}

@media only screen and (max-width: 855px) {
  #team p,
  #whatWeDo p {
    font-size: 1.25em;
  }
}

@media only screen and (max-width: 800px) {
  .whatWeDo-content {
    flex-direction: column;
  }

  #hero {
    min-height: 50vh;
  }

  #team p,
  #whatWeDo p {
    font-size: 1.38rem;
  }

  footer p {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 750px) {
  #team p,
  #whatWeDo p {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 700px) {
  #team p,
  #whatWeDo p {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 680px) {
  .inner {
    height: 5rem;
  }

  #hero h2 {
    font-size: 5.8vw;
  }

  .inner .logo {
    top: 0.2rem;
    max-width: 6rem;
  }

  nav a {
    font-size: 1em;
  }

  footer p {
    font-size: 1.1rem;
  }

  footer {
    padding: 30px;
  }

  #contactUs {
    min-height: max-content;
    padding: 3rem 0;
  }

  footer img {
    height: 7rem;
  }

  .whatWeDo-image {
    width: calc(50% - 2rem);
  }

  #gallery {
    padding: 10vw 5vw;
  }

  .prev i,
  .next i {
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 650px) {
  #team p,
  #whatWeDo p {
    font-size: 1.35rem;
  }

  #whatWeDo p {
    width: 84%;
  }
}

@media only screen and (max-width: 605px) {
  #team p,
  #whatWeDo p {
    font-size: 1.45rem;
  }
  #team p {
    width: 90%;
  }

  nav {
    padding-right: 5vw;
  }

  #hero {
    min-height: 40vh;
  }

  footer p {
    line-height: 2rem;
  }

  footer p span {
    display: inline;
  }

  footer p:last-of-type {
    display: none;
  }
}

@media only screen and (max-width: 550px) {
  #team p,
  #whatWeDo p {
    font-size: 1.28rem;
  }

  #team p {
    width: 97%;
  }

  #whatWeDo p {
    width: 97.5%;
  }
}

@media only screen and (max-width: 515px) {
  #team p {
    width: 90%;
  }

  #whatWeDo p {
    width: 89%;
  }
}

@media only screen and (max-width: 490px) {
  #team p {
    width: 95%;
  }

  #whatWeDo p {
    width: 85%;
  }

  .aboutus,
  .whatwedo-des {
    padding-inline: 0;
  }

  .whatWeDo-imageContent {
    gap: 0.5rem;
  }

  footer {
    padding: 15px;
  }

  footer .innerWrap {
    gap: 0.5rem;
  }
}

@media only screen and (max-width: 465px) {
  #team p {
    width: 90%;
  }

  #whatWeDo p {
    width: 87%;
  }
}

@media only screen and (max-width: 450px) {
  #team p {
    width: 95%;
  }

  #whatWeDo p {
    width: 90%;
  }

  nav a {
    font-size: 0.9em;
  }

  nav {
    gap: 1.5rem;
  }

  footer img {
    height: 5rem;
  }

  footer h2 {
    font-size: 1.5rem;
  }

  footer .innerWrap {
    gap: 0;
    padding: 0 1rem;
  }

  footer {
    height: max-content;
    padding: 3rem 1rem;
  }

  .footer-content {
    padding-left: 0.5rem;
  }
}

@media only screen and (max-width: 421px) {
  #team p,
  #whatWeDo p {
    font-size: 1.22rem;
  }
  #team p {
    width: 99%;
  }

  #whatWeDo p {
    width: 95%;
  }

  #hero {
    min-height: 30vh;
  }

  #hero h2 {
    font-size: 5vw;
  }
}

@media only screen and (max-width: 385px) {
  #whatWeDo p {
    width: 83.8%;
  }

  #team p {
    width: 88%;
  }
}

@media only screen and (max-width: 377px) {
  #whatWeDo p {
    width: 86.5%;
  }

  #team p {
    width: 90%;
  }
}

@media only screen and (max-width: 377px) {
  #whatWeDo p {
    width: 88%;
  }

  #team p {
    width: 85%;
  }
}

@media only screen and (max-width: 353px) {
  nav {
    gap: 1.2rem;
  }

  footer img {
    height: 4rem;
  }

  nav a {
    font-size: 0.8em;
  }

  .inner {
    height: 4rem;
  }

  .inner .logo {
    max-width: 4.5rem;
    top: 0.1rem;
  }

  footer p {
    font-size: 0.85rem;
  }
}

@media only screen and (max-width: 349px) {
  #whatWeDo p {
    width: 93.5%;
  }

  #team p {
    width: 90%;
  }

  footer .innerWrap {
    padding: 0;
  }
}

@media only screen and (max-width: 329px) {
  #whatWeDo p {
    width: 85%;
  }

  #team p {
    width: 94%;
  }
}

@media only screen and (max-width: 313px) {
  #whatWeDo p {
    width: 88%;
  }

  #team p {
    width: 87.3%;
  }

  form {
    width: clamp(23rem, 50%, 40rem);
  }

  .errorForm p,
  .successForm p {
    font-size: 1.2rem;
  }

  .errorForm i,
  .successForm i {
    font-size: 1.2rem;
  }
}
