/* ==========================================================================
   Rebel Labs — clean static stylesheet
   Replaces the Divi/et-core framework CSS. Hand-written, dependency-free.
   ========================================================================== */

:root {
	--teal: #1fb19f;
	--blue: #2ea3f2;
	--navy: #313b4b;
	--dark: #1f1f1f;
	--pink: #e81f63;
	--max-width: 1080px;
	--font-heading: 'Montserrat', Helvetica, Arial, sans-serif;
	--font-body: 'Open Sans', Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	color: var(--dark);
	line-height: 1.7;
	background: #fff;
}

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

a {
	color: var(--teal);
}

a:hover {
	color: var(--blue);
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* --- Header / Nav -------------------------------------------------------- */

#main-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 16px 20px;
}

#main-header .logo_container img {
	height: 50px;
	width: auto;
}

#main-header nav ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}

#main-header nav a {
	color: var(--dark);
	text-decoration: none;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#main-header nav a:hover,
#main-header nav a[aria-current="page"] {
	color: var(--teal);
}

@media (max-width: 600px) {
	#main-header {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	#main-header nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(180deg, var(--pink) 0%, rgba(232, 31, 99, 0.45) 100%), url('../images/2017/10/26212120455_3b1ff3279c_o-1080x675.jpg');
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	padding: 110px 20px;
}

.hero .hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 60px;
	line-height: 1.4;
	margin-bottom: 0.3em;
	letter-spacing: 2px;
}

.hero .subhead {
	display: block;
	font-size: 22px;
	max-width: 700px;
	margin: 0 auto 1.5em;
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.8;
}

.hero .hero-buttons {
	margin-top: 20px;
}

.hero .hero-buttons a {
	display: inline-block;
	margin: 0 10px;
	padding: 0.6em 1.6em;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid;
	transition: all 0.2s ease;
}

.hero .hero-buttons a.btn-primary {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

.hero .hero-buttons a.btn-secondary {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.hero .hero-buttons a:hover {
	background: #fff;
	border-color: #fff;
	color: var(--teal);
}

/* --- Manifesto row: half image, half text ------------------------------------ */

.manifesto-row {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}

.manifesto-image {
	flex: 1 1 50%;
	min-height: 500px;
	background-size: cover;
	background-position: center;
}

.manifesto-text {
	flex: 1 1 50%;
	background: #f4f4f4;
	color: var(--dark);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 100px 80px;
}

.manifesto-text .section-title {
	color: var(--navy);
	text-align: left;
}

.manifesto-text .manifesto-list {
	margin: 0;
}

@media (max-width: 900px) {
	.manifesto-row {
		flex-direction: column;
	}
	.manifesto-image {
		min-height: 300px;
	}
	.manifesto-text {
		padding: 50px 30px;
	}
	.manifesto-text .section-title {
		text-align: center;
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: 70vh;
		padding: 60px 20px;
	}
	.hero h1 {
		font-size: 34px;
	}
	.hero .subhead {
		font-size: 18px;
	}
	.hero .hero-buttons a {
		display: block;
		margin: 10px auto;
		max-width: 220px;
	}
}

/* --- Sections --------------------------------------------------------------- */

section {
	padding: 50px 0;
}

.section-light {
	background: #fff;
	color: var(--dark);
}

.section-grey {
	background: #f4f4f4;
	color: var(--dark);
}

.section-teal {
	background: var(--teal);
	color: #fff;
}

.section-navy {
	background: var(--navy);
	color: #fff;
}

.section-title {
	text-align: center;
	color: var(--teal);
	font-size: 34px;
	margin-bottom: 1em;
}

.section-grey .section-title {
	color: var(--navy);
}

.section-navy .section-title,
.section-teal .section-title {
	color: #fff;
}

.text-center {
	text-align: center;
}

/* --- Services / icon grid ------------------------------------------------- */

.icon-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.icon-grid > div {
	text-align: center;
}

@media (max-width: 767px) {
	.icon-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.icon-grid img {
	margin: 0 auto 16px;
	width: 80px;
	height: 80px;
}

.icon-grid h4 {
	color: #fff;
	font-size: 18px;
}

.icon-grid p {
	color: #cdd2da;
	font-size: 15px;
	line-height: 1.6;
	margin-top: 8px;
}

/* --- Manifesto list --------------------------------------------------------- */

.manifesto-list {
	list-style: none;
	max-width: 700px;
	margin: 0 auto;
	padding: 0;
	columns: 1;
}

.manifesto-list li {
	position: relative;
	padding: 10px 0 10px 36px;
	font-size: 17px;
}

.manifesto-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 10px;
	color: var(--teal);
	font-weight: 700;
	font-size: 18px;
}

/* --- Projects --------------------------------------------------------------- */

.project-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.project-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	font-size: 13px;
}

.project-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.project-card .project-body {
	padding: 10px;
}

.project-card h4 {
	color: var(--navy);
	margin-bottom: 0.4em;
	font-size: 14px;
}

.project-card p {
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.project-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	.project-card {
		font-size: 14px;
	}
	.project-card img {
		height: 160px;
	}
	.project-card .project-body {
		padding: 16px;
	}
	.project-card h4 {
		font-size: 16px;
	}
	.project-card p {
		font-size: 13px;
	}
}

@media (max-width: 600px) {
	.project-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* --- Testimonials ------------------------------------------------------------ */

.team-clients-heading {
	text-align: center;
	color: var(--navy);
	font-size: 36px;
	margin-bottom: 20px;
}

.team-clients-logo {
	display: block;
	width: 75vw;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.team-clients-logo {
		width: 80%;
	}
}

.testimonial-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.testimonial {
	flex: 1 1 0;
	min-width: 260px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.testimonial img.portrait {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.testimonial blockquote {
	margin: 0 0 1em;
	font-style: italic;
	color: var(--dark);
}

.testimonial cite {
	display: block;
	font-style: normal;
	font-weight: 700;
	font-family: var(--font-heading);
	color: var(--navy);
}

.testimonial .role {
	display: block;
	font-size: 14px;
	color: #777;
}

/* --- Contact ------------------------------------------------------------------ */

#contact {
	padding: 30px 0;
}

#contact .section-title {
	font-size: 22px;
	margin-bottom: 0.6em;
}

.contact-details {
	text-align: center;
	max-width: 500px;
	margin: 0 auto;
	font-size: 14px;
}

.contact-details p {
	margin-bottom: 0.4em;
}

.contact-details a {
	color: #fff;
	text-decoration: underline;
}

.contact-details a:hover {
	color: var(--teal);
}

/* --- Footer ----------------------------------------------------------------------- */

#main-footer {
	background: var(--navy);
	color: #fff;
	text-align: center;
	padding: 16px 20px;
	font-size: 14px;
}

#main-footer a {
	color: #fff;
	font-weight: 700;
}
