.Homepage{
    width:100%;
    height:550px;
    overflow:hidden;
}

.slider-img{
    height:550px;
    object-fit:cover;
}

/* Use CSS transform instead of pseudo-element for better performance */
.carousel-item::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    pointer-events:none;
    z-index:1;
}

.custom-caption{
    top:0;
    bottom:0;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    z-index:2;
}

.custom-caption h2{
    font-size:clamp(24px, 5vw, 45px);
    font-weight:700;
}

.custom-caption p{
    font-size:clamp(14px, 2vw, 18px);
    margin-bottom:20px;
}

.custom-caption .btn{
    padding:10px 25px;
}

/* Aboutsection start */
.Aboutsection{
    width:100%;
    padding:40px 0;
    background:#f8f9fa;
}

.Aboutus{
    text-align:center;
    margin-bottom:50px;
}

.Aboutus h1{
    text-transform:uppercase;
    font-size:clamp(24px, 4vw, 34px);
    color:#ae2526;
    margin-bottom:10px;
    font-weight:700;
}

.Aboutcontainer{
    overflow:hidden;
    border-radius:12px;
}

.Aboutcontainer img {
    width:71%;
    height:auto;
    max-height:485px;
    object-fit:cover;
    border-radius:12px;
    transition:transform 0.5s ease;
    box-shadow:0 10px 25px #ae2526;
}

.Aboutcontainer img:hover {
    transform:scale(1.05);
}

.Abouttext{
    padding:20px 30px;
}

.Abouttext h2{
    font-size:clamp(24px, 4vw, 34px);
    color:#222;
    margin-bottom:10px;
    font-weight:700;
}
.Abouttext h3{
    color:#222;
    
}
.Abouttext h5{
    color:#ae2526;
    margin-bottom:18px;
    font-weight:600;
}

.Abouttext p{
    font-size:16px;
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
}

.Abouttext .btn{
    margin-top:10px;
    padding:10px 28px;
    font-size:16px;
    border-radius:6px;
}


/* Image full width */
.Aboutcontainer img{
    width:70%;
    max-height:100%;
}
}


.Abouttext h2{
    font-size:clamp(24px, 4vw, 34px);
    color:#222;
    margin-bottom:10px;
    font-weight:700;
}

.Abouttext h5{
    color:#ae2526;
    margin-bottom:18px;
    font-weight:600;
}

.Abouttext p{
    font-size:16px;
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
}

.Abouttext .btn{
    margin-top:10px;
    padding:10px 28px;
    font-size:16px;
    border-radius:6px;
}


/* =========================
   Mobile Responsive
========================= */

@media (max-width:992px){

.Aboutcontainer img{
    width:100%;
}

.Abouttext{
    padding:20px;
}

}




}
/* Gallery section */
.gallery-section{
    background:#f3f3f3;
    padding:50px 0;
    margin-top:40px;
}

.gallery-container{
    width:90%;
    margin:auto;
}

.gallery-title{
    text-align:center;
}

.gallery-title h1{
    font-size:clamp(24px, 4vw, 34px);
    color:#ae2526;
    margin-bottom:10px;
    text-transform:uppercase;
}

.gallery-title img{
    width:120px;
    max-width:100%;
    height:auto;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    position:relative;
}

.gallery-item{
    position:relative;
    z-index:2;
}

.gallery-item img{
    width:100%;
    height:240px;
    object-fit:cover;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    transition:transform 0.4s ease;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-btn{
    text-align:center;
    margin-top:50px;
}

.view-btn{
    background:#0a3d62;
    color:#fff;
    padding:12px 30px;
    border-radius:30px;
    text-decoration:none;
    font-size:16px;
    transition:background 0.3s ease;
    display:inline-block;
}

.view-btn:hover{
    background:#082c48;
}

/* Recognized section */
.recognized-section{
    background:#e7f0f9;
    padding:40px 20px;
    margin-top:50px;
}

.container-recognized{
    max-width:1100px;
    margin:auto;
    text-align:center;
}

.recognized-title{
    color:#0a3d62;
    font-size:clamp(20px, 3vw, 28px);
    font-weight:600;
    margin-bottom:30px;
}

.recognized-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap: 35px;
    margin-bottom: 50px;
    margin-top: 40px;
}

.recognized-item{
    background:#fff;
    padding:10px 25px;
    border-radius:40px;
    font-weight:600;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    transition:all 0.3s ease;
}

.recognized-item:hover{
    background:#ae2526;
    color:#fff;
    transform:translateY(-3px);
}

.recognized-link a{
    color:#0a3d62;
    font-weight:500;
    text-decoration:none;
}

.recognized-link a:hover{
    text-decoration:underline;
    color:#ae2526;
}


/* Facilities Section */
.facilities-section{
    width:100%;
    padding:60px 20px;
    background:#f7f7f7;
}

.facilities-container{
    max-width:1200px;
    margin:auto;
}

/* Title */
.facilities-title{
    text-align:center;
    margin-bottom:40px;
}

.facilities-title h2{
    font-size:32px;
    margin-bottom:10px;
}

.facilities-title img{
    width:80px;
}

/* Grid Layout */
.facilities-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

/* Card Design */
.facility-card{
    background:#fff;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
    overflow:hidden;
    text-align:center;
    transition:0.4s;
    padding-bottom:20px;
}

.facility-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.facility-card h3{
    background:#ae2526;
    color:#fff;
    padding:12px;
    font-size:18px;
}

.facility-card img{
    width:100%;
}

.facility-card p{
    padding:15px;
    font-size:15px;
    line-height:24px;
}

/* Button */
.facility-btn{
    text-decoration:none;
    background:#ae2526;
    color:#fff;
    padding:8px 18px;
    border-radius:5px;
    font-size:14px;
}

.facility-btn:hover{
    background:#000;
}

/* View All Button */
.facilities-viewall{
    text-align:center;
    margin-top:40px;
}

.facilities-viewall a{
    background:#0a3d62;
    color:#fff;
    padding:12px 40px;
    border-radius:40px;
    text-decoration:none;
}

/* Responsive */
@media(max-width:992px){
    .facilities-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .facilities-grid{
        grid-template-columns:1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .Aboutcontainer img {
        width: 100%;
    }
    
    .hello {
        flex-direction: column;
        text-align: center;
    }
    
    .header ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

