*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size:cover;
}

html,body{
    scroll-behavior: smooth;
    overflow-x: hidden;
}           
.my-custom-nav{
    background-image:linear-gradient( to right, rgba(211, 1, 1, 0.319),rgba(25, 156, 5, 0.254)); ;
}
.navbar-1{
    gap: 50px;
}
.navlinks{
    text-decoration: none;
    width: 120px;
    text-align: center;
    border-radius: 10px;
    transition: 0.8s;
    box-shadow: inset 5px 5px 10px #a4090977, inset -5px -5px 10px #32a71b7e
}
.navlinks:hover{
    transform: scale(1.1);
    transition: 0.5s;
}
.War-Section{
    display: flex;
    flex-direction: row;
    padding: 40px 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: url(./src/card-image/LiberationWarmuseum\ .jpg);
    gap: 50px;
    flex-wrap: wrap;
}
.war-text{
    margin-left: 50px;
    flex: 2;
    background-image: linear-gradient(to left ,rgba(255, 0, 0, 0.413),rgba(0, 128, 0, 0.427));
    border-radius: 10px;
    padding: 30px 0px;
    color: antiquewhite;
    font-size: 15px; 
    min-width: 300px;
    box-shadow: inset 5px 5px 10px #a9a9aa77, inset -5px -5px 10px #8688e17e
}

.img-container {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.sectlion{
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    
}

.sectlion select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.Documents{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 10px;
}

.card{
    transition: 0.5s;
}

.card:hover{
    transform: translateY(+5px);
}

.documents {
    padding: 30px 20px;
}

.documents h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #006a4e;
}

.doc-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.doc-card:hover {
    transform: translateY(-5px);
}

/* Card */
.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
    width: 360px;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 8px;
}

.meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.audio{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.blogs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 0 10px;
}

.blogs iframe{
    max-width: 100%;
}

/* Header */
h1 {
    text-align: center;
    padding: 20px;
}

/* Category Section */

.category h2 {
    margin-bottom: 15px;
    border-left: 5px solid #c0392b;
}

/* Grid Layout */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Image Card */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Zoom Effect */
.card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Download Button */
.download {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .card img {
        height: 180px;
    }
}

footer {
    background: rgb(44, 42, 42);
    color: #ffffff;
    text-align: center;
    padding: 30px 0px;
    font-size: 14px;
}




@media (max-width: 992px) {
    .War-Section {
        flex-direction: column;
    }
    .war-text {
        margin-left: 0;
    }
}


@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-1 {
        gap: 10px;
    }

    .navlinks {
        width: 80px;
        font-size: 14px;
    }

    .war-text {
        padding: 15px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 24px ;
    }
}
@media (max-width: 991px) {
    .navbar-1 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 20px;
    }
    
    .navlinks {
        width: 100%; 
    }
}