@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&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');

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
}

:root{
    --main-color: #ffb43a;
    --hover-color: hsl(37, 94%, 57%);
    --body-color: #000000;
    --container-color: #bd8935;
    --text-color: #fcfeff;
}

html::-webkit-scrollbar{
    width: 0.5rem;
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: var(--main-color);
}

::selection{
    background: var(--main-color);
    color: var(--text-color);
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

section{
    padding: 3rem 0 2rem;

}

img{
    width: 100%;
}

.bx{
    cursor: pointer;
}

body{
    background: var(--body-color);
    color: var(--text-color);
}

.divider {
    height: 2px;
    background-color: #f7a600;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
.container{
    max-width: 1080px;
    height: 600px;
    margin: auto;
    width: 100%;
    
}
.home-carousel {
    position: relative;
    width: 100%;
    height: auto;
}
.swiper-wrapper{
    padding-bottom: 0%;
}


.home-carousel .swiper-slide {
    position: relative;
}

.home-carousel .home-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.home-carousel .home-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.home-carousel .home-title {
    font-size: 2rem;
    line-height: 1.2;
}

.home-carousel .watch-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    background-color: #ff6a3d;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.swiper-pagination {
    bottom: 15px;
}


.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--body-color);
    z-index: 100;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header .logobox {
    width: 30%;
}

.nav{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.logo{
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 auto 0 0;
}

.logo span{
    color: var(--main-color);
}

.search-box{
    max-width: 240px;
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 0.7rem;
    padding: 8px 15px;
    background: var(--container-color);
    border-radius: 4rem;
    margin-right: 1rem;
}

.search-box .bx{
    font-size: 1.1rem;
}

.search-box .bx:hover{
    color: var(--main-color);
}

#search-input{
    width: 100%;
    border: none;
    outline: none;
    color: var(--text-color);
    background: transparent;
    font-size: 0.938rem;
}

.user{
    display: flex;
}

.user-img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.navbar{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 18px;
    display: flex;
    flex-direction: column;
    row-gap: 2.1rem;
}

.nav-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #b7b7b7;
}

.nav-link:hover, 
.nav-active{
    color: var(--text-color);
    transition: 0.3s all linear;
    transform: scale(1.1);
}

.nav-link .bx{
    font-size: 1.6rem;
}

.nav-link-title{
    font-size: 0.7rem;
}

.home{
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    margin-top: 5rem !important;
    border-radius: 0.5rem;
}

  
  
  
.home-img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    border-radius: 0.5rem;
}

.home-text{
    padding-left: 40px;
}

.home-title{
    font-size: 2rem;
    font-weight: 600;
}

.home-text p{
    font-size: 0.938rem;
    margin: 10px 0 20px;
    color: var(--main-color);
}

.watch-btn{
    display: flex;
    align-items: center;
    column-gap: 0.8rem;
    color: var(--text-color);
}

.watch-btn .bx{
    font-size: 21px;
    background: var(--main-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-btn .bx:hover {
    background: var(--hover-color);
}

.watch-btn span{
    font-size: 1rem;
    font-weight: 400;
}

.heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--container-color);
    border-radius: 10px;
    padding: 8px 14px;
    border: 1px solid hsl(200 100% 99% / 5%);
    margin-bottom: 2rem;
}

.movie-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 800px;
    width: 90%;
    
  }
  .song-sec{
        display: flex;
        justify-content: center;
      }
  .movie-container img {
    max-width: 300px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
  }
  
  .song-list-container {
    flex: 1;
  }
  
  .song-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .song-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    margin: 5px 0;
    background-color: #1e1e1e;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .song-list li:hover {
    background-color: #333;
  }
  
  .play-button {
    background-color: #ffb43a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .play-button:hover {
    background-color: #ffb43a;
  }
  
  .song-name {
    flex: 1;
    text-align: left;
    margin-left: 15px;
    font-size: 16px;
  }
  
  .song-duration {
    font-size: 14px;
    color: #b3b3b3;
  }
  .song-con{
    height: 81px;
    width: 550px;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    body {
      flex-direction: column;
      align-items: center;
      padding: 20px;
    }
  
    .movie-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .song-con{
        height: 70px;
        width: 300px;
    }
    .movie-container img {
      max-width: 100%;
      margin-bottom: 20px;
    }
  
    .song-list li {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .song-name {
      margin: 10px 0;
    }
}
  


.heading-title{
    font-size: 1.2rem;
    font-weight: 500;
}

.movie-box{
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 10px;
}

.movie-box-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.movie-box .box-text{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(
        8deg,
        hsl(240 17% 14% / 74%) 14%,
        hsl(240 17% 14% / 14%) 44%
    );
    overflow: hidden;
}

.movie-title{
    font-size: 1.1rem;
    font-weight: 500;
}

.movie-type{
    font-size: 0.938rem;
}

.play-btn{
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
}

.swiper-btn{
    display: flex;
}

.swiper-button-next,
.swiper-button-prev{
    position: static !important;
    margin: 0 0 0 10px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after{
    color: var(--text-color);
    font-size: 18px !important;
    font-weight: 700;
}

.movies .heading{
    padding: 10px 14px;
}

.movies-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(247px, 1fr));
    gap: 1.5rem;
}

