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

body 
{
    background-color: black;
    color: white;
    font-family: "Poppins", sans-serif;
}

/* Navbar */
.navbar 
{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 10%;
    z-index: 10;
}

.navbar_netflix 
{
    height: 50px;
}

.netflix_logo 
{
    height: 100%;
}

.navbar_nav_items 
{
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language Dropdown */
.dropdown_container 
{
    border: 1px solid #535352;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.language_drop_down 
{
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
}

#language_select{
  color: black;
}

/* Sign In Button */
.sign_in_button 
{
    background-color: #E50914;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.sign_in_button:hover 
{
    background-color: rgb(193, 17, 25);
}

/* Hero Section */
.hero 
{
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 0;
}

.hero_bg_img_cont 
{
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero_bg_img 
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_bg_overlay 
{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0,
        rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(rgba(0, 0, 0, 0.6) 0,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.hero_card 
{
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.hero_title 
{
    font-weight: 1000;
    font-size: 3rem;
    line-height: 1.2;
}

.hero_subtitle 
{
    font-weight: 550;
    font-size: 1.5rem;
}

.hero_desc 
{
    font-weight: 500;
    font-size: 1.2rem;
}

/* Email Form */
.email-form 
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.email, .email1 
{
    max-width: 100%;
    height: 3.5rem;
    font-size: 1rem;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    border: 1px solid #535352;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    outline: none;
    font-weight: 400;
}

.email 
{
    width: 25rem;
}

.email1 
{
    width: 38rem;
}

.email::placeholder, .email1::placeholder 
{
    color: #b8b8b8;
}

.get_started 
{
    font-size: 1.2rem;
    padding: 0 1rem;
    background-color: #E50914;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    cursor: pointer;
}

.get_started:hover 
{
    background-color: rgb(193, 17, 25);
}

.curve-line {
    width: 100%;
    height: 0.2rem;
    background: linear-gradient(to right, magenta 0%, red 50%, magenta 100%);
border-radius: 50% / 100%; /* makes a gentle arch */   
}

/* Trending Section */
#trend 
{
    width: 90%;
    margin: 4vh auto;
}

#thead 
{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.scroll 
{
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    margin-left: 3rem;
}

.scroll::-webkit-scrollbar 
{
    display: none;
}

.cards 
{
    display: inline-block;
    width: 180px;
    height: 250px;
    border-radius: 10px;
    transition: 0.5s;
    margin-right: 40px;
    background-size: cover;
    position: relative;
}

.cards:hover 
{
    transform: scale(1.05);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.itext 
{
    color: black;
    font-size: 6.5rem;
    font-weight: 800;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white,
        -1px 1px 0 white, 1px 1px 0 white;
    position: absolute;
    bottom: -0.5rem;
    left: -1.5rem;
    z-index: 2;
}

/* Scroll Buttons */
.scroll-container 
{
    position: relative;
    width: 100%;
}

.scroll-btn 
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 120px;
    background: rgba(20, 20, 20, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background 0.3s;
}

.scroll-btn:hover 
{
    background: rgba(20, 20, 20, 0.9);
}

.scroll-btn.left 
{
    left: 10px;
}

.scroll-btn.right 
{
    right: 10px;
}

/* Card Images */
.cards:nth-child(1) { background-image: url("../images/wednesday.jpg"); margin-left: 1rem; }
.cards:nth-child(2) { background-image: url("../images/kapilshow.jpg"); }
.cards:nth-child(3) { background-image: url("../images/raid2.jpg"); }
.cards:nth-child(4) { background-image: url("../images/sarejahan.jpg"); }
.cards:nth-child(5) { background-image: url("../images/squidgame.jpg"); }
.cards:nth-child(6) { background-image: url("../images/mandala_murders.jpg"); }
.cards:nth-child(7) { background-image: url("../images/jaat.jpg"); }
.cards:nth-child(8) { background-image: url("../images/aapjesa.jpg"); }
.cards:nth-child(9) { background-image: url("../images/hit.jpg"); }
.cards:nth-child(10) { background-image: url("../images/chaava.jpg"); }

/* Reason Section */
#reason 
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-top: 10vh;
    padding: 0 5%;
}

#rhead 
{
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

#reasons 
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    height: auto;
    margin-left: 3rem;
}

.reas 
{
    background: linear-gradient(to bottom, #0f172a 0%, #1b1033 40%, #1e0f1a 100%);
    border-radius: 16px;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 16rem;
    transition: transform 0.3s ease;
}

.reas:hover 
{
    transform: translateY(-5px);
}

.reashead 
{
    font-size: 20px;
    color: white;
    font-weight: 800;
    margin-bottom: 10px;
}

.reastxt 
{
    font-size: 16px;
    color: white;
    opacity: 0.75;
    line-height: 1.4;
    flex-grow: 1;
}

.reas_img 
{
    position: absolute;
    bottom: 1.2rem;
    right: 1rem;
    height: 3rem;
    width: auto;
}

/* FAQ Section */
.faq 
{
    padding: 0 5%;
    font-size: 18px;
    margin-top: 6rem;
}

.faq h2 
{
    font-size: 40px;
    font-weight: 500;
}

.accordion 
{
    margin-left: 2rem;
    width: 90%;
}

.accordion li 
{
    list-style: none;
    width: 100%;
    padding: 5px;
}

.accordion li label 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-size: 22px;
    font-weight: 500;
    background-color: #303030;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
}

.accordion li label:hover
{
    background-color: #535352;
}

.accordion li label::after 
{
    content: '+';
    font-size: 34px;
    transition: transform 0.3s, content 0.3s;
}

.accordion .content 
{
    background-color: #303030;
    text-align: left;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion li.active .content 
{
    max-height: 600px;
    padding: 20px;
}

.accordion li.active label::after 
{
    content: '×';
    transform: rotate(180deg);
}

/* Second Hero Section */
.hero1 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.hero1 p 
{
    margin-bottom: 1rem;
}

/* Footer */
.footer 
{
    padding-top: 3rem;
    padding-left: 9.5rem;
}

.footer, #foot-call a, .footer-cols a 
{
    color: white;
    font-size: 1rem;
    opacity: 0.7;
}

.footer .footer-cols 
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.footer li 
{
    line-height: 1.9;
    list-style: none;
}

.dropdown_container1 
{
    border: 1px solid #535352;
    padding: 0.5rem;
    width: 7.7rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.foot 
{
    margin-bottom: 8rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) 
{
    .navbar 
    {
        padding: 1rem 5%;
    }
    .footer .footer-cols 
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    #rhead { font-size: 22px; margin-left: 20px; }
    #reasons { gap: 15px; margin-left: 20px; }
    .reas { flex: 1 1 calc(33.33% - 20px); min-height: 15rem; }
}

@media (max-width: 768px) 
{
    .navbar 
    {
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(0, 0, 0, 0.6);
        position: relative;
    }
    .navbar_nav_items { flex-direction: column; gap: 0.8rem; }
    .hero { padding: 6rem 1rem 2rem; height: auto; }
    .hero_title { font-size: 2rem; }
    .hero_subtitle { font-size: 1.2rem; }
    .hero_desc { font-size: 1rem; }
    .email-form { flex-direction: column; width: 100%; }
    .email, .email1, .get_started { width: 100%; }
    .cards { width: 130px; height: 190px; margin-right: 15px; }
    .itext { font-size: 3rem; left: -0.5rem; }
    .footer { padding: 2rem; }
    .footer .footer-cols { grid-template-columns: 1fr; }
    #rhead { font-size: 20px; margin-left: 15px; text-align: center; }
    #reasons { gap: 12px; margin-left: 15px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .reas { flex: 1 1 calc(50% - 20px); }
    .reashead { font-size: 18px; }
    .reastxt { font-size: 14px; }
    .accordion { margin: 0 auto; width: 95%; }
    .faq { padding: 1rem; text-align: center; }
    .faq h2 { font-size: 28px; }
}

@media (max-width: 480px) 
{
    .hero_title { font-size: 1.6rem; }
    .hero_subtitle { font-size: 1rem; }
    .hero_desc { font-size: 0.9rem; }
    .cards { width: 100px; height: 150px; }
    .itext { font-size: 2.2rem; }
    .footer { font-size: 0.8rem; padding: 1rem; }
    .dropdown_container, .dropdown_container1 { width: 100%; }
    #rhead { font-size: 18px; margin-left: 10px; text-align: center; }
    #reasons { gap: 10px; margin-left: 10px; }
    .reas { flex: 1 1 100%; min-height: 14rem; }
    .reashead { font-size: 16px; }
    .reastxt { font-size: 13px; }
    .reas_img { height: 2.5rem; width: 3rem; }
    .accordion { width: 100%; margin: 0 auto; }
    .faq h2 { font-size: 24px; }
}

