﻿/* ============================== Fonts ============================== */ /* English font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap'); /* Arabic font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap'); /* ============================== Global Reset & Base ============================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: 'Montserrat', sans-serif;
	color: #111;
	line-height: 1.6;
}

main {
	flex: 1;
	padding-top: 20px; /* push content below header */
}

html {
	scroll-behavior: smooth;
}
/* ============================== Container ============================== */

.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}
/* ============================== Header ============================== */

.header {
	width: 100%;
	background: #0f1f33;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	gap: 20px;
	direction: ltr;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

	.header .logo, .logo-container .vision-logo {
		height: 60px;
		transition: transform 0.3s;
		width: auto;
		object-fit: contain;
	}

		.header .logo:hover {
			transform: scale(1.05);
		}
/* Navigation */

.nav {
	display: flex;
	gap: 25px;
	justify-content: center;
	flex: 1;
	direction: ltr; /* default LTR */
}

/* Arabic nav (RTL) */
body.lang-ar .nav {
	display: flex;
	gap: 25px;
	justify-content: center;
	flex: 1;
	direction: rtl; /* default LTR */
}

	.nav a {
		color: #fff;
		text-decoration: none;
		font-weight: 600;
		position: relative;
	}

		.nav a::after {
			content: '';
			height: 2px;
			width: 0;
			background: #f5c56b;
			position: absolute;
			left: 0;
			bottom: -5px;
			transition: width 0.3s;
		}

		.nav a:hover, .nav a.active {
			color: #f5c56b;
		}

			.nav a:hover::after, .nav a.active::after {
				width: 100%;
			}
/* Language Switcher */

.language-switcher {
	flex-shrink: 0;
}

	.language-switcher select {
		padding: 5px 10px;
		border-radius: 5px;
		border: 1px solid #ccc;
		font-weight: 600;
		cursor: pointer;
		background: #fff;
		color: #111;
	}
/* Hamburger Menu */

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 25px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

	.hamburger span {
		display: block;
		height: 3px;
		background: #fff;
		border-radius: 2px;
		transition: 0.3s;
	}
/* ============================== Mobile Styles ============================== */

@media (max-width: 1024px) {
	.features-grid, .services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 10px 15px;
	}

	.logo-container .logo, .logo-container .vision-logo {
		height: 40px;
	}

	.header-right {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100%;
		width: 250px;
		flex-direction: column;
		background: #0f1f33;
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
		padding-top: 70px;
		z-index: 1000;
		gap: 20px;
	}

		.nav.active {
			transform: translateX(0);
		}

		.nav a {
			padding: 12px 20px;
			text-align: left;
			font-size: 1.1rem;
			color: #fff;
		}

			.nav a::after {
				display: none;
			}

	.nav-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease;
		z-index: 999;
	}

		.nav-overlay.active {
			opacity: 1;
			visibility: visible;
		}

	.hamburger {
		display: flex;
	}

	.why-choose-us, .services {
		padding: 60px 0;
	}

	.features-grid, .services-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.feature-card, .card {
		padding: 28px 22px;
	}

        .feature-card h3, .card h3 {
            font-size: 1.15rem;
        }

		.feature-card p, .card p {
			font-size: 0.95rem;
		}
}

@media (max-width: 480px) {
	.why-choose-us h2 {
		margin-bottom: 40px;
	}

	.feature-card {
		padding: 24px 18px;
	}

	.hero-text-rotator p {
		width: calc(100% - 40px); /* smaller padding on tiny screens */
		font-size: 0.95rem;
	}

	.social-icons {
		flex-direction: row; /* keep icons in a row */
		justify-content: center; /* optional, center them */
		gap: 15px; /* optional, smaller gap */
	}
}
/* ============================== Hero Section ============================== */

