@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

:root {
	--wine-red: #722f37;
	--wine-red-light: #8b3a42;
	--wine-red-dark: #5a252a;
	--wine-red-navbar: #a85860;
}

body {
	font-family: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #333;
	background-color: #fdfdfd;
}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}

strong {
    font-weight: 700 !important;
}

h1,
h2,
h3,
h4 {
	color: var(--wine-red);
	font-weight: 600;
	margin-bottom: 1.2rem;
	margin-top: 1.5rem;
}

h1 {
	font-size: 2.75rem;
	text-align: center;
	border-bottom: 3px solid var(--wine-red);
	padding-bottom: 1rem;
	margin-bottom: 3rem;
}

h2 {
	font-size: 2.2rem;
	border-left: 5px solid var(--wine-red);
	padding-left: 1rem;
	margin-top: 3rem;
}

h3 {
	font-size: 1.65rem;
	color: var(--wine-red-light);
	margin-top: 2.5rem;
}

h4 {
	font-size: 1.4rem;
	color: var(--wine-red-dark);
}

.lead {
	font-size: 1.25rem;
	color: #555;
	margin-bottom: 2rem;
}

.carousel-container {
	background-color: #f8f9fa;
	/* border: 1px solid #e9ecef; */
	/* border-radius: 8px; */
	padding: 0rem;
	/* margin: 2rem 0; */
	text-align: center;
	color: #6c757d;
	font-style: italic;
}

.collapse-section {
	border: 1px solid #dee2e6;
	border-radius: 6px;
	margin: 1rem 0;
}

.collapse-header {
	background-color: #f8f9fa;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #dee2e6;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.collapse-header:hover {
	background-color: #e9ecef;
}

.collapse-content {
	padding: 1rem;
}

.auction-implementation {
	border: 1px solid #dee2e6;
	border-radius: 6px;
	margin: 1rem 0;
	padding: 0rem 1rem;
}

.paper-list {
	counter-reset: pub-counter;
}

.paper-item {
	counter-increment: pub-counter;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0.75rem;
	background-color: #f8f9fa;
	border-radius: 4px;
	border-left: 3px solid var(--wine-red);
}

.paper-item::before {
	content: counter(pub-counter) ". ";
	font-weight: bold;
	color: var(--wine-red);
}

.paper-btn {
	background-color: white;
	color: var(--wine-red);
	border: solid 2px;
	padding: 0.2rem 0.6rem;
	margin: 1rem 0.5rem;
	border-radius: 4px;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.paper-btn:hover {
	background-color: #f8f9fa;
	transition: background-color 0.2s ease;
}

.information-item {
	margin-bottom: 1rem;
	padding: 0.75rem;
	background-color: #f8f9fa;
	border-radius: 4px;
	border-left: 3px solid var(--wine-red);
}


/* .software-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
} */

.software-item {
	background-color: #f8f9fa;
	padding: 0.5rem;
	border-radius: 8px;
	border: 1px solid #dee2e6;
	transition: box-shadow 0.2s ease;
	position: relative;
	padding: 1.5rem;
	/* padding-bottom: 4rem; */
}

.software-item:hover {
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.software-item h5 {
	color: var(--wine-red);
	margin-bottom: 1rem;
}

.software-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.software-buttons button {
    /* Keep your existing button width/styling */
    width: auto; /* or whatever fixed width you had before */
    /* Don't change any other button styles */
}

@media (min-width: 768px) {
    .software-buttons {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
}

.software-btn {
	background-color: var(--wine-red);
	color: white;
	border: solid 2px;
	border-color: var(--wine-red);
	padding: 0.3rem 0.4rem;
	margin: 0rem 0.1rem;
	border-radius: 4px;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.software-btn:hover {
	background-color: var(--wine-red-dark);
	color: white;
	transition: background-color 0.2s ease;
}

.alt-btn {
	background-color: white;
	color: var(--wine-red);
	border: solid 2px;
	padding: 0.3rem 0.4rem;
	margin: 0rem 0.1rem;
	border-radius: 4px;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.alt-btn:hover {
	background-color: #f8f9fa;
	transition: background-color 0.2s ease;
}

.contact-form {
	background-color: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid #dee2e6;
	margin-top: 2rem;
}

.btn-wine {
	background-color: var(--wine-red);
	border-color: var(--wine-red);
	color: white;
}

.btn-wine:hover {
	background-color: var(--wine-red-dark);
	border-color: var(--wine-red-dark);
	color: white;
}

.alert-academic {
	background-color: #f8f9fa;
	border-left: 4px solid var(--wine-red);
	color: #495057;
}

a {
	color: var(--wine-red);
	/* text-decoration: none; */
	transition: font-weight 0.2s ease;
}

a:hover {
	/* color: var(--wine-red-dark); */
	text-decoration: none;
	font-weight: normal;
}

.section-divider {
	height: 2px;
	background: linear-gradient(to right, transparent, var(--wine-red), transparent);
	margin: 2rem 0;
}

.intro-row {
	align-items: center;
	margin-bottom: 3rem;
}

.nav {
	top: 0;
	background: white;
	z-index: 1
}

.navbar {
	background-color: var(--wine-red-navbar) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
	font-weight: 600;
	font-size: 1.25rem;
}

.navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.7) !important;
	font-weight: 600;
	font-size: 1.2rem;
	padding: 0.75rem 1rem !important;
	transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
	color: white !important;
	/* font-weight: bold; */
}

.navbar-toggler {
	border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body {
	padding-top: 40px;
}

.footer {
	margin-top: 4rem;
	padding: 2rem 0;
	border-top: 1px solid #dee2e6;
	text-align: center;
	color: #6c757d;
	font-size: 0.9rem;
}

/* featured web app section */
.featured-section {
	background-color: #f9f6f7;
	border: 0px solid #dee2e6;
	border-radius: 8px;
	padding: 1.2rem 1.2rem;
	margin: 0rem 1rem;
}

@media (min-width: 768px) {
    .featured-section {
		margin: 0rem 3rem;
    }
}


.featured-section h2 {
	color: #212529;
	margin-bottom: 1rem;
	margin-top: 0rem;
	font-size: 1.8rem;

}
.feature-highlight {
	background-color: #f1f3f4;
	padding: 0.5rem 1rem 0.1rem 1rem;
	margin: 1rem 1rem;
	border-left: 3px solid #8b1538;
	border-radius: 4px;
}

/* .featured-section .software-btn {
	display: inline-block;
	margin-bottom: 0.5rem;
	margin: 0.2rem;
}

.featured-section .alt-btn {
	display: inline-block;
	margin-bottom: 0.5rem;
	margin: 0.2rem;
} */