body,
h1,
h2,
p,
button,
a {
  margin: 0;
  font-family: "Maven Pro", sans-serif;
}

a {
  display: inline-block;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  padding-top: 96px;
  padding-bottom: 96px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
}
.bold h1 {
  font-weight: 600;
  margin-bottom: 32px !important;
}
.header {
  text-align: center;
  padding: 0px 0px;
  /* margin-bottom: 32px; */
}
.header h1 {
  padding: 0px;
  margin: 0px;
  color: #3b3f61;
  text-align: center;
  font-size: 42px;
  font-style: normal;
  line-height: 52px; /* 123.81% */
  letter-spacing: 2.1px;
  max-width: 794px;
  /* margin-bottom: 8px; */
}
.header p {
  color: #666;
  /* margin-bottom: 24px; */
}

.header a {
  margin-bottom: 112px;
}

.red-button {
  border-radius: 24px;
  background: linear-gradient(102deg, #cf2b5d 43.95%, #9200d7 131.64%);
  color: white;
  border: none;
  cursor: pointer;
  padding: 16px 42px;
  gap: 10px;
  /* margin-top: 48px; */
  width: 282px;
  box-sizing: border-box;

  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.8px;
  text-decoration: none;
}

.red-button:focus,
.red-button:hover {
  background: #a60e3c;
}

.red-button:active {
  background: #8e1a3e;
}
.statistics {
  display: flex;
  justify-content: center;
  padding: 0 auto;
  column-gap: 32px;
  margin-bottom: 96px;
}
.stat-card {
  display: flex;
  width: 524px !important;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 24px;
  background: #fff;
}

.blue-stat h2 {
  color: #0e4ceb;
}
.red-stat h2 {
  color: #cf2b5d;
}

.stat-card h2 {
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.84px;
}
.stat-card p {
  color: #3b3f61;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.2px;
}

.carousel-outer {
  width: 100%;
  /* padding: 0 auto; */
  overflow-x: hidden;
  box-sizing: border-box;
}

/* .outer-testi {
  padding-left: 192px;
} */

.outer-event {
  padding: 0 auto;
}

.owl-carousel-event .owl-item > div {
  /* Assuming your content is wrapped in a div */
  margin: 0 auto;
  /* Additional styling as needed */
}

/* Adjust the position of the navigation buttons */
.owl-carousel .owl-nav {
  margin-top: 24px !important;
}

.slider-header {
  text-align: center;
  /* padding: 2rem;
  margin-bottom: 15px; */
}

.slider-header h2 {
  max-width: 550px;
  margin-bottom: 32px;
}

.event-card {
  margin-right: 36px;
  min-width: 240px;
  width: 240px;
  transition: transform 0.3s ease;
}

.event-card img {
  width: 100%; /* Ensures the image fills the width of the card */
  height: auto; /* Sets a fixed height for the images */
}

.blue-bg {
  background: linear-gradient(#f5fffd, #f0efff);
}

.h2-title {
  margin: 0px auto;
  color: #3b3f61;
  text-align: center;
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.84px;
}

.feature-grid {
  margin: 0px auto;
  margin-top: 32px;
  display: grid;
  /* justify-items: center; */
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px;
  padding: 0 auto;
  width: 100%;
  margin-bottom: 32px;
  justify-items: stretch;
}

.feature {
  border-radius: 24px;
  padding: 32px 52px 32px 32px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.feature p {
  max-width: 428px;
}

#feature1 p {
  max-width: 400px;
}

.feature-grid > .feature:nth-child(odd) {
  justify-self: end;
}

.feature-grid > .feature:nth-child(even) {
  justify-self: start;
}

.feature-blue {
  background-color: #f2f6ff;
  border: none;
}

.feature-white {
  background-color: #ffffff;
  border: 2px solid #e7eeff;
}

.feature img {
  width: 150px;
  height: 150px;
  margin-bottom: 24px;
}

.feature h3 {
  font-family: 'Maven Pro', sans-serif;
  margin: 0;
  margin-bottom: 16px;
  color: #3b3f61;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 141%; /* 33.84px */
}

.feature p {
  align-self: stretch;
  color: #3b3f61;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 141%; /* 22.56px */
}

.white-button {
  display: inline-flex;
  padding: 16px 42px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  border: 2px solid #cf2b5d;
  background: #fff;

  color: #cf2b5d;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.8px;
  text-decoration: none;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-creator-section {
  text-align: center;
  padding: 50px 20px;
}

.event-creator-section h1 {
  color: #333;
  margin-bottom: 30px;
}

.packages {
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  padding: 0 auto;
  margin-bottom: 96px;
}

.package {
  /* display: inline-flex; */
  padding: 42px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  max-width: 512px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  background: #fff;
}

.package:first-child {
  background: none; /* Your desired color for the first .package */
  box-shadow: none;
  justify-self: end;
}

.package:nth-child(2) {
  justify-self: start;
  background-color: white;
  border: 1px solid #e7eeff;
}

.package h2 {
  color: #3b3f61;
  margin-top: 0;
  /* H2 */
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.32px;
  margin-bottom: 32px;
}

.package p {
  width: 428px;
  color: #3b3f61;

  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 141%; /* 33.84px */
  margin-bottom: 32px;
}

.plain-button {
  width: 400px;
  background: #cf2b5d;
  border-radius: 24px;
  color: white;
  border: none;
  cursor: pointer;
  padding: 16px 42px;
  gap: 10px;
  /* margin-top: 48px; */
  /* box-sizing: border-box; */

  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.8px;
  text-decoration: none;
}

.plain-button:focus,
.plain-button:hover,
.white-button:hover,
.white-button:focus {
  /* border: 2px solid #CF2B5D; */
  background: #cf2b5d;
  color: white;
}

.plain-button:active,
.white-button:active {
  background: #8e1a3e;
  color: white;
  border-color: #8e1a3e;
}

.content-section {
  text-align: center;
  width: 100%;
  /* padding: 50px 20px; */
}

.content-section p {
  margin-top: 16px;
  margin-bottom: 32px;
  color: #3b3f61;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 141%; /* 33.84px */
}

.articles-grid {
  width: 100%;
  max-width: 100%; /* Constrain the width */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  overflow-x: auto; /* Enable horizontal scrolling */
  justify-items: center;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.articles-grid::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.article {
  width: 240px;
  /* padding: 20px; */
  border-radius: 10px; /* Rounded corners */
  text-align: left;
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
}

.article a {
  text-decoration: none;
}

.article img {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Rounded corners for the image */
}

.article h3 {
  color: #3b3f61;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 141%; /* 22.56px */
  margin-top: 15px;
  margin-bottom: 15px;
}

.article p {
  color: var(--Grey, #a8a8a8);
  font-family: Maven Pro;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#testimonials-slider {
  margin-top: 64px;
}

.testimonial {
  margin-right: 0px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 24px;
  min-width: 816px; /* Set a fixed width for each testimonial */
  max-width: 816px; /* Set a fixed width for each testimonial */
  scroll-snap-align: start; /* Align to the start of the scroll container */
  background-color: #fff; /* Default background color */
  transition: transform 0.5s ease;
  box-sizing: border-box;
}

.owl-carousel .owl-item:nth-child(odd) .testimonial {
  background: rgba(231, 238, 255, 0.93);
}

.owl-carousel .owl-item:nth-child(even) .testimonial {
  background: #ffecf2;
}

.testimonial-text {
  width: 472px;
}

.author-quote {
  color: #3b3f61;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 141%; /* 22.56px */
  margin-bottom: 12px !important;
}

.author {
  color: #3b3f61;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 141%; /* 22.56px */
}

.testimonial-image {
  padding-left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.third .h2-title {
  max-width: 600px;
}

@media (max-width: 1200px) {
  .statistics {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 19px;
    margin-bottom: 97px;
  }

  .stat-card {
    margin-bottom: 20px;
  }

  .packages {
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(1, 1fr);
  }
  .package:first-child {
    justify-self: center;
    padding: 0;
  }

  .package:first-child a {
    text-align: center;
  }

  .package:nth-child(2) {
    justify-self: center;
  }
}

/* Mobile and Tablet adjustments */
@media (max-width: 768px) {
  body {
    overflow-x: clip;
  }

  .mt-s {
    margin-top: 50px;
  }

  .container,
  .packages,
  .feature-grid,
  .articles-grid {
    width: 100%;
    box-sizing: border-box;
  }

  .feature-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .slider-controls {
    margin-bottom: 75px;
  }

  .header {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header h1 {
    margin-top: 75px;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
  }

  .header a {
    width: 279px;
  }

  .h2-title {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 40px; /* 142.857% */
  }

  .content-section .h2-title {
    padding: 0 16px;
  }

  .content-section p {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 141%; /* 28.2px */
  }

  .red-button,
  .plain-button,
  .white-button {
    font-size: 16px;
    width: auto; /* Allow the button to shrink on smaller screens */
    padding: 16px 42px;
  }

  #register-event-creator{
    width:285px;
  }

  .plain-button {
    font-size: 15px;
  }

  .stat-card {
    max-width: 355px; /* Allow the stats card to fit the screen size */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
  }

  .stat-card h2 {
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.84px;
  }

  .stat-card p {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
  }

  .packages {
    padding: 0px 0px;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(1, 1fr);
  }

  .package {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 358px;
    margin: 0 auto;
    padding: 24px;
    /* overflow: clip; */
  }

  .package h2 {
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .package p {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 141%; /* 28.2px */
  }

  .carousel-outer {
    padding: 0px;
  }

  .articles-grid {
    padding: 0 16px;
  }

  .event-card {
    /* width: auto; Full width for smaller screens */
    margin-right: 0; /* Remove margin between cards */
    margin-bottom: 20px; /* Add space between stacked cards */
  }

  .testimonial {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: auto; /* Adjust testimonial card width for smaller screens */
    margin-right: 50px; /* Remove margin between cards */
  }

  .testimonial-text {
    max-width: 100%;
  }

  .testimonial-image img {
    width: 90%; /* Adjust image size for smaller screens */
    max-width: none;
  }

  .slider-controls button {
    font-size: 24px; /* Smaller arrows for smaller screens */
  }

  /* Adjust the font sizes and padding for smaller screens */
  .stat-card h2,
  .stat-card p {
    text-align: center;
  }

  .stat-card h2 {
    font-size: 35px;
    width: 100%;
  }

  .stat-card p {
    font-size: 20px;
  }

  .feature-grid {
    padding: 0px 15px;
  }

  .author-quote,
  .author {
    font-size: 14px;
  }

  .feature {
    justify-self: center;
    max-width: 358px;
    padding: 24px;
  }

  .feature-grid > .feature:nth-child(odd) {
    justify-self: center;
  }

  .feature-grid > .feature:nth-child(even) {
    justify-self: center;
  }

  .feature h3 {
    margin-bottom: 16px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 141%; /* 33.84px */
  }

  .feature p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 141%; /* 22.56px */
  }

  .article h3 {
    font-size: 14px;
  }

  .article p {
    font-size: 12px;
  }

  
  .content-section {
    width: 100%;
    overflow-x: clip;
  }

  .content-section p{
    padding: 0 16px;
  }
  
  .testimonial {
    padding: 12px;
    min-width: 100%;
    margin-right: 30px;
    flex-direction: column-reverse;
    justify-content: start;
  }

  .testimonial-image {
    padding-left: 0;
    margin-bottom: 32px;
  }

  .testimonial-text {
    text-align: left;
    padding: 12px;
  }

  .author-quote {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 141%; /* 22.56px */
  }

  .author {
    margin-bottom: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 141%; /* 22.56px */
  }
}
/* Adjust the view of the carousel to effectively remove left padding */
.owl-carousel-event .owl-stage {
  margin-left: -65px; /* Should match the stagePadding value for smallest view */
}

.owl-carousel-testimonial .owl-stage {
  margin-left: -10px;
}

.carousel-outer {
  max-width: 1440px !important;
}

@media (min-width: 600px) {
  .owl-carousel-testimonial .owl-stage {
    /* margin-left: -50px; */
  }
  .owl-carousel-event .owl-stage {
    margin-left: 0px; /* Should match the stagePadding value for smallest view */
  }
}

@media (min-width: 1000px) {
  .owl-carousel-testimonial .owl-stage {
    margin-left: -100px;
  }
  .owl-carousel-event .owl-stage {
    margin-left: 0px; /* Should match the stagePadding value for smallest view */
  }
}
