body,
html {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* header css  */

header#top .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header#top .row div {
  width: fit-content;
}

header#top ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

header#top ul li {
  list-style: none;
}

header#top ul li a {
  text-decoration: none;
  margin: 0 10px;
  text-transform: uppercase;
  color: #3a3a3a;
  font-family: "Montserrat", sans-serif;
   &:hover{
    text-decoration: underline;
  }
}

#top .header-right a {
  background: #dbc6c6;
  border-radius: 10px;
  padding: 11px 20px;
 
}

header#top {
  padding: 5px 0;
}

/* login  */

.btn-color {
  background-color: #0e1c36;
  color: #fff;
}

.profile-image-pic {
  object-fit: cover;
  border: none;
}

.cardbody-color {
  background-color: #f6efeb;
  margin: 0;
}

a {
  text-decoration: none;
}

/* events  */

#events-main .flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#events-main .container {
  /* width: clamp(230px, 90%, 920px); */
  /* border: solid red; */
}

#events-main .card {
  width: 30%;
  border: solid rgba(0, 0, 0, 0.2);
  margin: 1rem 0.8rem;
  flex-grow: 0.5;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

#events-main .card:hover {
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  /* overflow: hidden; */
}

#events-main .img {
  overflow: hidden;
  /* border: solid red; */
  display: block;
  margin-bottom: 0.6rem;
  border-radius: 0 0 10px 10px;
  position: relative;
}

#events-main .img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  left: 0;
  top: 0;
  z-index: 2;
}

#events-main .card:hover .img::before {
  /* backdrop-filter: blur(1px); */
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

#events-main img {
  /* display: inline-block; */
  display: block;
  max-inline-size: 100%;
  width: 100%;
  transition: transform 0.3s;
  transform: scale(1);
  filter: saturate(70%);
}

#events-main .card:hover img {
  transform: scale(1.1);
  /* overflow: hidden; */
  transition: transform 0.3s;
  filter: saturate(100%);
}

#events-main .text-box {
  overflow: hidden;
}

#events-main .description {
  font-size: var(--font-size-p);
  color: var(--black-light);
}

#events-main .title {
  font-size: var(--font-size-h2);
  color: var(--black-dark);
  margin-bottom: 1.2rem;
  position: relative;
}

#events-main .title::before {
  content: "";
  position: absolute;
  width: 30%;
  height: 2px;
  /* width: 100%;
  height: 100%; */
  /* background: red; */
  border-bottom: 2.2px solid var(--beige-sand-dark);
  transition: var(--transition-duration);
  top: 100%;
  left: -100%;
}

#events-main .card:hover .title::before {
  transition: var(--transition-duration);
  animation: move-to-right 1s forwards;
}

@keyframes move-to-right {
  0% {
    left: -50%;
  }
  40% {
    left: 50%;
  }
  70% {
    left: -20%;
  }
  100% {
    left: 0;
  }
}

#events-main button {
  border: none;
  padding: 0.5rem 1rem;
  width: 100%;
  border-radius: 5px;
  margin-top: 1rem;
  background: #dbc6c6;
  cursor: pointer;
  transition: .4s all ease-in-out;
  &:hover{
    background: #000;
    color: #fff;
  }
}

#events-main a {
  text-decoration: none;
  /* color: var(--black-dark); */
  font-weight: bold;
  color: var(--beige-sand-light);
}

.mian-heading-sec h2 {
  text-transform: capitalize;
  text-align: center;
  font-size: 50px;
}

section#events-main {
  background: #f6efeb;
  padding: 60px 0;
}

/* coaching  */

section#coaching {
  background: #f6efeb;
  padding: 70px 0;
}

section#coaching h2 {
  padding-bottom: 40px;
}

#coaching h3 {
  padding-top: 10px;
}

.video-box {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* modal  */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.close-btn {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.close-btn:hover {
  color: #333;
}
