/* General Body Styles */
body {
	font-family: "Roboto", sans-serif;
	background-color: #f8f9fa;
	color: #333;
	margin: 0;
	padding: 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Header Styles */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.logo h1 {
	margin: 0;
	font-size: 2rem;
	color: #444;
}

.logo p {
	margin: 0;
	color: #777;
}

nav a {
	text-decoration: none;
	color: #007bff;
	margin-left: 20px;
	font-weight: 500;
}

/* Section Styles */
.server-section {
	margin-bottom: 50px;
}

.section-title {
	text-align: center;
	color: #dc3545;
	font-weight: 500;
	margin-bottom: 30px;
}

/* Category Grid for FTP & Movie Server */
.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.category-box {
	border-width: 2px;
	border-style: solid;
	border-radius: 8px;
	padding: 20px;
	padding-top: 30px;
	position: relative;
}

.category-box h3 {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #f8f9fa;
	padding: 0 10px;
	margin: 0;
	font-weight: 500;
	color: #555;
}

/* Border Colors */
.border-a {
	border-color: #007bff;
}
.border-b {
	border-color: #dc3545;
}
.border-c {
	border-color: #28a745;
}

/* Button Styles */
.btn {
	display: block;
	background-color: #1a237e;
	color: #fff;
	text-align: center;
	padding: 12px 10px;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 4px;
	margin-bottom: 12px;
	font-weight: 500;
	font-size: 0.9rem;
	transition: background-color 0.3s ease;
}

.btn:hover {
	background-color: #283593;
}

/* Button Row for Live TV & Plex Servers */
.button-row {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.button-row .btn {
	flex-basis: 180px; /* Gives buttons a consistent base width */
}

/* Footer Styles */
footer {
	text-align: center;
	margin-top: 40px;
	padding: 20px 0;
	color: #777;
	border-top: 1px solid #e0e0e0;
}

/* Responsive Design for smaller screens */
@media (max-width: 992px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		text-align: center;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.button-row {
		flex-direction: column;
		align-items: center;
	}

	.button-row .btn {
		width: 100%;
		max-width: 400px;
	}
}
