/* === BUTLER FONT FAMILY === */
@font-face {
  font-family: "Butler-Black";
  src: url("fonts/Butler_Black.otf") format("opentype");
}
@font-face {
  font-family: "Butler-Bold";
  src: url("fonts/Butler_Bold.otf") format("opentype");
}
@font-face {
  font-family: "Butler-ExtraBold";
  src: url("fonts/Butler_ExtraBold.otf") format("opentype");
}
@font-face {
  font-family: "Butler-Light";
  src: url("fonts/Butler_Light.otf") format("opentype");
}
@font-face {
  font-family: "Butler-Medium";
  src: url("fonts/Butler_Medium.otf") format("opentype");
}
@font-face {
  font-family: "Butler-Regular";
  src: url("fonts/Butler_Regular.otf") format("opentype");
}
@font-face {
  font-family: "Butler-UltraLight";
  src: url("fonts/Butler_Ultra_Light.otf") format("opentype");
} /* === CANIS MAJOR === */
@font-face {
  font-family: "CanisMajor";
  src: url("fonts/CANIS-MAJOR.ttf") format("truetype");
} /* === Movie Makers Personal Use === */
@font-face {
  font-family: "MovieMakersPersonalUse";
  src: url("fonts/MovieMakersPersonalUse.ttf") format("truetype");
} /* === CINZEL FAMILY === */
@font-face {
  font-family: "Cinzel-Black";
  src: url("fonts/Cinzel-Black.otf") format("opentype");
}
@font-face {
  font-family: "Cinzel-Bold";
  src: url("fonts/Cinzel-Bold.otf") format("opentype");
}
@font-face {
  font-family: "Cinzel-Regular";
  src: url("fonts/Cinzel-Regular.otf") format("opentype");
}
@font-face {
  font-family: "CinzelDecorative-Black";
  src: url("fonts/CinzelDecorative-Black.otf") format("opentype");
}
@font-face {
  font-family: "CinzelDecorative-Bold";
  src: url("fonts/CinzelDecorative-Bold.otf") format("opentype");
}
@font-face {
  font-family: "CinzelDecorative-Regular";
  src: url("fonts/CinzelDecorative-Regular.otf") format("opentype");
} /* === GILL SANS CONDENSED === */
@font-face {
  font-family: "GillSansCondensed";
  src: url("fonts/gill-sans-mt-condensed.ttf") format("truetype");
} /* === HERTINE === */
@font-face {
  font-family: "Hertine";
  src: url("fonts/Hertine.woff") format("woff"),
    url("fonts/Hertine.ttf") format("truetype");
} /* === MISTRAL === */
@font-face {
  font-family: "Mistral";
  src: url("fonts/MISTRAL.ttf") format("truetype");
} /* === MOVIE FILMSTRIP === */
@font-face {
  font-family: "MovieFilmstrip";
  src: url("fonts/Movie.woff") format("woff"),
    url("fonts/Movie.ttf") format("truetype");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.about {
  scroll-margin-top: 10vh;
}
.portfolio {
  scroll-margin-top: 6vh;
}
.services {
  scroll-margin-top: 5vh;
}
.partners {
  scroll-margin-top: 5vh;
}
.contact {
  scroll-margin-top: 10vh;
}
body {
  font-family: "Rubik", sans-serif;
  background-color: rgb(255, 255, 255);
  color: #ffffff;
}

/* Preloader Fullscreen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black; /* bg noir */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease; /* fade out smooth */
}

.preloader-logo {
  width: 140px;

  animation: pulse 1.5s infinite;
}

/* Pulse animation pour logo */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* ========= HEADER (Desktop) ========= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 12.5%;
  background-color: transparent;
  transition: background-color 0.6s ease;
}
.nav-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========= NAVIGATION (Desktop Styles) ========= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 100px;
}

/* Conteneur des liens de navigation (Desktop) */
.nav-links-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}
.logo-link {
  z-index: 1002;
  position: relative;
}
.logoOff {
  width: 98px;
}
.logo {
  display: none;
}
.nav-left,
.nav-right {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0 2%;
  margin-top: -1%;
}
nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 18px;
  position: relative;
  transition: color 0.3s;
}
nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #ff0000;
  transition: width 0.3s;
}
nav ul li a.active {
  color: #ff0000;
}
nav ul li a.active::after {
  width: 100%;
}

