:root {
	--brand-color: #00a6ff;
	--blue-dark: #174ee2;
	--orange-accent: #ff9f35;
	--text-color: #444444;
	--text-light: #888888;
	--text-muted: #6a707e;
	--bg-cyan: #92fce3;
	--bg-white: #ffffff;
	--bg-dark: #303030;
	--bg-dark-light: #32353c;
	--border-color: rgba(0, 0, 0, 0.15);
	--footer-text: rgba(255, 255, 255, 0.6);
	--footer-link: #bcbcbc;
	--container-max: 1326px;
	--header-height: 110px;
	--header-height-mobile: 70px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text-color);
	background: var(--bg-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
}

p {
	margin: 0 0 15px;
}

a {
	color: var(--brand-color);
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
	opacity: 0.8;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

input, textarea, select, button {
	font-family: inherit;
}

/* Preloader */
.preloader {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader {
	display: flex;
	gap: 6px;
}

.loader span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brand-color);
	animation: beat 0.7s infinite ease-in-out both;
}

.loader span:nth-child(1) { animation-delay: -0.32s; }
.loader span:nth-child(2) { animation-delay: -0.16s; }

@keyframes beat {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1); }
}

/* Skip link */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	z-index: 100000;
	transition: top 0.2s;
}

.skip-link:focus {
	top: 0;
}

/* Screen reader text */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Container */
.page-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 15px;
}

/* Scroll to top */
.scroll-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border: 1px solid var(--text-light);
	border-radius: 50%;
	background: #fff;
	color: var(--text-light);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

.scroll-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-top:hover {
	border-color: var(--brand-color);
	color: var(--brand-color);
}

.scroll-top svg {
	width: 14px;
	height: 14px;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: transparent;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	height: var(--header-height);
	transition: background 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 25px;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding a {
	display: inline-block;
}

.site-branding img {
	max-height: 70px;
	width: auto;
}

/* Desktop Navigation */
.main-nav {
	display: flex;
	align-items: center;
}

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

.main-nav .menu li a {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
	line-height: var(--header-height);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav .menu li a:hover,
.main-nav .menu li.current-menu-item a {
	color: var(--brand-color);
}

/* Mobile menu toggle */
.hamburger-menu {
	display: none;
}

.hamburger {
	width: 26px;
	height: 20px;
	position: relative;
	cursor: pointer;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--text-color);
	transition: all 0.3s ease;
}

.hamburger::before { top: 0; }

.hamburger span { top: 9px; }

.hamburger::after { bottom: 0; }

.hamburger.active::before {
	transform: rotate(45deg);
	top: 9px;
}

.hamburger.active span { opacity: 0; }

.hamburger.active::after {
	transform: rotate(-45deg);
	bottom: 9px;
}

/* Mobile navigation panel */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -320px;
	width: 320px;
	max-width: 85vw;
	height: 100vh;
	background: #fff;
	box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
	padding: 80px 30px 30px;
	z-index: 200;
	transition: right 0.35s ease;
	overflow-y: auto;
}

.mobile-nav.open {
	right: 0;
}

.mobile-nav .close-menu {
	position: absolute;
	top: 25px;
	right: 25px;
	font-size: 28px;
	cursor: pointer;
	color: var(--text-color);
}

