body {
    margin: 0;
    padding: 0;
    background-color: #272727;
    overflow-x: hidden;
}

.hero {
    width: 100%;
    height: 135vh;
    background: url('https://nmsadguru.org/newimage/MuseumPage/museum banner.webp') no-repeat center;
    background-size: calc(100% - 0px) ;
    background-position: center top 20rem;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}




/* Dark Overlay */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@font-face {
    font-family: 'Champie';
    src: url('/temp/fonts/ChampieTrial-Regular.ttf') format('truetype'),
         url('/temp/fonts/ChampieTrial-Bold.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

/* MUSEUM Text */
.museum-text-2 {
    position: absolute;
    font-size: 9rem;
    color: white;
    letter-spacing: 2rem;
    font-family: 'Champie', sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    z-index: -1;
    margin-top: -5rem;
}

/* Top Navigation Links */
.top-links {
    top: 7rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    z-index: 3;
    font-family: 'Manrope', sans-serif;
    position: fixed;
}

/* Styling for links */
.top-links a {
    font-size: 15px;
    color: #FFFFFF4D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.top-links a.active {
    color: #7D54FF !important;
}


/* Hover effect */
.top-links a:hover {
    color: #7D54FF;
    cursor: pointer;
}


@media (max-width: 599px) {
    .top-links {
        display: flex;
        gap: 10px;
        white-space: nowrap;
        overflow-x: auto; /* Enables manual horizontal scrolling */
        scroll-behavior: smooth; /* Smooth scrolling effect */
        scroll-snap-type: x mandatory; /* Ensures smooth snap points */
        width: 100%; /* Ensures it fits inside the container */
    }

    .top-links a {
        scroll-snap-align: start; /* Aligns links to snap positions */
        text-decoration: none;
    color: #FFFFFF4D;
        border-radius: 5px;
        min-width: fit-content;
    }

    /* Hide scrollbar but keep scroll functionality */
    .top-links::-webkit-scrollbar {
        display: none;
    }
}

/* Responsive Museum Text */
@media (max-width: 991px) {
    .museum-text-2 {
        font-size: 8rem;
        letter-spacing: 1.5rem;
        margin-top: -6rem;
    }
}

@media (max-width: 768px) {
    .museum-text-2 {
        font-size: 7rem;
        letter-spacing: 1rem;
        margin-top: -6rem;
    }
}

@media (max-width: 480px) {
    .museum-text-2 {
        font-size: 5rem;
        letter-spacing: 0.5rem;
        margin-top: -10rem;
        text-align: center;
    }
}

/* General Page Styles */
.container {
    background-color: #272727; /* Dark background as in the image */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    margin: 0;
    margin-bottom: 7rem;
}

/* Container for Number and Text */
.container {
    display: flex;
    align-items: center;
    gap: 550px; /* Adjust spacing to match the image */
    margin-top: -7rem;
}

/* Number Styling */
.number {
    font-size: 40px;
    font-family: 'Manrope', sans-serif;
    color: rgba(255, 255, 255, 0.3); /* Faded gray color */
    font-weight: 700;
}

/* Text Styling */
.text {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    background: linear-gradient(90deg, #1C860F, #3DA95A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* General Page Styles */
.container-2 {
    background-color: #272727; /* Dark background as in the image */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    margin: 0;
    margin-bottom: 7rem;
}

/* Container for Number and Text */
.container-2 {
    display: flex;
    align-items: center;
    gap: 420px; /* Adjust spacing to match the image */
}

/* Number Styling */
.number-2 {
    font-size: 40px;
    font-family: 'Manrope', sans-serif;
    color: rgba(255, 255, 255, 0.3); /* Faded gray color */
    font-weight: 700;
}

/* Text Styling */
.text-2 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    background: linear-gradient(90deg, #505DF0, #0616BF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container, .container-2 {
        gap: 400px;
    }
    .number, .number-2, .text, .text-2 {
        font-size: 35px;
    }
}

@media (max-width: 992px) {
    .container {
        gap: 550px;
        margin-top: -21rem;
    }
    .container-2 {
        gap: 450px;
    }
    .number, .number-2, .text, .text-2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        gap: 400px;
        margin: 0;
        margin-top: -27rem;
    }

    .container-2{
        margin: 0;
        margin-top: -2rem;
    }
    .number, .number-2, .text, .text-2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .container {
        gap: 300px;
        margin: 0;
        margin-top: -32rem;
    }
    .container-2 {
        gap: 230px;
        margin: 0;
        margin-top: -2rem;
    }
    .number, .number-2, .text, .text-2 {
        font-size: 28px;
    }
}

@media (max-width: 470px) {
    .container {
        gap: 200px;
        margin: 0;
        margin-top: -40rem;
    }

    .container-2{
        gap: 150px;
        margin: 0;
    }
    .number, .number-2, .text, .text-2 {
        font-size: 22px;
        text-align: center;
    }
}


/*Museum section 2*/
.museum-card {
    display: flex;
    align-items: center;
    background: #272727;
    color: #fff;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    font-family: 'Manrope', sans-serif;
    /* Font family from Figma */

}

/* Both image and text will take equal width */
.museum-image-container {
    position: relative;
    flex: 1;
    /* Takes 50% width */
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.museum-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text container takes equal space */
.museum-text {
    flex: 1;
    /* Takes 50% width */
    max-width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers text vertically */
    text-align: left;
    /* Ensures text is left-aligned */
    padding: 3.2rem;
    /* Keeps padding for spacing */
}

.museum-text p {
    font-size: 20px;
    line-height: 2rem;
    color: #FFFFFF;
    font-weight: 600;
    padding-left: 2rem;
    padding-right: 2.5rem;
}


.read-more {
    background: #272727;
    border: 1px solid white; /* Add a visible white border */
    padding: 8px 1px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 70px;
    font-weight: 400;
    margin-left: 2rem;
}

.read-more:hover {
    background: white;
    color:#4d3d36 ;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 770px) {
    .museum-card {
        flex-direction: column;
        text-align: center;
        margin: 1.5rem;
    }

    .museum-image-container,
    .museum-text {
        max-width: 100%;
        text-align: left;
    }

    .museum-image-container {
        margin-top: 2rem;
    }

    .museum-text {

        margin-top: 15px;
    }
}