body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

.toggle-btn {
    width: 50px;
    height: 25px;
    background: red;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.toggle-circle {
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.logo-text {
    color: white;
    font-weight: bold;
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: #4d6189;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 20px;
    height: 2px;
    background: purple;
}

.hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #98321d;
    opacity: 0.8;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    padding: 0 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1 1 60%;
    min-width: 250px;
}

.hero-left h1 {
    font-size: 50px;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-left p {
    font-size: 20px;
    margin-bottom: 0;
}

.live-badges {
    background: linear-gradient(90deg, rgba(211, 25, 30, 1), rgba(247, 180, 86, 0.736) 97%);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    padding: 5px 10px;
    margin-left: 10px;
}

.live-badges .fa-bolt {
    height: 12px;
    width: 12px;
    margin-right: 5px;
}

.hero-right {
    flex: 1 1 35%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-width: 250px;
    margin-top: 20px;
}

.view-buttons {
    display: flex;
    gap: 10px;
    margin-top: -40px;
    margin-right: 80px;
    z-index: 1;
    background-color: aliceblue;
    padding: 10px;
    border-radius: 8px;
}

.view-buttons button {
    padding: 10px 30px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.list-view-btn {
    background-color: #e75230;
    color: white;
}

.map-view-btn {
    background-color: #f9eceb;
    color: #9b1c1c;
}

.container {
    padding: 30px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

.containers {
    padding: 30px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.service-card,
.service-card-bhakta {
    width: 100%;
    max-width: 47%;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.service-card h5,
.service-card-bhakta h5 {
    font-weight: 400;
    color: #3e1d6e;
    margin: 12px 0;
    font-size: 16px;
}

.service-info {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.info-line {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.property-offer-section strong {
    font-weight: bold;
    font-size: 17px;
    display: block;
    margin-bottom: 5px;
}

.address-block strong {
    font-weight: bold;
    font-size: 17px;
}

.address-block {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 120px;
}

.property {
    height: 120px;
}

.address-text {
    display: block;
    margin-top: 4px;
    color: #444;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    width: 155px;
}

.btns {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btns-info {
    background: linear-gradient(to right, #ffa500, #ff69b4);
    color: white;
    font-weight: bold;
}

.icon {
    margin-right: 6px;
    color: #333;
}

/* Phone Button Box */
.phone-box {
    border: 1px solid #ccc;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: black;
}


/* ✅ Image Section and Thumbnails */
.image-section {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.main-display-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.thumbnail-section {
    display: flex;
    flex-wrap: nowrap;
    /* ensures they stay in a row */
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    margin-bottom: 15px;
    scrollbar-width: thin;
    /* Firefox */
}

.thumbnail-section::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-section::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.4);
    border-radius: 10px;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.thumbnail:hover {
    border-color: #98321d;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-line {
        font-size: 12px;
        color: #333;
    }

    .address-text {

        font-size: 12px;

    }

    .service-grid {
        flex-direction: column;
        gap: 20px;
    }

    .service-card,
    .service-card-bhakta {
        max-width: 100%;
    }

    .thumbnail-section {
        gap: 10px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .address-block {
        height: 80px;
    }

    .property {
        height: 80px;
    }
}