.mobile-nav .menu {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mobile-nav .menu li a {
	display: block;
	font-size: 18px;
	font-weight: 500;
	color: var(--text-color);
}

.mobile-nav .menu li a:hover,
.mobile-nav .menu li.current-menu-item a {
	color: var(--brand-color);
}

.mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 150;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.mobile-overlay.open {
	opacity: 1;
	visibility: visible;
}

/* Header cap to offset fixed header */
.header-cap {
	height: var(--header-height);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	border: 2px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-brand {
	background: var(--brand-color);
	border-color: var(--brand-color);
	color: #fff;
}

.btn-brand:hover {
	background: transparent;
	color: var(--brand-color);
	opacity: 1;
}

/* Headings shortcode style */
.section-heading {
	text-align: center;
	margin-bottom: 40px;
}

.section-heading h2,
.section-heading h3 {
	font-size: 35px;
	line-height: 45px;
	margin-bottom: 10px;
}

.section-heading p.subtitle {
	font-size: 16px;
	color: var(--text-light);
	line-height: 25px;
	margin: 0;
}

.section-heading.text-left {
	text-align: left;
}

.section-heading.text-left h2,
.section-heading.text-left h3 {
	font-size: 58px;
	line-height: 68px;
	margin-bottom: 10px;
}

.brand-color {
	color: var(--brand-color);
}

/* Sections */
.section {
	padding: 80px 0;
	position: relative;
}

.section-no-padding {
	padding: 0;
}

/* Hero / Introduction section */
.hero-section {
	background: var(--bg-cyan);
	padding: 0;
	position: relative;
	overflow: hidden;
}

.hero-section .page-container {
	display: flex;
	align-items: center;
	min-height: 600px;
}

.hero-content {
	flex: 0 0 66.666%;
	padding: 100px 30px 100px 0;
}

.hero-image {
	flex: 0 0 33.333%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-section .section-heading {
	text-align: left;
}

.hero-section .section-heading h3 {
	font-size: 58px;
	line-height: 68px;
}

.hero-section p {
	font-size: 16px;
	font-weight: 300;
}

/* Objectives section */
.objectives-section {
	background: var(--bg-white);
}

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

.objectives-list {
	border-left: 2px solid var(--orange-accent);
}

.objectives-list li {
	padding: 18px 0 18px 25px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.objectives-list li:last-child {
	border-bottom: none;
}

.objectives-list h4 {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text-color);
	margin: 0;
}

/* Team section */
.team-section {
	padding: 30px 0 80px;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.team-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.team-card:hover img {
	transform: scale(1.05);
}

.team-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.35s ease;
	padding: 20px;
	text-align: center;
}

.team-card:hover .team-overlay {
	opacity: 1;
}

.team-info h3 {
	color: #fff;
	font-size: 22px;
	margin-bottom: 5px;
}

.team-info p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.team-link {
	color: #fff;
	font-size: 28px;
	display: inline-block;
}

/* Contact CTA section */
.contact-section {
	padding: 100px 0;
}

.contact-form-wrap {
	max-width: 800px;
	margin: 0 auto;
}

.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form label {
	display: block;
	font-size: 14px;
	margin-bottom: 8px;
	color: var(--text-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	color: var(--text-color);
	background: #fff;
	transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--blue-dark);
}

.contact-form textarea {
	height: 130px;
	resize: vertical;
}

.contact-form input[type="submit"] {
	background: var(--brand-color);
	border: 2px solid var(--brand-color);
	color: #fff;
	padding: 14px 40px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.contact-form input[type="submit"]:hover {
	background: transparent;
	color: var(--brand-color);
}

.contact-notice {
	padding: 15px;
	margin-bottom: 20px;
	font-size: 14px;
}

.contact-notice.success {
	background: rgba(57, 182, 40, 0.1);
	color: #39b628;
	border-left: 3px solid #39b628;
}

.contact-notice.error {
	background: rgba(237, 37, 37, 0.1);
	color: #ed2525;
	border-left: 3px solid #ed2525;
}

.honeypot-field {
	display: none;
}

/* Page header */
.page-header {
	background: var(--bg-cyan);
	padding: 80px 0;
	text-align: center;
}

.page-header h1 {
	font-size: 42px;
	margin-bottom: 10px;
}

.page-header p {
	color: var(--text-light);
	font-size: 18px;
	margin: 0;
}

/* About page */
.about-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 0;
}

.about-content h3 {
	font-size: 28px;
	line-height: 1.4;
	margin-bottom: 25px;
}

.about-content p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-color);
}

/* Gallery */
.gallery-section {
	padding: 80px 0;
}

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

.gallery-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: 0;
}

.gallery-item img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
	color: #fff;
}

.gallery-caption h4 {
	color: #fff;
	font-size: 18px;
	margin: 0;
}

.gallery-caption span {
	font-size: 13px;
	opacity: 0.8;
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.lightbox.open {
	opacity: 1;
	visibility: visible;
}

.lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 30px;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
}

/* Blog */
.blog-section {
	padding: 80px 0;
}

.blog-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.blog-card {
	display: flex;
	gap: 25px;
	padding: 25px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease;
}

