.top-image {
    background: url('/img/real-estate/real-estate-bg.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
   /* height: calc(100vh - 17vh);*/
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.main-heading{
    font-size: 50px;
    font-weight: 900;
}

.first-section {
    /*background-image: url('/img/tradingPage/trading_white_backgrond.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.border-end:nth-child(4),
.border-end:nth-child(8) {
    border-right: 0 !important;
}

.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100% !important;
}
.card .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.card h5 {
    font-weight: bold;
}
.card p {
    color: #6c757d;
}

table {
    width: 100%;
    border-collapse: collapse;
}
thead th {
    position: sticky;
    top: 0;
    background-color: #f1f1f1;
    z-index: 1;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.feature-icon {
    font-size: 1.5rem;
    color: #28a745;
}
.category-icon {
    font-size: 1.5rem;
    color: #007bff;
}

/* Container Styles */
.info-container {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
    padding: 20px;
}

/* Header Styles */
.info-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.info-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.info-header h1 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 5px;
    position: relative;
}

.info-header p {
    opacity: 0.9;
    font-size: 16px;
    position: relative;
}

/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table thead {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.info-table th {
    padding: 18px 20px;
/*    color: white;*/
    font-weight: 600;
    text-align: left;
    position: relative;
}

.info-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.info-table tbody tr {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.info-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.info-table tbody tr:hover {
    background-color: #e8f4fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-table td {
    padding: 16px 20px;
    color: #2c3e50;
}

.info-table .number-cell {
    font-weight: 600;
    text-align: center;
    width: 60px;
}

.info-table .action-cell {
    width: 180px;
}

/* Button Styles */
.btn {
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 3px 8px rgba(46, 204, 113, 0.3);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn-view:active {
    transform: translateY(0);
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* PDF Modal Styles */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.pdf-modal.active {
    display: flex;
}

.pdf-modal-content {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pdf-modal-header {
    padding: 15px 20px;
    background: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-title {
    font-weight: 600;
    font-size: 18px;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pdf-viewer-container {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pdf-notice {
    text-align: center;
    padding: 20px;
    background: #fff8e1;
    border-top: 1px solid #ffecb3;
    color: #5d4037;
    font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-table thead {
        display: none;
    }

    .info-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }

    .info-table td {
        display: block;
        text-align: right;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .info-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #3498db;
    }

    .info-table td:last-child {
        border-bottom: none;
    }

    .info-footer {
        flex-direction: column;
        gap: 15px;
    }

    .pdf-modal-content {
        width: 95%;
        height: 95%;
    }
}
/* --- Overlay background when panel is open --- */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 998;
}

/* --- Side panel container --- */
#pdfMainContainer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transition: right 0.4s ease;
    z-index: 999;
    padding: 15px;
}

#pdfMainContainer.active {
    right: 0;
}

#pdfContainer {
    padding: 10px;
    text-align: center;
}

/*
.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.btn:hover {
    background: #0056b3;
}*/