/* ========= ELEMENTS MOBILES MASQUÉS EN DESKTOP ========= */
.section-title-card {
  display: none;
}
.menu-toggle {
  display: none;
}
.burger-label {
  display: none;
  cursor: pointer;
  z-index: 1003;
}
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
}
.burger div {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s linear;
  transform-origin: 1px;
}

/* ========= Animation ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========= HOME SECTION ========= */
.home {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url("imgs/homebg01.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.home .content {
  width: 77%;
  margin: auto;
  padding: 20px;
}
.home .content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 5%;
  line-height: 0.1;
}
.title-star {
  width: 90px;
  height: auto;
  vertical-align: middle;
}
.home .content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 5%;
  font-family: "GillSansCondensed", sans-serif;
}
#homespan {
  transition: color 1s ease-in-out;
}
.btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btnblack,
.btnred {
  background-color: red;
  color: #ffffff;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.4s;
}
.btns i {
  margin-left: 8px;
}
.btnblack:hover {
  background-color: rgb(0, 0, 0);
}
.btnred:hover {
  background-color: rgb(0, 0, 0);
}
.home-card {
  width: 100%;
  height: 5vh;
  background-color: rgb(255, 255, 255);
  border-radius: 30px 30px 0 0;
}

/* ========= ABOUT SECTION ========= */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90vh;
  padding: 2% 3% 0 6%;
  background-color: #ffffff;
  gap: 40px;
}
.about-content {
  flex: 1.2;
}
.about-title h2 {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}
.aboutspan {
  display: block;
  margin-left: 3%;
  margin-top: -3.5%;
  color: #ff0000;
  font-family: "Hertine";
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 2%;
}
.about-content p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}
.about-img {
  flex: 1;
  text-align: right;
}
.about-img img {
  max-width: 95%;
  height: auto;
  display: inline-block;
}
.btnabout {
  background-color: red;
  color: #ffffff;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  padding: 12px 25px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}
.btnabout:hover {
  background-color: rgb(0, 0, 0);
}
.btnabout i {
  font-size: 13px;
  margin-left: 8px;
  color: #ffffff;
}

/*============= PORTFOLIO ========*/
.portfolio {
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolio-cards {
  background-color: #000000;
  padding: 2% 0.8% 2.9% 0.8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  height: auto;
  margin: 5% auto;
  border-radius: 10px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
}
.portfolio-card img {
  width: 90%;
  margin: auto;
  display: block;
}

/* ========= SERVICES SECTION ========= */
.services {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 80px 5%;
  padding-top: 7%;
}
.ser-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}
.serspan {
  display: block;
  margin-top: -1.7%;
  color: #ff0000;
  font-family: "Hertine";
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 2%;
}
.services-header p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 16px;
  color: #000000;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  width: 95%;
  margin: auto;
}
.design-card {
  flex: 1 1 calc(25% - 15px);
  background-color: #ffffff;
  color: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 19px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.design-card img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
}
.design-content {
  padding: 4% 5%;
  text-align: left;
}
.design-content h3 {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 17px;
}
.design-content p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 17px;
}
.design-footer {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.design-card:hover {
  transform: translateY(-5px);
  background-color: rgb(0, 0, 0);
  color: #ffffff;
}

/*============= partners ============*/
.partners {
  padding: 7%;
  text-align: center;
  background-color: #fff;
  color: #000;
}
.par-title h2 {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}
.parspan {
  display: block;
  margin-top: -1.8%;
  color: #ff0000;
  font-family: "Hertine";
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 2%;
}
.partners-header p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 16px;
  color: #000;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}
.partners-card {
  width: 100%;
  height: 50vh;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 19px rgba(0, 0, 0, 0.3);
}
.partners-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.partners-img-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.partners-logos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  align-items: center;
  justify-items: center;
}
.partners-logos img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  z-index: 2;
}

/*========= CONTACT =========  */
.contact {
  display: flex;
  justify-content: center;
  padding: 5% 0 11% 0;
  background-color: #fff;
}

