*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

p {
    max-width: 65ch;
}

html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
    background: #ffffff;
    color: #121212;
}
#header{
    width: 100%;
    height: 100vh;
    padding-top: 70px;
    background-image: url(images/hostel.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    /*background-attachment: fixed;*/
}
.container{
    padding: 10px 6%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:#262626;              /* solid black */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10%;             /* makes bar taller */
    z-index: 1000;
    border-bottom: 2px solid #000000; /* subtle accent line */
}
.logo{
    height: 36px;
    filter: brightness(1.1);
}
.logo-wrap{
    display: flex;
    align-items: center;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0px 18px;
    position: relative;
}
nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #fda800;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 20%;
    font-size: 30px;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
/* ===== ANGLED HERO RIBBON ===== */
/* ===== CLEAN LEFT-FLUSH BANNER ===== */
.bhawan-title{
    position :absolute;
    bottom: 20px;
    left: 0;

    background: linear-gradient(rgba(61, 61, 61, 0.6), #262525);
    color: #ffffff;          

    padding: 22px 50px;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    line-height: 1;
    display: inline-block;
}

/* ===== ABOUT SECTION ===== */
#about{
    padding: 80px 0;
    color: #4a4a4a;
}

.row{
    display: flex;
    justify-content: space-between;
    align-items: stretch;   /* makes both columns equal height */
    gap: 40px;
}

@media (max-width: 900px){
    .row{
        flex-direction: column;
        gap: 30px;
    }
}

