* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
}

p {
    font-family: "Poppins", sans-serif;
    color: #fff;
}

.burger-menu {
    display: none;
}

.slider-nav {
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #111;
    position: sticky;
    top: 0;
    z-index: 1000;
}

footer {
    background-color: #111111;
    padding: 40px 30px;
}

.logo img {
    width: 150px;
    /* Adjust logo size as needed */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Fade-in Effect on Hover */
.nav-menu a:hover {
    color: #bf1e29;
    /* Luxurious gold color */
    transform: scale(1.1);
}

/* Underline Animation */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #bf1e29;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

/* Smooth Entrance Animation */
.nav-menu li {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.nav-menu li:nth-child(1) {
    animation-delay: 0.2s;
}

.nav-menu li:nth-child(2) {
    animation-delay: 0.4s;
}

.nav-menu li:nth-child(3) {
    animation-delay: 0.6s;
}

.nav-menu li:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.body-text {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #fff;
}

.body-width {
    margin: 0 auto;
}

.home-top-image-container {
    width: 100%;
    height: 500px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.home-top-image-container p {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    font-weight: 700;
    display: flex;
    font-size: 2rem;
    top: 50%;
    justify-content: center;
    height: fit-content;
    width: fit-content;
    align-items: center;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 50px;
}

.home-top-image,
.home-second-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-second-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.home-second-image-container-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 50px;
}

.home-image-last {
    width: 70% !important;
    margin: -50px auto 60px;
    display: flex;
}

.home-second-image-container-inner p,
.home-top-image-container p {
    font-weight: 700;
    font-size: 2rem;
}

.why-niche-strip-container {
    display: flex;
    justify-content: space-between;
    margin: 80px auto;
    width: 55%;
    align-items: center;
}

.why-niche-strip-container p {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    background-color: #fff;
    color: #000;
    width: 16%;
    text-align: center;
    height: 90px;
    transition: all ease-in .3s;
    cursor: pointer;
    border-radius: 10px;
}

/* .why-niche-strip-container p:hover {
    border: none;
    background-color: #000;
    color: #fff;
} */

.why-niche-strip-content-container {
    display: flex;
    width: 55%;
    margin: 80px auto 40px;
    justify-content: space-between;
    align-items: center;
    height: 400px;
}

.why-niche-strip-content-container img {
    width: 48%;
    height: 100%;
    object-fit: cover;
}

.why-niche-strip-content-container-inner {
    display: flex;
    width: 48%;
}

.why-niche-strip-content-container-inner p {
    font-size: 1.2rem;
    color: #fff;
}

.services-view-more-home {
    display: flex;
    margin: 40px auto 80px;
}

.services-view-more-home {
    cursor: pointer;
    padding: 20px 50px;
    border: solid 1px #fff;
    width: fit-content;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

.index-view-more {
    display: flex;
    margin: 0 auto 80px;
    cursor: pointer;
    padding: 20px 50px;
    border: solid 1px #fff;
    width: fit-content;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

.section-heading {
    font-weight: 700;
    margin: 20px auto;
    color: #fff;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.our-services-home-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 55%;
    margin: 0 auto;
}

.our-services-home-strip-card {
    position: relative;
    width: 32%;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
}

.our-services-home-strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.our-services-home-strip-card p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: none;
}

.our-services-home-strip-card.in-view p {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.home-network-conter-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.home-network-conter-container p {
    color: #000;
}

.home-network-conter-container div {
    position: absolute;
    top: 50%;
    left: 15%;
    width: 250px;
    transform: translate(-50%, -50%);
}

.home-network-conter-container .network-counter {
    font-size: 4rem;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.home-network-conter-container p {
    font-size: 1.2rem;
    margin: 0;
}


.home-contact-container {
    display: flex;
    justify-content: center;
    align-items: start;
}

.home-contact-container p,
.home-contact-container label {
    color: #fff;
}

.get-in-touch {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.home-get-in-touch-heading {
    font-size: 1.5rem;
    font-weight: 700;
}

.home-get-in-touch-subheading {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

.home-get-in-touch-content {
    font-size: 1.2rem;
}

.form-container {
    width: 50%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.get-in-touch a {
    text-decoration: none;
    list-style: none;
    color: #fff;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    color: #fff;
}

input,
textarea {
    padding: 10px;
    font-family: "Poppins", sans-serif;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 1rem;
    background-color: transparent;
    color: #fff;
}

textarea {
    resize: none;
}

.fader-element {
    opacity: 0;
    transform: translateY(30px);
    /* Optional: adds a slight upward motion */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When the element is in the viewport, it fades in */
.fader-element.visible {
    opacity: 1;
    transform: translateY(0);
    /* Return to original position */
}

.form-button {
    background-color: #fff;
    color: #000;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #333;
}

.home-image {
    width: 100%;
    height: auto;
}

.slider-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: #bf1e29;
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-nav .close-btn:hover {
    color: #bf1e29;
}

.services-left-container,
.services-right-container {
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px auto 0;
    display: flex;
    width: 55%;
}

.services-left-container h2 {
    font-family: poppins, 'sans-serif';
    color: #fff;
}

.services-right-container h2,
.services-right-container p {
    font-family: poppins, 'sans-serif';
    color: #fff;
    text-align: right;
}

.services-left-container img,
.services-right-container img {
    width: 50%;
    border-radius: 20px;
}

.services-left-container div,
.services-right-container div {
    width: 50%;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}

@media(max-width: 1300px) {
    body {
        padding: 0 30px;
        overflow-x: hidden;
    }
}

@media(max-width: 1200px) {
    .why-niche-strip-content-container {
        height: 600px;
    }
}

@media(max-width: 950px) {
    .home-contact-container {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .get-in-touch,
    .form-container {
        width: 100%;
    }
}

@media(max-width:850px) {

    .home-second-image-container-inner p,
    .home-top-image-container p {
        font-weight: 700;
        font-size: 1.5rem;
    }

    .why-niche-strip-container {
        flex-wrap: wrap;
    }

    .why-niche-strip-container p {
        width: 180px;
    }

    .why-niche-strip-container {
        justify-content: center;
        gap: 10px;
    }

    .why-niche-strip-content-container {
        flex-direction: column;
    }

    .why-niche-strip-content-container img,
    .why-niche-strip-content-container-inner {
        width: 100%;
    }

    .why-niche-strip-content-container-inner {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .why-niche-strip-content-container-inner p {
        text-align: center;
    }

    .why-niche-strip-content-container-inner p {
        margin: 20px 0 10px;
    }

    .home-network-conter-container div {
        left: 22%;
    }
}

@media(max-width:700px) {
    .about-us-top-text {
        margin: 20px auto !important;
        font-size: .65rem;
        width: 90% !important;
        padding: 0 !important;
    }

    .services-left-container,
    .services-right-container {
        width: 100%;
    }

    .services-left-container p,
    .services-right-container p {
        font-size: .65rem;
    }

    .why-niche-strip-content-container-inner {
        gap: 10px;
    }

    .services-left-container,
    .services-right-container {
        flex-direction: column;
        gap: 10px;
    }

    .services-left-container img,
    .services-right-container img {
        width: 100%;
        border-radius: 0;
    }

    .services-left-container div,
    .services-right-container div {
        width: 90%;
    }

    .services-right-container {
        flex-direction: column-reverse;
    }

    .slider-nav {
        display: flex;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .burger-menu .bar {
        width: 20px;
        height: 2px;
        background-color: #bf1e29;
        margin: 3px 0;
        transition: transform 0.4s, opacity 0.4s;
    }

    /* Slider Navigation */
    .slider-nav {
        position: fixed;
        top: 0;
        right: -250px;
        /* Hidden by default */
        width: 250px;
        height: 100%;
        background-color: #000;
        color: #bf1e29;
        transition: right 0.5s ease-in-out;
        z-index: 999;
    }

    .slider-nav ul {
        list-style: none;
        padding: 50px 20px;
    }

    .slider-nav ul li {
        margin: 20px 0;
        font-family: poppins, "sans-serif";
    }

    .slider-nav ul li a {
        color: #bf1e29;
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

    .slider-nav ul li a:hover {
        color: #d4af37;
        /* Luxurious gold tone */
    }

    /* Toggle Slider - Open */
    .slider-nav.open {
        right: 0;
        /* Slide in */
    }

    /* Burger Menu Animation */
    .burger-menu.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .home-network-conter-container div {
        left: 28%;
    }

    .why-niche-strip-container p {
        width: 140px;
    }

    .luxury-header .nav-menu {
        display: none;
    }

    body {
        padding: 0;
    }

    header {
        border-radius: 0;
    }

    .home-top-image-container,
    .home-second-image-container,
    .why-niche-strip-content-container,
    .our-services-home-strip,
    .home-image {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .home-image {
        width: 100%;
        margin: 0 auto;
        display: flex;
    }

    .our-services-home-strip-card {
        width: 170px;
    }

    .our-services-home-strip {
        justify-content: center;
        gap: 2%;
        padding: 0 15px;
        flex-wrap: nowrap;
        width: fit-content;
        align-items: start;
    }

    .our-services-home-strip-container {
        align-items: start;
        overflow-x: auto;
        display: flex;
        width: 100%;
        height: fit-content;

    }
}

@media(max-width:500px) {

    .index-view-more,
    .services-view-more-home {
        margin: 20px auto 50px;
    }

    .index-view-more {
        margin-top: 0;
    }

    .home-get-in-touch-heading {
        font-weight: 600;
    }

    .why-niche-strip-content-container {
        margin-bottom: 10px;
        margin-top: 0;
    }

    .home-contact-container label {
        font-size: 1rem;
    }

    .home-get-in-touch-subheading {
        font-size: 1rem;
    }

    .home-get-in-touch-content {
        font-size: .8rem;
    }

    .home-top-image-container {
        height: 240px;
    }

    .body-text {
        padding: 0 10px !important;
        margin: 50px auto !important;
        font-size: .65rem;
        width: 90% !important;
    }

    .why-niche-strip-container p {
        width: 80px;
    }

    .why-niche-strip-container {
        width: 95%;
        margin: 50px auto;
    }

    .home-second-image-container-inner p,
    .home-top-image-container p {
        font-size: 1rem;
        text-wrap: nowrap;
    }

    .why-niche-strip-container p {
        height: 100px;
        font-size: .7rem;
        font-weight: 600;
    }

    .why-niche-strip-content-container-inner p {
        font-size: .65rem;
        width: 90%;
    }

    .index-view-more,
    .services-view-more-home {
        padding: 10px 40px;
        font-size: .8rem;
    }

    .section-heading {
        margin: 20px auto 7px;
        font-size: 1.5rem;
    }

    .our-services-home-strip-card.in-view p {
        font-size: .6rem;
        padding: 0;
        width: 60%;
        text-align: center;
        line-height: 1.6rem;
    }


    .home-network-conter-container .network-counter {
        font-size: 2rem;
    }

    .home-network-conter-container div {
        left: 42%;
    }

    .home-image-last {
        margin-bottom: 30px !important;
        margin-top: -30px !important;
    }

    header {
        padding: 20px 30px;
    }

    .logo img {
        width: 120px;
    }

    .home-network-conter-container {
        width: 100%;
    }

    .home-image-last {
        width: 90% !important;
    }
}