@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;

}
.active {
  pointer-events: none;
  cursor: default;
}

:root {
  --bg-color:#fdfdfd;
  --text-color:#333;
  --main-color: #450570;
  --white-color: #fdfdfd;
  --shadow-color: rgba(0,0,0, .2);
}

.dark-mode {
  --bg-color:#0b061f;
  --text-color:#fdfdfd;
  --main-color: #450570;
  --white-color: #fdfdfd;
  --shadow-color: rgba(0,0,0, .7);
}


div:where(.swal2-icon) {
  user-select: none;
  -webkit-user-select: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}


body{
  background: var(--bg-color);
  color: var(--text-color);
}
.section-p1 {
  padding:30px 80px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 7%;
  background: transparent;
  display: flex;
  align-items: center;
  z-index: 100;
  transition: .5s;
}

.header.sticky {
  background: var(--bg-color);
  box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
  font-size: 2.5rem;
  color: var(--main-color);
  font-weight: 600;
  cursor: default;
  margin-right: auto;
}


.navbar a {
  position: relative;
  font-size: 1.7rem;
  color: var(--white-color);
  font-weight: 500;
  pointer-events: auto; /* Add this */
  margin-right: 3.5rem;
}

.header.sticky .navbar a{
  color: var(--text-color);
}
.header.sticky .navbar a.active {
  color: var(--main-color);
}

.navbar a.active::before {
  content:'';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: .2rem;
  background: var(--white-color);
}

.navbar a:hover {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

.header.sticky .navbar a::before {
  background: var(--main-color);
  opacity: .7;
}


#darkMode-icon {
  font-size: 2.4rem;
  color: var(--white-color);
  cursor: pointer;
}

.header.sticky #darkMode-icon {
  color: var(--text-color);
  opacity: .9;
}

#menu-icon {
  font-size: 3.6rem;
  columns: var(--text-color);
  display: none;
}

section {
  min-height: 100vh;
  padding: 10rem 7% 2rem;

}

.whatsapp-icon {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
}

.whatsapp-icon img {
  width: 40px;
  height: 40px;
}

.home {
  display: flex;
  align-items: center;
}

.home .home-content {
  max-width: 50rem;
}

.home-content h3{
  color: rgb(255, 94, 0);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content h1{
  font-size: 4.2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  margin-bottom: 3rem;
}

.home-content p {
  font-size: 1.6rem;
}

.home-content .social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  box-shadow: 0 .2rem ,5rem var(--shadow-color);
  font-size: 2rem;
  color: var(--main-color);
  margin: 2.5rem 1.5rem 3rem 0;
  transition: .5s ease;
}

.home-content .social-media a:hover{
  background-color: var(--main-color);
  color: var(--white-color);
}

.btn {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  background: rgb(185, 62, 89);
  border-radius: 0 2.4rem;
  box-shadow: 0 .2rem .5rem var(--shadow-color);
  font-size: 1.6rem;
  color: var(--white-color);
  letter-spacing: .1rem;
  font-weight: 600;
  border: .3rem solid transparent;
  transition: .5s ease;
}

.btn:hover{
  background: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}


.home .profession-container {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 768px;
  height: 768px;
  overflow: hidden;
  pointer-events: none;
}

.home .profession-container .profession-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 768px;
  height: 768px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation:  professionRotate 13s ease-out infinite;
}

