 @import url('https://fonts.googleapis.com/css2?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');
 @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

 :root {
     --main-bg: #131720;
     --layout-bg: #151f30;
     --text-color: #ffff;
     --hover-color: #2f80ed;

     /* font family */
     --foni-Montserrat: "Montserrat", sans-serif;
     --foni-inter: "Inter", sans-serif;
     --foni-Cinzel: "Cinzel", sans-serif;
     --foni-Poppins: "Poppins", sans-serif;

 }

 *::after,
 *::before {
     margin: 0;
     padding: 0;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     text-decoration: none;
     list-style: none;
 }

 body {
     background-color: var(--main-bg);
     scroll-behavior: smooth;

 }


 /* =================================
            HEADER SECTION
====================================== */
 header {
     position: sticky;
     top: 0;
     z-index: 9999;
 }

 header section {
     width: 70%;
     margin: 0 auto;
     background-color: #131720;

     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 10px 10px;
 }

 header section .logo img {
     width: 80px;
 }

 .nav_box {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 20px;

 }

 .nav_box nav ul {

     display: flex;
     justify-content: center;
     align-items: center;
     gap: 50px;
 }

 .nav_box nav ul li a {
     color: var(--text-color);
     font-size: 20px;
     font-family: var(--foni-inter);
     position: relative;
 }

 .nav_box nav ul li a::before {
     content: "";
     position: absolute;
     width: 0px;
     height: 2px;

     border-radius: 10px;
     transition: all 0.3s ease-in-out;
     position: relative;

 }

 .nav_box nav ul li a:hover:before {
     content: "";
     position: absolute;
     bottom: 0;
     width: 100%;
     height: 2px;
     background-color: #fff;
     border-radius: 10px;
     transition: all 0.3s ease-in-out;
     border-radius: 10px;

 }

 .nav_box nav i {
     display: none;
 }

 .menu-icon i {
     color: var(--text-color);
     background-color: var(--layout-bg);
     padding: 8px 10px;
     border-radius: 100px;
     display: none;

 }

 /* =================================
            MAIN SECTION
====================================== */

 main .hero_section {
     width: 100%;
     background: url(https://tv.devilbox.live/cdn/img/details.jpg);
     background-repeat: no-repeat;
     background-position: left;
     background-size: cover;
     background-position: center top;

     height: 500px;
     padding: 10px;
     margin: 0 auto;
     position: relative;
 }

 main .hero_section .overly {
     position: absolute;
     inset: 0 0 0 0;
     background: linear-gradient(to top, #131720, #13172057);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 main .hero_section .overly .content {
     text-align: center;
 }

 main .hero_section .overly .content h1 {
     color: var(--text-color);
     font-size: clamp(2.6em, 6vw, 10em);
     line-height: clamp(1em, 6vw, 1.6em);
     font-family: var(--foni-Cinzel);
 }

 main .hero_section .overly .content h3 {
     color: var(--text-color);
     font-size: clamp(1.5em, 2vw, 4em);
     font-family: var(--foni-Poppins);
     font-weight: 300;
 }

 main .hero_section .overly .content .video_button_box {
     display: flex;
     align-items: center;
     justify-content: center;
     margin-top: 20px;

 }

 main .hero_section .overly .content .video_button {
     width: 80px;
     height: 80px;
     background-color: var(--hover-color);
     color: var(--text-color);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     font-size: 30px;
 }

 main .hero_section .overly .content .video_button::before {
     content: "";
     position: absolute;
     border-radius: 50%;
     inset: -20px -20px -20px -20px;
     border: 12px solid #fff;
     opacity: 0;
     animation: bloom1 1.5s linear infinite;
     z-index: 1;
 }

 main .hero_section .overly .content .video_button::after {
     content: "";
     position: absolute;
     border-radius: 50%;
     inset: -20px -20px -20px -20px;
     border: 12px solid #fff;
     opacity: 0;
     animation: bloom2 1.5s linear infinite;
     z-index: 1;
     animation-delay: .4s;
 }

 @keyframes bloom1 {
     0% {

         transform: scale(0.5);
     }

     50% {
         opacity: 1;

     }

     100% {

         transform: scale(1.2);
     }
 }

 @keyframes bloom2 {
     0% {

         transform: scale(0.5);
     }

     50% {
         opacity: 1;

     }

     100% {

         transform: scale(1.2);
     }
 }

 .video_are {

     padding: 10px;
 }

 .video_are .heading {
     width: 70%;
     margin: 0 auto;
     padding: 10px;

     border-radius: 10px;
 }

 .video_are .heading h2 {
     text-align: left;
     font-family: var(--foni-Poppins);
     font-size: clamp(1.3em, 3vw, 3rem);
     font-weight: 300;
     color: var(--text-color);

 }

 .video_are .heading h2::before {
     content: "";
     position: absolute;
     width: 50px;
     height: 5px;
     background-color: var(--hover-color);
     border-radius: 10px;
 }

 .card_box {
     padding: 10px;
     width: 70%;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
     gap: 15px;

 }

 .card {
     background-color: var(--layout-bg);
     padding: 20px;
     position: relative;
     border-radius: 10px;
     overflow: hidden;
 }

 .card .img {
     position: relative;
     overflow: hidden;
     border-radius: 10px;

     height: 300px;
     background-repeat: no-repeat;
     background-size: cover;
 }

 .img_1 {
     background-image: url("https://tv.devilbox.live/cdn/img/card2.jpg");
 }

 .img_2 {
     background-image: url("https://tv.devilbox.live/cdn/img/card3.jpg");
 }

 .img_3 {
     background-image: url("https://tv.devilbox.live/cdn/img/card4.jpg");
 }

 .img_4 {
     background-image: url("https://tv.devilbox.live/cdn/img/component.webp");
 }

 .img_5 {
     background-image: url("https://tv.devilbox.live/cdn/img/card6.webp");
 }

 .img_6 {
     background-image: url("https://tv.devilbox.live/cdn/img/card7.webp");
 }

 .img_7 {
     background-image: url("https://tv.devilbox.live/cdn/img/card8.webp");
 }

 .img_8 {
     background-image: url("https://tv.devilbox.live/cdn/img/card9.webp");
 }



 .card .img .overle {
     position: absolute;


     inset: 1px 1px 1px 1px;
     opacity: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 10px;
     transform: scale(1);
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.3);
     /* box-shadow: 0 0px 30px rgba(0, 0, 0, 0.2); */
     transition: all 0.5s ease-in-out;
     border-radius: 30px;
 }

 .card .img:hover .overle {
     opacity: 1;
     transform: scale(1.05);
     border-radius: 30px;

 }

 .card .img .overle i {
     color: var(--hover-color);
     font-size: 20px;
     border: 2px solid var(--hover-color);
     padding: 10px 12px;
     border-radius: 100px;
     background-color: var(--layout-bg);
     outline: 2px solid blue;
 }

 .card .img img {
     border-radius: 10px;

 }

 .text {
     display: flex;
     justify-content: space-between;
     padding: 10px;
 }

 .text p {
     color: var(--hover-color);

     padding: 8px 10px;
     border-radius: 5px;
 }

 .text .span {
     background-color: rgba(156, 156, 156, 0.164);
     display: flex;
     align-self: center;
     justify-content: center;
     font-family: "Montserrat", sans-serif;
     color: var(--text-color);
     border-radius: 10px;
     padding: 4px 8px;

 }

 .bg_text {

     background-color: var(--main-bg);
     margin: 0 auto;
     overflow: hidden;



 }

 .bg_text h1 {
     font-size: clamp(7em, 30vw, 30em);
     white-space: nowrap;
     color: var(--text-color);


 }

 .h {
     height: 70vh;
     overflow: hidden;
     position: relative;



 }

 .p {
     height: 100vh;
     overflow: hidden;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: rgb(0, 0, 0);


 }

 .h .video {
     width: 50%;
     height: 100%;

     object-fit: contain;
     margin: 0 auto;
     z-index: -1;

 }

 .leout {
     position: absolute;
     inset: 0 0 0 0;
     background-color: rgba(0, 0, 0, 0);
     display: flex;
     align-items: center;
     justify-content: center;
     z-index: 2;
     text-align: center;
     color: #fff;
     z-index: 1;
 }



 .all_area .all_wrpper .head_menu {
     width: 70%;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: space-between;

     padding: 10px 20px;
     background-color: var(--layout-bg);
     border-radius: 10px;
 }

 .all_area .all_wrpper .head_menu h2 {
     font-family: var(--foni-Poppins);
     font-size: clamp(1.3em, 2vw, 3rem);
     font-weight: 500;
     color: var(--text-color);
     position: relative;
 }

 .all_area .all_wrpper .head_menu h2::before {
     content: "";
     position: absolute;
     top: 0;
     width: 50px;
     height: 5px;
     background-color: var(--hover-color);
     border-radius: 50px;
     margin-right: 10px;
 }

 .all_area .all_wrpper .head_menu .btn_area {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 20px;
     background-color: var(--main-bg);
     padding: 5px 10px;
     border-radius: 50px;
 }

 .all_area .all_wrpper .head_menu .btn_area .btn {

     border: 0;
     background-color: transparent;
     color: var(--text-color);
     border-radius: 50px;
     font-family: var(--foni-Poppins);
     font-size: 16px;
     cursor: pointer;
     padding: 0px 10px;
     transition: all 0.3s ease-in-out;
 }

 .all_area .all_wrpper .head_menu .btn_area .btn:hover {

     border: 0;
     background-color: var(--layout-bg);
     color: var(--hover-color);
     border-radius: 50px;
     font-family: var(--foni-Poppins);
     font-size: 16px;
     cursor: pointer;
     padding: 0px 10px;
     transition: all 0.3s ease-in-out;
 }

 .tap {
     display: none;
     margin-top: 20px;
 }

 .mobile_bar {

     position: fixed;
     top: 0;
     right: -70%;
     width: 70%;
     height: 100%;
     background-color: rgba(14, 19, 37, 0.863);
     z-index: 1000;
 }

 .mobile_bar i {
     position: absolute;
     left: 0px;
     color: var(--text-color);
     font-size: 16px;
     cursor: pointer;
     top: 100px;
     background-color: rgba(3, 2, 2, 0.219);
     border-radius: 10px;
     padding: 10px;
 }

 .mobile_bar .m_logo {

     display: flex;
     align-items: center;
     justify-content: center;
     border-bottom: 1px solid #fff;
 }

 .mobile_bar .m_logo img {
     width: 100px;
 }

 .mobile_bar .m_nav {
     display: flex;
     flex-direction: column;
     margin-top: 20px;

     gap: 20px;
     padding: 20px 0;
 }

 .mobile_bar .m_nav ul {
     display: flex;
     flex-direction: column;
     gap: 20px;
     padding: 20px 0;
 }

 .mobile_bar .m_nav ul li a {
     color: var(--text-color);
     font-size: 29px;
     font-family: var(--foni-inter);
     padding: 10px 20px;
     border-radius: 5px;
     transition: all 0.3s ease-in-out;
 }



 footer .footer_area {
     width: 70%;
     margin: 0 auto;

 }

 footer .footer_area .footer_content {

     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 20px 0;
 }

 footer .footer_area .footer_content .footer_logo_img img {
     width: 100px;


 }

 footer .footer_area .footer_content .contect h2 {
     font-family: var(--foni-Poppins);
     font-size: clamp(1.3em, 1vw, 3rem);
     font-weight: 500;
     color: var(--text-color);
     position: relative;



 }

 footer .footer_area .footer_content .contect p {
     font-family: var(--foni-Poppins);
     font-size: clamp(1em, 1vw, 2rem);
     font-weight: 500;
     color: rgba(65, 65, 65, 0.575);
     position: relative;



 }

 .footer_copy {
     text-align: center;
     padding: 20px 0;
     font-family: var(--foni-Poppins);
     font-size: clamp(1em, 1vw, 1rem);
     font-weight: 500;
     color: rgba(65, 65, 65, 0.575);
     border-top: 1px solid rgba(65, 65, 65, 0.575);
 }

 .end_section {

     padding: 60px 0;
 }

 .end_wrapper {
     width: 70%;
     height: 400px;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     border-radius: 10px;
     background: url("https://tv.devilbox.live/cdn/img/banner_bg.jpg");
     background-position: center center;
     background-size: cover;
     background-repeat: no-repeat;
     position: relative;
 }


 .end_wrapper .end_overle {
     position: absolute;
     inset: 0 0 0 0;
     background: linear-gradient(to top, #131720, #13172057);
     display: flex;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     padding: 20px;
     color: #fff;


 }

 .end_wrapper .end_overle h2 {
     font-family: var(--foni-Poppins);
     font-size: clamp(2em, 5vw, 9rem);
     color: #fff;
     opacity: 0.4;
     line-height: 1;
     text-align: center;


 }

 .end_wrapper .end_overle p {
     font-family: var(--foni-Poppins);
     font-size: clamp(1em, 2vw, 3rem);
     color: transparent;
     -webkit-text-stroke: 1px rgb(255, 255, 255);
     text-align: center;


 }

 .end_wrapper .end_overle .end_btn {


     border-radius: 10px;
     overflow: hidden;


 }

 .end_wrapper .end_overle .end_btn button {
     padding: 10px 20px;
     background-color: var(--hover-color);
     border: 0;
     color: #fff;
     font-family: var(--foni-Montserrat);


 }




 /* ===================================================
  ========================================================
  ====================================================== */

 /* Extra Small Devices (phones, portrait) */
 @media (max-width: 480px) {
     footer .footer_area {
         width: 99%;

     }

     footer .footer_area .footer_content {

         display: flex;
         align-items: center;
         justify-content: center;
         flex-direction: column;
         padding: 20px 0;
     }

     .all_area .all_wrpper .head_menu h2 {
         font-family: var(--foni-Poppins);

         font-size: clamp(1.3em, 2vw, 3rem);
         font-weight: 500;
         color: var(--text-color);
         position: relative;
         display: none;
     }

     footer .footer_area .footer_content .contect h2 {
         font-family: var(--foni-Poppins);
         font-size: clamp(1.3em, 2vw, 3rem);
         text-align: center;
         font-weight: 500;
         color: var(--text-color);
         position: relative;



     }

     footer .footer_area .footer_content .contect p {
         font-family: var(--foni-Poppins);
         text-align: center;
         font-size: clamp(1em, 2vw, 3rem);
         font-weight: 500;
         color: rgba(65, 65, 65, 0.575);
         position: relative;



     }

     .h {
         height: 50vh;


     }

     /* মোবাইল খুব ছোট স্ক্রিন */
     header section .logo img {
         width: 50px;
     }

     header section {
         width: 99%;
     }

     .nav_box nav {
         display: none;
     }

     .menu-icon i {

         display: block;
         color: #ffffff;

     }

     .card_box {
         padding: 10px;
         width: 99%;
         margin: 0 auto;
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
         gap: 10px;

     }

     .video_are .heading {
         width: 99%;
         margin: 0 auto;
         padding: 10px;
     }

     .video_are {
         padding-left: 0px;
         padding-right: 0px;
     }

     .all_area .all_wrpper .head_menu {
         width: 100%;
     }

     .all_area .all_wrpper {
         padding: 10px 0;
     }

     .all_area .all_wrpper .head_menu {
         width: 90%;
         padding: 10px 0;
     }

     .all_area .all_wrpper .head_menu .btn_area .btn {
         background-color: transparent;

     }

     .all_area .all_wrpper .head_menu .btn_area {
         width: 100%;
         background-color: transparent;
         display: flex;
         align-items: center;
         justify-content: center;
         flex-direction: column;
     }

     .all_area .all_wrpper .head_menu {
         width: 99%;
         padding: 10px 0;

     }

     .end_wrapper {
         width: 99%;
         height: 300px;
         margin: 0 auto;
         display: flex;
         align-items: center;
         justify-content: center;
         flex-direction: column;
         border-radius: 10px;
         background: url("./img/banner_bg.jpg");
         background-position: bottom center;
         background-size: cover;
         background-repeat: no-repeat;
         position: relative;
     }


 }

 /* Small Devices (phones, landscape) */
 @media (min-width: 400px) and (max-width: 767px) {
     .all_area .all_wrpper {
         padding: 10px 0;
     }

     .all_area .all_wrpper .head_menu {
         width: 99%;
         padding: 10px 0;

     }

     .all_area .all_wrpper .head_menu .btn_area .btn {
         background-color: transparent;

     }

     .all_area .all_wrpper .head_menu .btn_area {
         width: 100%;
         background-color: transparent;
         display: flex;
         align-items: center;
         justify-content: center;
         flex-direction: column;
     }

     .all_area .all_wrpper .head_menu h2 {
         font-family: var(--foni-Poppins);
         font-size: clamp(1.3em, 2vw, 3rem);
         font-weight: 500;
         color: var(--text-color);
         position: relative;
         display: none;
     }

     /* মোবাইল landscape অবস্থায় */
     header section .logo img {
         width: 70px;
     }

     header section {
         width: 90%;
     }

     .nav_box nav {
         display: none;
     }

     .menu-icon i {

         display: block;

     }
 }

 /* Medium Devices (tablets, portrait) */
 @media (min-width: 768px) and (max-width: 991px) {


     .all_area .all_wrpper .head_menu h2 {
         font-family: var(--foni-Poppins);
         font-size: clamp(1.3em, 2vw, 3rem);
         font-weight: 500;
         color: var(--text-color);
         position: relative;
         display: none;
     }


     /* ট্যাব */
     header section .logo img {
         width: 70px;
     }

     header section {
         width: 90%;
     }

     .nav_box nav {
         display: none;
     }

     .menu-icon i {

         display: block;

     }

     .card_box {
         padding: 10px;
         width: 90%;
         margin: 0 auto;
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
         gap: 10px;

     }

     .end_wrapper {
         width: 90%;
     }
 }

 /* Large Devices (tablets, landscape) */
 @media (min-width: 992px) and (max-width: 1199px) {

     /* বড় ট্যাব বা ছোট ল্যাপটপ */
     header section .logo img {
         width: 70px;
     }

     header section {
         width: 90%;
     }

     .card_box {
         padding: 10px;
         width: 90%;
         margin: 0 auto;
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
         gap: 10px;

     }

     .end_wrapper {
         width: 90%;
     }
 }




 /* ===========================================
 ==================================================
 ============================================== */

 .slider {
     width: 90%;

     margin: auto;
     overflow: hidden;
     position: relative;
     border-radius: 10px;

 }

 .slides {
     display: flex;
     gap: 10px;
     transition: transform 0.5s ease-in-out;
 }

 .slide {
     min-width: 100%;
     height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     background: url("./img/component.webp");
     background-repeat: no-repeat;
     background-size: cover;
     vertical-align: middle;

     color: white;
 }

 .nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     font-size: 2rem;
     color: white;

     border: none;
     padding: 10px 15px;
     cursor: pointer;
     z-index: 2;
 }

 .nav.prev {
     left: 0px;
 }

 .nav.next {
     right: 10px;
 }