@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #da042a;
  --primary-color-dark: #c00427;
  --secondary-color: #15151f;
  --secondary-color-dark: #0a0b0f;
  --text-light: #6b7280;
  --extra-light: #f8f7fd;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.beta-banner {
  background-color: #f8d7da;
  color: #721c24;
  padding: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beta-banner p {
  margin-bottom: 0;
}

.beta-banner .btn {
  margin-top: 10px;
  display: inline-block;
  padding: 4px 10px;
  background-color: #dc3545;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

.beta-banner .btn:hover {
  background-color: #c82333;
}

.dev-credit {
  position: fixed;
  top: 20px;
  right: 0px;
  background-color: #000000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px 0 0 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 14px;
  z-index: 1000;
}

.dev-credit:hover {
  background-color: #000000;
}

.credit-text {
  margin-right: 5px;
  color: white;
}

.dev-credit .btn {
  display: none;
  background-color: #fff;
  color: #000000;
  padding: 5px 10px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  text-decoration: none;
}

.dev-credit:hover .btn {
  display: inline-block;
}


.sticky-banner {
  position: fixed;
  left: 10px;
  bottom: 10px;
  background-color: #ff000093;
  padding: 5px;
  border-radius: 10px 0 0 10px;
  transition: width 0.5s ease-in-out;
  z-index: 1000;
}

.sticky-banner:hover {
  width: 200px; /* Adjust as needed */
}

.chat-text {
  color: rgb(255, 255, 255);
  font-weight: normal;
}

.button {
  display: block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #2e2e2ea7;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.button:hover {
  background-color: #000000;
}



/* home */
.homecontainer {
  position: relative;
}


.homecontainer .slide-container .slide {
  min-height: 50vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 9%;
  padding-bottom: 70px;
  padding-top: 70px;
  border-radius: 1%;
}

.homecontainer .slide-container .slide .content {
  flex: 1 1 350px;
  animation: slideContent .4s linear .6s backwards;
}

@keyframes slideContent {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
}

.homecontainer .slide-container .slide .image {
  flex: 1 1 500px;
}

.homecontainer .slide-container .slide .image img {
  width: 108%;
  animation: slideImage .4s linear;
}

@keyframes slideImage {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

.homecontainer .slide-container .slide .content h3 {
  font-size: 35px;
  color: #333;
}

.homecontainer .slide-container .slide .content p {
  font-size: 16px;
  color: #666;
  padding: 10px 0;
}

.homecontainer .slide-container .slide .content .btn {
  margin-top: 10px;
  display: inline-block;
  background: #ff4e4e;
  color: #fff;
  font-size: 17px;
  padding: 9px 40px;
}

.homecontainer .slide-container .slide .content .btn:hover {
  background: #333;
}


.homecontainer .slide-container {
  display: none;
}

.homecontainer .slide-container.active {
  display: block;
}

.homecontainer .slide-container:nth-child(1) .slide {
  background: linear-gradient(140deg, #f9f9f9 50%, #00000080 30.1%);
}

.homecontainer .slide-container:nth-child(2) .slide {
  background: linear-gradient(140deg, #f9f9f9 50%, #00000080 30.1%);
}

.homecontainer .slide-container:nth-child(3) .slide {
  background: linear-gradient(140deg, #f9f9f9 50%, #00000080 30.1%);
}

.homecontainer #prev,
.homecontainer #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: #333;
  height: 50px;
  width: 40px;
  line-height: 50px;
  font-size: 25px;
  text-align: center;
  cursor: pointer;
  font-weight: bolder;
}

.homecontainer #prev:hover,
.homecontainer #next:hover {
  background: #666;
}

.homecontainer #prev {
  left: 20px;
}

.homecontainer #next {
  right: 20px;
}

/* home section end */

.sticky-chatbox {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out;
  z-index: 1000;
}

.sticky-chatbox img {
  width: 40px;
  height: 30px;
  display: block;
  border-radius: 0%;
  cursor: pointer;
}

.sticky-chatbox:hover {
  background-color: #e3181f;
}


.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
}

.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3.5rem;
  color: var(--secondary-color-dark);
}

