/* File Contains

1)Sign Up Form
2)Login form
3)List property form
4)Articles folder  */

/* Default Items */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    /* --primary-color: rgb(12, 12, 133); */
    --primary-color: #001B94;
    --secondary-color: white;
     --yellow: #ffff3c;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --text-color: #495057;
    --success-color: #4caf50;
    --testimonial-light-bg: #f8f9fa;
    --testimonial-dark-text: #2c3e50;
    --testimonial-light-text: #7f8c8d;
    --testimonial-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    --background: linear-gradient(to right, rgb(12, 12, 133) 0%, rgb(76, 76, 232));
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease;
}

* {
    font-family: "Fira Sans", sans-serif;
}

.blue-color-text {
    color: var(--primary-color);
}

.bg-blue {
    background: linear-gradient(to right, rgb(12, 12, 133) 0%, rgb(76, 76, 232));
}

.text-yellow {
    color: var(--yellow);
}

.bg-footer {
    background-color: var(--primary-color);
}

.bg-yellow {
    background-color: var(--secondary-color);
}

.border-yellow {
    border: 1px solid var(--secondary-color);
}

.border-blue {
    border: 1px solid var(--primary-color);
}

.border-bottom {
    border-bottom: 2px solid var(--primary-color) !important;
}

/* Default Items End */

/* ====================================================== Navbar & Fab Button Starts ================================================= */
.navbar-main,
.navbar-scroll {
    /* background: linear-gradient(to right, rgb(12, 12, 133) 0%, rgb(76, 76, 232)); */
    background-color: #001B94;
    z-index: 99;
}

