*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body,html{
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, sans-serif;
overflow-x: hidden;


}
section{
    width: 100%;
    padding: 0;
    overflow-x:hidden;
}
.logoClass{
    height: 40px;
    width: 25vw;
    overflow: hidden;
    margin: 0px 50px 20px 0px;
}
.logoClass img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.headerDiv{
    width: 100%;
    margin: 0;              /* remove negative margins */
    padding: 0;
    
}
.header{
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 20px 40px 100px;     /* spacing inside header */
    position: absolute;  
    background: transparent;   /* makes it sit on top of background */
    top: 0;                 /* stick to very top */
    left: 0;

}
.containDiv{
    height:50px ;
    width: 200px;
    display: flex;
    justify-content: space-between;
}
.selectDiv{
    height: 30px;
    display: flex;
    align-items: center;   /* keep icon + select aligned */
    gap: 8px;              /* space between icon and text */
    padding:  4px 10px;
    border: 0.5px solid white;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.6); /* semi-transparent Netflix style */
    color: white;
    width: auto;
}
.selectDiv i{
     color: white;
    font-size: 16px;
}

#selectOp{
    color: white;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
}
#selectOp option {
    background: black;
    color: white;
}

.signInDiv{
    height: 30px;
    width: 70px;
    display: flex;
    justify-content: center;
}
.signIn{
    width: 100%;
    padding:1px ;
    margin: 0 ;
    color: white;
    background-color: #E50914;
    border: 6px solid #E50914; /* Netflix red, bold */
    border-radius: 3px;
    cursor: pointer;
}
.signIn:hover{
    background-color: #d10b15;
    border: 6px solid #d10b15;
    transition:transform 0.3s ease ;
}

/*section1 */
.section1{
    height: 100%;
    position: relative;
    z-index: 1; /* content above background */
    padding: 20px;
    color: white;
}

