@import url('https://fonts.googleapis.com/css2?family=Poiret+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: hsl(38, 100%, 78%);
  --first-color-alt: hsl(32, 75%, 50%);
  --second-color: #1e409a;
  --dark-color: hsl(212, 40%, 12%);
  --white-color: hsl(212, 4%, 95%);
  --body-color: hsl(212, 42%, 15%);
  --container-color: hsl(212, 42%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1rem;
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.container-sweeper a {
  text-decoration: none;
}

.container-sweeper img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.container-sweeper {
  display: flex;
  justify-content: center;
  align-items: center;
  height:auto;
  width: 100%;
  font-family: var(--body-font);
}

.card__container {
  padding-block: 5rem;
  padding-left: 25px;
  padding-bottom: 50px;
}

.card__content {
  margin-inline: 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card__article {
  width: 100%; /* Remove after adding swiper js */
  border-radius: 1.25rem;
  overflow: hidden;

 box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.card__image {
  position: relative;
  background-color: #f3f3f3;
  padding-top: 5px;
  margin-bottom: -.75rem;
}

.card__data {
  background-color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.card__img {
  width: 98%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  border-radius: 1.25rem 1.25rem 0 0;
}

.card__shadow {
  width: 200px;
  height: 200px;
  background-color: var(--first-color-alt);
  border-radius: 50%;
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  filter: blur(45px);
}

.card__name {
  font-size: 15px;
  color: var(--second-color);
  margin-bottom: .75rem;
   font-family: var(--body-font);
   font-weight: 700;
}

.card__description {
  font-weight: 500;
  margin-bottom: 0.4rem;
  background-color: red;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.card__button {
  display: inline-block;
  background-color: #1f409a;
  padding: .55rem 1.3rem;
  border-radius: .25rem;
  color: white;
  font-weight: 600;
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  color: var(--second-color);
  display: none;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: hsl(212, 32%, 40%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #1f409a;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}



@media screen and (max-width: 455px) {
  .card__content {
    margin-inline: 1.5rem;
    padding-left: 0;
     font-family: var(--body-font);
  }
  .card__container {
    width: 100%;
    padding-block: 1rem;
    padding: 5px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: block;
    font-size: 18px;
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #1f409a;
    color: white;
  }
   .swiper-button-prev {
    left: 1rem;
  }
  .swiper-button-next {
    right: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__container {
    width: 80%;
  }

  .swiper-button-prev {
    left: 1rem;
    font-size: 22px;
       display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #1f409a;
    color: white;
    font-weight: 700;

  }
  .swiper-button-next {
    right: .1rem;
    font-size: 22px;
       display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #1f409a;
    color: white;
    font-weight: 700;

  }
}


.card-wrapper {
  max-width: 100%;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}
.card-list .card-item {
  list-style: none;
}
.card-list .card-item .card-link {
  display: block;
  background: #fff;
  padding: 18px;
  user-select: none;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}
.card-list .card-item .card-link:active {
  cursor: grabbing;
}
.card-list .card-item .card-link:hover {
  border-color: #5372F0;
}
.card-list .card-link .card-image {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.badge {
  color: #5372F0; 
  white-space: initial;
  font-size: 15px;
  border-radius: 10px;
  font-weight: 600;
  text-align: left;
  display: inline-flex;
  height: 50px;
  margin: 10px;
  align-items: center;
  padding-top: 20px;
  background: #DDE4FF;
}

.card-list .card-link .badge-marketer {
  color: #B25A2B;
  background: #FFE3D2;
}
.card-list .card-link .badge-gamer {
  color: #205C20;
  background: #D6F8D6;
}
.card-list .card-link .badge-editor {
  color: #856404;
  background: #fff3cd;
}
.card-list .card-link .card-title {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}
.card-list .card-link .card-button {
  height: 35px;
  width: 35px;
  color: #5372F0;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #5372F0;
  transform: rotate(-45deg);
  transition: 0.4s ease;
}
.card-list .card-link:hover .card-button {
  color: #fff;
  background: #5372F0;
}
.card-wrapper .swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  opacity: 0.5;
  background: #5372F0;
}
.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}
.card-wrapper .swiper-slide-button {
  color: #5372F0;
  margin-top: -35px;
}
/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .card-wrapper {
    margin: 0 10px 25px;
  }
  .card-wrapper .swiper-slide-button {
    display: none;
  }}


.testimonials-wrap {
            padding: 40px 0;
        }
        .heading-section {
            text-align: center;
        }
        .sub-heading {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            display: block;
            font-weight: 600;
            color: #2e9ca1;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .heading-section h2 {
            font-size: 18px;
            font-weight: 600;
            padding-top: 10px;
            padding-bottom: 15px;
        }
        .testimonial-box {
            display: inline-flex;
            justify-content: center;
            position: relative;
            padding: 30px 20px;
            padding-top: 120px;
            background: #fff;
            border: 1px solid rgba(0,0,0,.03);
            border-radius: 20px;
            box-shadow: 0 0 20px rgba(0, 0, 0, .08);
        }
        .user-img {
            width: 85%;
            height: 70%;
            top: -100px;
            border-radius: 20px;
            position: absolute;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        }

        .user-img img{
          border-radius: 30px;
          width: 100%;
          height: 100%;

        }
        .carousel-testimonial .item {
            padding: 30px 10px;
            padding-top:140PX;
            width: 98%;
        }
        .quote {
            position: absolute;
            bottom: -23px;
            color: #1e409a;
            font-size: 27px;
            left: 10PX;
        }
        .name {
            margin-bottom: 0;
            line-height: 20px;
            font-size: 17px;
            font-weight: 500;
        }
        .position {
           background-color: #243f9c;
           color: white;
            font-size: 14px;
            padding: 7px 12px;
            border-radius: 25px;
        }
        .carousel-testimonial .owl-nav {
            text-align: center;
        }
        .carousel-testimonial .owl-nav button.owl-next, 
        .carousel-testimonial .owl-nav button.owl-prev {
            padding: 0 12px !important;
        }
        .carousel-testimonial .owl-nav button {
            outline: none;
            padding: 0;
        }
        .carousel-testimonial .owl-nav button.owl-next span, 
        .carousel-testimonial .owl-nav button.owl-prev span {
            display: block;
            font-size: 40px;
            width: 25px;
            height: 25px;
            vertical-align: 0px;
            line-height: 16px;
        }
        .carousel-testimonial .owl-nav button.owl-next.disabled, 
        .carousel-testimonial .owl-nav button.owl-prev.disabled {
            opacity: 0.5;
        }




.photos-grid-container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-gap: 0;
  align-items: start;
}
@media (max-width: 580px) {
  .photos-grid-container {
    grid-template-columns: 1fr;
  }
}
.photos-grid-container .img-box {
  border: 1px solid #ffffff;
  position: relative;
}
.photos-grid-container .img-box:hover .transparent-box {
  background-color: rgba(0, 0, 0, 0.6);
}
.photos-grid-container .img-box:hover .caption {
  transform: translateY(-5px);
}
.photos-grid-container img {
  width: 100%;
  display: block;
  height: auto;
}
.photos-grid-container .caption {
  color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.5rem;
}
.photos-grid-container .transparent-box {
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photos-grid-container .main-photo {
  grid-row: 1;
  grid-column: 1;
}
.photos-grid-container .sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 0em;
}
.photos-grid-container .sub:nth-child(0) {
  grid-column: 1;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(1) {
  grid-column: 2;
  grid-row: 1;
}
.photos-grid-container .sub:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.photos-grid-container .sub:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.hide-element {
  border: 0;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media screen and (min-width: 1280px) {
  .containerg {
    margin: 140px auto;
    width: 1250px;
  }
}