@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  max-width: 100%;
}

/*utility classes*/
.red {
  color: red;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: white;
  text-decoration: none;
  padding: 3px;
  box-shadow: 1px -10px 20px black;
}
.navbar .logo {
  text-decoration: none;
  font-size: 2.2em;
  font-weight: 600;
  color: black;
  margin-left: 90px;
}

.navbar .menu-toggle {
  display: none;
  color: #ff0157;
  font-size: 1.2em;
}

.navbar .navbarright ul,
a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  align-items: center;
  list-style: none;
  gap: 10px;
  margin-right: 30px;
  color: black;
}

/*banner*/

.banner {
  border: 5px solid none;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://i.postimg.cc/s29LNR86/bg.jpg");
  background-size: cover;
  max-width: 100%;
  min-height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}
.banner .h1 {
  font-size: 4em;
}
.banner .p {
  margin-top: 35px;
  max-width: 70%;
  font-size: 1em;
}

.banner .btn {
  font-size: 1.2em;
  color: white;
  background-color: #ff0157;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 70px;
  margin-bottom: 10px;
}

/*about*/
.about {
  background-color: whitesmoke;
  max-width: 100%;
  border: 5px solid none;
  padding: 10px;
}
.about .row {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: row;
  max-width: 100%;
}
.row .col1 {
  width: 48%;
  padding: 10px;
  font-size: larger;
}

