html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.box{
    display:flex;
    flex-direction:row;
}

.row1{
    display:flex;
    flex-direction:row;
}

.section1 {
    display: flex;
    flex-direction: row;
    background-color:#e1cfcfc7;
    padding:7px;
    width:100%;
    border-radius:4px;
   
}

.section1 img {
    width: 18rem;
}

.inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 600px;
    justify-content: center; /* Vertical centering */
    align-items: center; /* Horizontal centering */
    text-align: center;
}

.classItem {
    background-color: #a5dce3;
    /*   #fafafa;*/
}

.classBtns {
    padding-left: 10px;
    max-width: 80%;
    display: flex;
    flex-direction: row;
   /* flex-wrap: wrap;*/
    gap: 1em;
   /* justify-content: center;*/
}

@media only screen and (max-width: 991px) {
    .classBtns {
        padding-left: 10px;
        max-width: 80%;
        display: flex;
        flex-direction: column;
    }
}

.container_main {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom:500px;
}

@media only screen and (max-width: 991px) {
    main {
        height: auto;
    }
}

    header {
        margin-bottom: 10px;
        background: #4c5c7e;
    }

    .row4 {
        display: flex;
        flex-wrap:wrap;
        flex-direction: row;
        justify-content: space-around;
        gap: 2em;
    }

    @media only screen and (max-width: 991px) {
        .row4 {
            flex-direction: column;
        }
    }

    /*changed css*/
    .image-wrapper {
        position: relative;
        width: 100%;
        max-width: 600px; /* Optional: control image size */
    }

        .image-wrapper img {
            width: 100%;
            height: auto;
            display: block;
        }

    .inner {
        /*  position: absolute;
    bottom: 0;
    left: 0;
*/ width: 100%;
        background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
        border-left: 5px solid #007bff; /* Left border */
        padding: 15px;
        box-sizing: border-box;
    }


    #Table1 {
        margin-top: 50px;
    }

        #Table1 td {
            padding: 5px;
            border: 1px solid #ccc;
        }

    main {
        height:  100%;
        padding-bottom:200px;
    }

.favorite-img {
    margin: 10px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.row4 img{
    width:300px;
    border-radius:20px;
}

.nameplace-btn {
    display: inline-block;
    background-color: #fbd9cf; /* Light green */
    color: #000;
    padding: 3px 12px;
    border-radius: 5px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
    margin-top:7px;
}

.classraiting{
    display:flex;
    gap:1em;
    flex-direction:row;
    justify-content:space-around;
   
}
/*New disain Villas*/
.villa-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s ease;
}

    .villa-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

.villa-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .villa-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.villa-body {
    padding: 20px;
}

.villa-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.place-badge {
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
}

.villa-info {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

    .villa-info div {
        margin-bottom: 6px;
    }

.villa-buttons {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/*  table style 05042026*/
.form-group {
    display: grid;
    grid-template-columns: 160px auto; /* label | input */
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.form-group label {
    text-align: right;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 220px; /* fixed smaller width */
    padding: 4px 6px;
    font-size: 14px;
   
}

.form-section {
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
}
/* Make date inputs same size */
.form-group input[type="date"] {
    width: 180px;
}


    .form-section legend {
        padding: 0 6px;
        font-weight: bold;
    }

.form-summary {
    margin-top: 10px;
}
