/* --- CSS VARIABLES & RESET --- */
:root {
	--primary: #005f88; /* Deep Sea Blue */
	--secondary: #00a8cc; /* Bright Aqua */
	--accent: #f2a900; /* Industrial Yellow (matches the equipment in your images) */
	--dark: #1a2b34;
	--light: #f4f9fc;
	--white: #ffffff;
	--text-gray: #4a5568;
	--shadow: 0 4px 20px rgba(0, 95, 136, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", sans-serif;
	color: var(--dark);
	line-height: 1.6;
	background-color: var(--white);
	overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	color: var(--dark);
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s ease;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* --- UTILITIES --- */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

.text-center {
	text-align: center;
}
.text-primary {
	color: var(--primary);
}
.text-secondary {
	color: var(--secondary);
}

.btn {
	display: inline-block;
    margin: 10px;
	padding: 12px 30px;
	border-radius: 5px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9rem;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background-color: var(--primary);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--secondary);
	transform: translateY(-2px);
}

.btn-outline {
	border: 2px solid var(--primary);
	color: var(--primary);
	background: transparent;
}

.btn-outline:hover {
	background-color: var(--primary);
	color: var(--white);
}

/* --- HEADER --- */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
	z-index: 1000;
	padding: 15px 0;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--primary);
	letter-spacing: -0.5px;
}

.logo span {
	color: var(--secondary);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav-links a {
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--dark);
}

.nav-links a:hover {
	color: var(--secondary);
}

.mobile-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	/* Placeholder for Image 2 */
	background:
		linear-gradient(rgba(0, 30, 50, 0.7), rgba(0, 30, 50, 0.7)),
		url("assets/hero-bg.jpg");
	background-size: cover;
	background-position: center;
	color: var(--white);
	margin-top: 60px;
}

.hero-content h1 {
	font-size: 3.5rem;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--white);
}

.hero-content p {
	font-size: 1.25rem;
	margin-bottom: 30px;
	opacity: 0.9;
	max-width: 600px;
}

.region-badge {
	background: var(--accent);
	color: var(--dark);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 15px;
}

/* --- PROBLEM & SOLUTION GRID --- */
.problem-solution {
	background: var(--light);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.card {
	background: var(--white);
	padding: 30px;
	border-radius: 10px;
	box-shadow: var(--shadow);
	transition: 0.3s;
	border-top: 4px solid transparent;
}

.card:hover {
	transform: translateY(-5px);
	border-top-color: var(--secondary);
}

.card-icon {
	font-size: 2rem;
	color: var(--secondary);
	margin-bottom: 20px;
}

/* --- HOW IT WORKS (TECH) --- */
.tech-section {
	background: var(--white);
}

.tech-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.tech-text ul {
	margin-top: 20px;
}

.tech-text li {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.tech-text li i {
	color: var(--primary);
	margin-right: 15px;
	margin-top: 5px;
}

.tech-image, .calculator-types {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	position: relative;
}

.tech-image::after {
	content: "RAS Workflow";
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	padding: 5px 15px;
	font-size: 0.8rem;
	color: var(--primary);
	font-weight: bold;
}
.calculator-types::after {
	content: "Planners";
}

/* --- BENEFITS --- */
.benefits {
	background-color: var(--primary);
	color: var(--white);
}

.benefits h2 {
	color: var(--white);
}
.benefits .card {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--white);
}
.benefits .card h3 {
	color: var(--white);
}
.benefits .card p {
	color: rgba(255, 255, 255, 0.8);
}
.benefits .card-icon {
	color: var(--accent);
}

/* --- WHY MINAAQUA --- */
.differentiation {
	background-color: var(--light);
}

.diff-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.diff-item {
	display: flex;
	gap: 20px;
}

.diff-number {
	font-size: 3rem;
	font-weight: 800;
	color: rgba(0, 95, 136, 0.1);
	line-height: 1;
}

/* --- CTA SECTION --- */
.cta-section {
	background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
	color: var(--white);
	text-align: center;
	padding: 100px 0;
}

.cta-section h2 {
	color: var(--white);
	margin-bottom: 15px;
}

/* --- FOOTER --- */
footer {
	background: #111;
	color: #aaa;
	padding: 60px 0 20px;
	font-size: 0.9rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-logo {
	font-size: 1.5rem;
	color: var(--white);
	font-weight: bold;
	margin-bottom: 15px;
	display: block;
}
.footer-contact li {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.footer-bottom {
	border-top: 1px solid #333;
	padding-top: 20px;
	text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}
	.tech-layout {
		grid-template-columns: 1fr;
	}
	.diff-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--white);
		flex-direction: column;
		padding: 20px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	}
	.nav-links.active {
		display: flex;
	}
	.mobile-toggle {
		display: block;
	}

	#getInTouch:hover {
		background-color: var(--primary);
		color: black;
	}
}

/* --- CALCULATOR TOOLS --- */
.tool-page-header {
	margin-top: 80px; /* Offset for fixed header */
}

.section-intro {
	margin-bottom: 50px;
}

.calculator-form {
	margin-top: 20px;
}

.input-group {
	margin-bottom: 15px;
}

.input-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: var(--text-gray);
}

.calculator-form input,
.calculator-form select,
.form-input {
	width: 100%;
	padding: 10px;
	margin: 5px 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
}

.calculator-form input:focus {
	outline: none;
	border-color: var(--secondary);
}

.full-width {
	width: 100%;
	margin-top: 10px;
}

.calc-result {
	margin-top: 15px;
	font-weight: 700;
	color: var(--primary);
	min-height: 24px;
}

.hidden {
	display: none;
}

/* Section background */
.tools-preview {
	background-color: var(--light);
}

/* Tools list */
.tools-list {
	margin-bottom: 30px;
	padding: 0;
	list-style: none;
}

.tools-list-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
}

/* Icons */
.icon-secondary {
	color: var(--secondary);
}

/* Tech image panel */
.tech-image {
	background: var(--white);
	padding: 40px;
	text-align: center;
}

/* Grid for cards */
.tools-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* Cards */
.card {
	padding: 20px;
	border-top: 4px solid transparent;
}

.card-secondary {
	border-top-color: var(--secondary);
}

.card-accent {
	border-top-color: var(--accent);
}

.card-primary {
	border-top-color: var(--primary);
}

.card-dark {
	border-top-color: var(--dark);
}

/* Card icons */
.card-icon {
	font-size: 2rem;
	color: var(--primary);
}
