*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:system-ui;
    color: white;
}

button{
    cursor: pointer;
}



#backimg {
    background: url('netflixbg.png') no-repeat center center/cover;  
    border-bottom: 8px solid #222;
}
body{
  background-color: #050505;
}


.background{
    background: rgb(0,0,0,.7 );
    background-image: linear-gradient(0.deg, rgba(0, 0, 0, 8), rgba(0, 0, 0,8 ));
    height: 100.1%;
}

.navbar{
    display: flex;
    max-width: 80vw;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    flex-wrap: wrap;
}

.logo{
    /* width: 10.4375rem; */
    width: 114px;
    position: relative;
    /* height: 3.8125rem; */
    /* margin-right: auto; */
    z-index: 10;
}
#language{
    /* margin-right: 1.375rem; */
    color: white;
    border-radius: 5px;
    background: transparent;
    padding: 0 10px;
    height: 40px;
}

option {
    background-color: grey;
}

.signin{
    background-color:#e50914;
    font-size: 1rem;
    padding: 0 20px;
    border-radius: 5px;
    color:white;
    height: 40px;
}

.main {
    text-align: center;
    padding: 75px 20px;
    width: fit-content;
    margin: auto;
    margin-top: 10px;
    font-weight: 600;
    
}
 
.main h1 {
    font-size: 3rem;
    margin-bottom:10px ;
    font-weight: bolder;
}

.main p {
    font-size: 1.625rem;
}

.main h3 {
    font-weight: 400;
    margin-top: 27px;
}

.form {
    display: flex;
   
}

h3{
    margin-bottom: 20px;
    font-weight: 100;
    margin-top: 10px;
}

.form div{
    width: 100% ;
    height: 70px;
    position: relative;
    
}

.form input {
    height: 100%;
    width: 90%;
    border: 1px solid grey;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: rgba(15, 15, 15, 0.5);
   
}

.form label{
  padding: 19px 30px;
  color: white;
}

.input:focus {
    outline: none;

}

.form button {
    width: 250px;
    background-color: rgba(229, 9, 20);
    font-size: 1.875rem;
}

.form label {
    position:absolute;
    left: 10px;
    color: grey;
}


.oval{
  top: 0px;
}

 @media (max-width: 1450px){

    .oval{
      top: 520px;
    }
} 

 @media (max-width: 950px) {
    .main h1 {
        font-size: 2.5rem;
    }
     .oval{
      top: 500px;
    }
    
 
   } 

@media (max-width:500px){
    
    .oval{
      top: 670px;
    }
    
  .main{
    margin-top: 0;
    padding-top: 75px;
  }
   
    /* .navbar{
        margin: 0;
        padding: 20px 15px;
    } */

    /* #backimg{
        height: 717px;
    } */
    /* .logo{
        width: 88px;

    } */
    .navbar #ilanguage{
        width: 100px;
       
    }
    /* .signin {
        width: 60px;
        height: 28px;
        padding: 2px;
    } */
    
}

@media (max-width:640px) {
  .oval{
    top:520px;
  }
  .main{
    margin-top: 0;
  } 
}

@media (max-width:465px){
  .oval{
    top: 540px;
  }
  .main{
    margin-top: 0;
    padding-top: 50px;
  }
}

@media (max-width:428px){
  .oval{
    top: 580px;
  }
}
@media (max-width:371px){
  .oval{
    top: 635px;
  }
  .headings{
    padding-left:0;
    display: flex;
    justify-content: center;
  }
}
@media (max-width:340px){
  .oval{
    top: 660px;
  }}
@media (max-width:314px){
  .oval{
    top: 727px;
  }

  }
@media (max-width:256px){
  .oval{
    top: 780px;
  }}
@media (max-width:250px){
  .oval{
    top: 800px;
  }}
@media (max-width:241px){
  .oval{
    top: 842px;
  }}
@media (max-width:371px){
 
  .navbar{
    padding-top: 10px;
    display: flex;
    justify-content: center;
  }
  }




.oval {
    position: absolute;
    
    bottom: -7%; /* Pulls it halfway down into the next section */
    width: 100vw;   /* Make it wider than 100% to ensure the curve looks natural */
      /* Center the oversized width */
    height: 87px;
 background: radial-gradient(
        circle at 47% , 
        #111832 0%,    /* Light blue in the very center */
        #05060a 110%,   /* Fading to your dark color */
        #000000 0%   /* Deep black at the very corners */
    );
    
    border-radius: 50%;
    border-top: 4px solid #d62976;
   
    box-shadow: 0px -5px 15px rgba(214, 41, 118, 0.3);
   
    z-index: 10;   /* Keeps it above the background */
}