.navbar-scroll {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scroll.visible {
    transform: translateY(100px);
}

.nav-link {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.user-icon-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 15px;
    transition: all 0.3s ease;
}



.user-icon-mobile i {
    color: white;
    font-size: 1.2rem;
}

.user-icon-desktop {
    color: white;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.user-icon-desktop:hover {
    opacity: 0.8;
}

.fab-btn {
    position: fixed;
    top: 90%;
    left: 95%;
    z-index: 9999999;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 50%;
    display: none;
    /* Hide initially */
}

/* Navbar & Fab Button Ends */

/*================== Footer Section ============================*/

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.facebook {
    background-color: #1877F2;
}

.whatsapp {
    background-color: #25D366;
}

.youtube {
    background-color: #FF0000;
}

.twitter {
    background-color: #1DA1F2;
}

.likedin {
    background-color: #0077B5;
}

.footer-line {
    background-color: var(--secondary-color);
    width: 40%;
    height: 1px;
}

.footer-item-1 p {
    line-height: 15px;
}

.get-in-touch p {
    line-height: 20px;
}

/* Footer Section End */

/*========================================================= Login Form & Register Form ================================================== */

.signup-logo {
            transition: all 0.5s ease;
        }

.signup-logo:hover {
    transform: translateY(-5px);
}

.singup-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.login-main-conatiner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 30px;
    transition: all 0.3s ease;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.signin-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.link-size {
    font-size: 14px;
}

.signin-form-input,
.signin-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.signin-form-input:focus,
.signin-form-select:focus {
    outline: none;
    border-color: #001B94;
    box-shadow: 0 0 0 3px rgba(44, 106, 229, 0.2);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #001B94;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    background: #1a56c7;
    transform: translateY(-2px);
}

.login-btn:disabled {
    background: #8bb0ff;
    cursor: not-allowed;
    transform: none;
}

.otp-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #001B94;
    border: 1px solid #001B94;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.otp-btn:hover:not(:disabled) {
    background: #001B94;
    color: white;
}

.otp-btn:disabled {
    color: #6c757d;
    border-color: #ddd;
    cursor: not-allowed;
}

.text-danger {
    font-size: 14px;
    margin-top: 5px;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s forwards;
    max-width: 300px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

.toast-warning {
    background: #ffc107;
    color: #333;
}

.toast-info {
    background: #17a2b8;
}

.countdown-timer {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.form-section {
    transition: all 0.3s ease;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.otp-input-container {
    display: flex;
    width: 100%;
    gap: 10px;
    justify-content: space-between;
}

.otp-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
}

.otp-digit:focus {
    outline: none;
    border-color: #001B94;
    box-shadow: 0 0 0 3px rgba(44, 106, 229, 0.2);
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 50px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    margin: 0 10px;
    position: relative;
}

.step.active {
    background: #001B94;
    color: white;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100px;
    height: 2px;
    background: #e9ecef;
}

.step:last-child::after {
    display: none;
}

.step-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    font-size: 12px;
    white-space: nowrap;
    color: #6c757d;
}

.step.active .step-text {
    color: #001B94;
    font-weight: 500;
}

/*======================================================= List Property Form ============================================== */

.listing-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-progress:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ecf0f1;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    border: 2px solid #ecf0f1;
}


.progress-step.completed .step-number {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.progress-step.active .step-number {
    background: var(--background);
    color: white;
    border-color: var(--primary-color);
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-col {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.list-property-label {
    display: block;
    margin-bottom: 8px;
}


.list-property-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 1px;
}

.list-property-input[type="radio"] {
    display: none;
}

.list-property-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 1px;
}

.radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.radio-group .list-property-label {
    padding: 7px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
    user-select: none;
}

.radio-group input[type="radio"]:checked+label {
    background-color: var(--primary-color);
    color: white;
}

.radio-group input[type="radio"].unchecked+label {
    background-color: transparent;
    color: var(--primary-color);
}

.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-item label {
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
}

.checkbox-item input[type="checkbox"]:checked+label {
    background-color: var(--primary-color);
    color: white;
}

.number-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.number-input a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    /* background-color: var(--primary-color); */
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.number-input input {
    width: 60px;
    text-align: center;
}

.inline-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-label span {
    white-space: nowrap;
}

.list-property-btn-submit {
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color);
}

.list-property-btn-submit:hover {
    background: var(--primary-color);
    color: white;
}

.list-property-amenity-btn-submit {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.list-property-amenity-btn-submit:hover {
    background: var(--primary-color);
    color: white;
}




.success-form {
    margin-bottom: 200px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
}

.btn-prev {
    background: #ecf0f1;
    color: #7f8c8d;
}

.btn-prev:hover {
    background: #ecf0f1;
    color: #7f8c8d;
}

.btn-next {
    background: linear-gradient(to right, rgb(12, 12, 133) 0%, rgb(76, 76, 232));
    color: white;
}

.btn-next:hover {
    background: linear-gradient(to right, rgb(12, 12, 133) 0%, rgb(76, 76, 232));
    color: white;
}

.amenities-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.amenities-popup-content {
    background-color: white;
    padding: 0px 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.amenities-popup-header {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0 !important;
}

.amenities-popup-close {
    position: relative;
    left: 40px;
    bottom: 20px;
    font-size: 34px;
    cursor: pointer;
}

.amenities-popup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.view-more-btn {
    background: none;
    border: none;
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
}

.number-to-word {
    color: var(--primary-color) !important;
    font-size: 10px;
}

/* Upload Img Section  */

.file-upload-container {
    margin: 1.5rem 0;
}

.file-upload-label {
    display: block;
    color: #333;
}

.upload-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.upload-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 1.25rem;
}

.upload-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-height: 180px;
}

.upload-area:hover {
    border-color: #90cdf4;
    background-color: #f0f9ff;
}

.upload-area.active {
    border-color: var(--primary-color);
    background-color: #ebf8ff;
}

.upload-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drag-text {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.browse-text {
    font-size: 0.9375rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.file-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.upload-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.requirement-item svg {
    color: var(--primary-color);
}



/*=========================================================== Articles Page =============================================== */
.articles-hero {
    background: linear-gradient(135deg, #2a2a2e 0%, #001B94 100%);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.articles-hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
}

.articles-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.featured-article {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.featured-article img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-article-body {
    padding: 2rem;
    background-color: white;
}

.featured-article-category {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.featured-article-title {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.featured-article-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.featured-article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.featured-article-author {
    font-weight: 600;
    margin-right: 1rem;
}

.featured-article-date {
    color: #64748b;
}

.read-more-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    /* background-color: var(--primary-color); */
    border: 1px solid #001B94;
    color: #001B94;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.read-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* .articles-section {
    padding: 3rem 0;
} */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-color);
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.view-all:hover {
    text-decoration: underline;
}

.article-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 1.5rem;
}

.article-card-category {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.article-card-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-card-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.article-card-author {
    margin-right: 1rem;
    font-weight: 500;
}

/*==================================================== Article detail Page =============================================== */

.articles-hero {
    background: linear-gradient(135deg, #2a2a2e 0%, #001B94 100%);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.articles-hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
}

.articles-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.article-content {
    line-height: 1.8;
}

.article-content h2 {
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: var(--dark-color);
}

.article-content h3 {
    font-weight: 600;
    margin: 2.5rem 0 1.25rem;
    color: var(--dark-color);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2.5rem 0;
    background-color: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-image {
    width: 100%;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.highlight-box {
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    margin: 3rem 0;
}

.highlight-box h4 {
    color: var(--primary-color);
}

.sidebar-section {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.locality-list li {
    margin-bottom: 0.75rem;
}

.locality-list a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.2s;
}

.locality-list a:hover {
    color: var(--primary-color);
}

.article-table th {
    background-color: var(--primary-color);
    color: white;
}

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

.search-tag {
    display: inline-block;
    background-color: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.2s;
}

.search-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width:576px) {
    /* Basic setting */
    h1 {
        font-size: 20px !important;
    }

    h2 {
        font-size: 19px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    h4 {
        font-size: 16px !important;
    }

    h5 {
        font-size: 14px !important;
    }

    h6 {
        font-size: 12px !important;
    }

    p {
        font-size: 14px !important;
    }

    .small {
        font-size: 13px !important;
    }

    i {
        font-size: 12px !important;
    }

    span{
        font-size: 13px !important;
    }
    button{
        font-size: 13px !important;
        padding: 0px 5px 0px 5px;
    }

    a{
        font-size: 13px !important;

    }

    .realnest-logo {
        width: 100px !important;
    }
    
}

@media (min-width: 577px) and (max-width: 768px) {

     /* Basic setting */
    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    h5 {
        font-size: 16px !important;
    }

    h6 {
        font-size: 14px !important;
    }

    p {
        font-size: 15px !important;
    }

    .small {
        font-size: 14px !important;
    }

    i {
        font-size: 13px !important;
    }
    /* Home page */
    .home-flex-item{
        display: flex;
        /* justify-content: space-between; */
    }

     /* Listing page */
    .property-card img {
        min-height: 170px;
    }

    .project-view-more-btn {
        padding: 7px;
        font-size: 12px;
    }


}

@media (min-width: 769px) and (max-width: 992px) {

     /* Basic setting */
    h1 {
        font-size: 25px !important;
    }

    h2 {
        font-size: 23px !important;
    }

    h3 {
        font-size: 21px !important;
    }

    h4 {
        font-size: 19px !important;
    }

    h5 {
        font-size: 17px !important;
    }

    h6 {
        font-size: 15px !important;
    }

    p {
        font-size: 15px !important;
    }

    .small {
        font-size: 15px !important;
    }

    i {
        font-size: 13.5px !important;
    }

     /* Listing page */
    .property-card img {
        min-height: 190px;
    }

    .project-view-more-btn {
        padding: 10px !important;
        font-size: 12px;
    }

}


/* Responsive adjustments */
@media (max-width: 640px) {
    .upload-area {
        padding: 1.5rem 1rem;
    }

    .file-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
}

@media (max-width:768px) {

    .form-row {
        display: block !important;
        gap: 15px;
        margin-bottom: 15px;
    }

    .inline-label {
        display: block;
    }

    .articles-hero {
        padding: 3rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .articles-hero h1 {
        font-size: 2rem;
    }

    .featured-article img {
        height: 250px;
    }

    .featured-article-title {
        font-size: 1.5rem;
    }

    /* Article detail page */

    .articles-hero {
        padding: 3rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .articles-hero h1 {
        font-size: 2rem;
    }

    .otp-input-container {
        gap: 5px !important;
    }

    .otp-digit {
        width: 35px !important;
        height: 35px !important;
    }

}