* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* Container for the scrolling text */



/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    /* background-image: url(banner1-placeholder.jpeg); */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}


.logo-left,
.logo-right {
    width: 120px;
    height: auto;
}

.center-content {
    text-align: center;
    flex-grow: 1;
}

.center-content h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
    color: #151570;
}

.English_heading {
    font-size: 20px;
    color: #151570;
}

.subheading_hindi {
    font-size: 14px;
    color: #c40906;
}

/* .emblem {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
} */

/* .icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    margin-top: 10px;
}

.icons img {
    width: 25px;
    height: auto;
}

.language-switch {
    font-size: 16px;
    color: #000;
    text-decoration: none;
} */


/* nav-bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #b34700;
    text-align: center;
    padding: 5px;
    align-items: center;
}

.nav-menu {
    list-style-type: none;
    display: flex;
    justify-content: center;

}

.nav-menu li {
    position: relative;
    /* justify-content: center; */
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 40px;
    display: block;
    /* transition: all 0.6s ease; */
    transition: transform 0.6s ease, background 0.6s ease, box-shadow 0.6s ease;
}

.nav-menu a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.6);


    background-color: #ffffff;
    color: #000;
    border-radius: 20px;
}

/* .navbar ul li a{
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
  } */

/* Dropdown styling */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #b34700;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content li a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: #ffffff;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #B34700;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    justify-content: flex-start;


}

.sidebar li {
    width: 100%;

}

.sidebar a {
    width: 100%;

}

.menu-button {
    display: none;

}

.logo-res {
    background-color: #555;
}

.logo-res-img {
    display: block;
    width: 50px;
    height: 50px;
    z-index: 10000;
    margin-right: 0px;
    margin: -60px 32px 5px 9px;
}

.nav-link {
    display: flex;
}

@media(max-width: 850px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;
        text-align: end;
        
    }

}

@media(max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

@media (min-width: 850px) {
    .navbar img {
        display: none;
    }
}
@media (max-width: 850px){
    .nav-menu{
        justify-content: right;
    }
}
@media (max-width: 850px){
    .footer-container{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 850px){
    .site-links{
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: center;
        text-align: center;
    }
}
/* nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    margin: 20px;
} */


/* Banner slider styling */
.banner-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
    /* Full viewport height */
    object-fit: cover;
}

/* Button styling for previous and next buttons */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border-radius: 50%;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/* main content */
.national {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}
.national h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #007bff;
    animation: fadeIn 2s ease-in;
}
.national p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in;
}
.crds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.crd {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}
.crd:hover {
    transform: scale(1.05);
}
.crd h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007bff;
}
.crd p {
    font-size: 1rem;
    margin-bottom: 15px;
}
.crd a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.crd a:hover {
    background: #0056b3;
}
.highlight {
   
    color: #000000;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    animation: fadeInUp 2s ease-in;
}
.highlight h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.highlight p {
    font-size: 1.2rem;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Secound slide */

.secound-slide h1 {
    color: #b34700;
    text-align: center;
    margin: 20px;
    padding: 0px;
}

.secound-slide p {
    text-align: center;
    margin: 20px;
    padding: 0px;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    width: 200px;
    text-align: center;
}

.member-card img {
    width: 150px;
    height: 150px;
    background-color: #e0e0e0;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.name {
    font-weight: bold;
    color: #b34700;
    margin-top: 10px;
}

.title {
    color: #555;
    font-size: 0.9em;
}


/* Third slide */
.containerrr {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 25px auto;

}

.third-slide h1 {
    color: #b34700;
    text-align: center;
    margin: 20px;
    padding: 0px;
}

.third-slide p {
    text-align: center;
    margin: 20px;
    padding: 0px;
}



/* Special thanks */
.special-thank {
    justify-content: center;
}

.thanks h1 {
    color: #ffffff;
    text-align: center;
    margin-top: 20px;
    padding: 0px;
    background-color: #003366;

}

/* trial-slide */
.trial-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1 1 200px;
    max-width: 300px;
    width: 300px;
    height: 300px;
}

.card img {
    width: 150px;
    height: 150px;
    background-color: #ccc;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h2 {
    font-size: 1.1em;
    color: #b01e00;
    margin-bottom: 5px;
    white-space: nowrap;
}

.card h3 {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.card h4 {
    font-size: 1em;
    font-weight: bold;
    color: #b01e00;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

/* Responsive styling */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 100%;
    }
}

/* fourth slide */
.patron-section {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 60px;
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* Takes full available width */
    height: 400px;
}

.image-container {
    flex: 1;
    /* Take half of the width */
    max-width: 50%;
    height: auto;
    /* Maintain aspect ratio */
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
    /* Ensures the image is contained within the rounded corners */
}

.patron-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-height: 300px;
}

.text-content {
    flex: 1;
    /* Take half of the width */
    max-width: 50%;
}

