/*   GOOGLE FONTS   */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

/*   VARIABLES CSS   */
:root {
  --header-height: 3.5rem;
  /*  Colors  */
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
        Change favorite color
        Default: hsl(18, 44.60%, 36.10%)
        Purple: hsl(245, 55%, 55%) - Blue: hsl(210, 55%, 55%)
        Pink: hsl(340, 55%, 55%) - Green: hsl(162, 55%, 55%)
        Orange: hsl(14, 55%, 55%)

        For more colors visit: https://colors.dopely.top/color-pedia
        -> Choose any color 
        -> Click on tab (Color Conversion)
        -> Copy the color mode (HSL)
  */
  --hue: 230;
  --first-color: hsl(var(--hue), 55%, 55%);
  --first-color-light: hsl(var(--hue), 55%, 65%);
  --first-color-alt: hsl(var(--hue), 50%, 50%);
  --title-color: hsl(var(--hue), 30%, 95%);
  --text-color: hsl(var(--hue), 20%, 80%);
  --text-color-light: hsl(var(--hue), 20%, 70%);
  --body-color: #f06236;
  --container-color: hsl(var(--hue), 40%, 20%);

  /*  Font and typography  */
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --biggest-font-size: 3rem;
  --big-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*  Font weight  */
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*  z index  */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*  Responsive typography */
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 5.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1.125rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
input,
textarea,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  border: none;
  outline: none;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

p {
  line-height: 130%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*   REUSABLE CSS CLASSES   */
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 2rem;
  justify-items: center;
}

.mobile__contact{
  padding-block: 5rem 2rem;
  position: relative;
  justify-items: center;
}
.desktop__contact {
  padding-block: 5rem 2rem;
  justify-items: center;
}


.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 2rem;
  color: black;
}

.main {
  overflow: hidden;
}

/*   HEADER & NAV   */
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
}
.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  color: black;
  font-weight: var(--font-bold);

}

