body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #ffedf6;
}

.header {
    background-color: #be206b;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons button {
    padding: 10px 15px;
    border: none;
    background-color: white;
    color: black;
    cursor: pointer;
    font-size: 16px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
    border-radius: 6px;
}

.header-buttons button:hover {
    background-color: #b90f5f;
}

.section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.left-content,
.right-content {
    width: 100%;
    margin-bottom: 20px;
}

.left-content {
    max-width: 100%;
}

.left-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.left-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.search-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar select,
.search-bar input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.search-bar button {
    padding: 10px 20px;
    background-color: #be206b;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

.search-bar button:hover {
    background-color: #b90f5f;
}

.right-content {
    max-width: 100%;
}

.right-content img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .section {
        flex-wrap: nowrap;
    }

    .left-content,
    .right-content {
        width: 48%;
        margin-bottom: 0;
    }

    .search-bar {
        flex-direction: row;
        gap: 10px;
    }
}

.cities-section {
    padding: 20px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cities-section h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: start;
}

.city-item {
    flex: 1 1 calc(8% - 0px);
    background-color: #be206b;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s;
}

.city-item:hover {
    background-color: #b90f5f;
}

.city-item i {
    font-size: 24px;
    margin-bottom: 10px;
}

.city-item span {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .city-item {
        flex: 1 1 calc(30% - 10px);
    }
    .cities-section {
    padding: 20px 20px;
    background-color: #fff;
    margin: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: white;
    margin: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.categories-section {
    padding: 20px 20px;
    background-color: #fff;
    margin: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0px;
    }

    .image-grid {
        display: grid !important;
        gap: 20px;
    }

    .left-content h2 {
        font-size: 27px;
        margin-bottom: 10px;
        color: #332;
        text-align: center;
    }

    .left-content p {
        font-size: 16px;
        margin-bottom: 20px;
        color: #666;
        text-align: center;
    }

    .cities-section h2 {
        text-align: center !important;
        font-size: 32px;
        margin-bottom: 20px;
        color: #333;
    }

    .categories-section h2 {
        text-align: center !important;
        font-size: 32px;
        margin-bottom: 20px;
        color: #333;
    }
}

@media (max-width: 480px) {
    .city-item {
        flex: 1 1 30%;
    }
}

.categories-section {
    padding: 20px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-section h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.image-grid {
    display: flex;
    gap: 20px;
}

.image-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.image-item h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    padding: 8px;
    font-size: 17px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.image-item:hover {
    background-color: #be206b;
}

.image-item:hover img {
    opacity: 0.6;
}

.image-item:hover h3 {
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
}

.content-section {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-section .image {
    flex: 1;
    margin-right: 20px;
}

.content-section .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.content-section .text {
    flex: 2;
}

.content-section .text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.content-section .text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        text-align: center;
    }

    .content-section .image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

.centered-content-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.centered-content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.centered-content-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    /* max-width: 600px; */
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer .disclaimer {
    font-size: 14px;
    margin-bottom: 20px;
    color: #bbb;
}

.footer .separator {
    border-top: 1px solid #444;
    margin: 20px 0;
}

.footer .links {
    margin-bottom: 20px;
}

.footer .links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

.footer .links a:hover {
    text-decoration: underline;
}

.footer .copyright {
    font-size: 14px;
    color: #bbb;
}

.profile-card {
    display: flex;
    align-items: center;
    padding: 6px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-card .image {
    flex: 0 0 100px;
    margin-right: 15px;
    position: relative;
}

.profile-card .image img {
    width: 150px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.profile-card .image .verified-badge {
    position: absolute;
    bottom: 9px;
    right: 5px;
    background-color: #ffffff33;
    color: white;
    padding: 0px;
    border-radius: 4px;
    font-size: 0px;
    text-align: center;
}

.profile-card .content {
    flex: 1;
}

.profile-card .content h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: #333;
}

.profile-card .content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

.profile-card .badges {
    margin-bottom: 10px;
}

.profile-card .badges span {
    display: inline-block;
    background-color: #b90f5f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 5px;
}

.profile-card .buttons {
    display: flex;
    gap: 10px;
}

.profile-card .buttons button {
    padding: 8px 12px;
    border: none;
    background-color: #b90f5f;
    color: white;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.profile-card .buttons button i {
    margin-right: 5px;
    font-size: 16px;
}

.profile-card .buttons button.call-btn {
    background-color: #2828a7;
}

.profile-card .buttons button.whatsapp-btn {
    background-color: green;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: row;
        text-align: left;
    }

    .profile-card .image {
        margin-right: 10px;
    }

    .profile-card .content p {
        text-overflow: ellipsis;
        -webkit-line-clamp: 3 !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .profile-card {
        flex-direction: row;
    }

    .profile-card .image {
        margin-right: 8px;
    }
}
.profile-details-section {
    display: flex;
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile-details-section .image {
    flex: 1;
    margin-right: 20px;
}
.profile-details-section .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
.profile-details-section .content {
    flex: 2;
}
.profile-details-section .content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}
.profile-details-section .content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.profile-details-section .carded-list {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}
.profile-details-section .carded-list .list-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.profile-details-section .carded-list .list-item:last-child {
    border-bottom: none;
}
.profile-details-section .carded-list .list-item span {
    font-size: 16px;
    color: #333;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .profile-details-section {
        flex-direction: column;
        text-align: left;
    }
    .profile-details-section .image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
.services-section {
    padding: 20px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.services-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}
.services-section  .badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.services-section .badges span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #2828a7;
    color: white;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .services-section .badges span {
        font-size: 14px;
        padding: 8px 12px;
    }
}
.gallery-section {
    padding: 40px 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.gallery-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}
.gallery {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.gallery img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup img {
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}
.popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        gap: 20px;
    }
}

 /* Popup Styles */
 .otp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.otp-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.otp-popup-content h2 {
    margin-bottom: 20px;
    color: #333;
}
.otp-popup-content input[type="email"],
.otp-popup-content input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't cause overflow */
}
.otp-popup-content button {
    padding: 10px 20px;
    background-color: #2828a7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
.otp-popup-content .close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #333;
    font-size: 22px;
    cursor: pointer;
    background: white;
    padding: 11px;
    border-radius: 34px;
    height: 10px;
    line-height: 11px;
}


.profile-card p.card-text {
    /* margin-bottom: 20px; */
    text-overflow: ellipsis;
    -webkit-line-clamp: 3 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
}
.dashboard h1 {
    font-size: 28px;
    color: #333;
}
.dashboard p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.analytics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.analytics .card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.analytics .card i {
    font-size: 36px;
    color: #2828a7;
}
.analytics .card .details {
    text-align: right;
}
.analytics .card .details h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.analytics .card .details span {
    color: #666;
    font-size: 14px;
}
.actions {
    display: flex;
    justify-content: space-between;
}
.actions a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #2828a7;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    flex: 1;
    margin-right: 10px;
}
.actions a:last-child {
    margin-right: 0;
    background-color: #28a745;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .analytics {
        flex-direction: column;
    }
    .actions a {
        margin-bottom: 10px;
    }
    .actions a:last-child {
        margin-bottom: 0;
    }
}
.my-ads-section {
    margin-top: 40px;
}
.my-ads-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.ads-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.ads-table th, .ads-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.ads-table th {
    background-color: #2828a7;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}
.ads-table td img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.ads-table td {
    vertical-align: middle;
}
.ads-table td .action-buttons {
    display: flex;
    gap: 10px;
}
.ads-table td .action-buttons button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.ads-table td .action-buttons .edit-btn {
    background-color: #28a745;
    color: white;
}
.ads-table td .action-buttons .delete-btn {
    background-color: #dc3545;
    color: white;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .ads-table th, .ads-table td {
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 10px;
    }
}

.profile-container, .password-container {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}
.password-container {
    margin-right: 0; /* Remove margin on the last container */
}
h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}
.profile-details div, .update-password div {
    margin-bottom: 15px;
}
.profile-details label, .update-password label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.profile-details span, .update-password input {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.profile-details span {
    background-color: #f9f9f9;
}
.update-password input {
    background-color: #fff;
}
.update-password button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
.update-password button:hover {
    background-color: #0056b3;
}
.section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    background-color: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.left-content {
    padding: 22px;
}
left-content, .right-content {

        margin-bottom: -4px;
    }


/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .profile-container, .password-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0px;
        background-color: white;
        margin: 0px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
.right-content {
    max-width: 100%;
    margin-bottom: -4px;
}
}