* {
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    overflow-x: hidden;
}

.main {
    background-image: url(assets/images/mainimg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
}

.main .box {
    height: 80vh;
    width: 100%;
    opacity: 0.70;
    position: absolute;
    top: 0;
    background-color: black;
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    max-width: 80vw;
    height: 60px;
}

img {
    color: red;
    height: 200px;
    position: relative;
    z-index: 10;
}

nav button {
    position: relative;
    z-index: 10;
}

.hero {
    height: calc(100% - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    position: relative;
    z-index: 10;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    gap: 23px;
    padding: 0 20px
}

.hero span:nth-child(1) {
    font-family: ' poppins ', sans-serif;
    font-size: 45px;
    font-weight: 700;
    text-align: center;
}

.hero span:nth-child(2) {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

.hero span:nth-child(3) {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}
input{
    color: white;
}
.seperation {
    height: 7px;
    background-color: gray;
    background: linear-gradient(to right, rgba(33, 13, 22, 1) 16%, rgba(184, 40, 105, 1), rgba(229, 9, 20, 1), rgba(184, 40, 105, 1), rgba(33, 13, 22, 1) 84%);
    /* box-shadow: 100px 100px 100px  rgba(64, 97, 231, 0.4) , rgba(0, 0, 0, 0.1) ; */
    filter: drop-shadow(10px 10px 10px rgba(101, 101, 236, 0.4));
    position: relative;
    z-index: 10;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.btn {
    padding: 3px 8px;
    font-weight: 500;
    background-color: white;
}

.btn {
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 4px;
    color: white;
    font-size: 20px;
    background-color: rgba(23, 23, 23, 0.7);
    border: 1px solid rgb(136, 136, 136);
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-red {
    background-color: rgb(229, 9, 20);
    color: white;
    padding: 3px 24px;
    font-size: 25px;
    border-radius: 4px;
    padding: 7px 9px 8px 14px;
    cursor: pointer;
}

.main input {
    padding: 7px 110px 24px 14px;
    font-weight: 400;
    font-size: 14px;
    border-radius: 4px;
    background-color: rgba(23, 23, 23, 0.7);
    border: 1px solid rgb(136, 136, 136);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    cursor: pointer;
}

.btn-red-sm {
    background-color: red;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.btn img {
    height: 25px;
    cursor: pointer;
}

.a1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.a2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.sh h2 {
    margin-top: 40px;
    color: white;
    font-size: 23px;
    margin-left: 90px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.card1,
.card2,
.card3,
.card4,
.card5,
.card6,
.card7,
.card8,
.card9,
.card10 {
    height: 265px;
    width: 192px;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 15px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.card {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.1);
}

.card1 {
    background-image: url(assets/images/wednesday.jpg);
}

.card2 {
    background-image: url(assets/images/kapil.jpg)
}

.card3 {
    background-image: url(assets/images/zende.jpg);
}

.card4 {
    background-image: url(assets/images/kingdom_saamrajya.jpg);
}

.card5 {
    background-image: url(assets/images/raid2.jpg);
}

.card6 {
    background-image: url(assets/images/saiyaara.jpg);
}

.card7 {
    background-image: url(assets/images/maareesan.jpg);
}

.card8 {
    background-image: url(assets/images/squid_game.jpg);
}

.card9 {
    background-image: url(assets/images/fall_for_me.jpg);
}

.card10 {
    background-image: url(assets/images/metro.jpg);
}

.lc {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    padding: 10px;
    margin-left: 90px;
    margin-right: 90px;
}

.lc::-webkit-scrollbar {
    height: 8px;
}

.lc::-webkit-scrollbar-thumb {
    background-color: rgb(29, 28, 28);
    border-radius: 4px;
}

.card {
    position: relative;
}

.card1 span {
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    display: inline-block;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgb(65, 65, 65);
    text-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 10px;
    left: 0px;
}

.card1 span {
    -webkit-text-stroke: 2px rgb(255, 255, 255);
}

.card2 span,
.card3 span,
.card4 span,
.card5 span,
.card6 span,
.card7 span,
.card8 span,
.card9 span,
.card10 span {
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    display: inline-block;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgb(65, 65, 65);
    text-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 10px;
    left: -14px;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
}

.th h3 {
    margin-top: 40px;
    color: white;
    font-size: 23px;
    margin-left: 90px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.lastcointainer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    margin-left: 90px;
    margin-right: 90px;
}

.tv,
.downar,
.teli,
.twopage {
    flex-grow: 1;
    flex-basis: 200;
    height: 260px;
    width: 260px;
    background: linear-gradient(45deg, rgb(121, 88, 136), rgb(44, 39, 70), rgb(53, 25, 61));
    border-radius: 15px;
}

.tv,
.downar,
.teli,
.twopage,
h3 {
    font-size: 20px;
    color: white;
    margin: 29px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.tv,
.downar,
.teli,
.twopage,
p {
    font-size: 15px;
    color: white;
    margin: 29px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.tv {
    position: relative;
}

.tv svg {
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.downar {
    position: relative;
}

.downar svg {
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.teli {
    position: relative;
}

.teli svg {
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.twopage {
    position: relative;
}

.twopage svg {
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.faq h2 {
    margin-top: 40px;
    color: white;
    font-size: 23px;
    margin-left: 90px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.faqbox {
    margin-top: 30px;
    margin-left: 150px;
    margin-right: 150px;
    display: flex;
    background-color: rgb(45, 45, 45);
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 24px;
    /* A slightly smaller padding can look cleaner */
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    flex-wrap: wrap;
    /* ADD THIS LINE */
    cursor: pointer;
    transition: background-color 0.4s ease;
    will-change: transform, box-shadow;
}

.faqbox.active {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

svg {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.faqbox:hover {
    background-color: rgb(63, 63, 63);
}

.faqbox.active .question svg {
    transform: rotate(45deg);
}

.faqbox .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
}

.ans {
    margin-top: 10px;
    opacity: 0;
    overflow: hidden;
    flex-basis: 100%;
    margin-top: 20px;

}

.ans {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.3s ease;
}

.faqbox.active .ans {
    max-height: 600px;
    /* big enough to fit your largest answer */
    opacity: 1;
    padding: 24px;
    border-top: 1px solid rgb(79, 78, 78);
}


.fp {
    font-size: 17px;
    font-weight: 400;
    color: white;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.l2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 7px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.l2 input {
    padding: 7px 295px 24px 14px;
    flex-wrap: wrap;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: white;
    text-align: start;
    gap: 50px;
    margin: auto;
    margin-left: 150px;
    margin-right: 150px;
    padding: 34px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 45px;
    align-items: flex-start;
    justify-content: flex-start;
}

footer a {
    color: white;
}

.l22 button {
    margin-top: 30px;
}

.lt h6 {
    color: white;
    margin-top: 5px;
    font-weight: lighter;
    color: white;
    font-size: 17px;
    margin-left: 150px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    padding: 40px;
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer {
    gap: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}


/* == For Tablets (Screens less than 960px wide) == */
@media screen and (max-width: 960px) {

    /* --- General Spacing --- */
    /* Reduce the large side margins for all sections */
    .sh h2,
    .lc,
    .th h3,
    .lastcointainer,
    .faqbox,
    footer {
        margin-left: 40px;
        margin-right: 40px;
    }

    /* --- Hero Section --- */
    .hero span:nth-child(1) {
        font-size: 40px;
        /* Slightly smaller hero text */
    }

    /* --- Footer --- */
    footer {
        grid-template-columns: 1fr 1fr;
        /* Change footer to 2 columns */
        gap: 30px;
    }
}


/* == For Mobile Phones (Screens less than 768px wide) == */
@media screen and (max-width: 768px) {

    /* --- Navigation --- */
    nav {
        max-width: 90vw;
    }

    nav span img {
        width: 100px;
        /* Make logo smaller */
        height: auto;
        /* Maintain aspect ratio */
    }

    /* Hide the 'English' button on mobile to save space */
    .btn:not(.btn-red-sm) {
        display: none;
    }

    /* --- Hero Section --- */
    .hero {
        gap: 18px;
       
        padding: 0 5vw;
    }

    .hero span:nth-child(1) {
        /* This makes the font size scale smoothly with the screen */
        font-size: clamp(2rem, 8vw, 3rem);
        font-weight: 900;
        line-height: 1.1;
        /* Tighter line spacing */
    }

    .hero span:nth-child(2) {
        font-size: 1.1rem;
    }

    .hero span:nth-child(3) {
        font-size: 1.1rem;
    }

    /* --- Email Form --- */
    .a2 {
        flex-direction: column;
        /* Stack the input and button */
        width: 100%;
        align-items: stretch;
        /* Make them full width */
    }

    .main input {
        padding: 15px;
        font-size: 1rem;
    }

    .btn-red {
        font-size: 1.2rem;
        padding: 12px 20px;
        margin-top: 10px;
    }

    /* --- Card Slider --- */
    .sh h2,
    .th h3 {
        margin-left: 5vw;
        /* Use viewport width for margins */
        margin-right: 5vw;
        font-size: 1.2rem;
    }

    .lc {
        margin-left: 5vw;
        margin-right: 5vw;
        gap: 10px;
        /* Less space between cards */
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5,
    .card6,
    .card7,
    .card8,
    .card9,
    .card10 {
        height: 160px;
        /* Make cards smaller for mobile */
        width: 110px;
    }

    /* Make the large numbers on the cards smaller */
    .card1 span,
    .card2 span,
    .card3 span,
    .card4 span,
    .card5 span,
    .card6 span,
    .card7 span,
    .card8 span,
    .card9 span,
    .card10 span {
        font-size: 3.5rem;
    }

    .card2 span,
    .card3 span,
    .card4 span,
    .card5 span,
    .card6 span,
    .card7 span,
    .card8 span,
    .card9 span,
    .card10 span {
        left: -10px;
    }

    /* --- Feature Boxes --- */
    .lastcointainer {
        margin-left: 5vw;
        margin-right: 5vw;
        flex-direction: column;
        /* Stack the feature boxes */
    }

    /* --- FAQ Section --- */
    .faqbox {
        margin-left: 5vw;
        margin-right: 5vw;
        padding: 15px;
        font-size: 1rem;
    }

    .faq h2 {
        font-size: 1.5rem;
    }

    /* --- Footer --- */
    footer {
        margin-left: 5vw;
        margin-right: 5vw;
        grid-template-columns: 1fr;
        /* Change footer to a single column */
        text-align: left;
        /* Keep text aligned left for readability */
        padding: 20px 0;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .footer-item {
        gap: 15px;
        /* Less space between footer links */
        margin-bottom: 20px;
    }
}