.main-card {
  width: 99%;
  align-self: center;
  background-color: rgb(255, 255, 255);
}
.contact-header {
  text-align: center;
  margin-bottom: 6%;
}
.con-title h2 {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
}
.conspan {
  display: block;
  margin-top: -1.8%;
  color: #ff0000;
  font-family: "Hertine";
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 2%;
}
.contact-header p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 16px;
  color: #000;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.contact-card {
  width: 88%;
  height: 70vh;
  margin: auto;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("imgs/contact/contactbg.jpg") no-repeat center center/cover;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-left {
  margin-top: 4%;
  flex: 1;
  padding: 30px;
  border-radius: 10px;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left form input,
.contact-left form textarea {
  font-family: "GillSansCondensed", sans-serif;
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
}
.contact-left form input::placeholder,
.contact-left form textarea::placeholder {
  color: rgb(255, 255, 255);
  opacity: 1;
}
.contact-left form textarea {
  resize: none;
}

.btn-group {
  display: flex;
  gap: 15px;
}
.btn-group button {
  cursor: pointer;
  background-color: rgb(255, 0, 0);
  color: #ffffff;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: background-color 0.3s;
}
.btn-group button:hover {
  background-color: rgb(255, 255, 255);
  color: #000;
}

.contact-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.contact-right img {
  width: 70%;
  margin-top: -12%;
  object-fit: contain;
}

/*========= FOOTER =========*/
#main-footer {
  height: auto;
  background-color: #000000;
  border-radius: 40px 40px 0 0;
  padding-bottom: 3%;
}

#main-footer .footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left,
.footer-center,
.footer-right {
  margin-top: 5%;
  flex: 1 1 250px;
  min-width: 230px;
}

.footer-left {
  margin-left: 10%;
}

.footer-center {
  margin-left: 7%;
}

