.container {
    display: flex;
    background: #171b24;
    width: 100%;
    min-height: 100vh; 
    color: white;
}

.user-dash-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Admin */

.admin-message{
    background: #232631;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    position: relative; 
    padding: 20px; 
    text-align: center;
    margin-bottom: 40px;
}

.admin-message button {
    position: absolute; 
    top: 10px; 
    right: 10px; 
    background: none; 
    border: none; 
    font-size: 20px; 
    padding: 10px 15px; /* Added padding for a larger clickable area */
    cursor: pointer;
    color: white;
    font-weight: 600;
}

.admin-message h1 {
    margin-bottom: 15px;
    font-size: 30px; 
}

.admin-message p {
    font-size: 18px; 
    margin-bottom: 15px;
}

.admin-message a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: linear-gradient(30deg, #dd547f, #d88774);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

.admin-message a:hover {
    background: #d88774;
    color: white;
    text-decoration: none;
}

.admin-message a:active {
    color: #d88774;
}

.admin-message .button-holder{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
/* Admin */


/* Search bar */

.search-bar{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.search-bar form{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #232631;
    color: white;
    font-size: 16px;
    margin-right: 10px;
}

.search-bar input[type="text"]::placeholder {
    color: #888;
}

.search-bar button {
    background: linear-gradient(30deg, #dd547f, #d88774);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-bar button:hover {
    background: #d88774;
}

.search-bar button:active {
    background: #dd547f;
}

/* Search bar */

/* New profiles and popular profiles*/
.new-profies-holder, .popular-profiles-holder{
    width: 100%;
    margin-bottom: 20px;
}

.section-lable{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 20px 0;
}

.section-lable h1{
    background: linear-gradient(30deg, #dd547f, #d88774);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    margin-bottom: 20px;
    margin-right: 20px;
}

.new-profies-holder p{
    margin-bottom: 20px;
}

.new-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.profile-card {
    position: relative;
    width: calc(25% - 20px); /* 4 cards per row with gaps */
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: scale(1.03);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card .profile-info {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    width: 100%;
    background: #232631ea;
    color: white;
    padding: 10px;
    text-align: center;
}

.profile-card .profile-info p{
    margin: 0;
}

.profile-card .profile-info .name-age {
  
    gap: 5px;
    font-size: 18px;
    font-weight: bold;
    white-space: normal; /* Allow text to wrap */
    overflow: hidden; /* Hide overflowing text if necessary */
    text-align: center; /* Center-align the text */
    word-wrap: break-word; /* Break long words if necessary */
}

.profile-card .profile-info .name-age h2 {
    display: inline-block;
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    white-space: nowrap; /* Prevent wrapping to the next line */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}

.profile-card .info-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-top: 5px;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}

.profile-card .profile-info img {
    width: 20px;
    height: 20px;
}

/* Premium icon in profile cards */
.premium-icon-small {
    width: 16px !important;
    height: 16px !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
}

.profile-card .profile-info h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
/* New profiles and popular profiles*/

/* Premium app ad */
.premium-app-holder{
    width: 100%;
    margin-top: 50px;
    margin-bottom: 20px;
    background-color: #232631;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-image{
    width: 50%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(30deg, #dd547f, #d88774);
}

.premium-image img{
    height: 150px;
}

.premium-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.premium-text h2{
    font-size: 40px;
    margin-bottom: 20px;
}

.premium-text p{
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.premium-text a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: linear-gradient(30deg, #dd547f, #d88774);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

.premium-text a:hover {
    background: #d88774;
    color: white;
    text-decoration: none;
}



/* Premium app ad */


/* App news */

.app-news-holder{
    width: 100%;
    margin-top: 50px;
    margin-bottom: 20px;
    background-color: #232631;
    padding: 20px;
    border-radius: 10px;
}

.app-news-holder .section-lable{
    margin-top: 5px;
    
    margin-bottom: 5px;
}

.app-news{
    margin-bottom: 30px;
}

.app-news p{
    font-size: 25px;
    margin-bottom: 20px;
}

.app-news-holder a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: linear-gradient(30deg, #dd547f, #d88774);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    
}

.app-news-holder a:hover {
    background: #d88774;
    color: white;
    text-decoration: none;
}

.app-news .button-holder{
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 40px;
}

/* App news */

/* blog */
.blog-stories-holder{
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
}

.blog-card-holder {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 20px;
    justify-content: center;
}

.blog-card{
    background-color: #232631;

    border-radius: 10px;
    overflow: hidden;
}

.blog-img{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

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

.blog-stories{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.blog-stories h2{
    font-size: 25px;
    margin-bottom: 10px;
}

.blog-stories p{
    font-size: 15px;
    margin-bottom: 10px;
}

.blog-stories a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    background: #171b24;
    text-align: center;
    border: 1px solid #ffffff;
    transition: all 0.3s ease-in-out;
}

.blog-stories a:hover {
    background: linear-gradient(30deg, #dd547f, #d88774);
    color: white;
    text-decoration: none;
}
/* blog */

/* Phone app ad */

.phone-app-holder{
    width: 100%;
    margin-top: 50px;
    margin-bottom: 20px;
    display: flex;
    padding: 20px;
    border-radius: 10px;
}

.phone-app-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.phone-app-text h2{
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(30deg, #dd547f, #d88774);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phone-app-text p{
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.phone-app-text .links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.phone-app-text .links a img{
    width: 250px;

}

.phone-app-text .links a img:hover{
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.phone-app-image{
    width: 50%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-app-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Phone app ad */


/* help content */

.help-content-holder{
    width: 100%;
    padding: 20px;
}

.help-content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 100px 0;
    background-color: #232631;
    border-radius: 10px;
}

.help-image{
    width: 50%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(30deg, #dd547f, #d88774);
}

.help-image img{
    
    height: 150px;
}

.help-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.help-text h2{
    font-size: 40px;
    margin-bottom: 20px;
}

.help-text p{
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.help-text a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background: linear-gradient(30deg, #dd547f, #d88774);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}


.help-text a:hover {
    background: #d88774;
    color: white;
    text-decoration: none;
}
/* Help content */

/* Contact content */
.contact-us-holder{
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 70px 0;
    background-color: #232631;
    border-radius: 10px;
}

.contact-us-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.contact-us-text h2{
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(30deg, #dd547f, #d88774);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-us-text p{
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-form{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #171b24;
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-form input[type="text"]::placeholder, .contact-form input[type="email"]::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    background: linear-gradient(30deg, #dd547f, #d88774);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: #d88774;
}

.contact-form button:active {
    background: #dd547f;
}

/* Contact content */

/* Social media */

.social-media-holder{
    width: 100%;
    padding: 20px;
    margin: 70px 0;
    text-align: center;
}

.social-media-text{
    margin-bottom: 40px;
}

.social-media-text h2{
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(30deg, #dd547f, #d88774);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-media-text p{
    font-size: 20px;
    margin-bottom: 20px;
}

.social-media-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-media-links a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    background: linear-gradient(30deg, #dd547f, #d88774);
    text-align: center;

}

.social-media-links a:hover {
    transform: scale(1.05);
}



/* Social media */

@media (max-width: 768px) {
    .user-dash-content {
        width: 90%;
    }

    .search-bar form {
        width: 100%;
    }

    .section-lable h1 {
        font-size: 30px;
    }
   
    .new-profiles {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
        gap: 10px;
        justify-content: center;
    }

    .profile-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        border-radius: 10px;
    }

    .profile-card img {
        width: 100%;
        height: 220px; /* Set a fixed height for images */
        object-fit: cover; /* Ensure images maintain aspect ratio and fill the area */
    }

    .profile-info {
        width: 100%;
        padding: 10px;
        background: #232631;
        color: white;
        text-align: center;
        font-size: 14px;
        flex-grow: 1; /* Push the info section to fill the remaining space */
    }

    .profile-card .profile-info h2 {
        font-size: 16px;
    }
    .profile-card .profile-info .info-section {
        font-size: 12px;
    }

    .premium-app-holder {
        flex-direction: column;
        align-items: center;
    }

    .premium-image {
        width: 100%;
        height: 200px;
    }

    .premium-text {
        width: 100%;
        padding: 10px;
    }

    .premium-text h2 {
        font-size: 30px;
    }

    .news-item p{
        font-size: 16px;
    }

    .app-news .button-holder{
        justify-content: center;
    }
    
    .blog-stories-holder{
        padding: 0px;
    }

    .blog-card-holder{
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* 1 card per row */
        gap: 20px;
        justify-content: center;
    }

    .phone-app-holder{
        flex-direction: column;
      width: 100%;
        padding: 10px;
    }

    .phone-app-text {
        width: 100%;
        padding: 10px;
        text-align: start;
    }

    .phone-app-text p{
        text-align: start;
    }

    .phone-app-text h2 {
        font-size: 25px;
    }

    .phone-app-text .links {
        align-items: center;
    }

    .phone-app-text .links a img{
        width: 150px;
    }

    .phone-app-image {
        width: 100%;
    }

    .help-content{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .help-image {
        width: 100%;
        height: 200px;
    }

    .help-text {
        width: 100%;
        padding: 30px;
        text-align: start;
    }

    .help-text p {
        text-align: start;
    }

    .contact-us-holder{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .contact-us-text h2 {
        font-size: 30px;
    }

    .contact-us-text {
        width: 100%;
        padding: 30px;
        text-align: start;
    }

    .contact-us-text p {
        text-align: start;
    }

    .contact-form {
        width: 100%;
        padding: 10px;
        text-align: start;
    }

    .social-media-holder{
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .social-media-text h2 {
        font-size: 30px;
    }

    .social-media-links a{
        padding: 5px 10px;
        font-size: 12px;
    }

    .social-media-links a img{
        width: 50px;
        height: 50px;
    }






}











