/* Homepage Airport Cards - Unified Blue Design */

#airports-container {
	padding: 0;
}

.airport-card-wrapper {
	animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.airport-card-link {
	text-decoration: none;
	display: block;
	height: 100%;
}

.airport-card {
	background: #002147;
	border: none;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 33, 71, 0.3);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.airport-card:hover {
	box-shadow: 0 8px 16px rgba(0, 33, 71, 0.4);
	transform: translateY(-4px);
}

/* Airport Card Header */
.airport-card-header {
	background: #002147;
	color: #FFF500;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 0;
}

.airport-code-badge {
	background: #FFF500;
	color: #002147;
	padding: 12px 16px;
	border-radius: 0;
	font-size: 18px;
	font-weight: 800;
	font-family: 'Rubik', sans-serif;
	text-align: center;
	min-width: 70px;
	border: none;
}

.airport-info {
	flex: 1;
}

.airport-name {
	font-size: 22px;
	font-weight: 800;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	color: #FFFFFF;
}

.airport-name-ar {
	font-size: 18px;
	margin: 4px 0 0 0;
	opacity: 0.95;
	font-family: 'Tajawal', sans-serif;
	color: #FFF500;
	font-weight: 700;
}

/* Flights Preview Section */
.airport-flights-preview {
	padding: 14px 16px;
	border-top: 0;
	border-bottom: 0;
	flex: 1;
	background: #FFF500;
}

.preview-label {
	font-size: 14px;
	font-weight: 700;
	color: #002147;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	font-family: 'Rubik', sans-serif;
}

.flight-preview-item {
	display: grid;
	grid-template-columns: 50px 50px 1fr auto;
	gap: 8px;
	align-items: center;
	padding: 8px 0;
	font-size: 12px;
	font-family: 'Rubik', sans-serif;
	border-bottom: 1px solid #F5F5F5;
}

.flight-preview-item:last-child {
	border-bottom: none;
}

.flight-time {
	font-weight: 700;
	color: #212121;
	text-align: center;
}

.flight-destination {
	font-weight: 600;
	color: #002147;
	text-align: center;
}

.flight-airline {
	color: #616161;
	font-size: 11px;
	text-align: left;
}

.flight-stops {
	font-size: 11px;
	color: #00d663;
	font-weight: 600;
	white-space: nowrap;
}

/* Card Footer */
.airport-card-footer {
	padding: 14px 18px;
	text-align: center;
	background: #002147;
	border-top: 3px solid #FFF500;
}

.view-details {
	font-size: 14px;
	font-weight: 800;
	color: #FFF500;
	font-family: 'Rubik', sans-serif;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.airport-card:hover .view-details {
	color: #FFFFFF;
	text-decoration: none;
}

/* Responsive Design */

@media (max-width: 991px) {
	.our-services > .container-fluid {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}


	.airport-card {
		border-left: none !important;
		border-right: none !important;
		border-top: none !important; /* Optional: edge-to-edge often removes top/bottom borders between items */
		box-shadow: none !important;
		margin-bottom: 2px !important; /* Minimal separation for clear tile feeling */
	}
}

@media (max-width: 768px) {

	.airport-card-header {
		padding: 16px;
	}

	.airport-name {
		font-size: 16px;
	}

	.airport-flights-preview {
		padding: 12px 16px;
	}

	.flight-preview-item {
		font-size: 11px;
	}
}

@media (max-width: 480px) {

	.airport-card-header {
		padding: 12px;
		gap: 12px;
	}

	.airport-code-badge {
		min-width: 45px;
		padding: 6px 10px;
		font-size: 12px;
	}

	.airport-name {
		font-size: 15px;
	}

	.airport-name-ar {
		font-size: 12px;
	}

	.flight-preview-item {
		grid-template-columns: 45px 45px 1fr auto;
		font-size: 10px;
	}
}