.hero {
	background: url("../images/hero-cargo-plane.jpeg") center/cover no-repeat;
	color: white;
	height: clamp(60vh, 90vh, 100vh);
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

	.hero .overlay {
		position: absolute;
		inset: 0;
		background: linear-gradient(rgba(15,31,51,0.7), rgba(15,31,51,0.5));
		z-index: 0;
	}

	.hero .container {
		position: relative;
		z-index: 1;
		text-align: center;
		max-width: 900px;
		margin: 0 auto;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 25px;
	}

	.hero h1 {
		font-size: clamp(2.5rem, 6vw, 4rem);
		margin-bottom: 20px;
		font-weight: 800;
		line-height: 1.2;
		color: #f5c56b;
		text-shadow: 0 4px 12px rgba(0,0,0,0.4);
	}

	.hero p {
		font-size: clamp(1rem, 2.5vw, 1.5rem);
		margin-bottom: 30px;
		line-height: 1.6;
		color: #fff;
		text-shadow: 0 2px 8px rgba(0,0,0,0.3);
	}

	.hero .btn {
		background: #f5c56b;
		color: #0f1f33;
		padding: clamp(12px, 2vw, 16px) clamp(25px, 4vw, 30px);
		font-weight: 600;
		font-size: clamp(1rem, 2vw, 1.2rem);
		border-radius: 8px;
		text-decoration: none;
		transition: all 0.3s ease;
		box-shadow: 0 6px 20px rgba(0,0,0,0.2);
		position: relative;
		z-index: 10;
		margin-top: 40px;
		align-self: center;
	}

		.hero .btn:hover {
			background: #e0ad4f;
			transform: translateY(-3px);
			box-shadow: 0 8px 25px rgba(0,0,0,0.25);
		}
/* ============================== Hero Rotator ============================== */

.hero-text-rotator {
	position: relative;
	margin: 20px auto 0;
	max-width: 750px;
	width: auto;
	background: rgba(15, 31, 51, 0.7);
	padding: 15px 25px;
	border-radius: 12px;
	border: 2px solid rgba(245, 197, 107, 0.5);
	box-shadow: 0 8px 20px rgba(245, 197, 107, 0.3);
	backdrop-filter: blur(5px);
	text-align: center;
	display: inline-block;
	transition: height 0.4s ease; /* smooth resize */
	height: auto; /* let height adjust */
	user-select: none; /* standard */
	-webkit-user-select: none; /* Chrome, Safari, Opera */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE/Edge */
	-webkit-touch-callout: none; /* prevent long-press menu */
}

	.hero-text-rotator p {
		position: relative; /* no absolute positioning */
		margin: 0;
		color: #f5c56b;
		font-size: clamp(0.95rem, 1.2vw, 1.1rem);
		line-height: 1.6;
		opacity: 0;
		transform: translateY(16px);
		pointer-events: none;
		transition: opacity 0.45s ease, transform 0.45s ease;
		display: none; /* hide inactive paragraphs */
	}

		.hero-text-rotator p.active {
			opacity: 1;
			transform: translateY(0);
			pointer-events: auto;
			display: block; /* only show active paragraph */
		}

	.hero-text-rotator .rotator-progress {
		position: absolute;
		bottom: 10px;
		left: 20px;
		right: 20px;
		height: 3px;
		background: rgba(255,255,255,.2);
		border-radius: 2px;
		overflow: hidden;
	}

		.hero-text-rotator .rotator-progress span {
			display: block; /* ✅ must be block or inline-block */
			height: 100%;
			width: 0%;
			background: #f5c56b;
			animation: heroProgress 5s linear infinite;
			border-radius: 2px; /* optional, matches container */
		}

@keyframes heroProgress {
	from {
		width: 0%;
	}

	to {
		width: 100%;
	}
}



.hero-text-rotator .height-spacer {
	display: block;
	height: 0;
	visibility: hidden;
}
/* ============================== Services Section ============================== */

.services {
	background: #f8f9fb;
	padding: clamp(60px, 8vw, 100px) 0;
}

	.services h2 {
		text-align: center;
		font-size: clamp(2rem, 4vw, 2.5rem);
		font-weight: 800;
		color: #0f1f33;
		margin-bottom: 40px;
		position: relative;
	}

		.services h2::after {
			content: '';
			display: block;
			width: 60px;
			height: 3px;
			background: #f5c56b;
			margin: 10px auto 0;
			border-radius: 2px;
		}

.services-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

	.services-grid .card {
		background: #ffffff;
		border-radius: 16px;
		padding: 5px 10px;
		position: relative;
		overflow: hidden;
		cursor: pointer;
		box-shadow: 0 10px 20px rgba(15, 31, 51, 0.1);
		transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
		border-left: 5px solid #f5c56b;
		color: #0f1f33;
		font-family: 'Montserrat', sans-serif;
	}

		.services-grid .card:hover {
			transform: translateY(-8px);
			box-shadow: 0 20px 40px rgba(15, 31, 51, 0.15);
			background: #fdfdfd;
		}

		.services-grid .card h3 {
			font-size: 1.5rem;
			margin-bottom: 12px;
			color: #0f1f33;
			font-weight: 700;
		}

		.services-grid .card p {
			font-size: 1rem;
			color: #555555;
			line-height: 1.6;
			margin-bottom: 20px;
		}

		.services-grid .card ul {
			list-style: none;
			padding: 0;
			margin: 0;
		}

			.services-grid .card ul li {
				position: relative;
				padding-left: 30px;
				margin-bottom: 10px;
				color: #333333;
				font-size: 0.95rem;
				line-height: 1.5;
			}

				.services-grid .card ul li::before {
					content: '✓';
					position: absolute;
					left: 0;
					top: 0;
					color: #f5c56b;
					font-weight: bold;
				}

		.services-grid .card img {
			width: 80px;
			height: 80px;
			object-fit: contain;
			margin: 0 auto 20px auto;
			display: block;
			border-radius: 50%;
			background: #f5f5f5;
			padding: 10px;
		}
/* ============================== Why Choose Us Section ============================== */

.why-choose-us {
	background: #f8f9fb;
	padding: clamp(60px, 8vw, 100px) 0;
}

	.why-choose-us h2 {
		text-align: center;
		font-size: clamp(2rem, 4vw, 2.5rem);
		font-weight: 800;
		color: #0f1f33;
		margin-bottom: 40px;
		position: relative;
	}


.features-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive like services */
}