.nav__toggle,
.nav__close{
  font-size: 1.5rem;
  color:black;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px){
  .nav__menu{
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(var(--hue), 70%, 4%, .2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 80%;
    height: 100%;
    padding: 7rem 3rem;
    transition: right .4s;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link{
  position: relative;
  color: black;
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__link::after{
  content: '';
  width: 0%;
  height: 2px;
  background-color: black;
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .3s;
}

.nav__link:hover{
  color: black;
}

.nav__link:hover::after{
  width:30%;
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu{
  right:0;
}

/* Add blur header */
.blur-header::after{
  content: '';
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(var(--hue), 70%, 4%, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link{
  color: white;
}

.active-link::after{
  width: 30%;
}

/*   HOME   */
.home__container{
row-gap: 2rem;
padding-top: 1rem;
}

.home__img{
  width: 220px;
  justify-self: center;
  mask-image: linear-gradient(to bottom,  
                    hsla(var(--hue), 40%, 16%) 60%, transparent 100%);
}

.home__highlight{
  color: black;
}

.home__name{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  word-break: break-word;
  margin-bottom: 1rem;
  color:black;
}

.home__profession{
  position: relative;
  font-size: var(--big-font-size);
  color: white;
}

.home__profession::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 25%;
  height: 3px;
  background-color: black;
}

.home__scroll{
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  justify-self: center;
  margin-top: 3rem;
}

.home__scroll-box{
  background-color: transparent;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.homes__scroll-text{
  font-weight: var(--font-semi-bold);

}

.home__scroll-box i{
  animation: scroll-down 3s infinite;
}

/* Animate scroll icon */
@keyframes scroll-down{
  0%{
    transform: translateY(-1rem);
    opacity: 0;
  }
  50%{
    transform: translateY(0);
    opacity: 1;
  }
  100%{
    transform: translateY(.6rem);
    opacity: 0;
  }
}

/*   BUTTON   */
.button{
  display: inline-flex;
  justify-content: center;
  background-color: hsl(14.19deg 100% 44.56%);
  color: black;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 2rem;
  transition: background-color .4s;
}
.button:hover{
  background-color: white;
}
/*   Recent Performances   */
.work{
  background-color: white;
}

.work__card{
  background-color: hsl(14.19deg 100% 44.08%);
}

.work__link{
  display: block;
  position: relative;
  background-color: var(--body-color);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: var(--text-color);
  transition: transform .4s;
}

.work__title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
  color: black;
}

.work__description{
  margin-bottom: 1.5rem;
  color: white;
}

.work__link i{
  position: absolute;
  top: 1.8rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: black;
  transition: transform .4s;
}

.work__link:hover{
  transform: translateY(-.35rem);
}
.work__link:hover i{
  transform: translateX(.5rem);
}

/*   INFO   */
.info__container{
  row-gap: 3rem;
}

.info__title{
  position: relative;
  font-size: small;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.info__title::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -.5rem;
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
}
/* ABOUT */
.about{
  row-gap: .5rem;

}
.about__title{
  position: relative;
    font-size: xx-large;
    color: white;
    margin-bottom: 2rem;
}
.role__text{
  display: flex;
  font-size: large;
}
.about__description{
  margin-bottom:2rem;
  color: black;
}
.about__description b{
  color: var(--first-color-light);
}
.about__img{
  width: 280px;
  justify-self: center;
  /*mask-image: linear-gradient(to bottom, hsla(var(--hue), 40%, 16%) 60%, transparent 100%);*/
}

.about__button{
  width: 100%;
}

/*   SERVICES   */
.services{
  background-color: white;
}

.services__container{
  row-gap: 2rem;
}

.services__icon{
  display: block;
  color: hsl(14.19deg 86.11% 57.65%);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services__title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
  color: black;

}
.services__description{
  color: rgb(73, 73, 73);
}
/*   CONTACT   */
.contact__container{
  row-gap: 4rem;
}

.contact__group,
.contact_form{
  gap: 1rem;
}

.contact__form{
  position: relative;
}

.contact__input{
  padding: 1.25rem;
  background-color: white;
  color: black;
  font-weight: var(--font-semi-bold);
}

.contact__input::placeholder{
  color: var(--text-color-light);
}

.contact__area{
  height: 10rem;
  resize: name;
}

.contact__button{
  margin-top: 1rem;
  cursor: pointer;
}
.contact__button:hover{
  color: #f06236;
}

.contact__direct{
  grid-template-columns: repeat(1, max-content);
  justify-content: center;
  column-gap: 3rem;
  text-align: center;
}
.contact__details{
  text-align: center;
}


.contact__direct-link{
  color: var(--title-color);
    display: inline-flex;
    column-gap: .25rem;
    transition: color .4s;
    font-size: 1.5rem;
    font-family: "Montserrat", serif;
    text-align: center;
    flex-direction: column;
    flex-wrap: wrap;
}
.contact__direct-link:hover{
  color: black;
}

.contact__direct-link i{
  font-size: 1.5rem;
}
.separator__color{
  color: white;
}
.contact__social{
  grid-template-columns: repeat(1, max-content);
  justify-content: center;
  column-gap: 3rem;
}

.contact__social-link{
  color: var(--title-color);
  display: inline-flex;
  column-gap: .25rem;
  align-items: center;
  transition: color .4s;
}

.contact__social-link i{
  font-size: 1.5rem;

}

.contact__social-link span{
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.contact__social-link:hover{
  color: black;

}
.contact__message{
  position: absolute;
  left: 0;
  bottom: -2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}


/*  CONTACT DESKTOP  */
.desktop__contact{
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: grid;
  align-items: center;
}
.desktop__contact__container{
  row-gap: 1rem;
  margin-top: -6rem;
}

.desktop__contact__group,
.desktop__contact_form{
  gap: 1rem;
}

.desktop__contact__form{
  position: relative;
}

.desktop__contact__input{
  padding: 1.25rem;
  background-color: white;
  color: black;
  font-weight: var(--font-semi-bold);
}

.desktop__contact__input::placeholder{
  color: var(--text-color-light);
}

.desktop__contact__area{
  height: 10rem;
  resize: name;
}

.desktop__contact__button{
  margin-top: 1rem;
  cursor: pointer;
}
.desktop__contact__button:hover{
  color: #f06236;
}

.desktop__contact__direct{
  grid-template-columns: repeat(1, max-content);
  justify-content: center;
  column-gap: 3rem;
  text-align: center;
}
.desktop__contact__details{
  text-align: center;
}


.desktop__contact__direct-link{
  color: var(--title-color);
    display: inline-flex;
    column-gap: .25rem;
    transition: color .4s;
    font-size: 1.5rem;
    font-family: "Montserrat", serif;
    text-align: center;
}
.desktop__contact__direct-link:hover{
  color: black;
}

.desktop__contact__direct-link i{
  font-size: 1.5rem;
}
.separator__color{
  color: white;
  display: grid;
  align-self: center;
  justify-content: center;
}
.desktop__contact__social{
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  column-gap: 3rem;
}

.desktop__contact__social-link{
  color: var(--title-color);
  display: inline-flex;
  column-gap: .25rem;
  align-items: center;
  transition: color .4s;
}

.desktop__contact__social-link i{
  font-size: 1.5rem;

}

.desktop__contact__social-link span{
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.desktop__contact__social-link:hover{
  color: black;

}
.desktop__contact__message{
  position: absolute;
  left: 0;
  bottom: -2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
/*   FOOTER   */
.footer{
  background-color: whitesmoke;
}

.footer__container{
  padding-block: 3rem 2rem;
  row-gap: 3rem;
}

.footer__links{
  display: flex;
  justify-content: center;
  column-gap: 2.5rem;
}

.footer__link{
  color:#f06236;
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.footer__link:hover{
  color: black;
}

.footer__copy{
  color: black;
  font-size: var(--small-font-size);
  text-align: center;
}

/*   SCROLL BAR   */
::-webkit-scrollbar{
  width: .6rem;
  background-color: white;
}

::-webkit-scrollbar-thumb{
  background-color:#ca3d12
}

::-webkit-scrollbar-thumb:hover{
  background-color: black;
}

/*   SCROLL UP   */
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color:#f06236;
  display: inline-flex;
  padding: 6px;
  color: black;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(var(--hue), 30%, 8%, .3);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*   BREAKPOINTS   */
/* For small devices */
@media screen and (max-width: 300px){
  .container{
    margin-inline: 1rem;
  }
  .mobile__contact{
    display: block;
  }
  .desktop__contact{
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 540px){
  .home__container,
  .work__container,
  .info__container,
  .services__container{
    grid-template-columns: 350px;
    justify-content: center;
  }
  .row .contentWrapper span.textWrapper{
    font-size: 18px;
}
.row .contentWrapper h2{
    font-size: 25px;
}
.row .contentWrapper p{
    font-size: 15px;
    line-height: 22px;
}
.row .contentWrapper a{
    font-size: 15px;
    padding: 10px 20px;
}
.mobile__contact{
  display: block;
}
.desktop__contact{
  display: none;
}
}
@media screen and (max-width: 540px){
.desktop__contact{
  display: none;
}
}

@media screen and (min-width: 768px){
  .nav__menu{
    width: 50%;
  }
  .home__container{
    grid-template-columns: repeat(2, 350px);
  }
  .home__data{
    align-self: flex-end;
    padding-bottom: 3rem;
    order: -1;
  }
  .home__scroll{
    grid-column: 1/3;
  }

  .work__container{
    grid-template-columns: repeat(2, 350px);
  }

  .info__container{
    grid-template-columns: initial;
  }
  .row{
    width: 90%;
    
}
.row .contentWrapper h2{
    font-size: 30px;
    padding-bottom: 20px;
}
.row .contentWrapper p{
    line-height: 24px;
}
  .experience__data{
    grid-template-columns: repeat(2, 1fr);
  }

  .services__container{
    grid-template-columns: repeat(2, 320px);
  }
  .mobile__contact{
    display: none;
    position: relative;
  }
  .desktop__contact{
    display: block;
  }
  .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* Adjust size */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    width: 60px; /* Ensure circular shape */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.play-icon:hover {
    background: rgba(0, 0, 0, 0.8);
}

}

/* For large devices */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }
  .desktop__contact{
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: grid;
    align-items: center;
  }
  
  .section{
    padding-block: 7rem 5rem;
    justify-items: center;
  }
  .section__title{
    margin-bottom: 4rem;
  }
  .contact__section__title{
    text-align: center;
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 2rem;
    color: black;
    margin-top: 2rem;
  }
  
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__menu{
    width: initial;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 4rem;
  }
  .home__container{
    grid-template-columns: 500px 400px;
    gap: 3rem 16rem;
  }
  .home__img{
    width: 400px;
  }
  .home__name{
    margin-bottom: 1.5rem;
  }
  .home__scroll{
    margin-top: -9rem;
  }
  .home__profession::after{
    bottom:-1rem;
    width: 35%;
  }
  .work__container{
    grid-template-columns: repeat(2, 540px);
    gap: 2.5rem;
  }
  .work__link{
    padding: 3rem 3rem 2rem;
  }
  .work__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  .work__link i{
    font-size: 2rem;
  }
  .info__container{
    row-gap: 4rem;
  }
  .info__title{
    font-size: var(--normal-font-size);
    margin-bottom: 3.5rem;
  }
  .about{
    grid-template-columns: 320px 420px;
    column-gap: 11.5rem;
  }
  .about__img{
    width: 320px;
  }
  .about__description{
    margin-bottom: 3rem;
  }
  .about__button{
    width: initial;
  }
  .mobile__contact{
    display: none;
  }
  .experience__content{
    row-gap: 4rem;
  }
  .experience__data{
    grid-template-columns: 320px 380px;
    column-gap: 11.5rem;
  }
  .experience__company{
    font-size: var(--h1-font-size);
  }
  .experience__profession{
    margin-bottom: .5rem;
  }
  .experience__date{
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
  }

  .services__container{
    grid-template-columns: repeat(2, 350px);
    gap: 6rem 13rem;
  }
  .desktop__contact__container{
    grid-template-columns: 580px;
  }
  .desktop__contact__group{
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .desktop__contact__area{
    height: 15rem;
  }
  .desktop__contact__button{
    width: 100%;
    justify-self: center;
    margin-top: -0.5rem;
  }

  .desktop__contact__message{
    bottom:4.5rem;
  }
  .desktop__contact__social{
    grid-template-columns: repeat(3, max-content);
    column-gap: 5rem;
  }
  .footer__container{
    padding-block: 3rem;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .footer__links{
    column-gap: 4rem;
    order: 1;
  }
  .scrollup{
    right: 3rem;
  }
  
    .row .contentWrapper span.textWrapper{
        font-size: 18px;
    }
    .row .contentWrapper h2{
        font-size: 25px;
    }
    .row .contentWrapper p{
        font-size: 15px;
        line-height: 22px;
    }
    .row .contentWrapper a{
        font-size: 15px;
        padding: 10px 20px;
        line-height: 32px;
}
}

/* ABOUT SECTION*/

.row{
  width: 80%;
  max-width: 1170px;
  display: grid;
  grid-template-columns: repeat(2,  1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding-bottom: 5rem;
}

.row .imgWrapper{
  overflow: hidden;
}



/* About Carousel */
.carousel {
  width: 100%;
  max-height: 80vh;
  max-width: 500px; /* Adjust based on your grid */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  
}

.carousel-inner {
  display: flex;
  width: calc(100% * 9); /* 9 images */
  animation: scroll 20s ease-in-out infinite;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  flex: 0 0 100%; /* Ensure each image takes full width */
}

@keyframes scroll {
  0%, 10% { transform: translateX(0%); }
  12%, 22% { transform: translateX(-100%); }
  24%, 34% { transform: translateX(-200%); }
  36%, 46% { transform: translateX(-300%); }
  48%, 58% { transform: translateX(-400%); }
  60%, 70% { transform: translateX(-500%); }
  72%, 82% { transform: translateX(-600%); }
  84%, 94% { transform: translateX(-700%); }
  96%, 100% { transform: translateX(-800%); }
}

.row .contentWrapper{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
}

.row .contentWrapper span.textWrapper{
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  text-transform: capitalize;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: white;
}


.row .contentWrapper h2{
  font-size: 40px;
  font-weight: 700;
  color:black;
  padding-bottom: 20px;
}
.row .contentWrapper p{
  font-size: 16px;
  line-height: 25px;
  padding-bottom: 25px;
  color: white;
}

.row .contentWrapper a{
  display: inline-block;
  width: 100%;
  height: 4rem;
  text-align: center;
  line-height: 32px;
  text-decoration: none;
  text-transform: uppercase;
  background:hsl(14.19deg 100% 44.56%);
  color: #fff;
  padding: 15px 40px;
  letter-spacing: 1px;
  user-select: none;
}

/*Responsive for about*/

@media (max-width: 991px){
    .row{
       
        grid-template-columns: 1fr;
        grid-gap: 50px;
        
        
    }
    .row .contentWrapper{
        
        padding-left: 0;
        
    }
    .row .contentWrapper a{
      line-height: 32px;
    }
    
}

.work__card {
  cursor: pointer;
  text-align: center;
}

.video-thumbnail {
  position: relative;
  width: 100%;
}

.video-thumbnail img {
  width: 100%;
  border-radius: 10px;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 15px 20px;
}

/* Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* Video Container */
.video-content {
  position: relative;
  background: #000;
  border-radius: 12px; /* Rounded edges */
  overflow: hidden;
  width: 80%;
  max-width: 800px;
  height: 0;
  padding-top: 45%; /* 16:9 Aspect Ratio */
}

/* Rounded Video */
.video-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  background: rgba(255, 0, 0, 0.8);
}

/* Video Thumbnail Styling */
.video-thumbnail {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s ease-in-out;
}

.video-thumbnail:hover img {
  filter: brightness(80%);
}

/* Play Icon */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.play-icon:hover {
  background: rgba(255, 0, 0, 0.8);
}

.close-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 1;
  z-index: 1001; /* Ensures it stays above the video */
  text-align: center;
  width: max-content;
}