@keyframes professionRotate {
  0%,20% {
    transform: rotate(0deg);
  }
  25%,45% {
    transform: rotate(-90deg);
  }
  50%,70% {
    transform: rotate(-180deg);
  }
  75%,95% {
    transform: rotate(-270deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.home .profession-box .profession {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--main-color);
  transform: rotate(calc(360deg / 4 * var(--i)));
  transform-origin: 384px;
  background: var(--bg-color);
  padding: 13px 0;
}

.home .profession-box .profession:nth-child(1) i {
  margin-right: 15px;
}

.home .profession-box .profession:nth-child(2),
.home .profession-box .profession:nth-child(4) {
  padding-bottom: 20px;
}


.home .profession i {
  font-size: 2.8rem;
}

.home .profession h3{
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 600;
}

.home .profession-box .circle{
  width: 560px;
  height: 560px;
  border: 3px solid var(--main-color);
  border-radius: 50%;
}

.home .profession-container .overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 384px solid var(--main-color);
  border-right: 384px solid var(--main-color);
  border-bottom: 384px solid var(--main-color);
  border-left: 384px solid transparent;

}



span {
  color: blueviolet;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.about-img img {
  width: 40vw;
  height: 35vw;
}


.heading {
  font-size: 3.5rem;
  text-align: center;
}
.sub-heading {
  color: black;
  font-size: 2rem;
  text-align: center;
}
.about-content h2{
  text-align: left;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

.stats-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.stats-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 20px;
  padding: 20px;
  text-align: center;
  width: calc(33.33% - 40px);
}

.stats-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stats-text {
  font-size: 18px;
  color: #666;
}

.stats-card:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}
 
.services {
  min-height: initial;
  padding-bottom: 5rem;
}
.services h2 {
  margin-bottom: 5rem;
}

.services .services-container {
  display: flex;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.services-container .services-box {
  flex: 1 1 30rem;
  background: var(--bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  box-shadow: 0 .1rem .8rem var(--shadow-color);
  text-align: center;
  border-top: .6rem solid var(--main-color);
  border-bottom: .6rem solid var(--main-color);
  transition: .5s ease;
}

.services-container .services-box:hover {
  box-shadow: 0 .1rem 2rem rgb(95, 94, 94);
  transform: scale(1.04);
}

.services-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.services-box h3 {
  font-size: 2.6rem;
  transition: .5s ease;
}

.services-box:hover h3 {
  color: purple;
}

.services-box p {
  font-size: 1.4rem;
  margin: 1rem 0 2rem;
}

.services-box .social-media i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  box-shadow: 0 .2rem .5rem var(--shadow-color);
  font-size: 2rem;
  color: var(--main-color);
  margin: 2.0rem 1.2rem 2rem 0;
}

.services-box .social-media i:hover{
  background-color: var(--main-color);
  color: var(--white-color);
}

center {
  display: block;
  text-align: -webkit-center;
  unicode-bidi: isolate;
}
/* Portfolio Section */

.portfolio {
  padding-bottom: 10rem;
}

.portfolio h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.portfolio h3 {
  margin: 1rem 0 2rem;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
}

.portfolio p {
  text-align: center;
  font-size: 1.4rem;
  margin: 1rem 0 2rem;
}

.portfolio .portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.portfolio-container .portfolio-box {
  position: relative;
  display: flex;
  background-color: var(--white-color);
  border-radius: 2rem;
  box-shadow: 0 .1rem .8rem var(--shadow-color);
  overflow: hidden;
  transition: .5s ease;
}

.portfolio-container .portfolio-box:hover {
  box-shadow: 0 .1rem 2rem rgb(95, 94, 94);
  transform: scale(1.04);
}

.portfolio-container .portfolio-box img {
  width: 100%;
  height: 150px;
}

/* Dark Mode */

.dark-mode .portfolio {
  background-color: var(--bg-color)
}

.dark-mode .portfolio h2 {
  color: #fff;
}

.dark-mode .portfolio h3 {
  color: #fff;
}

.dark-mode .portfolio p {
  color: #ccc;
}

.dark-mode .portfolio .portfolio-container {
  grid-template-columns: repeat(3,1fr);
}

.dark-mode .portfolio-container .portfolio-box {
  box-shadow: 0 .1rem .8rem rgba(255, 255, 255, 0.1);
}

.dark-mode .portfolio-container .portfolio-box:hover {
  box-shadow: 0 .1rem 2rem rgba(238, 102, 102, 0.2);
  transform: scale(1.04);
}

.dark-mode .portfolio-container .portfolio-box img {
  filter: brightness(1);
}



/* Testimonials Section */

.testimonials {
  margin-top: 4rem;
  background-color: var(--bg-color);
  margin-bottom: 2rem;
  padding: 40px;
  text-align: center;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.testimonial {
  background-color: var(--bg-color);
  padding: 20px;
  margin: 20px;
  width: 30%;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimonials h3 {
  padding: 10px 0;
  font-size: 22px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.testimonial p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.testimonial h4 {
  font-size: 18px;
  color: #333;
  margin-top: 0;
}

.prev, .next {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

.prev:hover, .next:hover {
  background-color: #444;
}

/* Dark Mode */

.dark-mode .testimonials {
  background-color:var(--bg-color);
}

.dark-mode .testimonial {
  background-color: #444;
  color: #fff;
}

.dark-mode .testimonial p {
  color: #ccc;
}

.dark-mode .testimonial h4 {
  color: #fff;
}

.dark-mode .prev, .dark-mode .next {
  background-color: #555;
  color: #fff;
}

.dark-mode .prev:hover, .dark-mode .next:hover {
  background-color: #666;
}

.contact h2 {
  font-size: 40px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 10px;
}

.contact form {
  width: 600px;
  text-align: center;
}

form .input-box {
  display: flex;
  justify-content: space-between;
}

.input-box .input-field {
  width: 48.5%;
}

.field .item {
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 2px solid #0ef;
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  color: var(--text-color);
  margin: 12px 0;
} 

.field.error .item {
  border-color: #d93025;
}

.field .item::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.field .error-txt {
  font-size: 14.5px;
  color: #d93025;
  text-align: left;
  margin: .5px 0 10px;
  display: none;
}

.field.error .error-txt {
  display: block;
}

form .textarea-field .item {
  resize: none;
}

form button {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  background: rgb(185, 62, 89);
  border-radius: 0 2.4rem;
  box-shadow: 0 .2rem .5rem var(--shadow-color);
  font-size: 1.6rem;
  color: var(--white-color);
  letter-spacing: .1rem;
  font-weight: 600;
  border: .3rem solid transparent;
  transition: .5s ease;
}

form button:hover {
  background:transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

form .textarea-field .error-text {
  margin-top: -10px;
}
.dark-mode .contact h2 {
  color: #fff;
}

.dark-mode .contact form {
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.dark-mode .field .item {
  background-color: var(--bg-color);
  border-color: var(--bg-color);
  color: #fff;
}

.dark-mode .field .item::placeholder {
  color: #ccc;
}

.dark-mode .field .error-txt {
  color: #fff;
}


.dark-mode form button:hover {
  background-color: transparent;
  color: #fff;
}

.footer {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  flex: var(--white-color);
  padding: 2rem 3%;
  background: var(--main-color);
  flex-wrap: wrap;
}

.container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.col {
  padding: 10px;
}

footer .col {
  display: flex;
  flex-direction: column  ;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--white-color);
}

footer .logo {
  margin-bottom: 20px;
  color: var(--white-color);
}

footer h4 {
  font-size: 18px;
}

footer p {
  font-size: 15px;
  text-decoration: none;
}

footer a {
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.footer .social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3.3rem;
  height: 3.3rem;
  background: rgb(141, 94, 51);
  border: .2rem solid yellow;
  border-radius: 50%;
  box-shadow: 0 .2rem ,5rem var(--shadow-color);
  font-size: 2rem;
  color: var(--main-color);
  margin: 1.8rem 1.2rem 2rem 0;
  transition: .5s ease;
}

.footer .social-media a:hover{
  background-color: var(--main-color);
  color: var(--white-color);
}


footer .follow i:hover,
footer a:hover {
  color: #f70808;
}

.footer-text p{
  width: 100%;
  font-size: 1.6rem;
  color: var(--white-color);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-iconTop a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .8rem;
  background: var(--white-color);
  border-radius: .8rem;
  border: .2rem solid var(--main-color);
  outline: .2rem solid transparent;
  transform: .5 ease;
}

.footer-iconTop a:hover {
  outline-color: var(--white-color);
}

.footer-iconTop a i {
  font-size: 2.4rem;
  color: #333;
}


.faq .container {
  width: 80%;
  margin: 50px auto;
  padding: 20px;
}

.faq p {
  text-align: inherit;
  font-size: 1.5em;
  color: #333;
  margin-bottom: 20px;
}

.faq-list {
  list-style: none;
  padding: 0;
}

.faq-item {
  border: 0.6rem solid var(--main-color);
  margin-bottom: 15px;
  width: 800px;
  padding: 10px;
  position: relative;
}

.faq-question {
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
}

.faq-answer {
  display: none;
  margin-top: 10px;
}

.faq-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.2em;
  color: #000000;
  cursor: pointer;
}

.faq-icon.active {
  transform: rotate(0deg);
}
.dark-mode .faq {
  background: var(--bg-color);
}

.dark-mode .faq p {
  color: var(--text-color);
}

.dark-mode .faq-list {
  background: var(--bg-color);
}

.dark-mode .faq-item {
  background: var(--bg-color);
  border: 0.6rem solid var(--main-color);
}

.dark-mode .faq-question {
  color: var(--text-color);
}

.dark-mode .faq-answer {
  color: var(--text-color);
}

.dark-mode .faq-icon {
  color: var(--main-color);
}

.dark-mode .faq-icon.active {
  transform: rotate(0deg);
}

.refund-policy {
  align-items: center;
  max-width: 900px;
  
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.refund-policy h3 {
  margin-top: 0;
  font-size: 18px;
}

.refund-policy ul {
  list-style: none;
  padding-left: 0;
  font-size: 12px;
}
.refund-policy p {
  margin-top: 0;
  font-size: 12px;
}

.refund-policy li {
  margin-bottom: 1em;
}

.refund-policy li:before {
  content: "\2022";
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 0.5em;
}

.dark-mode .refund-policy {
  align-items: center;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--bg-color);
  border: 1px solid #555;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.dark-mode .refund-policy h3 {
  margin-top: 0;
  font-size: 18px;
  color: #fff;
}

.dark-mode .refund-policy ul {
  list-style: none;
  padding-left: 0;
  font-size: 12px;
  color: #ccc;
}

.dark-mode .refund-policy p {
  margin-top: 0;
  font-size: 12px;
  color: #ccc;
}

.dark-mode .refund-policy li {
  margin-bottom: 1em;
}

.dark-mode .refund-policy li:before {
  content: "\2022";
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 0.5em;
  color: #fff;
}


/* BREAKPOINTS */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .home .profession-container {
    height: 85.8rem;
  }

  .home .profession-container .profession-box {
    right: -12rem;
    height: 85.8rem;
  }

  .home.profession-container .overlay {
    right: -9rem;
  }
  .testimonial {
    width: 25%;
  }
  .container {
    grid-template-columns: repeat(5, 1fr);
  }
  .col {
    padding: 20px;
  }

  .faq-item {
    width: 800px;
  }


}


@media (max-width: 1024px) {

  .navbar a.active::before {
    background: var(--main-color);
    opacity: .7;
  }

  .header {
    padding: 2rem 3%;
  }
  section {
    padding: 10rem 3% 2rem;
  }

  .home .profession-container .profession-box {
    right: -22rem;
  }

  .home .profession-container .overlay {
    right: -15rem;

  }
  .container {
    grid-template-columns: repeat(3, 1fr);
  }
  .col {
    padding: 10px;
  }
  .footer .social-media a {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}
@media (max-width: 991px) {
  
#darkMode-icon {
  color: var(--text-color);
}

  .navbar a:nth-child(1),
  .navbar a:nth-child(2) {
    color: var(--main-color);

  }
  .navbar a.active::before {
    background: var(--main-color);
    opacity: .7;
  }

  .home .home-content {
    max-width: 50rem;
  }

  .home .profession-container .profession-box {
    right: -45rem;
  }

  .home .profession-container .overlay {
    right: -39.5rem;
  }

  .services,
  .portfolio {
    padding-bottom: 7rem;
  }

  .contact {
    min-height: auto;
  }
  .footer {
    padding: 2rem 3%;
  }
  .faq-item {
    width: 700px;
  }

}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  #darkMode-icon {
    position: absolute;
    right: 7rem;
    font-size: 2.6rem;
    columns: var(--text-color);
    margin-bottom: .1rem;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background-color: var(--bg-color);
    border-top: .1rem solid rgba(0,0,0, .2);
    box-shadow: 0 .5 1rem rgba(0,0,0, .2);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
  }

  .navbar a:nth-child(1),
  .navbar a:nth-child(2) {
    color: var(--text-color);
  }

  .navbar a:active {
    color: var(--main-color);
  }

  .navbar a::before {
    display: none;
  }

  .home {
    padding: 0 3% 23rem;
    justify-content: center;
    text-align: center;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }
  .home-content h1 {
    font-size: 4rem;
  }

  .home-content .social-media a {
    margin: 2.5rem .75rem 3rem;
  }
  
  .home .profession-container {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .home .profession-container .profession-box {
    position: fixed;
    top: 60%;
    left: 0;
    border-radius: 0;
    width: 100%;
  }

  .home .profession-box .profession {
    padding: 0 13px;
    left: auto;
    transform-origin: 0;
  }

  .home .profession-box .profession:nth-child(1) {
    transform: rotate(-90deg) translate(-120px, -210px);
  }
  
  .home .profession-box .profession:nth-child(1) i {
    margin-right: 0;
  }
  .home .profession-box .profession:nth-child(2) {
    transform: rotate(0deg) translate(0, -335px);
  }
  .home .profession-box .profession:nth-child(3) {
    transform: rotate(90deg) translate(-115px, -450px);
  }
  .home .profession-box .profession:nth-child(4) {
    transform: rotate(180deg) translate(-220px, -335px);
  }

  .home .profession-box .circle {
    position: fixed;
    width: 670px;
    height: 670px;
    z-index: -1;
  }

  .home .profession-container .overlay {
    position: fixed;
    top: 70rem;
    left: 50%;
    right: 0;
    transform: rotate(90deg) translate(-50%, 50%) scaleY(3);
    border-width: 23.9rem;
  }
  
  .about {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-content h2 {
    text-align: center;
  }

  .about-img img {
    width: 70vw;
    margin-top: -2rem;
  }

  .services h2,
  .portfolio h2 {
    margin-bottom: 3rem;
  }
  .portfolio .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial {
    width: 60%;
  }
  
  .contact form {
    width: 80%;
  }
  .input-box .input-field {
    width: 100%;
  }
  form button {
    padding: 1rem 2rem;
  }
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .col {
    padding: 5px;
  }
  .footer .social-media a {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
  .footer {
    flex-direction: column;
  }

  .faq-item {
    width: 600px;
  }
  .faq-question {
    font-size: 1.2rem;
  }
  .faq-icon {
    font-size: 1.8em;
  }
}


 
@media (max-width: 617px) {
  .home .profession-container .profession-box {
    display: none;
    position: fixed;
    top: 60%;
    left: 0;
    border-radius: 0;
    width: 100%;
}
  .portfolio .portfolio-container {
    grid-template-columns: 1fr;
  }
  .faq-item {
    width: 350px;
  }
  .faq-question {
    font-size: 0.8rem;
  }
  .faq-icon {
    font-size: 1.2em;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  #darkMode-icon {
    right: 6rem;
  }

  .home {
    padding: 0 3% 30rem;
  }

  .home .profession-box .profession:nth-child(1) {
    transform: rotate(90deg) translate(-110px, -220px);
  }

  .home .profession-box .profession:nth-child(2) {
    transform: rotate(0deg) translate(5px, -335px);
  }

  .home .profession-box .profession:nth-child(1) {
    transform: rotate(90deg) translate(-105px, -440px);
  }

  .home .profession-box .profession:nth-child(1) {
    transform: rotate(180deg) translate(-110px, -220px);
  }
   .dark-mode .portfolio .portfolio-container {
    grid-template-columns: 1fr;
  }

  .dark-mode .portfolio-container .portfolio-box {
    height: 25rem;
    width: auto;
  }

  .dark-mode .portfolio-container .portfolio-box img {
    height: 100%;
    object-fit: cover;
  }
  .testimonial {
    width: 100%;
    margin: 10px;
  }
  .testimonial-container {
    flex-direction: column;
  }
  .prev, .next {
    padding: 10px 10px;
  }


  .contact form {
    width: 80%; /* Adjusted to full width for smaller screens */
  }

  .field .item {
    padding: 8px; /* Reduced padding for smaller screens */
    font-size: 12px; /* Reduced font size for smaller screens */
  }

  form button {
    padding: 0.4rem 0.8rem; /* Reduced padding for smaller screens */
    font-size: 1.2rem; /* Reduced font size for smaller screens */
  }
  .container {
    grid-template-columns: 1fr;
  }
  .col {
    padding: 5px;
  }
  .footer .social-media a {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
  }
  .footer {
    flex-direction: column;
  }
  .footer-text p {
    font-size: 1.2rem;
  }

  .faq-item {
    width: 300px;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-icon {
    font-size: 1em;
  }

}

@media (max-width: 365px) {
  .about-img img {
    width: 90vw;
  }

  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    text-align: center;
    margin-top: 2rem;
  }
  .footer .social-media a {
    width: 1rem;
    height: 1rem;
    font-size: .8rem;
  }
  .footer-text p {
    font-size: 1rem;
  }
  .footer-iconTop a i {
    font-size: 1.8rem;
  }

}

.stats {
  background-color: var(--gradient-color-bg);
  padding: 30px 0;
  text-align: center;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-box {
  flex-basis: 40%; /* increased width */
  margin: 10px; /* reduced margin */
  padding: 10px; /* reduced padding */
  border: 1px solid #ddd;
  border-radius: 0; /* removed border radius to make it rectangle */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 100px; /* added fixed height to make it rectangle */
}

.stat-box h2 {
  text-align: center;
  font-size: 24px; /* reduced font size */
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 14px; /* reduced font size */
  color: #666;
}

/* Responsive styles */

@media (max-width: 1200px) {
  .stat-box {
    flex-basis: 50%;
  }
}
@media (max-width: 1024px) {
  .stat-box {
    flex-basis: 40%;
  }
}
@media (max-width: 768px) {
  .stat-box {
    flex-basis: 50%;
  }
}

@media (max-width: 480px) {
  .stat-box {
    flex-basis: 60%;
  }
}

@media (max-width: 320px) {
  .stat-box {
    padding: 5px;
    margin: 5px;
  }
  .stat-box h2 {
    font-size: 18px;
  }
  .stat-box p {
    font-size: 12px;
  }
}