/* ============================= */
/* MAIN CARD WRAPPER */
/* ============================= */
.ravi-apartment-wrapper {
  
    display: flex;
    align-items: stretch;
    overflow: hidden;
    gap: 20px !important;
    margin-bottom: 40px;

}

.ravi-slider,
.ravi-slider .slick-list,
.ravi-slider .slick-track,
.ravi-slider .slick-slide,
.ravi-slider .slick-slide > div,
.ravi-slide {
    width: 100%;
    height: 420px !important;
}


.ravi-left {
    width: 35%;
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 420px;
}


/* Slider */
.ravi-slider {
     width: 100%;
    height: 420px !important;
	border-radius:10px !important;
}

/* Slide */
.ravi-slide {
  /* height: 420px;*/
	overflow: hidden;
}

/* Image */
.ravi-slide img {
    width: 100%;
    height: 420px !important;
    object-fit: cover;
    display: block;
	border-radius:10px !important;
}

/* VIEW ALL BUTTON */
.ravi-view-all {
    position: absolute;
    bottom: 40px;
    left: 18px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.ravi-view-all:hover {
    background: rgba(0,0,0,0.8);
}


/* ============================= */
/* RIGHT CONTENT */
/* ============================= */
.ravi-right {
    width: 65%;
    display: flex;
    flex-direction:column;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    /*align-items: stretch;*/
}


/* ============================= */
/* TABLE */
/* ============================= */
.ravi-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 10px !important;
}

/* HEADER */
.ravi-table thead {
    background: #fafbfc;
}

.ravi-table th {
    padding: 12px 10px;
    font-weight: 600;
    color: #444;
    font-size: 12px;
    /*border-bottom: 1px solid #eee;*/
	border:none !important;
}



/* BODY */
.ravi-table td {
    padding: 10px 8px;
    font-size: 11px;
    color: #555;
    border-bottom: 1px solid #f2f2f2;
	border:none !important;

}

/* ROW STYLE */
.ravi-table tbody tr {
    transition: all 0.2s ease;
}

.ravi-table tbody tr:hover {
    background: #f9fbff;
}

/* LAST COLUMN ALIGN */
.ravi-table td:last-child {
    text-align: right;
}

/* PRICE STYLE */
.ravi-table td:nth-child(6) {
    font-weight: 600;
    color: #111;
}


/* ============================= */
/* OCCUPANCY ICON */
/* ============================= */
.ravi-user {
    color: #0077ff;
    margin-right: 2px;
    font-size: 14px;
}


/* ============================= */
/* BUTTON (PRO STYLE) */
/* ============================= */
.ravi-reserve-btn {
    background: #0c2937;
    color: #ffffff;
    border: none;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* HOVER → LIGHT ORANGE */
.ravi-reserve-btn:hover {
    background: #e29d69;
    color: #000;
    transform: translateY(-1px);
}


/* ============================= */
/* MODAL */
/* ============================= */
.ravi-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
}

.ravi-modal-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    margin: 80px auto;
    border-radius: 12px;
}


/* ============================= */
/* SLICK DOTS */
/* ============================= */
.slick-dots {
    bottom: 12px;
}

.slick-dots li button:before {
    color: #ffffff;
    font-size: 8px;
    opacity: 0.6;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Hide arrows */
.slick-prev,
.slick-next {
    display: none !important;
}

/* ============================= */
/* MODAL BACKDROP */
/* ============================= */
.ravi-modal {
    display: none;   /* ✅ IMPORTANT */
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
}
.ravi-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DARK BACKGROUND */
.ravi-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
}

/* MODAL CONTENT */
.ravi-gallery-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 60px auto;
    z-index: 2;
    background: transparent;
}

/* CLOSE BUTTON */
.ravi-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}
.ravi-modal-close:hover {
    color: #000;
}


/* ============================= */
/* GALLERY SLIDER */
/* ============================= */
.ravi-gallery-slider {
    width: 100%;
}

.ravi-gallery-slider img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* ARROWS */
.ravi-gallery-slider .slick-prev,
.ravi-gallery-slider .slick-next {
    z-index: 10;
}

.ravi-gallery-slider .slick-prev {
    left: 10px;
}

.ravi-gallery-slider .slick-next {
    right: 10px;
}

/* DOTS */
.ravi-gallery-slider .slick-dots li button:before {
    color: #fff;
}

/* ============================= */
/* DETAILS MODAL */
/* ============================= */
.ravi-details-content {
    width: 95%;
    max-width: 720px;
    max-height: 90vh;              
    overflow-y: auto;             
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    position: relative;

    animation: fadeUp 0.3s ease;
}

.ravi-details-content h2 {
    font-size: 22px;
    margin-bottom: 18px;
}

/* GRID */
.ravi-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ravi-field.full {
    grid-column: span 2;
}

.ravi-field label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}


.ravi-field input,
.ravi-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ravi-field input:focus,
.ravi-field select:focus {
    border-color: #000;
    outline: none;
}

/* BUTTON */
.ravi-confirm-btn {
    margin-top: 18px;
    width: 100%;
    height: 46px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ravi-confirm-btn:hover {
    background: #ffb347;
    color: #000;
}
/* DETAILS MODAL FIX */
#ravi-details-modal {
    display: none;
}

/* ONLY ONE BACKDROP */
#ravi-details-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

/* CONTENT ALWAYS ABOVE */
.ravi-details-content {
    position: relative;
    z-index: 2;
    background: #fff;
}
.ravi-details-content {
    animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.ravi-summary-box {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.ravi-summary-box p {
    margin: 0;
}

.ravi-details-content::-webkit-scrollbar {
    width: 6px;
}
.ravi-details-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
/* ============================= */
/* PHONE GROUP (FIXED 🔥) */
/* ============================= */
.ravi-phone-group {
    display: flex;
    gap: 8px;
}

.ravi-phone-group select {
    width: 35%;
}

.ravi-phone-group input {
    width: 65%;
}
.ravi-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafc;
    border: 1px solid #eee;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
}

.ravi-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #000;
}
.ravi-slider {
    opacity: 0;
}

.ravi-slider.slick-initialized {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

    .ravi-field.full {
        grid-column: span 1;
    }

    .ravi-summary-box {
        grid-template-columns: 1fr;
    }
}
.h2-class{
font-family: "Main font", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0.2px;
    color: #0D2937;
	
}

.ravi-table-scroll {
    width: 100%;
}

@media (max-width: 767px) {
    .ravi-apartment-wrapper {
        display: block;
        gap: 0 !important;
        overflow: visible;
    }

    .ravi-left,
    .ravi-right {
        width: 100%;
        display: block;
    }

    .ravi-left {
        margin-bottom: 15px;
    }

    .ravi-slider,
    .ravi-slider .slick-list,
    .ravi-slider .slick-track,
    .ravi-slider .slick-slide,
    .ravi-slider .slick-slide > div,
    .ravi-slide,
    .ravi-slide img {
        height: 260px !important;
    }

    .ravi-right {
        overflow: visible !important;
    }

    .ravi-table-scroll {
        display: block;
        width: 100%;
        max-width: 100vw;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }

    .ravi-table {
        width: max-content;
        min-width: 720px;
        table-layout: auto;
    }

    .ravi-reserve-btn {
        white-space: nowrap;
    }
}