.feature-card {
	background: #0f1f33;
	border-radius: 16px;
	padding: 30px 25px;
	text-align: center;
	font-weight: 600;
	box-shadow: 0 8px 25px rgba(0,0,0,0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

	.feature-card h3 {
		font-size: 1.4rem;
		margin-bottom: 12px;
		color: #fff;
	}

	.feature-card p {
		font-size: 1rem;
		color: #e0ad4f;
		line-height: 1.6;
	}

	.feature-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 15px 35px rgba(0,0,0,0.15);
	}
/* ============================== Contact Section ============================== */

.contact {
	background: #f8f9fb;
	padding: clamp(60px, 8vw, 100px) 0;
}

	.contact h2 {
		text-align: center;
		font-size: clamp(2rem, 4vw, 2.5rem);
		font-weight: 800;
		color: #0f1f33;
		margin-bottom: 15px;
		position: relative;
	}

		.contact h2::after {
			content: '';
			display: block;
			width: 60px;
			height: 3px;
			background: #f5c56b;
			margin: 10px auto 0;
			border-radius: 2px;
		}

	.contact p {
		text-align: center;
		margin-bottom: 40px;
		font-size: clamp(0.95rem, 2vw, 1.1rem);
		color: #555;
	}

.contact-info {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.contact-item {
	background: #fff;
	padding: 20px 25px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.05);
	text-align: center;
	font-weight: 600;
	min-width: 200px;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: default;
	font-size: 1rem;
}

	.contact-item:hover {
		transform: translateY(-5px);
		box-shadow: 0 12px 30px rgba(0,0,0,0.1);
	}

.contact-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.05);
	max-width: 700px;
	margin: auto;
}

	.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
		width: 100%;
		padding: 12px 15px;
		border-radius: 8px;
		border: 1px solid #ccc;
		font-size: clamp(0.9rem, 2vw, 1rem);
		transition: border 0.3s, box-shadow 0.3s;
	}

		.contact-form input:focus, .contact-form textarea:focus {
			border-color: #f5c56b;
			box-shadow: 0 2px 8px rgba(245,197,107,0.3);
			outline: none;
		}

	.contact-form textarea {
		resize: none;
		min-height: 140px;
	}

	.contact-form button {
		width: 100%;
		padding: clamp(12px, 2vw, 16px);
		background: #f5c56b;
		color: #0f1f33;
		border: none;
		border-radius: 8px;
		font-weight: 600;
		font-size: clamp(1rem, 2vw, 1.1rem);
		cursor: pointer;
		transition: 0.3s;
	}

		.contact-form button:hover {
			background: #e0ad4f;
		}

		.contact-form button:disabled {
			background: #cccccc !important;
			color: #777777 !important;
			cursor: not-allowed !important;
			box-shadow: none !important;
			opacity: 0.8;
		}

			.contact-form button:disabled:hover {
				background: #cccccc !important;
				transform: none !important;
			}

#form-status {
	font-weight: 600;
	margin-top: 20px;
	text-align: center;
	font-size: 1rem;
	transition: opacity 0.5s;
}
/* ============================== Footer ============================== */