.movies-content .movie-box:hover .movie-box-img{
    transform: scale(1.1);
    transition: 0.5s;
}

.next-page{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    border-radius: 10px;
}

.next-btn{
    background: var(--hover-color);
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 10px;
}

.next-btn:hover{
    background: var(--hover-color);
    transition: 0.3s all linear;
}

.copyright{
    text-align: center;
    padding: 20px;
}

.play-container{
    position: relative;
    min-height: 540px;
    margin-top: 5rem !important;
}

.play-img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.play-text{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(
        8deg,
        hsl(240 17% 14% / 74%) 14%,
        hsl(240 17% 14% / 14%) 44%
    );
}

.play-text h2{
    font-size: 1.5rem;
    font-weight: 600;
}

.rating{
    display: flex;
    align-items: center;
    column-gap: 2px;
    font-size: 1.1rem;
    color: var(--main-color);
    margin-top: 4px;
}

.tags{
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin: 1rem 0;
}

.tags span{
    background: var(--container-color);
    padding: 0 4px;
}

.play-movie{
    position: absolute;
    bottom: 18rem;
    right: 10rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--main-color);
    font-size: 24px;
    animation: animate 2s linear infinite;
}

@keyframes animate{
    0% {
        box-shadow: 0 0 0 0 rgb(255, 180, 58, 0.7);
    }
    40% {
        box-shadow: 0 0 0 50px rgb(255, 193, 7, 0);
    }
    80% {
        box-shadow: 0 0 0 50px rgb(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0  rgb(255, 193, 7, 0);
    }
}

.video-container{
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: hsl(234 10% 20% / 60%);
    z-index: 400;
}

.video-container.show-video{
    display: flex;
}

.video-box{
    position: relative;
    width: 82%;
}

.video-box #myvideo{
    width: 100%;
    aspect-ratio: 16/9;
}

.close-video{
    position: absolute;
    top: -3rem;
    right: 0;
    font-size: 40px;
    color: var(--main-color);
}

.about-movie{
    margin-top: 2rem !important;
}

.about-movie h2{
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);
}

.about-movie p{
    max-width: 600px;
    font-size: 0.938rem;
    margin: 10px 0;
}

.cast-heading{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.cast{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    gap: 1rem;
}

.cast-img{
    width: 150px;
    height: 180px;
    object-fit: cover;
    object-position: center;
}

.download{
    max-width: 800px;
    width: 1005;
    margin: auto;
    display: grid;
    justify-content: center;
    margin-top: 2rem;
}

.download-title{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.6rem 0;
    color: var(--main-color);
}

.download-links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.download-links a {
    text-align: center;
    background: var(--main-color);
    padding: 12px 24px;
    color: var(--body-color);
    letter-spacing: 1px;
    font-weight: 500;
}

.download-links a:hover{
    background: var(--hover-color);
}

@media (max-width: 1170px){
    .navbar{
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(0);
        flex-direction: row;
        justify-content: space-evenly;
        row-gap: 1px;
        padding: 10px;
        border-top: 1px solid hsl(200 100% 99% / 5%);
        background: linear-gradient(
            8deg, 
            hsl(240 17% 14% / 100%) 5%, 
            hsl(240 17% 14% / 90%) 100%
         );
    }
    .nav-link .bx{
        font-size: 1.5rem;
    }
    .copyright{
        margin-bottom: 4rem;
    }
}

@media (max-width: 1060px){
    .container{
        margin: 0 auto;
        width: 95%;
    }
    
    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }
}

