.head ul {
    list-style: none;
    display:flex;
    font-size:large;
}

.head ul li a{
    padding-left: 10px;
    padding-right: 10px;
}
.head ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: blue;
    font-variant: small-caps;
}
nav{
    padding: 5px;
    background-color: rgb(29, 165, 228);
}
.cf{
    background-color: rgb(29, 165, 228);
    height: 57px !important;
}
.dropdown-menu{
    font-size: large;
    font-weight:500;
    background-color: rgb(29, 165, 228);
}
.dropdown:hover>.dropdown-menu {
    display: block;
  }
  
  .dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
      pointer-events: none;
  }
  nav .con ul li {
    font-size: large;
    font-weight:500;
    padding-left: 20px;
  }
  nav .con ul li a{
    position: relative;
    z-index: 1;
  }
  nav .con ul li a:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom center;
    background: rgb(20, 134, 187);
    z-index: -1;
    transition: transform 0.3s;
  }
nav .con ul li a:hover::after {
    transform: scaleY(1);
}
.card{
    height: 100%;
}

@media (min-width: 576px) {
    .carousel-item img {
        width: 100% !important;
        height: 600px;
        max-height: 600px;
    }
}

.news .card{
    height: 100%;
}
.room a{
    text-decoration: none;
}
/* .room:hover{
    background-color: rgb(187, 187, 187);
}*/




/* Card styling */
.ss .cc {
    width: 100%; /* Full width of the column */
    max-width: 300px; /* Max width for larger screens */
    min-height: 200px; /* Minimum height to show image */
  
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: height 0.3s ease-in-out;
    border: none; /* Remove default border */
}

/* Hover effect to expand card */
.ss .cc:hover {
    height: auto; /* Allow natural height to accommodate content */
    min-height: 400px; /* Ensure enough space for content */
}



/* Card image */
.ss .cc .imgContainer img.card-img {
    width: 100%;
    height: 100%; /* Fill container */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 4px;
    display: block;
}

/* Content styling */
.ss .cc .content {
    position: relative;
    margin-top: 10px; /* Space below image */
    padding: 10px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out;
}

/* Show content on hover */
.ss .cc:hover .content {
    visibility: visible;
    opacity: 1;
    margin-top: 5px;
    transition-delay: 0.2s;
}

/* Title overlay */
.card-title-overlay {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Hover zoom effect */
.hover-zoom {
    transition: transform 0.4s ease;
}
.hover-zoom:hover {
    transform: scale(1.10);
}

/* Media query for 1024px screens (e.g., 1024x600) */
@media (min-width: 768px) and (max-width: 1024px) {
    .col-lg-3 {
        flex: 0 0 50%; /* Two cards per row */
        max-width: 50%;
    }
    .ss .cc {
        max-width: 90%; /* Slightly smaller cards */
        min-height: 180px;
    }
    .ss .cc .imgContainer {
        max-width: 200px; /* Smaller image container */
        height: 120px; /* Reduced height */
    }
    .card-title-overlay {
        font-size: 0.85rem;
    }
    .ss .cc:hover {
        min-height: 350px; /* Adjust hover height */
    }
}

/* Media query for mobile screens */
@media (max-width: 576px) {
    .col-lg-3 {
        flex: 0 0 100%; /* One card per row */
        max-width: 100%;
    }
    .ss .cc {
        max-width: 100%; /* Full width */
        min-height: 160px;
        margin: 15px auto;
    }
    .ss .cc .imgContainer {
        max-width: 180px; /* Smaller image for mobile */
        height: 100px;
    }
    .card-title-overlay {
        font-size: 0.8rem;
    }
    .ss .cc:hover {
        min-height: 320px; /* Adjust hover height for mobile */
    }
}

/* Fallback for very small screens */
@media (max-width: 330px) {
    .ss .cc .imgContainer {
        max-width: 150px;
        height: 90px;
    }
}

.hover-zoom{
    transition: all .4s;
}
.hover-zoom:hover{
    transform: scale(1.10);
}

.foot a{
    text-decoration: none;
    color: black;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}
.social ul li{
list-style: none;
display: flex;
float: left;
}
.social ul li a{
    padding-left: 10px;
    padding-right: 10px;
}

footer{
    overflow-x: hidden;
}

 .logo .content {
display: flex;
float: right;
   
}
/* .fcontent{
    display: flex;
    align-items: center;
    justify-content: center;
} */