.containerdown{
   
    z-index: 11;
    width: 100%;
    box-sizing: border-box;
    /* This creates the 'light' in the center and darkness at the edges */
    background: radial-gradient(
        circle at 47% 10%, 
        #111832 0%,    /* Light blue in the very center */
        #05060a 70%,   /* Fading to your dark color */
        #000000 100%   /* Deep black at the very corners */
    );
    position: relative;
    overflow: hidden;
   
}

.Tv{
    
    border-bottom: 9px solid #222;
    padding: 70px 45px;
}

.container{
    display: flex;
    max-width:1100px;
    align-items: center;
    justify-content: center;
    margin:0 auto;

}

h2{
    font-size: 3.125rem;
}

.tvclip{
    width: 45%;
    position: relative;
    max-width: 600px;
    margin:auto;
}

.description{
    width: 50%;
}

.description p {
    font-size: 1.625rem;
}

.tvclip{
    width: 100%;
    z-index: 10;
    max-width: 600px;
    position: relative;
    
}

#Tvvideo{
    position: absolute;
    top: 48%;
    left: 25%;
    transform: translate(-50%,-50%);
    width: 87%;
    height: 55; 
}

 :root {
  --bg-color: #050505;
  --card-width: 200px;
  --gap: 40px; /* Space for the numbers */
}


.trending-container {
  padding: 30px;
  box-sizing: border-box;
  overflow: hidden; /* Clips the track */
  margin: 0 9vw;
}


.headings{
  padding-left:10px;
  font-size:xx-large;
  
}

.slider-wrapper {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  
}

.image-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /* Remove justify-content: space-evenly */
  gap: 40px; /* Use a fixed gap for easier math */
  padding: 20px 0px; /* Consistent side padding 60 */

}


.card {
  position: relative;
  /* Use flex-shrink to prevent cards from squishing */
  flex: 0 0 var(--card-width); 
  transition: transform 0.3s ease;
  cursor: pointer;
  padding: 0px;
  z-index: 10; /* 1 */
}

.card img {
  width: 100%; /* Use full width of the card container */
  border-radius: 4px;
  display: block;
}

.arrowcon{
  height: 100px;
  width: 50px;
  background: #e22a2a;
  display: inline;
}

/* Big Number Styling */
.rank-number {
  position: absolute;
  left: -15px; /* Pulls number to the left of the image */
  bottom: -10px;
  font-size: 90px;
  font-weight: 900;
  color: var(--bg-color);
  -webkit-text-stroke: 2px #ffffff; /* Outlined look */
  line-height: 1.5;
  z-index: 1; /* Behind the image */
  transition: all 0.3s ease;
}

/* Hover Animation */
.card:hover {
  transform: scale(1.1);
  z-index: 15; /* Brings zoomed card to front */
}

.card:hover .rank-number {
  -webkit-text-stroke: 2px #fff; /* Highlights number on hover */
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  
  transform: translateY(-50%);
 background-color: rgba(26, 26, 26,1);
     height: 7rem;
    width: 2rem;
    border-radius: 0.5rem;

    border: none;
  color: white;
  border: none;
  padding: 20px 10px;
  cursor: pointer;
  font-weight: 900;
  font-size: 1.5rem;
  z-index: 100;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 40px 10px #fff;
  display: none; /* Logic to show only when needed can be added */
  
}

.next-btn { right: -27px; display: block; }
.prev-btn { left: -27px; }

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
  :root {
    --card-width: 160px;
    --gap: 30px;
  }
  .rank-number {
    font-size: 80px;
    left: -20px;
  }
}


    
.reasons-container{
   margin: 0 140px;
}

.title {
  margin-bottom: 20px;

}

/* Base Mobile Layout (Image 2) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;                                                          
}
.join_card {
  /* The base is dark blue/black, with a reddish-pink glow from the bottom right */
 
  background: radial-gradient(
    circle at bottom right, 
    #411031 0%,   /* Dark magenta/reddish tint */
    #13132a 60%,  /* Deep navy/blue base */
    #0f0f1a 100%  /* Almost black */
  );
  
  /* Adding a subtle purple border helps define the edges */
  border: 1px solid rgba(128, 0, 128, 0.2); 
      
  border-radius: 16px;
  padding: 24px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* Keeps the glow inside the rounded corners */
}
.join_card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.join_card p {
  color: #ccc;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1.4;

}

