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

body {
    background-color: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.main {
    background-image: url("images/netflix background images.jpg");
    background-position: center center;
    background-size: max(1200px, 100vw);
    background-repeat: no-repeat;
    height: 644px;
    position: relative;

.box {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

nav {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.mainlogo {
    width: 170px;
    height: auto;
}

nav button {
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 10px 18px;
    margin-left: 12px;
    border-radius: 4px;
    font-weight: 700;
}

nav .btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

nav .btnred {
    background: #e50914;
    color: #fff;
}

.new {
    position: relative;
    z-index: 2;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px 64px;
}

.txt1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    max-width: 760px;
    margin: 0 auto 16px;
    font-weight: 700;
}

.txt2 {
    font-size: 1.4rem;
    margin-top: 12px;
}


.btn {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn input {
    border: 0;
    border-radius: 4px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    min-width: 280px;
}

.btn input::placeholder {
    color: #e5e5e5;
}

.btn button,
.btnred1 {
    border: none;
    background: #e50914;
    color: #fff;
    padding: 16px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.mailbg {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

h2 {
    color: #fff;
    padding-left: 40px;
    padding-bottom: 20px;
    margin-top: 0;
    text-align: center;
}

.carousel {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    margin: 0 auto 40px;
    padding-bottom: 24px;
}

.carousel-cell {
    width: 220px;
    min-width: 220px;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    margin-right: 12px;
}

.carousel-cell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 92vw;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.box1,
.box2,
.box3,
.box4 {
    position: relative;
    min-height: 250px;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1b1b3a, #1e1630, #2b1030);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.box1:hover,
.box2:hover,
.box3:hover,
.box4:hover {
    transform: translateY(-4px);
}

.box1 p,
.box2 p,
.box3 p,
.box4 p {
    margin: 0 0 16px;
}

.text {
    font-size: 1.3rem;
    font-weight: 700;
}

.semi,
.semi2,
.semi3,
.semi4 {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.98rem;
}

.ss1,
.sx,
.sx1,
.sx2 {
    position: absolute;
    width: 100px;
    height: auto;
    right: 24px;
}

.ss1 {
    bottom: 24px;
}

.sx {
    bottom: 22px;
}

.sx1 {
    bottom: 24px;
}

.sx2 {
    bottom: 20px;
}

.frq {
    padding: 0 24px 40px;
}

h3 {
    padding: 64px 0 24px 24px;
    font-size: 2.2rem;
    color: #fff;
}

.frq1 {
   transition: all 1s ease-out;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #2d2d2d;
    padding: 20px;
    max-width: 60vw;
    margin: 34px auto;
    cursor: pointer;
}

.frq1:hover {
      background-color: #414141;
    color: white;
}
}

.mem1 {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    padding-bottom: 20px;
}

.btn1 {
    display: inline-flex;
    
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.frqq{
    text-align: center;
    padding-bottom: 20px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 24px;
    max-width: 92vw;
    margin: 0 auto;
    padding: 32px 24px 16px;
}

.footeritem {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
#lst{
    text-align: center;
    gap-bottom: 20px;
}
.txt3{
    text-align: center;
    padding-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}
.btnred1{
      margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
}

.footer a:hover {
    opacity: 1;
}

.questions1 {
    text-align: center;
    color: #fff;
    padding-top: 30px;
}


@media screen and (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn,
    .btn1 {
        flex-direction: column;
        width: 100%;
    }

    .btn input,
    .btn button,
    .btn1 button {
        width: 100%;
    }

    .footer {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .txt1 {
        font-size: 2rem;
    }

    .flex {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}