.section__description {
  margin-bottom: 2rem;
  color: rgb(0, 0, 0);
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  outline: none;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

.logo img {
  max-width: 80%;
  height: auto;
}


a {
  text-decoration: none;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.header {
  padding-block: 5rem;
  height: 98vh;
  background-image: linear-gradient(rgba(130, 130, 130, 0.5), rgba(48, 48, 48, 0.818)),
    url("../images/bghome1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--secondary-color-dark);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--secondary-color);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  color: var(--white);
  transition: 0.3s;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.header__content {
  max-width: 600px;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 4rem;
  color: var(--white);
}

.banner__container {
  display: grid;
  grid-auto-rows: minmax(0, 350px);
}

.banner__card {
  padding: 5rem 2rem;
  display: grid;
  place-content: center;
  background: linear-gradient(to right, black, black 80%, rgba(100, 0, 0, 0.888) 100%, rgba(255, 0, 0, 0.911));


}

.banner__card h4 {
  max-width: 400px;
  margin: auto;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
}

.banner__image img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border: solid 15px rgb(255, 0, 0);
}

.experience__container {
  display: grid;
  gap: 2rem;
}

.experience__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 3%;
}

.about {
  background-color: white;
  margin-top: 16vh;
}

.about__container {
  padding-block: 0;
}

.about__grid {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--secondary-color);
  transform: translateY(-5rem);
  border-radius: 10px;
}

.about__content .section__header {
  margin-bottom: 1rem;
  color: white;
}

.about__content .para {
  color: white;
}

.about__list {
  display: grid;
  gap: 2rem;
}

.about__item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about__item span {
  padding: 13px 20px;
  font-size: 1.75rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
}

.about__item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.customisation {
  background-image: linear-gradient(rgba(0, 0, 0, 0.879), rgba(0, 0, 0, 0.888)),
    url("../images/placeholderwide.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.customisation__container {
  text-align: center;
}

.customisation__container :is(.section__header, .section__description) {
  max-width: 750px;
  margin: auto;
  color: var(--white);
}

.customisation__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 2rem;
}

.customisation__card h4 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.customisation__card p {
  color: var(--white);
}


.gallery__grid {
  margin-block: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery__grid img {
  transition: 0.3s;
}

.gallery__grid:hover img:not(:hover) {
  opacity: 0.5;
}

.gallery__btn {
  text-align: center;
}


.menu {
  background-color: var(--extra-light);
}

.menu__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu__items {
  list-style: none;
  margin-block: 4rem;
  display: grid;
  gap: 1rem 4rem;
}

.menu__items li {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.menu__items li:hover {
  background-color: var(--primary-color);
}

.menu__items img {
  max-width: 100px;
  border-radius: 2px;
}

.menu__items h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
  transition: 0.3s;
}

.menu__items p {
  max-width: 400px;
  color: var(--text-light);
  transition: 0.3s;
}

.menu__items li:hover :is(h4, p) {
  color: var(--white);
}

.menu__images {
  margin-bottom: 4rem;
  display: grid;
  gap: 1rem;
}

.menu__images img {
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}





.hire {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/placeholderwide.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hire__container :is(.section__header, .section__description) {
  color: var(--white);
}

.hire__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hire__btns .btn:nth-child(1) {
  background-color: transparent;
  border: 2px solid var(--white);
}

.hire__btns .btn:nth-child(2) {
  color: var(--primary-color);
  background-color: var(--white);
  border: 2px solid var(--white);
}

.testimonial__container {
  text-align: center;
}

.swiper {
  width: 100%;
  margin-top: 4rem;
  padding-bottom: 4rem;
}

.testimonial__card {
  max-width: 600px;
  margin: auto;
}

.testimonial__card img {
  max-width: 120px;
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid white;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.testimonial__card p {
  margin-bottom: 1rem;
  color: var(--secondary-color-dark);
}

.testimonial__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}



.faq__container {
  display: grid;
  gap: 2rem;
}

.faq__image {
  overflow: hidden;
}

.faq__image img {
  max-width: 450px;
  margin-inline: auto;
}

.faq__content .section__header {
  margin-bottom: 1rem;
}

.faq__grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.faq__card {
  padding: 1rem;
  display: grid;
  gap: 10px;
  background-color: var(--extra-light);
  border: 5px;
}

.faq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.faq__header span {
  font-size: 1.5rem;
  transition: 0.3s;
  cursor: pointer;
}

.faq__card.active .faq__header span {
  transform: rotate(180deg);
}

.faq__description {
  color: var(--text-light);
  display: none;
}

.faq__card.active .faq__description {
  display: block;
}




.footer {
  background-color: rgb(239, 11, 11);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 2rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: rgb(232, 232, 232);
  background-color: var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--white);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__links a {
  color: rgb(232, 232, 232);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__links p {
  color: rgb(232, 232, 232);
}

.footer__links p span {
  font-weight: 500;
  color: var(--white);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
  background-color: var(--secondary-color);
  text-align: center;
}

.contact {
  background: #ffffff;
  height: 100%;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  gap: 6rem;
}

.contact-img {
  display: flex;
  justify-content: center;
}

.contact-img img {
  max-width: 75%;
  height: auto;
  border-radius: 10px;
}

.contact-form h1 {
  font-size: 80px;
  color: #000000da;
  margin-bottom: 20px;
}

span {
  color: #ff4e4e;
}

.contact-form p {
  color: #747474bf;
  letter-spacing: 1px;
  line-height: 26px;
  font-size: 1.1rem;
  margin-bottom: 3.8rem;
}

.contact-form form {
  position: relative;
}

.contact-form form input,
form textarea {
  width: 100%;
  padding: 17px;
  border: none;
  outline: none;
  background: #d0d0d0;
  color: #000000;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  border-radius: 10px;
}

.contact-form textarea {
  resize: none;
  height: 200px;
}

.contact-form form .btn {
  display: inline-block;
  background: #ff4e4e;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 10px;
  width: 220px;
  transition: ease .20s;
  cursor: pointer;
}

.contact-form form .btn:hover {
  border: 2px solid #ff4e4e;
  background: transparent;
  transform: scale(1.1);
}

/* Mobile Devices (480px and above) */
@media (width > 480px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__image {
    grid-column: 1/3;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(2, 1fr);
  }



  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

/* Tablet Devices (768px and above) */
@media (width > 768px) {
  nav {
    padding: 2rem 1rem;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__bar {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent;
  }

  .header {
    padding-top: 0;
  }

  .header__content h1 {
    font-size: 5rem;
    line-height: 6rem;
  }

  .banner__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(0, 350px);
    gap: 0;
  }

  .banner__image {
    grid-column: 2;
  }

  .experience__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .menu__header {
    flex-direction: row;
  }

  .menu__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__images {
    grid-template-columns: repeat(3, 1fr);
  }



  .hire__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hire__content {
    grid-column: 2/3;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__col:first-child {
    max-width: 400px;
  }

  .contact-form h1 {
    font-size: 60px;
  }

  .faq__container {
    grid-template-columns: repeat(2, 1fr);
}

  .contact-form p {
    margin-bottom: 3rem;
  }

  .contact {
    padding: 80px 3%;
    transition: .2s;
  }
}

/* Mobile Devices (Max-width 768px) */
@media screen and (max-width: 768px) {
  .beta-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px;
    z-index: 999;
}
.beta-banner p {
    font-size: 10px;
}
.beta-banner .btn {
    font-size: 10px;
}

.sticky-banner {
  padding: 5px;
}

.sticky-banner:hover {
  width: 100px; /* Adjust as needed */
}

.chat-text {
  font-size: 10px;
}

.dev-credit {
  top: 100px; 
}
  
  .header {
    height: 95vh;
  }

  .logo img {
    max-width: 70%;
    height: auto;
  }

  .banner__container {
    grid-template-columns: 1fr;
    display: block;
  }

  .banner__image {
    display: none;
  }

  .banner__card h4 {
    max-width: 400px;
    margin: auto;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
}

.banner__card {
  padding: 4rem 2rem;
  display: grid;
  place-content: center;
  background-color: black;
}

  .homecontainer #prev {
    left: 1%;
    top: 50%;
    width: 6%;
    height: 8%;
    border-radius: 30%;
    border: 1px solid #000;
  }

  .homecontainer #next {
    right: 1%;
    top: 50%;
    width: 6%;
    height: 8%;
    border-radius: 30%;
    border: 1px solid #000;
  }

  .homecontainer .slide-container:nth-child(1) .slide {
    background: linear-gradient(140deg, #f9f9f9 60%, #00000080 30.1%);
  }

  .section__description {
    margin-bottom: 2rem;
    color: rgb(43, 43, 43);
  }

  .section__header,
  .section__subheader,
  .section__description {
    text-align: center;
  }

  .experience__image img {
    max-width: 300px;
    margin: auto;
    border-radius: 3%;
  }

  .experience__content .btn {
    display: block;
    margin: 0 auto;
    /* Centers the button horizontally */
  }

  .hire__container {
    text-align: center;
    /* Center-aligns child elements */
  }

  .hire__btns {
    display: block;
    margin: 0 auto;
  }

  .testimonial__card img {
    max-width: 30%; /* Ensure the image is responsive */
    display: block; /* Ensure the image doesn't have extra space underneath */
    margin: auto;
    margin-bottom: 1rem;
    border-radius: 12px; /* Adjust as per your design */
    border: 1px solid #e3e3e3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Adjust the shadow values */
  }


  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form {
    order: 2;
  }

  .contact-img img {
    max-width: 80%;
    height: auto;
    margin: 0 auto 30px;
    /* Center the image and add margin bottom */
    display: block;
    /* Ensures the image doesn't have extra space below */
  }

  .contact-form h1 {
    font-size: 50px;
    color: #000000da;
    margin-bottom: 1%;
    text-align: center;
  }

  .contact-form p {
    color: #2a2a2add;
    letter-spacing: 1px;
    line-height: 26px;
    font-size: 1.1rem;
    margin-bottom: 6%;
    text-align: center;
  }

  .contact-form form input,
  form textarea {
    width: 100%;
    padding: 17px;
    border: none;
    outline: none;
    background: #e7e6e6;
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
  }

  .contact-form form {
    width: 80%;
    /* Adjust the width as needed */
    margin: 0 auto;
    /* Centers the form horizontally */
  }

  .contact-form form .btn {
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
  }
}

/* Additional Mobile/Tiny Tablet Devices (Max-width 900px) */
@media (width < 900px) {
  .about__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Desktop Devices (1024px and above) */
@media (width > 1024px) {
  .menu__images {
    gap: 2rem;
  }
}

/* Desktop Devices (Max-width 1090px) CONTACTS*/
@media (max-width: 1090px) {
  .contact {
    gap: 2rem;
    transition: .3s;
  }
}

/* Additional Desktop Devices (Max-width 1000px) */
@media (min-width: 769px) and (max-width: 1000px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form {
    order: 2;
  }

  .contact-img img {
    max-width: 40%;
    height: auto;
    margin: 0 auto 30px;
    display: block;
  }

  .header {
    height: 110vh;
  }
}