/* Columns */
.about-col-1,
.about-col-2{
    display: flex;
    flex-direction: column;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-2{
    flex-basis: 60%;
    margin-bottom: 20px;
    line-height: 1.7;
}
@media (max-width: 768px){

    #about{
        padding: 60px 0;
    }

    .row{
        flex-direction: column;
        gap: 30px;
    }

    .about-col-1,
    .about-col-2{
        flex-basis: 100%;
    }

    .about-col-2{
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 600px){
    .about-col-2{
        font-size: 15px;
        line-height: 1.9;
        text-align: justify;
    }
}

/* ===== IMAGE SLIDER (LEFT COLUMN) ===== */
@media (max-width: 768px){

    .slider-image{
        min-height: 260px;
        max-height: 320px;
        border-radius: 16px;
    }

    .img-slide{
        height: 100%;
        object-fit: cover;
    }
}

.slider-image{
    height: 100%;
    min-height: 320px;                   /* MATCH height of right column */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

@media (max-width: 600px){
    .slider-image{
        min-height: 220px;
        border-radius: 14px;
    }
}

/* Images */
.img-slide{
    width: 100%;
    height: 100%;
    object-fit: cover;           /* auto-fit inside frame */
    display: none;
}

.img-slide.active{
    display: block;
}

/* Arrows */
.arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.arrow.left{ left: 14px; }
.arrow.right{ right: 14px; }

.arrow:hover{
    background: rgba(0,0,0,0.75);
}
@media (max-width: 768px){

    .arrow{
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .arrow.left{ left: 10px; }
    .arrow.right{ right: 10px; }
}


/* Dots */
.dots{
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot{
    height: 7px;
    width: 7px;
    margin: 0 5px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover{
    background: #d27c3a;
}
@media (max-width: 768px){

    .dot{
        width: 9px;
        height: 9px;
        margin: 0 6px;
    }
}

.sub-title{
    font-size: 40px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    margin-bottom: 20px;
}
@media (max-width: 600px){
    .sub-title{
        text-align: center;
    }
}

@media (max-width: 768px){

    .sub-title{
        font-size: 32px;
        margin-bottom: 16px;
        text-align: center;
    }
}

@media (max-width: 480px){

    .slider-image{
        min-height: 220px;
    }

}

/* ===== Horizontal Stats Slider ===== */
#bhawan-stats{
    background: #262626;
    padding: 100px 0;
    overflow: hidden;
}

.stats-wrapper{
    position: relative;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;    
    min-height: 420px;    
}


.stats-slider{
    align-items: stretch;
    display: flex;
    transition: transform 0.6s ease;
}

.stats-slide{
    min-width: 100%;
    flex-shrink: 0;
    text-align: center;
    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;   /* 🔥 controlled spacing */
}



.stats-slide h4{
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.8;
}
@media (max-width: 900px){
    .stats-slide{
        height: auto;
        padding: 60px 40px;
    }
}

.infra-list{
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 20px;
}

@media (max-width: 600px){
    .infra-list{
        gap: 20px;
    }
}

.infra-list li{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.infra-list i{
    font-size: 42px;
    color: #fda800;
}
@media (max-width: 900px){
    .infra-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: center;
        margin-top: 20px;
    }

    .infra-list li{
        text-align: center;
    }
}
@media (max-width: 600px){
    .infra-list{
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
@media (max-width: 900px){
    .infra-list i{
        font-size: 36px;
    }

    .infra-list span{
        font-size: 14px;
        line-height: 1.4;
    }
}
.stats-wrapper{
    touch-action: pan-y;
}

@media (max-width: 600px){
    .stats-wrapper{
        min-height: 340px;
    }

    .stats-arrow{
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

.stats-slide h1{
    font-size: 80px;
    margin: 20px 0;
    color: #fda800;
}
@media (max-width: 600px){
    .stats-slide h1{
        font-size: 48px;
    }
}

.stats-slide h2{
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 600px){
    .stats-slide h2{
        font-size: 20px;
        letter-spacing: 1px;
    }
}

.stats-slide p,
.stats-slide li{
    font-size: 16px;
    opacity: 0.85;
    margin: 8px 0;
    list-style: none;
}

.stats-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;          /* ❌ no circle */
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 20;
    padding: 0;
}

.stats-arrow.left{
    left: 0px;
}

.stats-arrow.right{
    right : 10px;
}

@media (max-width: 900px){
    .stats-arrow{
        display: flex;             
        width: 34px;
        height: 34px;
        font-size: 18px;
        opacity: 0.8;
    }

    .stats-arrow.left{
        left: 10px;
    }

    .stats-arrow.right{
        right: 10px;
    }
}

/* Mobile */
@media(max-width: 768px){
    .stats-arrow.left{ left: 10px; }
    .stats-arrow.right{ right: 10px; }

    .stats-slide h1{
        font-size: 56px;
    }
}
/* ===== HIGHLIGHTS SLIDE ONLY ===== */

.highlights-slide{
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;          /* same horizontal alignment */
    justify-content: space-between;  
    gap: 16px;    /* same vertical rhythm */
}


/* Image container */
.highlights-wrapper{
    flex: 1;
    width: 42%;   
    height: 100%;              
    max-height: 100%;            
    aspect-ratio: 16 / 7;        
    border-radius: 26px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    background: #000;
}

@media (max-width: 600px){
    .highlights-wrapper{
        width: 92%;
        aspect-ratio: 16 / 9;
    }
}

/* Images */
.highlight-img{
    width: 100%;
    height: 100%;
    object-fit: cover;          
    object-position: center;
    display: block;     
}

.highlight-img.active{
    display: block;
}

/* Dots */
.highlights-dots{
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.h-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.h-dot.active{
    background: #fda800;
    opacity: 1;
}

/* Individual highlight slide */
.highlight-item{
    position: absolute;
    inset: 0;
    display: none;
    overflow: hidden;
}

.highlight-item.active{
    display: block;
}

/* Image */
.highlight-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom gradient + text (hidden by default) */
.highlight-caption{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 14px 20px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );

    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 600px){
    .highlight-caption{
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* SHOW ONLY ON HOVER */
.highlight-item:hover .highlight-caption{
    opacity: 1;
    transform: translateY(0);
}


/* Mobile */
@media (max-width: 768px){
    .highlights-wrapper{
        width: 88%;
        aspect-ratio: 16 / 9;    /* slightly taller on phones */
        border-radius: 18px;
    }
}
@media (min-width: 1400px){
    .highlights-wrapper{
        max-width: 700px;
    }
}

/*----facilities-----*/
#facilities{
    padding: 30px 0;
}
#facilities .sub-title{
    margin-top: 50px;
    color: #000000;
    font-size: 60px;
    text-align: center;
    margin-bottom: 60px;
}
.facilities-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
}
.facilities-list div{
    background-color: #262626;
    padding : 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.facility-card{
    position: relative;
    height: 280px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
/* dark overlay */
.facility-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 30%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 0;
}

.facility-card .facility-title{
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 33px;
    font-weight: 600;
    letter-spacing: 1px;

    color: #ffffff;
    text-align: center;
    z-index: 2;

    margin: 0;              /* VERY IMPORTANT */
    padding: 0;
    white-space: nowrap;

    text-shadow: 0 4px 14px rgba(0,0,0,0.7);
}

/* bring content above overlay */
.facility-card *{
    position: relative;
    z-index: 1;
}

.facilities-list > div:not(.facility-card):hover{
    background: #d27c3a;
}

.facilities-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.facilities-list div:not(.facility-card):hover{
    background: #d27c3a;
    transform: translateY(-10px);
}

.facility-card:hover{
    background-color: transparent;
    transform: translateY(-6px);
}
.facility-card:hover::before{
    background: linear-gradient(
        to bottom,
        rgba(210,124,58,0.25),
        rgba(0,0,0,0.8)
    );
}
@media (max-width: 600px){
    .facility-card .facility-title{
        font-size: 28px;
        bottom: 16px;
    }
}

.mess{
    background-image: url(images/facilities/mess.jpg);
}

.canteen{
    background-image: url(images/facilities/canteen.png);
}

.study{
    background-image: url(images/facilities/study.png);
}

.laundry{
    background-image: url(images/facilities/laundry.png);
}

.stationery{
    background-image: url(images/facilities/stationery.jpg);
}

.juice{
    background-image: url(images/facilities/juice.png);
}
.salon{
    background-image: url(images/facilities/salon.png);
}

.visitors{
    background-image: url(images/facilities/visitors.jpeg);
}

.guest{
    background-image: url(images/facilities/guest.jpg);
}

.learn-more summary{
    cursor: pointer;
    color: #fda800;
    font-size: 14px;
    margin-top: 10px;
    list-style: none;
}

.learn-more summary::-webkit-details-marker{
    display: none;
}

.extra-info{
    margin-top: 10px;
    font-size: 13px;
    color: #ababab;
    border-top: 1px solid #333;
    padding-top: 10px;
}
@media(max-width: 900px){
    .facilities-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 600px){
    .facilities-list{
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px){
    .facility-card{
        height: 200px;
        border-radius: 14px;
    }

    .facility-card .facility-title{
        font-size: 22px;
    }
}

/*--------------team----------------*/
#team{
    padding: 50px 0;
}
#team .sub-title{
    color: #000000;
    font-size: 60px;
    text-align: center;
    margin-bottom: 60px;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
    justify-items: center;
}
.work{
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    text-align: center;
}
.work-info{
    margin-top: 10px;
}
.work-info .role{
    font-size: 20px;
    font-weight: 500;
    color: #4a4a4a;
    letter-spacing: 0.5px;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.img-wrap{
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.layer{
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #d27c3a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    font-size: 14px;
    /* Bottom → Top animation */
    transform: translateY(100%);
    transition: transform 0.45s ease;
}

@media(max-width: 600px){
    .layer{
        font-size: 13px;
        padding: 20px;
    }

    .layer .name{
        font-size: 18px;
    }
    .work-info .role{
        font-size: 16px;
    }
}

@media(max-width: 600px){
    .work-info .role{
        font-size: 16px;
    }
}

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #d27c3a;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.role{
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.name{
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 22px;
    font-weight: 600;
}
.work:hover .role{
    color: #000000;
}
.img-wrap:hover .layer{
    transform: translateY(0);
}

@media (hover: none){
    .img-wrap .layer{
        transform: translateY(0);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .img-wrap:active .layer{
        opacity: 1;
    }
}

.img-wrap:hover img{
    transform: scale(1.05);
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #d27c3a;
    background-color:#262626;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    transition: background 0.5s;
}
.btn:hover{
    background: #d27c3a;
}

@media (max-width: 600px){
    .feedback-btn{
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media(max-width: 900px){
    .work-list{
        grid-template-columns: repeat(2, 1fr);
        gap:30px;
    }
}

@media(max-width: 600px){
    .work-list{
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px){
    .work{
        max-width: 260px;
    }
}

/*-------contact--------*/
/* ===== Contact Section (Map Layout) ===== */

#contact{
    background:#262626;   /* deep institute blue */
    padding: 60px 0;
}

.contact-container{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-left .sub-title{
    color: #fff;
    margin-bottom: 30px;
}

.contact-block p{
    color: #d5dbe5;
    font-size: 16px;
    line-height: 1.8;
}
.contact-row{
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
}

.contact-row i{
    width: 22px;          /* makes all icons align */
    font-size: 18px;
    color: #fda800;
    text-align: center;
    flex-shrink: 0;
}

.contact-text{
    color: #d5dbe5;
    font-size: 16px;
    line-height: 1.7;
}

.contact-info{
    margin-top: 30px;
}

.contact-info p{
    color: #fff;
    font-size: 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-link {
    color: #ffffff;
    text-decoration: none;
}

.contact-link:hover {
    color: #fda800;
    text-decoration: underline;
}

.contact-left i {
    color: #fda800;
    margin-right: 12px;
    font-size: 18px;
}

.contact-info i{
    color: #fda800;
    font-size: 18px;
}
.contact-info p {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    margin: 14px 0;
}

.contact-info i {
    width: 22px;              /* forces same icon width */
    font-size: 18px;          /* uniform size */
    color: #fda800;
    text-align: center;       /* centers icon inside width */
    flex-shrink: 0;
}
.iglogo i {
    font-size: 23px;
    color: #fda800;
}
/* Instagram text behaves like a link */
.iglogo + span {
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover effect like email & phone */
.iglogo + span:hover {
    color: #fda800;
    text-decoration: underline;
}

.feedback-btn{
    margin-top: 30px;
    display: inline-block;
}


.quick-links{
    margin-top: 30px;
}

.quick-links a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.quick-links a:hover{
    text-decoration: underline;
}

.contact-right iframe{
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 420px;   /* key line */
    border: none;
    border-radius: 20px;
}

@media (max-width: 600px){
    .contact-right iframe{
        min-height: 260px;
        max-height: 300px;
        border-radius: 16px;
    }
}

@media (max-width: 600px){
    .contact-text,
    .contact-link{
        font-size: 15px;
    }
    .contact-left{
        text-align: center;
    }

    .contact-row{
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 900px){
    .contact-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-right iframe{
        height: 300px;
    }
}

@media (hover: none){
    .facility-card:active{
        transform: scale(0.97);
    }
}

/*---------CSS for small screen-----------*/
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        height: 100vh;
        min-height: 520px;
        background-position: center top;
        background-image: url(images/mobile.png);
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    .bhawan-title{
        font-size: 26px;
        padding: 14px 24px;
        bottom: 24px;
        letter-spacing: 1px;
        max-width: 90%;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #d27c3a;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 70px;
        z-index: 2000;
        transition: right 0.4s ease;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    nav {
        padding: 12px 6%;
    }

    .logo {
        height: 30px;
    }

}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}

/* ===== FACILITY MODAL ===== */
.facility-modal{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 3000;
    overflow-y: auto;
}

.facility-modal-content h2{
    margin-bottom: 16px;
    font-size: 32px;
    color: #fda800;
}

.facility-modal-content{
    background: #262626;
    color: #fff;

    max-width: 900px;     /* ⬅ increased */
    width: 92%;

    margin: auto;
    margin-top: 6vh;

    padding: 40px;
    border-radius: 22px;
    position: relative;
}
@media (max-width: 600px){
    .facility-modal-content{
        width: 94%;
        padding: 24px;
        margin-top: 4vh;
    }
}

.facility-modal-content p{
    line-height: 1.8;
    font-size: 15px;
    color: #e5e5e5;
}

.facility-modal-content p strong{
    color: #fda800;
}

.facility-close{
    position: absolute;
    right: 22px;
    top: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
}
.facility-close:hover{
    color: #fda800;
}
.modal-body{
    display: grid;
    grid-template-columns: 1fr 1.3fr;  /* ⬅ image gets more width */
    gap: 36px;
    margin-top: 24px;
    align-items: center;              /* ⬅ vertical alignment fix */
}

@media (max-width: 600px){
    .modal-body{
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.modal-right img{
    width: 100%;
    height: 100%;
    max-height: 320px;        /* ⬅ controls image height */
    object-fit: cover;        /* ⬅ no stretching */
    border-radius: 18px;
}

@media (max-width: 600px){
    .modal-right img{
        max-height: 220px;
    }
}

.modal-section{
    margin-top: 16px;
}

.modal-section h4{
    color: #fda800;
    margin-bottom: 6px;
    font-size: 15px;
}
@media(max-width: 700px){
    .facility-modal-content{
        padding: 26px;
    }

    .modal-body{
        grid-template-columns: 1fr;
    }

    .modal-right img{
        max-height: 240px;
    }
}
#additionalSection{
    background: rgba(253,168,0,0.12);
    border-left: 4px solid #fda800;
    padding: 12px 14px;
    border-radius: 6px;
}

/* ===== SECURITY SECTION ===== */
#security{
    padding: 80px 0;
    background: #f8f8f8;
}

.section-intro{
    font-size: 17px;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.7;
}

@media (max-width: 600px){
    .section-intro{
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.security-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 900px){
    .security-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .security-grid{
        grid-template-columns: 1fr;
    }
}

.security-card{
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.security-card i{
    font-size: 48px;
    color: #d27c3a;
    margin-bottom: 20px;
}

.security-card h3{
    font-size: 20px;
    color: #262626;
    margin-bottom: 14px;
    font-weight: 600;
}

.security-card p{
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ===== HEALTH & FITNESS SECTION ===== */
#health-fitness{
    padding: 80px 0;
    background: #262626;
}

#health-fitness .sub-title{
    color: #fff;
}

#health-fitness .section-intro{
    color: #ccc;
}

.fitness-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 1100px){
    .fitness-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .fitness-grid{
        grid-template-columns: 1fr;
    }
}

.fitness-card{
    background: #333;
    padding: 40px 25px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid #444;
}

.fitness-card:hover{
    transform: translateY(-6px);
    background: #3a3a3a;
    border-color: #d27c3a;
}

.fitness-card i{
    font-size: 44px;
    color: #fda800;
    margin-bottom: 20px;
}

.fitness-card h3{
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.fitness-card p{
    font-size: 14px;
    color: #bbb;
    line-height: 1.7;
}

/* ===== BOOKING LINK BUTTON ===== */
.booking-link-btn{
    display: inline-block;
    background: #d27c3a;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.booking-link-btn:hover{
    background: #fda800;
    transform: translateY(-2px);
}