.icon {
  width: 60px;
  align-self: flex-end; /* Pushes icon to the bottom right */
}

/* Desktop Layout (Image 1) */
@media (min-width: 1024px) {
  .grid {
  
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

  }

  .join_card {
    flex: 1; /* Makes all join_cards equal width */
    min-height: 300px; /* Taller join_cards for desktop */
  }
}



.faq-container {
  max-width: 82%;
  margin: 50px auto;
  padding: 0 20px;

}

.accordion-item {

  background-color: #2d2d2d;
  margin-bottom: 8px;
}

.accordion-header {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: #414141;
}

.plus-icon {
  box-sizing: border-box;
  flex-shrink:0 ;
  min-height: 20px;
  min-width: 20px;
  transition: transform 0.3s;
}

/* The hidden content container */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #2d2d2d;
}

.accordion-content p {
  padding: 0 20px 20px 20px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Active states */
.accordion-item.active .accordion-content {
  /* High enough value to accommodate any text, but transition handles the speed */
  max-height: 500px; 
}

.accordion-item.active .plus-icon {
  transform: rotate(45deg); /* Turns  into x */
}

.fourthcontainer{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-container {
  width: 93%; /* Adjusted to your specific width */
  margin: 2rem 0;
   
}

/* .faq-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
} */

.accordion-item {
  background-color: #2d2d2d;
  margin-bottom: 10px;
  width: 100%;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem; /* Larger text */
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.25s;
}

.accordion-header:hover {
  background-color: #414141;
}

/* Custom Thin Plus plus-icon */
.plus-icon {
  position: relative;
  width: 24px;   /* Size of the plus-icon area */
  height: 24px;
  transition: transform 0.3s ease;
}

/* Vertical and horizontal lines for the plus */
.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background-color: white;
  transition: transform 0.3s ease;
}

/* Horizontal line */
.plus-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px; /* Very thin thickness */
  transform: translateY(-50%);
}

/* Vertical line */
.plus-icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px; /* Very thin thickness */
  transform: translateX(-50%);
}

/* Animation to 'X' */
.accordion-item.active .plus-icon {
  transform: rotate(45deg);
}

/* Content logic */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.5, 0, 0.1, 1);
  background-color: #2d2d2d;
  border-top: 1px solid black; /* Creates a slight separation when open */
}

.accordion-content p {
  padding: 2rem;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* High enough for long descriptions */
}

.headingsfaq {
  margin-left: 10px;
  font-size:xx-large;
  margin-bottom: 3%;
}

.footer{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;

 background-color: #050505;
 padding: 14px;
}

footer .questions{
  padding:34px 14px;
   color:rgba(255, 255, 255,0.7);
}


footer{

  max-width: 79vw;
  margin: auto;
  height: 455px;
}

@media screen and (max-width:1300px){
  .footer{
  display: grid;
  grid-template-columns: 1fr 1fr;
 background-color: #050505;
gap: 25px;
}
}




 a {
  font-size: 14px;
  color:rgba(255, 255, 255,0.7);
}

.footer-item{
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.cta-container {
    display: flex;
    gap: 10px;
   justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap; /* Allows stacking on mobile */
    z-index: -10;
}

.input-group {
  position: relative;
  flex: 1; 
 width: 100%;

}

.input-group input {
  width: 100%; /* This is the "magic" line */
  padding: 25px 10px 10px 10px; /* Added more top padding for the label */
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #808080;
  min-width: 100px;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box; /* Keeps padding inside the width */
}

/* 1. Ensure the base container has a standard border */
.input-group {
  
    transition: box-shadow 0.2s ease-in-out; /* Smoothly animate the shadow */
    padding: 3px;
    border-radius: 4px;
   flex: 1;
   
}

/* 2. Add the 'outside' border using box-shadow on focus */
.input-group:focus-within {
    border-color: white; /* Changes the inner actual border */
    box-shadow: 0 0 0 2px white; /* Adds a 2px "outer border" without layout shift */
    outline: none; /* Removes the default browser blue ring */
}


/* The Label */
.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #b3b3b3;
  transition: all 0.2s ease;
  pointer-events: none; /* Prevents label from blocking clicks */
}


/* THE FIX: Keep label up when focused OR when text exists */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 12px;
  font-size: 12px;
  font-weight: bold;
 
}

/* Second Image Layout: The White Highlight */
/* .input-group input:focus {

  
} */

/* Button Fix */
.btn-get-started {
  background-color: #e50914;
  
  color: white;
  
  padding: 15px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0; /* Keeps button size stable */
  display: flex;
  align-items: center;
}