.text-content h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.text-content h3 {
    font-size: 24px;
    color: #a33a11;
    /* Dark brown color */
    font-weight: 700;
    margin-top: 5px;
}

.text-content .designation {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.text-content .description {
    font-size: 14px;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
}

/* fifth slide */
/* Container for the entire section */
.section-container {
    display: flex;
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
}

/* Left side for the text */
.text-container {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

.text-container h2 {
    font-size: 1.2em;
    color: #b50000;
    /* Dark red color */
    margin-bottom: 5px;
}

.text-container h3 {
    font-size: 1.1em;
    color: #555;
    /* Gray color */
    font-style: italic;
    margin-bottom: 20px;
}

.text-container p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
    /* Darker text color */
}

/* Right side for the image */
.image-container {
    flex: 1;
    background-image: url('https://example.com/your-image.jpg');
    /* Replace with actual image URL */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    /* Text color inside the image */
}

.award-card {
    background-color: #f7f4ef;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.award-card h4 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

.award-card p {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px;
}

.award-card .award-year {
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
        height: auto;
    }

    .image-container {
        height: 200px;
    }
}

/* sixth slide */
.sixth-slide {
    background-color: #f9f7f6;
    display: flex;
    justify-content: center;
}

.objectives-section {
    display: flex;
    width: 100%;
    background-color: #fff;
    align-items: flex-start;
}

.objectives-text {
    width: 60%;
    margin: 35px;
    padding: 0px;
}

.objectives-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.objective-item {
    margin-bottom: 30px;
}

.objective-item h3 {
    font-size: 24px;
    color: #f26522;
    font-weight: 700;
}

.objective-item h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.objective-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.objectives-images {
    width: 40%;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.objectives-images img {
    width: 100%;
    height: 250px;
    /* Adjust height as needed */
    background-color: #eaeaea;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px;
    margin-top: 65px;
}

/* Offset the left image slightly higher */
.objectives-images img:first-child {
    transform: translateY(-20px);
}

/* What's New Section */
.news-ticker {
    background-color: #e5e5e5;
    padding: 10px;
    text-align: center;
}

.scrolling-news p {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Photo Gallery */
.gallery {
    padding: 20px;
    text-align: center;
}

.photo-gallery img {
    width: 150px;
    margin: 10px;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .banner-slider,
    .ncw-cells,
    .gallery {
        padding: 10px;
    }

    .photo-gallery img {
        width: 100px;
    }
}





/* Footer Styling */
footer {
    background: linear-gradient(to right, #b34700, #b34700);
    padding: 15px 30px;
    font-family: 'Arial', sans-serif;
    color: white;
    height: auto;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    margin-top: -150px;

}

.logo a:hover img {
    transform: scale(1.1);
}
@media (max-width: 850px){
    .logo a{
    
            margin-top: 5px;
    
        }
    }
.site-links {
    display: flex;
    gap: 25px;
    margin-top: 80px;
    margin-right: 200px;
}

.site-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: color 0.3s;
    margin: 10px;

}

.site-links a:hover {
    color: #ff6347;
}

.site-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff6347;
    transition: width 0.3s;
    margin: 0 auto;
}

.site-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    background-color: black;
    color: aliceblue;
    margin: 0px;
    padding: 0px;
    height: 35px;
    justify-content: center;

}

.footer-bottom p {
    color: aliceblue;
    padding: 8px;
    margin: 0px;

}

.designer {
    padding-right: 5px;

}


/* footer list */
.footer-column {
    width: 30%;
}

.footer-column h3 {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.footer-column h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 3px;
    background: red;
    margin-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-column ul li a:hover {
    color: #000;
}

.footer-bottom {
    background-color: #333; /* Dark background color */
    color: #fff; /* White text */
    text-align: center; /* Center align text */
    padding: 0px 15px;
    font-size: 14px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #1e90ff; /* Link color */
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .footer-bottom {
        font-size: 12px; /* Adjust font size */
        padding: 15px;
    }

    .footer-bottom p {
        margin-bottom: 10px;
    }

    .footer-bottom a {
        word-wrap: break-word; /* Prevent long text from overflowing */
    }
}

.scroll-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #333;
    /* Background color of the bar */
    overflow: hidden;
    /* Hide content outside the container */
    z-index: 1000;
}

/* Scrolling text */
.scroll-text {
    display: inline-block;
    color: #fff;
    /* Text color */
    font-size: 18px;
    line-height: 40px;
    white-space: nowrap;
    /* Prevent wrapping */
    animation: scroll-left 10s linear infinite;
    /* Automatic scrolling */
}

/* Keyframes for scrolling effect */
@keyframes scroll-left {
    from {
        transform: translateX(100%);
        /* Start off-screen to the right */
    }

    to {
        transform: translateX(-100%);
        /* Move off-screen to the left */
    }
}