.profile-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.profile-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    /* Ensures the image covers the square area */
    border-radius: 8px;
    /* Rounded corners if needed */
}

.profile-details img {
    border-radius: 8px;
    width: 300px;
    height: 500px;
}

.profile-image {
   width: 100%; /* Full width of the container */
    height: 400px; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area, maintaining aspect ratio */
    object-position: top; /* Align the image to the top */
    border-radius: 8px;
}

.profile-card img {
    width: 100%; /* Full width of the container */
    height: 400px; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area, maintaining aspect ratio */
    object-position: top; /* Align the image to the top */
}


.modal-body img {
    width: 100%;
    height: 400px; /* Set height */
    object-fit: cover; /* Cover the area, maintaining aspect ratio */
    object-position: top; /* Align the image to the top */
}

/* Logout Button Styles */
.logout-btn {
    position: fixed;
    top: 40px;
    right: 15px;
    z-index: 1000;
}

/* Custom card background and styling */
.custom-card {
    background-color: #f8f9fa;
    /* Light grey background */
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    padding: 20px;
    /* Padding inside the card */
}

/* Add a background image to the card */
.custom-card-background {
    background: url('your-image-url.jpg') no-repeat center center;
    background-size: cover;
    /* Cover the entire card with the image */
    padding: 20px;
    color: white;
    /* White text for readability on dark backgrounds */
    border-radius: 15px;
}

/* Styling for the headers and paragraphs */
.custom-card h3 {
    font-weight: bold;
    color: #045eab;
    /* Custom header color */
}

.custom-card p {
    margin-bottom: 10px;
    /* font-size:12px; */
}

/* Styling the buttons */
.custom-card .btn {
    /*margin-top: 10px;*/
}

.custom-button {
    background-color: #007bff;  /* Primary blue color */
    border: none;              /* Remove default border */
    padding: 10px 20px;        /* Adjust padding for size */
    border-radius: 5px;        /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-size: 14px;           /* Slightly larger text */
    font-weight: 600;          /* Bold text */
    transition: all 0.3s ease; /* Smooth transition effect */
}

.custom-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.custom-button:active {
    background-color: #004494; /* Even darker blue on click */
    box-shadow: none;          /* Remove shadow on click */
    transform: translateY(0);  /* Reset button position on click */
}