@media (max-width: 991px){
    .movie-box {
        height: 340px;
    }
    .movies-content {
        grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    }
    
    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }
}

@media (max-width: 888px){
    .nav {
        padding: 14px 0;
    }
    .home {
        min-height: 440px;
        margin-top: 4rem !important;
    }
    .home-text{
        padding-left: 25px;
    }
    .home-title{
        font-size: 1.6rem;
    }
    .watch-btn span{
        font-size: 0.9rem;
    }
    .movie-title{
        font-size: 1rem;
        padding-right: 30px;
    }
    .play-container{
        min-height: 440px;
        margin-top: 4rem !important;
    }
    .play-movie{
        bottom: 14rem;
        right: 4rem;
    }
    .cast{
        justify-content: center;
    }
    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }
}

@media (max-width: 768px){
 
    
    section{
        padding: 2rem 0;
    }
    .home-img{
        object-position: left;
        width: 500px;
        height: 500px;
    }
    .movie-type{
        font-size: 0.875rem;
        margin-top: 2px;
    }
    .tags span,
    .about-movie p{
        font-size: 0.875rem;
    }
    p{
        font-size: 0.875rem;
    }
    .play-text h2,
    .about-movie h2{
        font-size: 1.3rem;
    }
    .play-movie{
        bottom: 10rem;
        right: 2rem;
    }

    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }

@media (max-width: 514px){
    .nav{
        padding: 11px 0;
    }
   
    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }

    .home{
        min-height: 380px;
    }
    .heading{
        padding: 2px 14px;
    }
    .heading-title{
        font-size: 1rem;   
    }
    .play-text{
        padding: 20px;
    }
    .play-movie{
        bottom: 4rem;
    }
    .video-box{
        width: 94%;
    }
    .cast-heading{
        font-size: 1.1rem;
    }
    .cast-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 408px){
    *{
        scroll-padding-top: 5rem;
    }
    .nav{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        row-gap: 5px;
    }
    .nav{
        padding: 11px 0;
    }
   
    .logobox{
        width: 500px;
       }
    .logo img{
        width: 250px;
       }
    }

    .search-box{
        max-width: 100%;
        width: 100%;
        border-radius: 4px;
        order: 3;
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .home,
    .play-container{
        margin-top: 7rem !important;
    }
    .movie-box{
        height: 300px;
    }
    .movies-content{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-area: 1rem;
    }
}

@media (max-width: 370px){
    .home{
        min-height: 300px;
    }
    .movie-box{
        height: 285px;
    }
    .user-img,
    .watch-btn .bx{
        width: 35px;
        height: 35px;
    }
    .navbar{
        justify-content: space-around;
        padding: 8px 0;
    }
    .nav-link .bx{
        font-size: 1.4rem;
    }
    .about-movie p{
        text-align: justify;
    }
    .download-links{
        grid-template-columns: 1fr;
    }
    .nav{
        padding: 11px 0;
    }

}
/* Mobile Responsive Styling */
/* Mobile Responsive Styling */
@media (max-width: 768px) {
    body {
      margin-left: 0;
      padding: 10px;
    }
    
    .gallery{
        margin-left: 0px;
        
    }
  
    .section {
      flex-direction: column;
      align-items: center;
    }
  
    .section-title,
    .section-content {
      width: 100%;
      padding: 0;
      text-align: center;
    }
  
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 15px;
    }
  
    .card {
      width: 100%;
      max-width: 90%; /* Ensure cards fit nicely on smaller screens */
      margin: 0 auto 20px auto;
    }
  
    .card img {
      height: auto;
    }
  
    .heading-title {
      font-size: 20px; /* Adjust for smaller screen readability */
    }
  
    .announcement-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .announcements h2 {
      font-size: 24px; /* Reduce font size for titles */
    }
  }
  
  @media (max-width: 480px) {
    .gallery{
        margin-left: 0px;
    }
    .card h3 {
      font-size: 16px; /* Smaller font size for titles */
    }
  
    .card .movie-title {
      font-size: 14px; /* Adjust movie title size */
    }
  
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
  
    .heading-title {
      font-size: 18px;
    }
  }


  