:root {
	--bg: #f4f8fc;
	--surface: #ffffff;
	--surface-alt: #ebf2fa;
	--ink: #11243a;
	--ink-soft: #435a75;
	--brand: #0d6a90;
	--brand-strong: #09516e;
	--accent: #f2b544;
	--success: #1f9d6f;
	--danger: #c93a3a;
	--ring: rgba(13, 106, 144, 0.25);
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 6px 20px rgba(19, 46, 73, 0.08);
	--shadow-md: 0 12px 36px rgba(19, 46, 73, 0.14);
	--max-width: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at 20% 0%, rgba(13, 106, 144, 0.16), transparent 40%),
		radial-gradient(circle at 85% 8%, rgba(242, 181, 68, 0.2), transparent 30%),
		var(--bg);
	line-height: 1.65;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--brand);
	text-decoration: none;
}

a:hover {
	color: var(--brand-strong);
}

.container,
.header-container,
.footer-content,
main > section {
	width: min(100% - 2rem, var(--max-width));
	margin-inline: auto;
}

.curtain {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: linear-gradient(120deg, #083753, #0d6a90 52%, #2f90b7);
	opacity: 1;
	transition: opacity 1s ease;
	display: grid;
	place-items: center;
}

.loader-content {
	display: grid;
	justify-items: center;
	gap: 0.6rem;
	color: #ffffff;
	text-align: center;
}

.loader-logo {
	width: clamp(62px, 12vw, 90px);
	height: clamp(62px, 12vw, 90px);
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
	animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-text {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1rem, 2.4vw, 1.3rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.95;
}

.loader-dots {
	width: 58px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), #ffffff, rgba(255, 255, 255, 0.15));
	background-size: 200% 100%;
	animation: dotsSweep 1.1s linear infinite;
}

.curtain-hide {
	opacity: 0;
}

.main-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(17, 36, 58, 0.08);
}

.main-header.scrolled {
	box-shadow: var(--shadow-sm);
}

.header-container {
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.logo {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: var(--shadow-sm);
}

.header-text h1 {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	color: var(--ink);
}

.header-text p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.88rem;
}

.main-nav .nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.main-nav a {
	display: inline-block;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
	background: rgba(13, 106, 144, 0.12);
	color: var(--brand-strong);
	outline: none;
}

.hamburger-menu {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(17, 36, 58, 0.14);
	background: #fff;
	border-radius: 12px;
	cursor: pointer;
}

.hamburger-line {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ink);
	margin: 5px auto;
	transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
	margin-top: 1.25rem;
	border-radius: var(--radius-lg);
	padding: clamp(1.4rem, 3vw, 3rem);
	background: linear-gradient(145deg, #0d6a90, #09516e 60%, #063c53);
	color: #fff;
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
}

.hero-section::after {
	content: "";
	position: absolute;
	inset: auto -12% -35% auto;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.hero-content h2 {
	margin-top: 0;
	margin-bottom: 0.9rem;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.6rem, 4.2vw, 2.8rem);
	line-height: 1.2;
}

.tagline {
	margin-bottom: 1.2rem;
	color: rgba(255, 255, 255, 0.92);
	max-width: 70ch;
}

.styled-link {
	color: #ffe39a;
	text-decoration: underline;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.72rem 1rem;
	border: none;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
	transform: translateY(-2px);
	background: var(--brand-strong);
	box-shadow: 0 10px 24px rgba(9, 81, 110, 0.35);
	outline: none;
}

.secondary-cta {
	background: #ffffff;
	color: var(--brand-strong);
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
	background: #f4fbff;
}

main section {
	margin-top: 1.6rem;
	padding: clamp(1rem, 2.4vw, 2rem);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	position: relative;
}

main section:not(.hero-section)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	background: linear-gradient(90deg, rgba(13, 106, 144, 0.85), rgba(242, 181, 68, 0.85));
	opacity: 0.9;
}

h2 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.35rem, 2.7vw, 2rem);
}

h3 {
	margin-bottom: 0.4rem;
}

.section-subtitle {
	margin-top: 0;
	color: var(--ink-soft);
}