.blog-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
	flex: 0 0 200px;
	height: 140px;
	background: var(--bg-cyan);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-thumb-placeholder {
	font-size: 48px;
	color: var(--brand-color);
	opacity: 0.4;
}

.blog-content {
	flex: 1;
}

.blog-content h3 {
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 10px;
}

.blog-content h3 a {
	color: #222;
}

.blog-content h3 a:hover {
	color: var(--brand-color);
	opacity: 1;
}

.blog-meta {
	font-size: 13px;
	color: var(--text-light);
	margin-bottom: 12px;
}

.blog-excerpt {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.7;
	margin: 0;
}

/* Single post */
.single-post {
	padding: 60px 0;
}

.single-post .entry-header {
	margin-bottom: 30px;
}

.single-post h1 {
	font-size: 36px;
	line-height: 1.3;
	margin-bottom: 15px;
}

.single-post .entry-content {
	font-size: 16px;
	line-height: 1.8;
}

/* Contact page */
.contact-details-section {
	padding: 80px 0;
}

.contact-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.contact-info h3 {
	font-size: 28px;
	margin-bottom: 20px;
}

.contact-info h4 {
	font-size: 18px;
	margin-bottom: 8px;
}

.contact-info p {
	color: var(--text-muted);
	margin-bottom: 20px;
}

.contact-social {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.contact-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border-color);
	border-radius: 50%;
	color: var(--text-color);
	font-size: 14px;
}

.contact-social a:hover {
	background: var(--brand-color);
	border-color: var(--brand-color);
	color: #fff;
	opacity: 1;
}

/* Footer */
.site-footer {
	background: var(--bg-dark);
	color: var(--footer-text);
	padding: 70px 0 0;
}

.footer-widgets {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 55px;
}

.footer-widget h4 {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 25px;
}

.footer-widget p {
	font-size: 14px;
	line-height: 1.7;
	color: var(--footer-text);
}

.footer-widget ul li {
	margin-bottom: 10px;
}

.footer-widget ul li a {
	color: var(--footer-link);
	font-size: 14px;
}

.footer-widget ul li a:hover {
	color: #fff;
	opacity: 1;
}

.footer-logo {
	margin-bottom: 20px;
}

.footer-logo img {
	max-height: 60px;
	width: auto;
}

.footer-bottom {
	border-top: 1px solid rgba(136, 136, 136, 0.2);
	padding: 25px 0;
	text-align: center;
	font-size: 13px;
	color: var(--footer-link);
}

.footer-bottom a {
	color: var(--footer-link);
}

/* Socialbar */
.socialbar {
	display: flex;
	gap: 10px;
}

.socialbar a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

.socialbar a:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: transparent;
	color: #fff;
	opacity: 1;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }

/* Responsive */
@media screen and (max-width: 1024px) {
	:root {
		--header-height: 90px;
	}

	.hero-section .page-container {
		min-height: auto;
	}

	.hero-content {
		flex: 0 0 60%;
	}

	.hero-image {
		flex: 0 0 40%;
	}

	.hero-section .section-heading h3,
	.section-heading.text-left h3 {
		font-size: 42px;
		line-height: 52px;
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-widgets {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	:root {
		--header-height: var(--header-height-mobile);
	}

	.main-nav {
		display: none;
	}

	.hamburger-menu {
		display: block;
	}

	.hero-section .page-container {
		flex-direction: column;
		padding-top: 40px;
	}

	.hero-content {
		flex: 1 1 auto;
		padding: 40px 0;
		text-align: center;
	}

	.hero-image {
		flex: 1 1 auto;
		padding-bottom: 40px;
	}

	.hero-section .section-heading,
	.section-heading.text-left {
		text-align: center;
	}

	.hero-section .section-heading h3,
	.section-heading.text-left h3 {
		font-size: 32px;
		line-height: 42px;
	}

	.objectives-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.team-card {
		aspect-ratio: auto;
		height: 400px;
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
	}

	.gallery-grid,
	.contact-details-grid {
		grid-template-columns: 1fr;
	}

	.blog-card {
		flex-direction: column;
	}

	.blog-thumb {
		flex: 1 1 auto;
		height: 200px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.section {
		padding: 50px 0;
	}
}