/* ===== LEFT ===== */
.footer-left h3 {
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-left p {
  font-size: 12px;
  line-height: 1.6;
  font-family: "GillSansCondensed", sans-serif;
  color: #ffffff;
  margin-top: 5%;
  text-align: start;
}

/* ===== CENTER ===== */
.footer-center h3 {
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-center ul {
  list-style: none;
}

.footer-center ul li {
  margin-bottom: 10px;
  line-height: 0.1;
}

.footer-center ul li a {
  text-decoration: none;
  font-size: 12px;
  line-height: 0.2;
  font-family: "GillSansCondensed", sans-serif;
  color: #ffffff;
  transition: color 0.3s;
  text-align: start;
}

.footer-center ul li a:hover {
  color: #ff0000;
}

/* ===== RIGHT ===== */
.footer-right h3 {
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: start;
}

.footer-icons {
  margin-left: 2.5%;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.footer-icons li a {
  font-size: 23px;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s;
  display: inline-block;
}

.footer-icons li a:hover {
  color: #ff0000;
  transform: scale(1.2);
}

.footer-image img {
  display: none;
}
.footerroightandimg {
  display: flex;
  align-items: flex-start;
  margin-left: 3%;
  margin-top: 4%;
}

.footer-image img {
  display: none;
}

/* ================== MEDIA QUERIES (Mobile View) ================== */
@media (max-width: 767px) {
  .about {
    scroll-margin-top: 7vh;
  }
  .portfolio {
    scroll-margin-top: 10vh;
  }
  .services {
    scroll-margin-top: 8vh;
  }
  .partners {
    scroll-margin-top: 10vh;
  }
  .contact {
    scroll-margin-top: 10vh;
  }

  header {
    height: auto;
  }
  .nav-wrapper {
    padding: 0 10px;
    min-height: 80px;
  }
  nav {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 7px 20px;
    align-items: center;
    min-height: 50px;
    position: relative;
    width: 100%;
    margin-top: 3%;
    border-radius: 40px;
    background-color: rgb(0, 0, 0);
  }

  .logo-link {
    grid-column: 1 / 2;
    text-align: left;
    z-index: 10;
    margin-top: 0;
  }
  .logoOff {
    display: none;
  }
  .logo {
    display: block;
    margin-top: 5%;
    margin-left: 25%;
    width: 70px;
  }

  .section-title-card {
    display: block;
    grid-column: 2 / 3;
    text-align: center;
    border: 2px solid #ffffff;
    padding: 6px 20px;
    border-radius: 90px;
    z-index: 5;
    max-width: fit-content;
    justify-self: center;
  }

  #active-section-name {
    font-family: "GillSansCondensed", sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
  }

  .burger-label {
    margin-right: 33%;
    display: flex;
    grid-column: 3 / 4;
    justify-self: end;
    z-index: 10;
  }
  .burger div {
    background: #ffffff;
  }

  .nav-links-container {
    flex-direction: column;
    width: 80%;
    margin: auto;
    background-color: #000000;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 10px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 998;
    margin-top: 2%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.4s ease;
  }

  #menu-toggle:checked ~ .nav-links-container {
    max-height: 500px;
    opacity: 1;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-left,
  .nav-right {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 10px 0;
    width: 100%;
    align-items: center;
    margin-top: 0;
  }
  nav ul li a {
    font-size: 16px;
    padding: 10px 0;
    display: block;
  }
  nav ul li a::after {
    content: none;
  }

  .menu-toggle:checked ~ .burger-label .burger .line1 {
    transform: rotate(39deg);
  }
  .menu-toggle:checked ~ .burger-label .burger .line2 {
    opacity: 0;
    transform: translateX(-10px);
  }
  .menu-toggle:checked ~ .burger-label .burger .line3 {
    transform: rotate(-39deg);
  }

  /* === HOME === */
  .home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
      url("imgs/phonebg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: auto;
  }
  .home .content {
    width: 100%;
    margin-top: 50%;
  }
  .home .content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  #homespan {
    font-size: 30px;
  }

  .title-star {
    width: 45px;
  }
  .home .content p {
    margin-bottom: 30px;
  }

  .btns {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 40%;
  }
  .btnblack,
  .btnred {
    font-size: 13px;
    width: 88%;
    margin: 0 auto;
    text-align: center;
  }

  /*====== ABOUT SECTION ====== */
  .about {
    flex-direction: column;
    height: auto;
    padding: 50px 5% 0;
    text-align: center;
  }
  .about-content {
    order: 2;
  }
  .about-img {
    order: 1;
    width: 100%;
    margin-bottom: 30px;
  }
  .about-title h2 {
    font-size: 23px;
  }
  .aboutspan {
    font-size: 23px;
    margin-bottom: 5%;
  }
  .about-content p {
    font-size: 13px;
  }
  .btnabout {
    display: none;
  }

  /*======= PORTFOLIO ======*/

  .portfolio-cards {
    background-color: #000000;
    padding: 5% 0.8% 5.9% 0.8%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: auto;
    margin: 5% auto;
    border-radius: 0px;
  }

  /* ======= SERVICES =======*/
  .services {
    padding: 50px 5%;
  }
  .ser-title h2 {
    font-size: 23px;
  }
  .serspan {
    margin-top: -15px;
    font-size: 23px;
  }
  .services-header p {
    font-size: 13px;
  }
  .services-cards {
    gap: 20px;
    width: 100%;
    margin: auto;
  }
  .design-card {
    flex: 1 1 calc(50% - 10px);
    background-color: #000000;
    color: #ffffff;
    border-radius: 10px;
  }
  .design-card img {
    width: 100%;
    height: 20vh;
    object-fit: cover;
  }
  .design-content h3 {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .design-content p {
    font-size: 10px;
  }
  .design-footer {
    font-size: 10px;
  }

  .design-card:hover {
    transform: translateY(-0px);
    background-color: rgb(0, 0, 0);
    color: #ffffff;
  }

  /*====== PARTNERS ======*/
  .partners {
    padding: 50px 5%;
  }
  .partners-card {
    height: 30vh;
  }
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    width: 85%;
    gap: 10px;
  }
  .par-title h2,
  .con-title h2 {
    font-size: 23px;
  }
  .parspan,
  .conspan {
    margin-top: -15px;
    font-size: 23px;
  }
  .partners-header p {
    font-size: 13px;
  }

  .partners-card {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 19px rgba(0, 0, 0, 0.3);
  }
  .partners-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /*===== CONTACT =====*/
  .contact {
    padding: 5% 0 11% 0;
  }
  .con-title h2 {
    font-size: 23px;
  }

  .contact-header p {
    font-size: 13px;
    width: 90%;
    margin: auto;
  }
  .contact-card {
    flex-direction: column;
    height: auto;
    padding: 20px;
    width: 93%;
  }
  .contact-left {
    order: 2;
    padding: 10px;
    margin-top: 0;
  }
  .contact-right {
    display: none;
  }
  .btn-group {
    gap: 10px;
    display: flex;
    justify-content: center;
  }
  .btn-group button {
    font-size: 13px;
  }

  /*========= FOOTER =========*/
  #main-footer {
    height: auto;
    background-color: #000000;
    border-radius: 40px 40px 0 0;
    padding-bottom: 3%;
  }

  #main-footer .footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    margin-top: 5%;
    flex: 1 1 250px;
    min-width: 230px;
  }

  /* ===== LEFT ===== */
  .footer-left h3 {
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .footer-left p {
    font-size: 12px;
    line-height: 1.6;
    font-family: "GillSansCondensed", sans-serif;
    color: #ffffff;
    width: 90%;
    margin-top: 0;
    text-align: start;
  }

  /*======= LEFT =======*/
  .footer-left {
    padding-top: 5%;
  }

  /* ===== CENTER ===== */

  .footer-center {
    display: none;
  }

  .footer-right {
    margin-right: -15%;
  }

  /* ===== RIGHT ===== */

  .footer-right {
    margin-left: 10%;
    padding-bottom: 5%;
  }

  .footer-right h3 {
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: start;
  }

  .footer-icons {
    margin-left: 2.5%;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .footer-icons li a {
    font-size: 23px;
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
  }

  .footer-icons li a:hover {
    color: #ff0000;
    transform: scale(1.2);
  }

  .footerroightandimg {
    display: flex;
    align-items: flex-start;
    margin-left: 3%;
  }

  .footer-image img {
    display: block;
    width: 88px;
    margin-top: 5px;
    padding-left: -30px;
    margin-right: 9%;
  }
}

/*=======================  Media Queries TABLET =======================  */
@media (min-width: 768px) and (max-width: 1024px) {
  /* ========= HEADER (Desktop) ========= */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 10.5%;
  }
  .nav-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 90px;
  }
  nav {
    width: 100%;
    min-height: 100px;
  }
  .nav-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
  }
  .logo-link {
    z-index: 1002;
    position: relative;
  }
  .logoOff {
    width: 88px;
  }
  .logo {
    display: none;
  }
  .nav-left,
  .nav-right {
    gap: 30px;
    margin: 0;
    padding: 0 2%;
    margin-top: -1%;
  }
  nav ul li a {
    font-size: 14px;
  }

  /* ========= HOME SECTION ========= */
  .home {
    height: 100vh;
  }
  .home .content {
    width: 88%;
    margin: auto;
    padding: 20px;
  }
  .home .content h1 {
    font-size: 30px;
    margin-bottom: 30px;
    margin-top: 5%;
    line-height: 1;
  }
  .title-star {
    width: 80px;
    height: auto;
    vertical-align: middle;
  }
  .home .content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5%;
  }

  .btns i {
    margin-left: 8px;
  }
  .btnblack:hover {
    background-color: rgb(0, 0, 0);
  }
  .btnred:hover {
    background-color: rgb(0, 0, 0);
  }
  .home-card {
    width: 100%;
    height: 5vh;
    background-color: rgb(255, 255, 255);
    border-radius: 30px 30px 0 0;
  }

  /*====== ABOUT SECTION ====== */
  .about {
    flex-direction: column;
    height: auto;
    padding: 50px 0% 0;
    width: 90%;
    margin: auto;
    text-align: center;
  }
  .about-content {
    order: 2;
  }
  .about-img {
    order: 1;
    width: 100%;
    margin-bottom: 30px;
  }
  .about-title h2 {
    font-size: 27px;
  }
  .aboutspan {
    margin-top: -3%;
    font-size: 27px;
  }
  .about-content p {
    font-size: 15px;
    max-width: 700px;
    margin: auto;
    padding-bottom: 10%;
  }
  .btnabout {
    display: none;
  }

  /*============= PORTFOLIO ========*/
  .portfolio {
    padding-bottom: 10%;
  }

  /* ========= SERVICES SECTION ========= */
  .services {
    padding: 80px 5%;
    padding-top: 7%;
  }
  .ser-title h2 {
    font-size: 27px;
  }
  .serspan {
    margin-top: -2.7%;
    font-size: 27px;
    margin-bottom: 2%;
  }
  .services-header p {
    font-size: 15px;
    color: #000000;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
  }
  .services-cards {
    gap: 20px;
    width: 100%;
    margin: auto;
  }
  .design-card {
    flex: 1 1 calc(50% - 10px);
    background-color: #000000;
    color: #ffffff;
    border-radius: 10px;
  }
  .design-card img {
    width: 100%;
    height: 20vh;
    object-fit: cover;
  }
  .design-content h3 {
    font-size: 15px;
    margin-bottom: 17px;
  }
  .design-content p {
    font-size: 13px;
  }
  .design-footer {
    font-size: 12px;
  }

  .design-card:hover {
    transform: translateY(-0px);
    background-color: rgb(0, 0, 0);
    color: #ffffff;
  }

  /*============= partners ============*/
  .partners {
    padding: 7%;
    text-align: center;
    background-color: #fff;
    color: #000;
  }
  .par-title h2 {
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    text-transform: uppercase;
  }
  .parspan {
    display: block;
    margin-top: -2.8%;
    color: #ff0000;
    font-family: "Hertine";
    font-weight: bold;
    font-size: 27px;
    margin-bottom: 2%;
  }
  .partners-header p {
    font-family: "GillSansCondensed", sans-serif;
    font-size: 15px;
    color: #000;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
  }
  .partners-card {
    width: 100%;
    height: 30vh;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 19px rgba(0, 0, 0, 0.3);
  }

  /*========= CONTACT =========  */
  .contact {
    display: flex;
    justify-content: center;
    padding: 5% 0 11% 0;
    background-color: #fff;
  }

  .main-card {
    width: 99%;
    align-self: center;
    background-color: rgb(255, 255, 255);
  }
  .contact-header {
    text-align: center;
    margin-bottom: 6%;
  }
  .con-title h2 {
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    text-transform: uppercase;
  }
  .conspan {
    display: block;
    margin-top: -2.8%;
    font-size: 27px;
    margin-bottom: 2%;
  }
  .contact-header p {
    font-family: "GillSansCondensed", sans-serif;
    font-size: 15px;
    color: #000;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
  }

  .contact-card {
    width: 88%;
    height: auto;
    margin: auto;
    padding: 40px;
    display: flex;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .contact-left {
    margin-top: 4%;
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-left form input,
  .contact-left form textarea {
    font-family: "GillSansCondensed", sans-serif;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .contact-left form input::placeholder,
  .contact-left form textarea::placeholder {
    color: rgb(255, 255, 255);
    opacity: 1;
  }
  .contact-left form textarea {
    resize: none;
  }

  .btn-group {
    display: flex;
    gap: 15px;
  }
  .btn-group button {
    cursor: pointer;
    background-color: rgb(255, 0, 0);
    color: #ffffff;
    font-family: "GillSansCondensed", sans-serif;
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: background-color 0.3s;
  }
  .btn-group button:hover {
    background-color: rgb(255, 255, 255);
    color: #000;
  }

  .contact-right {
    display: none;
  }

  /*========= FOOTER =========*/
  #main-footer {
    padding-bottom: 5%;
  }

  .footer-left {
    margin-left: 13%;
  }

  .footer-center {
    display: none;
  }
  .footer-right {
    margin-left: 10%;
  }

  /* ===== LEFT ===== */
  .footer-left h3 {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .footer-left p {
    font-size: 12px;
    width: 90%;
    margin-top: 0;
  }

  /* ===== RIGHT ===== */
  .footer-right h3 {
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: start;
  }

  .footer-icons {
    margin-left: 2.5%;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .footer-icons li a {
    font-size: 23px;
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
  }

  .footer-icons li a:hover {
    color: #ff0000;
    transform: scale(1.2);
  }

  .footer-image img {
    display: none;
  }
}