.gallery-grid {
	margin-top: 1rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.partners-section {
	background: linear-gradient(145deg, #f7fbff, #e9f2fb);
}

.partners-carousel {
	margin-top: 1rem;
	overflow: hidden;
	border-radius: var(--radius-md);
	border: 1px solid rgba(17, 36, 58, 0.08);
	background: #ffffff;
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.partners-track {
	display: flex;
	width: max-content;
	transform: translate3d(var(--marquee-offset, 0px), 0, 0);
	will-change: transform;
}

.partner-group {
	display: flex;
	flex: none;
	gap: 1rem;
	padding: 1rem;
}

.partner-slide {
	flex: 0 0 clamp(170px, 19vw, 230px);
	padding: 0.75rem;
	text-align: center;
	border: 1px solid rgba(17, 36, 58, 0.08);
	border-radius: 14px;
	background: linear-gradient(145deg, #ffffff, #f4f8fc);
}

.partner-slide img {
	width: 100%;
	height: clamp(90px, 11vw, 120px);
	margin-inline: auto;
	object-fit: contain;
	border-radius: 14px;
	padding: 0.35rem;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(17, 36, 58, 0.06);
}


.partner-slide h3 {
	margin: 0.65rem 0 0;
	font-size: 0.92rem;
	color: var(--ink);
}

.gallery-item {
	margin: 0;
	background: var(--surface-alt);
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid rgba(17, 36, 58, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.gallery-item figcaption {
	padding: 0.75rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.purpose-section ul,
.membership-section ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.purpose-section li,
.membership-section li {
	padding: 0.7rem 0.8rem;
	background: var(--surface-alt);
	border-radius: 12px;
}

.purpose-section i,
.membership-section i {
	width: 1.1rem;
	margin-right: 0.4rem;
	color: var(--brand);
}

.review-grid {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.9rem;
}

.review-card {
	padding: 1rem;
	border: 1px solid rgba(17, 36, 58, 0.1);
	border-radius: var(--radius-sm);
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.review-text {
	margin-top: 0;
}

.reviewer-meta {
	margin-bottom: 0;
	color: var(--ink-soft);
	font-weight: 700;
}

.loading-state,
.no-reviews-message,
.error-message {
	padding: 1rem;
	border-radius: 12px;
	background: var(--surface-alt);
}

.error-message {
	color: var(--danger);
}

.write-review-card {
	margin-top: 1rem;
	border: 1px solid rgba(17, 36, 58, 0.12);
	border-radius: var(--radius-sm);
	padding: 1rem;
	background: #fcfdff;
}

.form-group {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 0.75rem;
}

label {
	font-weight: 700;
	font-size: 0.92rem;
}

input,
textarea {
	width: 100%;
	border-radius: 10px;
	border: 1px solid rgba(17, 36, 58, 0.18);
	padding: 0.7rem 0.8rem;
	font: inherit;
	color: var(--ink);
	background: #fff;
}

input:focus,
textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--ring);
	outline: none;
}

.cta-section {
	background: linear-gradient(150deg, #e7f4ff, #f4f8fc);
}

.button-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.newsletter-section {
	background: linear-gradient(140deg, #fdf3da, #f9e7b8);
}

.newsletter-form {
	margin-top: 0.8rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.newsletter-form input {
	flex: 1 1 260px;
}

.main-footer {
	margin-top: 1.5rem;
	padding: 1.5rem 0 2rem;
	background: #0d253a;
	color: #dbe7f3;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}

.main-footer h4 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: #fff;
}

.social-icons {
	display: flex;
	gap: 0.5rem;
}

.social-icons a {
	width: 36px;
	height: 36px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.social-icons a:hover {
	background: rgba(255, 255, 255, 0.22);
}

.footer-links {
	display: grid;
	gap: 0.35rem;
}

.footer-links a {
	color: #dbe7f3;
}

.copyright {
	margin: 1.1rem auto 0;
	width: min(100% - 2rem, var(--max-width));
	color: #b6ccdf;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 0.8rem;
	font-size: 0.92rem;
}

.text-center {
	text-align: center;
}

.mt-4 {
	margin-top: 1rem;
}

.mr-2 {
	margin-right: 0.45rem;
}

.fade-in {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: var(--reveal-delay, 0s);
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.bounce-in {
	animation: bounceIn 0.9s ease;
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: translateY(-12px) scale(0.97);
	}
	60% {
		opacity: 1;
		transform: translateY(4px) scale(1.01);
	}
	100% {
		transform: translateY(0) scale(1);
	}
}

@keyframes loaderPulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.06);
	}
}

@keyframes dotsSweep {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@media (max-width: 930px) {
	.hamburger-menu {
		display: inline-block;
	}

	.main-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 84px;
		background: rgba(255, 255, 255, 0.98);
		border-bottom: 1px solid rgba(17, 36, 58, 0.12);
		padding: 0.3rem 1rem 1rem;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.main-nav.active {
		max-height: 320px;
	}

	.main-nav .nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}

	.main-nav a {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.header-text p {
		display: none;
	}

	.hero-content h2 {
		font-size: 1.55rem;
	}

	.footer-content {
		flex-direction: column;
	}

	.partner-slide {
		flex-basis: clamp(150px, 44vw, 180px);
	}

	.partner-group {
		gap: 0.7rem;
		padding: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.fade-in {
		opacity: 1;
		transform: none;
	}
}
