/* Profiles Section Styles */
.Profiles-section {
    padding: 60px 0;
    background-color: #000000;
    border-top: 3px solid #D4AF37;
    border-bottom: 3px solid #D4AF37;
}

.Profiles-section .container {
    max-width: 1200px;
}

.Profiles-section h2 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    padding-bottom: 15px;
}

.Profiles-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #D4AF37;
}

.Profiles-section > .container > p {
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    padding: 0 15px;
}

.Profiles-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.Profile-box {
    background-color: #111111;
    border: 2px solid #D4AF37;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.Profile-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: #ffd700;
}

.Profile-box .row {
    margin: 0;
    align-items: center;
}

.main-Profile-image {
    padding: 10px;
    position: relative;
}

.main-Profile-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #D4AF37;
    transition: transform 0.3s ease;
    display: block;
}

.main-Profile-image img:hover {
    transform: scale(1.02);
}

.verified-badge-Profile {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.verified-badge-Profile i {
    color: #28a745;
    font-size: 16px;
}

.Profile-info {
    padding: 20px;
}

.Profile-info h3 {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.Profile-info h3 a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.Profile-info h3 a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.Profile-description {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.read-more-content {
    display: none;
}

.Profile-description.expanded .read-more-content {
    display: inline;
}

.read-more-btn {
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: inline-block;
}

.read-more-btn:hover {
    background: #D4AF37;
    color: #000000;
}

/* Profile Buttons - Mobile Friendly */
.Profile-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.Profile-buttons .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.Profile-buttons .whatsapp-btn {
    background-color: #25D366;
    color: #ffffff;
    order: 2; /* Ensures WhatsApp is on the right */
}

.Profile-buttons .whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.Profile-buttons .call-btn {
    background-color: #007bff;
    color: #ffffff;
    order: 1; /* Ensures Call is on the left */
}

.Profile-buttons .call-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .Profile-buttons {
        gap: 10px;
        margin-top: 15px;
    }
    
    .Profile-buttons .btn {
        padding: 14px 10px;
        font-size: 15px;
        white-space: normal; /* Allows text to wrap if needed */
        word-break: keep-all;
    }
    
    .Profile-buttons .whatsapp-btn::before,
    .Profile-buttons .call-btn::before {
        margin-right: 5px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .Profile-buttons {
        gap: 8px;
    }
    
    .Profile-buttons .btn {
        padding: 12px 8px;
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .Profile-buttons .btn {
        font-size: 13px;
        padding: 10px 5px;
    }
}

/* Touch-friendly adjustments for mobile */
@media (hover: none) and (pointer: coarse) {
    .Profile-buttons .btn {
        min-height: 48px; /* Minimum touch target size */
    }
}

.Profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.Profile-meta .location,
.Profile-meta .availability {
    color: #D4AF37;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.Profile-meta .location i,
.Profile-meta .availability i {
    color: #D4AF37;
    font-size: 14px;
}

.type-badge {
    background: #D4AF37;
    color: #000000;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}


/* Profiles Pagination */
.Profiles-pagination {
    margin-top: 40px;
    text-align: center;
}

.Profiles-pagination .pagination {
    display: inline-flex;
    list-style: none;
    padding: 10px 15px;
    gap: 8px;
    background: #000000;
    border-radius: 40px;
    border: 1px solid #D4AF37;
    margin: 0;
}

.Profiles-pagination .pagination li {
    margin: 0;
}

.Profiles-pagination .pagination li a {
    display: block;
    padding: 8px 15px;
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 14px;
}

.Profiles-pagination .pagination li.active a,
.Profiles-pagination .pagination li a:hover {
    background: #D4AF37;
    color: #000000;
    border-color: #D4AF37;
}

.Profiles-pagination .pagination li.disabled a {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Animation for new content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Profile-box {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-Profile-image img {
        height: 300px;
    }
    
    .Profile-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .Profiles-section {
        padding: 40px 0;
    }
    
    .Profiles-section h2 {
        font-size: 28px;
    }
    
    .Profile-box {
        padding: 15px;
    }
    
    .main-Profile-image {
        margin-bottom: 15px;
    }
    
    .main-Profile-image img {
        height: 280px;
    }
    
    .Profile-info {
        padding: 10px 0;
    }
    
    .Profile-info h3 {
        font-size: 20px;
    }
    
    .Profile-buttons {
        flex-direction: column;
    }
    
    .Profile-buttons .btn {
        width: 100%;
    }
    
    .Profile-meta {
        gap: 10px;
    }
    
    .verified-badge-Profile {
        top: 15px;
        left: 15px;
        padding: 4px 12px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .main-Profile-image img {
        height: 250px;
    }
    
    .Profile-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .Profiles-pagination .pagination {
        padding: 8px 10px;
    }
    
    .Profiles-pagination .pagination li a {
        padding: 6px 12px;
        font-size: 13px;
    }
}