.footer {
	background: #0f1f33;
	color: #fff;
	padding: clamp(20px, 3vw, 30px) 0;
	text-align: center;
}

	.footer p {
		margin-bottom: 15px;
	}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

	.social-icons a {
		color: #f5c56b;
		text-decoration: none;
		font-weight: bold;
		transition: 0.3s;
	}

		.social-icons a:hover {
			color: #e0ad4f;
			transform: scale(1.1);
		}
/* ============================== Animations ============================== */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes float {
	0%,100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-15px);
	}
}

.animate-fade-in {
	animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
	animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-right {
	animation: slideInRight 1s ease-out forwards;
}

.animate-float {
	animation: float 4s ease-in-out infinite;
}
/* ============================== Contact Form Popup ============================== */

#popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 900;
	opacity: 0;
	transition: opacity 0.3s ease;
}

	#popup-overlay.active {
		display: block;
		opacity: 1;
	}

#status-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -60%);
	background: #fff;
	color: #111;
	padding: 25px 30px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
	z-index: 1000;
	min-width: 300px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

	#status-popup.active {
		display: block;
		opacity: 1;
		transform: translate(-50%, -50%);
		animation: popupFadeIn 0.3s ease forwards;
	}

	#status-popup.success {
		border-left: 6px solid green;
	}

	#status-popup.error {
		border-left: 6px solid red;
	}

	#status-popup button {
		margin-top: 15px;
		padding: 8px 18px;
		border: none;
		background: #111;
		color: #fff;
		border-radius: 5px;
		cursor: pointer;
		font-weight: 500;
		transition: background 0.3s;
	}

		#status-popup button:hover {
			background: #333;
		}

@keyframes popupFadeIn {
	from {
		opacity: 0;
		transform: translate(-50%, -60%);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}
/* ============================== reCAPTCHA Fix ============================== */

.g-recaptcha {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	z-index: 9999 !important;
	min-height: 78px !important;
	margin: 20px auto !important;
}

	.g-recaptcha iframe {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

.grecaptcha-badge {
	display: none !important;
}
/* ============================== Hero Rotator Arrows ============================== */

.hero-rotator-wrapper {
	position: relative;
	display: inline-block;
}

.rotator-btn {
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid #f5c56b;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
	transition: all 0.2s ease;
}

	.rotator-btn::before {
		content: '';
		display: block;
		width: 10px;
		height: 10px;
		border-top: 2px solid #f5c56b;
		border-right: 2px solid #f5c56b;
		transform: rotate(315deg); /* up arrow */
	}

	.rotator-btn.down::before {
		transform: rotate(135deg); /* down arrow */
	}

	.rotator-btn:hover {
		background: #f5c56b;
		border-color: #f5c56b;
	}

		.rotator-btn:hover::before {
			border-color: #0f1f33;
		}

	.rotator-btn:hover {
		background: #e0ad4f;
		transform: translateX(-50%) scale(1.1);
	}
	/* Up arrow above the box */

	.rotator-btn.up {
		top: -25px;
	}
	/* Down arrow below the box */

	.rotator-btn.down {
		bottom: -45px;
	}
/* ============================== Feature Card Logos ============================== */
.feature-card .service-logo {
	width: 60px; /* adjust width as needed */
	height: 60px; /* adjust height as needed */
	object-fit: contain; /* preserve aspect ratio */
	margin: 0 auto 15px auto; /* center logo and add spacing below */
	display: block;
}
@media (max-width: 768px) {
	.why-choose-us .features-grid {
		grid-template-columns: 1fr !important;
		gap: 22px;
	}
}

.hero-text-rotator.paused span {
	animation-play-state: paused !important;
}

/* ============================== Contact Icons ============================== */

.contact-info {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 10px;
	background: #fff;
	color: #0f1f33;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
	text-decoration: none; /* remove underline for <a> */
}

	.contact-item i {
		font-size: 1.2rem;
		transition: transform 0.3s ease, color 0.3s ease;
	}

	/* WhatsApp green color */
	.contact-item .whatsapp-icon {
		color: #25D366;
	}

	/* Email color */
	.contact-item .email-icon {
		color: #f5c56b;
	}

	/* Map color */
	.contact-item .map-icon {
		color: #f5c56b;
	}

	/* Hover effects for all items */
	.contact-item:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	}

		/* Hover icon color changes */
		.contact-item:hover .whatsapp-icon {
			color: #128C7E; /* darker WhatsApp green on hover */
		}

		.contact-item:hover .email-icon,
		.contact-item:hover .map-icon {
			color: #e0ad4f; /* hover color for theme consistency */
		}
