/* General container styling */
.links-page-content.container {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern system font stack */
}

.links-page-content h1 {
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced space below heading */
    color: #2c3e50; /* Darker, professional heading color */
    font-size: 2.8rem; /* Slightly larger heading */
    font-weight: 600; /* Semi-bold */
}

/* Links container */
.links-page-content .links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Reduced gap between cards */
    justify-items: center;
    justify-content: center; /* Center the grid items within the container */
}

.links-page-content .links-container.two-column-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Individual link card styling */
.links-page-content .link-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0; /* Lighter, subtle border */
    border-radius: 10px; /* Slightly more rounded corners */
    padding: 1.8rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); /* Softer, more pronounced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transition */
    min-height: 12rem; /* Ensure uniform height relative to font size */
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.links-page-content .link-card:hover {
    transform: translateY(-8px); /* More noticeable lift */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.links-page-content .link-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem; /* Space below title */
    color: #BF5700; /* A professional blue for titles */
    font-size: 1.6rem; /* Larger title */
    font-weight: 500; /* Medium weight */
}

.links-page-content .link-card p {
    color: #000000; /* Softer text color */
    font-size: 1rem; /* Standard text size */
    line-height: 1.7; /* Improved readability */
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.links-page-content .link-card a {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    text-align: center;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.links-page-content .link-card a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
