* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Garamond", serif;
}

*::selection {
  background: #000;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

section {
  min-height: 75vh;
  padding: 2rem 9%;
}

.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 75vh;
  padding-bottom: 0rem;
  padding-top: 10rem;
  align-items: center;
  background-color: #f1f1f1;
}

.home .content {
  flex: 1 1 40rem;
  padding-top: 10rem;
  z-index: 1;
  margin-left: 12rem;
}
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
}
.home .image img {
  width: 80%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h2 {
  font-size: 5.5rem;
  font-weight: 800;
  color: #000;
}
.home .content h2 span {
  font-size: 5.5rem;
  font-weight: 800;
  color: #ff7b00;
}
.home .content p {
  font-size: 3rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 3rem;
  color: rgb(148, 8, 8);
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: Helvetica, Arial, sans-serif;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .btn:hover {
  background: #1a047e;
}
.home .btn:hover i {
  transform: translateX(5px);
}

.home .rtilt {
  width: 50%; /* Adjust size as needed */
  height: 50%; /* Keep height equal to width for a perfect circle */
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rtilt img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the circle without distortion */
}


/* common media queries starts*/

@media screen and (max-width: 330px) {
  html {
    font-size: 40%;
  }
  body {
    padding-right: 0;
  }

  section {
    padding: 0.15rem;
    padding-bottom: 1rem;
  }

  .rtilt {
    width: 40%; /* Slightly larger for tablets */
    height: 40%;
    margin-left: 10rem !important;
    margin-bottom: 5rem !important;
  }

  .rtilt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home .content {
    margin-left: 10rem;
  }
}

@media screen and (min-width: 331px) and (max-width: 450px) {
  html {
    font-size: 45%;
  }
  body {
    padding-right: 0;
  }

  section {
    padding: 0.15rem;
    padding-bottom: 1rem;
  }

  .rtilt {
    width: 45%; /* Slightly larger for tablets */
    height: 45%;
    margin-left: 10rem !important;
    margin-bottom: 5rem !important;
  }

  .rtilt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home .content {
    margin-left: 10rem;
  }
}

@media screen and (min-width: 451px) and (max-width: 770px) {
  html {
    font-size: 50%;
  }

  section {
    padding: 0.15rem;
    padding-bottom: 1rem;
  }

  .rtilt {
    width: 50%; /* Slightly larger for tablets */
    height: 50%;
    margin-left: 10rem !important;
    margin-bottom: 5rem !important;
  }

  .rtilt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home .content {
    margin-left: 15rem;
  }
  
}

@media screen and (min-width: 771px) and (max-width: 990px){
  html {
    font-size: 55%;
  }

  section {
    padding: 0.15rem;
    padding-bottom: 1rem;
  }

  .rtilt {
    width: 55%; /* Slightly larger for tablets */
    height: 55%;
    margin-left: 10rem !important;
    margin-bottom: 5rem !important;
  }

  .rtilt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .home .content {
    margin-left: 15rem;
  }
}

@media screen and (min-width: 990px) and (max-width:  1299px) {
  .home .content {
    margin-left: 1rem;
  }

  section {
    min-height: 100vh;
    padding: 2rem;
    flex: 1;
  }

  .home .content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #000;
  }
  .home .content h2 span {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ff7b00;
  }
  .home .content p {
    font-size: 3rem;
    color: #000;
    font-weight: 600;
    padding: 1rem 0;
  }
  .home .content p span {
    font-size: 3rem;
    color: rgb(148, 8, 8);
    font-weight: 600;
    padding: 1rem 0;
  }

  .home .tilt {
    width: 57%;
    height: auto;
  }

  .rtilt {
    width: 60%; /* Slightly larger for tablets */
    height: 60%;
    margin-left: 10rem !important;
    margin-bottom: 5rem !important;
  }

  .rtilt img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* common media queries ends*/

@media screen and (min-width: 1300px) and (max-width: 1470px) {
  .home .content {
    padding-top: 3rem;
    margin-left: 13rem;
  }
  section {
    min-height: 100vh;
    padding: 2rem;
  }

}

