body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6; /* Soft light gray background */
    color: #333;
}

html, body {
    height: 100%;
}

.container-fluid.min-vh-100 {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue-gray */
    color: #ecf0f1; /* Light gray text */
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-weight: 700;
    font-size: 3rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Menu Section */
#menu h2 {
    font-weight: 600;
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 10px;
}

#menu h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db; /* Bright blue */
    border-radius: 5px;
}

/* Category Headings */
.category h3 {
    font-weight: 600;
    color: #3498db; /* Bright blue */
    border-bottom: 2px solid #3498db; /* Blue underline for categories */
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 200px; /* Slightly increased height for images */
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-weight: 700;
    color: #2c3e50; /* Dark blue-gray */
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.text-success {
    font-size: 1.3rem;
    font-weight: 700;
    color: #27ae60; /* Emerald green */
}

/* Footer Styles */
footer {
    background-color: #2c3e50; /* Dark blue-gray */
    color: #ecf0f1; /* Light gray text */
    padding: 1.5rem 0;
    margin-top: 3rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05);
}

footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* New styles for index.php (allmylinks.com like) */
.profile-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 50px auto;
}

.profile-section .profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #3498db;
}

.profile-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.profile-section p.lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.link-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    padding: 15px 20px;
    background-color: #3498db; /* Bright blue */
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: translateY(-3px);
    color: #fff;
}

.social-icons a {
    color: #2c3e50;
    font-size: 2rem;
    margin: 10px auto; /* Center block elements */
    display: flex; /* Use flexbox for icon and text */
    align-items: center; /* Align icon and text vertically */
    justify-content: center; /* Center content horizontally */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    max-width: 300px; /* Increased width to accommodate longer text and padding */
    border: 1px solid #ccc; /* Add border */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Add padding */
    background-color: #f9f9f9; /* Light background */
    text-decoration: none; /* Remove underline from links */
}

.social-icons a:hover {
    background-color: #e9e9e9; /* Darker background on hover */
    border-color: #999; /* Darker border on hover */
    color: #3498db; /* Change icon/text color on hover */
}

.social-icons a i {
    margin-right: 10px; /* Space between icon and text */
    width: 30px; /* Fixed width for icons to ensure alignment */
    text-align: center; /* Center the icon within its fixed width */
}

.social-icons a span {
    font-size: 1.2rem; /* Adjust font size for text */
    font-weight: 600;
    flex-grow: 1; /* Allow text to take remaining space */
    text-align: center; /* Center the text */
}

.social-links-container {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
}