.section1 .background {
    position: absolute; /* scrolls with section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('rDJegQJaCyGaYysj2g5XWY.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* overlay so content will be clear*/
.background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.81);
    z-index: 0; /* behind content but above the background */
}
.centerContainer{
    width: 100%;
    height: auto;
    margin: 100px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.centerDiv{
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    width: 60vw;
    padding: 5px;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.frontTextDiv{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;  /* space below h1 */
     font-size: clamp(2rem, 6vw, 3.5rem); /* Flexible heading */
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
}

.h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;  /* space below each h3 */
    font-size: clamp(1rem, 2.5vw, 1.25rem); /* Flexible subheading */
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ddd; /* optional styling */
}
.getEmail{
    height: auto;
    display: flex;
    
    justify-content: center;
    padding-top: 20px ;
      gap: 5px;

}
 .emailInput{
    padding: 20px 16px 20px;       /* internal spacing */
    font-size: 16px;          /* text size */
    border-radius: 4px;       /* rounded corners */
    border:none;   /* border color */
    outline: none;            /* removes default focus outline */
    width: 40vw;
    height: 50px;             /* set width */
    max-width: 80%; 
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
  border: 1px solid #333;
 }
.emailInput::placeholder{
    color: #ccc;
}
 .emailInput:focus {
    border-color: #E50914;   /* Netflix red on focus */
    box-shadow: 0 0 5px rgba(229,9,20,0.5);
}
.getStartedBtn {
    height: 50px;
    width:200px;
    background-color: #E50914;
    color: #fff;
    border: none;
    padding: 20px 16px 20px ;
    font-size: 16px;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    
}
.getStartedBtn:hover{
    background-color: #d10b15;
    transition:transform 0.3s ease ;
}

.getStartedBtn i {
    margin-left: 5px;
}

.section2 {
    background: #141414; /* Netflix black */
    color: white;
    padding: 0;
    
}

.section2 h2 {
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.section2Div{
    padding: 0 10px;
    position: relative;
}
.slider {
    counter-reset: movie-rank-counter;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 60px;  /* top/bottom 20px, left/right 60px */
}
.curveDiv{
    height: 50px;
   background: linear-gradient(to bottom, #2b1055, #141414);
   margin-bottom: 10px;
}
.curveDiv h2{
    font-size: 1.08rem;
    padding-top:20px ;
    padding-left: 10px;
}
.sliderContainer{
    padding: 20px;
    display: flex;
    align-items: center;
    
}
.sliderBtn-Left{
    width:70px ;
    height: 24vw;
    display: flex;
    align-items: center;
    background:transparent;
    padding-right: 12px;
    

}
.sliderBtn-Right{
    width:70px ;
    height: 24vw;
    display: flex;
    align-items: center;
    background:transparent;
    padding-left: 12px;
}

.arrow{
    height: 105px;
    width: 100%;
    border-radius: 6px;
    border: none;
    background-color: #ffffff1A;
    font-weight: bold;
    cursor: pointer;
    padding: 0 3px;
}
.card {
    position: relative;          /* anchor rank inside card */
    counter-increment: movie-rank-counter; /* increase for each card */
    flex: 0 0 auto;
    width: 17vw;
    max-width: 220px;
    height: 24vw;
    max-height: 330px;
    border-radius: 8px;
    background:#0000;
    scroll-snap-align: start;
    cursor: pointer;
    overflow: visible;
    transition:transform 0.4s ease ;
    box-shadow: 0.4 ease;
    transform-origin: bottom center;
}
.card:hover{
transform: scale(1.04);

z-index: 20;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: none;
}

.rank::before {
    content: counter(movie-rank-counter); /* auto number */
    position: absolute;
    left: -10px;
    bottom: -10px;
    font-size: 4rem;
    font-weight: 900;
    color: rgb(0, 0, 0);
    -webkit-text-stroke: 2px white;
    z-index: 5;
}


.slider::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}
.featureContainer {
    width: 100%;
    max-width: 1200px; /* Increased width for desktop view */
    margin: 0 auto 50px auto;
}
.joinReason{
    height: 40px;
    width: 100vw;
    font-size: 1.08rem;
    padding-top:20px ;
    padding-left: 10px;
    margin-bottom: 20px;
}

.featuresDivs{
    display: flex;
    flex-direction: column; /* Stacks cards vertically on mobile */
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    
}
.feature{
    position: relative;
    height: 30vw;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #222;
    display: flex;
    flex-direction: column; /* Stacks text and icon vertically */
    justify-content: space-between; /* Pushes content apart */
    min-height: 0px; 
    overflow: hidden;
    background: linear-gradient(to bottom right, #1a2041, #230f1b);

}
.feature p{
    font-size: 1.01rem;
    color: #a9acb7;
}
.featureText {
    white-space: normal;/* allow wrapping */
    overflow-wrap: break-word;/* wrap long words if needed */
    word-break: keep-all;/* keep all words*/
}
.featureText p{
    line-height: 1.5;
}

.featureImg{
    width: 70px;
    height:70px;
    position: absolute;
    bottom: 0;
    right: 0;
    object-fit: cover;
    padding: 0 5px;
    
}
.featureImg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    
}

.curveDiv,
.joinReason,
.featuresDivs,
.featureContainer,.questionContainer {
    position: relative; /* creates stacking context */
    z-index: 1;         /* above overlay */
}
.questionContainer{
display: grid;
flex-direction: column;
padding: 5px;
}
.questionBtn{
    height: 70px;
    display: flex;
    align-items: center;
    background-color: #303030;
    color: white;
    font-size: 1.2rem;
    font-family: Arial, sans-serif;
    text-align: left; 
    padding-left: 15px;
    margin: 5px 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.4s ease;
}
.questionBtn:hover{
    background-color: #464444;
}
.plus{
    position: absolute;
    right: 0;
    padding-right: 20px;
}


/* Footer Base */
.site-footer {
  color: white;
  padding: 40px 20px;
  font-size: 0.9rem;
  z-index: 1;
}

/* Phone number */
.footer-top {
  margin-bottom: 20px;
}

/* Links */
.site-footer a {
    color: white;
  text-decoration: none;
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column; /* default = vertical stack */
  gap: 12px;
  font-size: 0.9rem;
}
.bottomLogin{
    height: auto;
    padding: 30px 10px;
    text-align: center;
}

.footer-grid li {
  line-height: 1.6;
}

/* Language Selector */
.footer-lang {
    width: 50px;
    height: 30px;
    display: flex;
    align-items: center;   /* keep icon + select aligned */
    gap: 8px;              /* space between icon and text */
    padding:  4px 10px;
    border: 0.5px solid white;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.6); /* semi-transparent Netflix style */
    color: white;
    width: auto;
}

.footer-lang select {
  background-color: #000;
  color: #757575;
  border: 1px solid #333;
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 0.9rem;
  cursor: pointer;
  
}

/* Bottom Text */
.footer-bottom {
  font-size: 0.75rem;
  margin-top: 20px;
  color: #757575;
}

/* Tablet & up (≥600px): still vertical, just neater */
@media (min-width: 600px) {
  .footer-grid {
    gap: 14px;
  }
}

/* Desktop (≥900px): 2 columns */
@media (min-width: 900px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px; /* row gap + column gap */
  }
}

/* Extra large (≥1200px): 4 columns */
@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Optional Netflix-like link style */
.footer-grid a {
  color:  #b6b4b4;   /* gray text */
  text-decoration: underline;
  font-size: 0.83rem;
}

.footer-grid a:hover {
  text-decoration: underline;
}

/* Footer specific select styling */
.site-footer .selectDiv {
  display: inline-flex;      /* stay small, shrink to fit */
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  margin: 20px 0;
  font-weight: bold;
  background-color: rgba(35, 35, 35, 0.6);
  border: none;
  color: white;
  width: auto;              /* stop stretching full width */
  margin-top: 20px; 
}

.site-footer #selectOp {
  color: white;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  cursor: pointer;
}

.site-footer #selectOp option {
  background: black;
  color: white;
}

@media (min-width: 900px) {
    .curveDiv h2{
      padding-left: 100px;
      font-size: 1.5rem;
      font-family: Arial, sans-serif;
    }
    .joinReason h2 {
        font-size: 1.5rem;
        font-family: Arial, sans-serif;
    }

    .featuresDivs {
        flex-direction: row; /* This is the key change: aligns cards side-by-side */
        padding: 0 10px 0 10px;
    }
    .featuresDivs h2{
        font-family: Arial, sans-serif;
    }
    
    .feature {
        height: 25vw;
        /* This tells each card to take up an equal amount of the available space */
        flex: 1;
    }
    .section2Div{
        padding: 0 100px 0 100px;
    }
    .card{
        height: 21vw;
        width: 14vw;
    }
    .questionBtn{
        height: 80px;
        font-size: 1.3rem;
    }
}

.footer-recaptcha a {
  color:#4564ff !important;
  text-decoration: underline; /* optional */
}




