/* CSS Resource Document for: Army Sustainment Command -> Field Components 	*
!  Global classes should be defined in portal.css  							*
*  The proponent agency for this source is AMAS-PC							*/

.commander-section {
	display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    color: #2c2c2c;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
    to {
		opacity: 1;
		transform: translateY(0);
    }
}
.commander-image img {
	max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}
.commander-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}
	.commander-links ul li {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		margin-bottom: 1rem;
		font-size: 1.25rem;
	}
		.commander-links ul li:hover i {
			color: #3f461c;
			transform: scale(1.2);
		}
.commander-links i {
		color: #3A423A;
		flex-shrink: 0;
		transition: transform 0.2s ease, color 0.2s ease;
	}
.commander-links a {
	color: #3A423A;
	text-decoration: none;
	font-weight: 500;
	position: relative;
	transition: color 0.3s ease;
}
	.commander-links a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -2px;
		width: 100%;
		height: 2px;
		background-color: #3f461c;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.3s ease;
	}
	.commander-links a:hover::after {
		transform: scaleX(1);
	}
.note {
	font-size: 1rem;
	color: #666;
	margin-top: 1rem;
	text-align: center;
}