.container{

    width:90%;
    max-width:1200px;
    margin:auto;
    padding:70px 0;

}

.gallery-hero{

    height:400px;

    background:linear-gradient(rgba(5,20,45,.78),
    rgba(5,20,45,.78)),
    url("/static/images/gallery-banner.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

}

.gallery-overlay h1{

    font-size:52px;

    margin-bottom:20px;

}

.gallery-overlay p{

    max-width:850px;

    margin:auto;

    font-size:20px;

    line-height:1.8;

}

.section-title{

    text-align:center;

    color:#ffffff;

    margin-bottom:50px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.gallery-card{

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.gallery-card:hover{

    transform:translateY(-8px);

}

.gallery-card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.gallery-info{

    padding:20px;

}

.gallery-info h3{

    text-align:center;

    color:#0b3d91;

}

@media(max-width:768px){

.gallery-overlay h1{

font-size:40px;

}

.gallery-grid{

grid-template-columns:1fr;

}

}