.row .col1 h2 .red {
  font-size: 2em;
}
.row .col2 {
  width: 48%;
  overflow: hidden;
  object-fit: contain;
}
.col2 .pizzimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* our menu */
.menu {
  border: 4px solid none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 100%;
  background-color: whitesmoke;
  flex-wrap: wrap;
  flex: 1;
}
.ourmenu {
  text-align: center;
  border: 3px solid none;
  margin: 10px;
}
.ourmenu h2 {
  padding: 20px;
  font-size: 3em;
}
.ourmenu p {
  font-size: large;
}
.menu .cards {
  display: flex; /* i had to use flex to center content vertically */
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.cards .card {
  margin-right: 1%;
  margin-left: 1%;
  background-color: white;
  box-shadow: 1px 2px 5px lightgray;
}
.card {
  width: 250px;
  height: 350px;
  border: 5px solid white;
  box-shadow: 1px 2px 5px whitesmoke;
  gap: 10%;
}

.imgbx {
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.imgbx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 5px;
}
.card .cardtitle {
  text-align: center;
}

.menu .btn {
  font-size: 1.2em;
  color: white;
  background-color: #ff0157;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 70px;
  margin-bottom: 50px;
}

/*experts*/
.experts {
  border: 5px solid none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  flex-wrap: wrap;
  padding: 10px;
  background-color: whitesmoke;
  flex: 1;
}
.experttitle {
  margin-bottom: 50px;
}
.experts .experttitle h2 {
  text-align: center;
  margin-top: 1%;
  line-height: 50px;
  font-size: 3em;
}
.experts .experttitle p {
  text-align: center;
}
.expertcards {
  border: 5px solid none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 50px;
  margin-left: 20px;
  margin-right: 20px;
  max-width: 80%;
}
.card2 {
  border: 5px solid white;
  background-color: white;
  padding: 5px;
  margin: 5px;
  box-shadow: 1px 2px 3px lightgrey;
  flex: 12;
}
.card2 .imgbx img {
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: auto;
  padding: 5%;
  object-fit: cover;
  padding: 5%;
  display: block;
}

.card2 .cardtitle {
  text-align: center;
  font-weight: bolder;
}

/*testimonials*/
.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(https://i.postimg.cc/k5dZs5jR/bg2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border: 5px solid none;
  width: 100%;
  padding: 50px;
}
.testimonials .testimonialtitle h2 {
  text-align: center;
  font-size: 3em;
  color: aliceblue;
}
.testimonials .testimonialtitle p {
  text-align: center;
  font-size: 1.1em;
  color: aliceblue;
}
.testimonialcards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border: 5px solid none;
  padding: 5px;
  flex-wrap: wrap;
}
.testimonialcards .card3 {
  background-color: white;
  gap: 20px;
  width: 250px;
  height: 470px;
  margin: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.card3 .imgbx {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.card3 .imgbx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/*contact section*/
.contact {
  background: url("https://i.postimg.cc/4NmrNq7y/bg3.jpg");
  background-size: cover;
  overflow: hidden;
  object-fit: cover;
}
.form {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 20px;
  border: 5px solid white;
  box-shadow: 2px 2px 2px 2px grey;
  border-radius: 1%;
  margin-top: 10%;
  margin-left: 2%;
  padding: 20px;
  height: 400px;
  position: relative;
  width: 400px;
  margin-bottom: 20px;
}

.form .in1 {
  width: 80%;
  height: 10%;
  margin-top: 1px;
  margin-bottom: 1px;
  border-radius: 5px;
}
.form .textareaOne {
  width: 80%;
  height: 100px;
  margin-top: 10px;
  margin-bottom: 2px;
  border-radius: 5px;
}
.form .btn {
  background-color: #ff0157;
  padding: 20px 40px;
  border-radius: 10px;
  color: aliceblue;
  text-transform: uppercase;
}

footer {
  background-color: #ff0157;
  text-align: center;
  color: white;
  height: 100px;
  width: 100%;
}

.icons {
  display: flex;
  align-items: center;
  justify-content: center;
  color: aqua;
  margin-top: 2%;
  margin-bottom: 30px;
}

.icons i {
  color: aliceblue;
}

/* Responsive styles */

/* 853px to 1280px */
@media screen and (min-width: 853px) and (max-width: 1280px) {
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 98%; /* dropdown starts 70px below navbar */
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 9999;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}
@media screen and (min-width: 912px) and (max-width: 1368px) {
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 97%; /* dropdown starts 97% down from navbar */
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 9999;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}

/* 600px to 1024px */
@media screen and (min-width: 600px) and (max-width: 1024px) {
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 98%;
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 9999;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 9999;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}

/* Global styles unchanged, keep your existing styles here... */
@media screen and (min-width: 820px) and (max-width: 1180px) {
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 96%; /* right under navbar */
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 9999;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}

/* Medium screens: tablets & laptops (800px–1024px) */
@media screen and (max-width: 819px) {
  .navbar .logo {
    margin-left: 20px;
    font-size: 1.8em;
  }

  /* Show hamburger menu */
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }

  .banner .h1 {
    font-size: 2.5em;
  }

  .banner .btn {
    margin-top: 40px;
    font-size: 1em;
  }

  .ourmenu h2,
  .experts .experttitle h2,
  .testimonials .testimonialtitle h2 {
    font-size: 2.2em;
  }

  .menu .cards,
  .expertcards,
  .testimonialcards {
    flex-direction: column;
    align-items: center;
  }

  .cards .card,
  .testimonialcards .card3 {
    width: 80%;
    max-width: 300px;
    margin: 10px 0;
  }

  .row .col1,
  .row .col2 {
    width: 100%;
    text-align: center;
  }
  .row .col1 {
    padding: 0 10px;
  }

  .form {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Very small screens (max-width: 450px) */
@media screen and (max-width: 450px) {
  .navbar .logo {
    font-size: 1.5em;
  }

  .banner .h1 {
    font-size: 1.6em;
  }

  .ourmenu h2,
  .experts .experttitle h2,
  .testimonials .testimonialtitle h2 {
    font-size: 1.7em;
  }

  /* Show hamburger menu */
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .cards .card,
  .testimonialcards .card3 {
    width: 90%;
    max-width: 250px;
  }

  .form {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Extra small screens (max-width: 699px) for expert cards */
@media screen and (max-width: 699px) {
  .card2 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Show hamburger menu */
  .navbar .menu-toggle {
    display: flex;
    margin-left: auto;
    font-size: 1.5em;
    cursor: pointer;
  }

  .navbarright {
    display: none;
  }

  .navbar .navbarright ul {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
  }

  .navbar .navbarright.active ul {
    display: flex;
  }

  .navbar .navbarright ul li {
    text-align: center;
    padding: 10px 0;
  }
}

/* ✅ Global active class to force display when needed */
.active {
  display: flex !important;
}
