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


.event_section__data {
  display: flex; /* Flexbox for side-by-side layout */
  align-items: center;
  justify-content: center;
  gap: 100px; /* Adds spacing between the image and text */
  width: 88%;
  margin-left: auto;
  margin-right: auto;
}

.eventcard {
  width: 290px;
  max-width: 100%;
  height: 289px;
  background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
  border-radius: 20px;
  transition: all .3s;
}

.eventcard2 {
  width: 100%;
  height: 254px;
  background-color: #1a1a1a;
  border-radius: 15px;
  transition: all .2s;
}

.eventcard2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}

.eventcard:hover {
  box-shadow: 0px 0px 30px 1px rgba(255, 255, 255, 0.3);
}

.eventcard-1 {
  width: 225px;
  max-width: 100%;
  height: 318px;
  background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%);
  border-radius: 20px;
  transition: all .3s;
}

.eventcard2-1 {
  width: 100%;
  height: 254px;
  background-color: #1a1a1a;
  border-radius: 15px;
  transition: all .2s;
}

.eventcard2-1:hover {
  transform: scale(0.98);
  border-radius: 20px;
}

.eventcard-1:hover {
  box-shadow: 0px 0px 30px 1px rgba(255, 255, 255, 0.3);
}

.eventimg {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.event_sectionmain__text {
  max-width: 600px;
  text-align: justify;
  padding: 20px;
  transition: 0.5s;
}

/* Make it responsive */
@media (max-width: 768px) {
  .event_section__data {
    flex-direction: column; /* Stack items on smaller screens */
    text-align: center;
  }

  .event_sectionmain__text {
    max-width: 100%;
    text-align: center;
    padding: 10px;
  }
}

.end{
transition: 0.2s;}
.end:hover{
  color: white;
}
html{
  scroll-behavior: smooth;
}
.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding: 50px 0;
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  /* box-shadow: 0 4px 8px 0 rgba(108, 108, 108, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #070707;
  /* background-color: black; */

  overflow: hidden;

  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_title {
  text-decoration: none;
  /* text-shadow: rgb(255, 255, 255) 1px 0 10px; */
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  /* font-weight: bold; */
  font-size: 30px;
  /* color: #171717d9; */
  color: #ffffff;
  transition: 0.2s;
  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date {
  font-weight: bold;
  color: #f9b234;

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;
  /* background-color: #070707; */

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #3ecd5e;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #e44002;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #952aff;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #cd3e94;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}



@media (max-width: 979px) {
  .ag-courses_item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
  .ag-courses-item_title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }
}

@media (max-width: 639px) {
  .ag-courses_item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ag-courses-item_title {
    font-size: 20px;
  }
  .ag-courses-item_link {
    padding: 22px 30px;
  }
  .ag-courses-item_date-box {
    font-size: 16px;
  }
}

























.parallax {
  /*background-image: url("img_parallax.jpg");*/
  height: 500px;
  margin-left: auto;
  margin-right: auto;
  background-attachment: fixed;
  background-position:center;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.bggreen {
  position: relative;
  top: -210%;
  left: 62%;
  z-index: 10;
}

.contpos {
  position: relative;
  z-index: 20;
}

.fooot {
  position: sticky;
  bottom: 0;
  left: -20%;
  width: 87%;
  height: 120px;
  z-index: 99999;
}
.row li{
  transition: 0.2s;
}
.row li:hover{
  transform: translateY(-10px);
}
/*===== SECTION =====*/
.l-section {
  background: linear-gradient(rgb(26, 26, 26), rgba(0, 0, 0, 0.958), rgba(0, 0, 0, 0.947)); 

}

.section {
  scroll-snap-align: start;
  scroll-behavior: smooth;
  /* height: 150vh; */
  margin-top: 40vh;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
 
  color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  
}

.section__data {
  margin-bottom: 3rem;
}
.sectionmain__data {
  color: #666;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
  justify-content: center;
}
.sectionmain__title {
  display: flex;
  text-shadow: rgb(255, 255, 255) 1px 0 10px;

  font-size: 2.5rem;
  
  text-align: center;
  justify-content: center;
  
}

.sectionmain__text{
  font-size:1.3rem;
  text-align: center;
  line-height:2rem;
  color: #ffffff  ;
}

.section__img {
  width: 285px;
  border-radius: .5rem;
}
.sectionmain__img {
  display: block;
  width: 500px;
  border-radius: .9rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}


.sectionmain1__text{
  text-align: center;
  line-height:2rem;
}

.section1__img {
  width: 285px;
  border-radius: .5rem;
}
.sectionmain1__img {
  display: block;
  width: 500px;
  border-radius: .9rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.sectionmain2__title {
  display: flex;
  font-size: 4rem;
  color: var(--first-color);
  text-align: center;
  justify-content: center;
  
}


/* information */

/*===== SECTION =====*/
.l-section {
  background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.958), rgba(0, 0, 0, 0.947)); 

}

.section1 {
  scroll-snap-align: start;
  scroll-behavior: smooth;
  margin-top: 25vh;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
  color: var(--white-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  
}

.section1__data {
  margin-bottom: 3rem;
}
.sectionmain__data {
  
  margin-bottom: 1rem;
}
.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
  justify-content: center;
}
.sectionmain__title {
  display: flex;
  font-size: 2.5rem;
  color: var(--first-color);
  text-align: center;
  justify-content: center;
  
}

.sectionmain__text{
  text-align: center;
  line-height:2rem;
}

.section__img {
  width: 285px;
  border-radius: .5rem;
}
.sectionmain__img {
  display: block;
  width: 500px;
  border-radius: .9rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}


.sectionmain1__text{
  text-align: center;
  line-height:2rem;
}

.section1__img {
  width: 285px;
  border-radius: .5rem;
}
.sectionmain1__img {
  display: block;
  width: 500px;
  border-radius: .9rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.sectionmain2__title {
  display: flex;
  font-size: 4rem;
  color: var(--first-color);
  text-align: center;
  justify-content: center;
  
}
h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #666;
  
}
details[open] summary ~ * {
  animation: open 0.3s ease-in-out;
}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
details summary::-webkit-details-marker {
  display: none;
}

details summary {
  width: 100%;
  padding: 0.5rem 0;
  border-top: 1px solid black;
  position: relative;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 300;
  list-style: none;
}

details summary:after {
  content: "+";
  color: black;
  position: absolute;
  font-size: 1.75rem;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  font-weight: 200;
  transform-origin: center;
  transition: 200ms linear;
}
details[open] summary:after {
  transform: rotate(45deg);
  font-size: 2rem;
}
details summary {
  outline: 0;
}
details p {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
}



/* the team */

.sectionmainteam__data {
  color: #666;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 20vh;
  
}
.sectionmainteam__title {
  display: flex;
  
  font-size: 2.5rem;
  color: var(--first-color);
  text-align: center;
  justify-content: center;
  
}
/* .team-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background-color: #000000;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  width: calc(33.33% - 20px); 
  max-width: 300px; 
}

.team-member a {
  margin: 10px; 
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.team-member p {
  color: #666;
  font-size: 1.2em;
  transition: 0.2s;
}

.team-member:hover .teamp {
  color: #ffffff;
  font-size: 1.2em;
} */
.team-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 50px;
  text-align: center;
  justify-items: center;
  transition: 0.3s;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.team-member {
  background: transparent;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  width: 100%;
  max-width: 300px;
}

.team-member:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}
.team-member:hover .teamp {
  color: #ffffff;
  
  transition:  0.3s ease-in-out;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  /* border: 4px solid #f9b234; */
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 22px;
  color: #fff;
  margin: 10px 0;
}

.teamp {
  font-size: 16px;
  color: inherit;
  margin-bottom: 10px;
}

.team-member a {
  color: #fff;
  font-size: 22px;
  margin: 0 10px;
  transition: 0.3s;
}

.team-member a:hover {
  color: inherit;
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
  .team-section {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 30px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  .team-member h3 {
    font-size: 20px;
  }

  .teamp {
    font-size: 14px;
  }

  .team-member a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .team-section {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .team-member {
    max-width: 100%;
  }

  .team-member h3 {
    font-size: 18px;
  }

  .teamp {
    font-size: 13px;
  }
}



/* courses */
.courses {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.course {
  background-color: #000000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft box-shadow */
  padding: 20px;
  margin: 15px;
  width: 300px;
  text-align: center;
  border-radius: 30px; /* Rounded corners */
  transition: box-shadow 0.3s ease; /* Smooth transition for box-shadow */
  transition: 0.5s;
}
.course:hover{
  transform: translatey(-5px);
}

.course img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
  border-radius: 30px;
}

.course h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.course p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 15px;
}

.course a {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.course a:hover {
  background-color: #0056b3;
  
}
