* {
	box-sizing: border-box;
}

:root {
	--navy: #003087;
	--gold: #f0a500;
	--white: #ffffff;
	--off-white: #f8f7f4;
	--text: #1a1a2e;
	--muted: #5a5a72;
	--nav-h: 64px;
	--font-main: "Poppins", sans-serif;
}

html {
	font-family: "Poppins", sans-serif;
	scroll-behavior: smooth;
}

body {
	background: white;
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
}

/* ── NAV ── */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--nav-h);
	display: flex;
	align-items: stretch;
	background: var(--white);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.dm-title {
	display: flex;
	align-items: center;
	padding: 0 32px;
	padding-left: 60px;
	font-family: "Righteous", serif;
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--text);
	text-decoration: none;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}

.nav-links-wrapper {
	margin-left: auto;
	display: flex;
	align-items: stretch;
}

/* Blue curved section */
.nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--navy);
	padding: 0 60px;
	border-radius: 0 0 0 40px;
}

.nav-links a {
	color: var(--white);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: 6px;
	transition: background 0.2s;
}
.nav-links a:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Login button at far right */
.nav-login {
	display: flex;
	align-items: center;
	padding: 0 28px;
	background: var(--white);
}
.nav-login a {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	padding: 8px 20px;
	border-radius: 8px;
	transition:
		background 0.2s,
		color 0.2s;
}
.nav-login a:hover {
	background: var(--text);
	color: var(--white);
}

/* ── HERO ── */
.hero {
	min-height: calc(100vh - var(--nav-h));
	min-height: calc(100dvh - var(--nav-h));
	padding-bottom: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 20px 0px;
	border-bottom: 1px solid #e0e0e0;
}

.hero-left {
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: fadeUp 0.7s ease both;
}

.hero-title {
	font-family: "EB Garamond", serif;
	font-size: clamp(2rem, 3.8vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--text);
	letter-spacing: -0.02em;
}
.hero-title span {
	font-style: italic;
}

.hero-desc {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--muted);
	max-width: 360px;
	font-style: italic;
}

.btn-login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gold);
	color: var(--text);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 12px 28px;
	border-radius: 50px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	width: fit-content;
	box-shadow: 0 4px 16px rgba(240, 165, 0, 0.35);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(240, 165, 0, 0.45);
}

/* Logos row */
.logos {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
	animation: fadeUp 0.7s 0.25s ease both;
}
.logos img {
	width: 68px;
	height: 68px;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
	transition: transform 0.2s;
}
.logos img:hover {
	transform: scale(1.08);
}

.logo-badge {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.45rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	flex-shrink: 0;
	border: 2.5px solid;
	transition: transform 0.2s;
	cursor: default;
}
.logo-badge:hover {
	transform: scale(1.08);
}

/* Label Wrappers */
.logo-badge-label {
	font-size: 0.5rem;
	font-weight: 700;
	padding: 2px;
}
.logo-badge-label-lg {
	font-size: 0.65rem;
	font-weight: 800;
}

.logo-badge-1 {
	background: #e8f0ff;
	border-color: var(--navy);
	color: var(--navy);
}
.logo-badge-2 {
	background: #fff8e1;
	border-color: var(--gold);
	color: #8a6500;
}
.logo-badge-3 {
	background: #e8f4e8;
	border-color: #2a7a2a;
	color: #2a7a2a;
}

/* Hero right: feature-card carousel */
.hero-right {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: fadeUp 0.7s 0.1s ease both;
	width: 100%;
}

/* ── FEATURE CAROUSEL (integrated into hero) ── */
/* Fluid sizing: scales continuously with viewport width instead of
   jumping only at fixed breakpoints, so it adapts to any device. */
.feature-carousel {
	--fc-card-w: clamp(150px, 24vw, 250px);
	--fc-offset: clamp(78px, 13vw, 165px);

	position: relative;
	width: 100%;
	height: clamp(220px, 30vw, 400px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fc-card {
	position: absolute;
	width: var(--fc-card-w);
	background: var(--white);
	border-radius: 20px;
	padding: clamp(16px, 2.4vw, 28px) clamp(14px, 2vw, 22px) clamp(14px, 2vw, 24px);
	box-shadow: 0 8px 28px rgba(0, 48, 135, 0.08);
	border: 1px solid rgba(0, 48, 135, 0.06);
	text-align: left;
	will-change: transform, opacity, box-shadow;
	transition:
		transform 1.6s cubic-bezier(0.65, 0, 0.35, 1),
		opacity 1.6s ease,
		box-shadow 1.6s ease;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.fc-card .feature-icon {
	font-size: clamp(1.3rem, 2.4vw, 2.2rem);
	color: var(--navy);
	margin-bottom: clamp(6px, 1.2vw, 14px);
	background: rgba(0, 48, 135, 0.06);
	padding: clamp(6px, 1vw, 10px);
	border-radius: 14px;
	line-height: 1;
	display: inline-block;
}

.fc-card h3 {
	font-family: "EB Garamond", serif;
	font-weight: 700;
	font-size: clamp(0.85rem, 1.6vw, 1.2rem);
	margin-bottom: clamp(4px, 0.8vw, 8px);
	color: var(--text);
}

.fc-card p {
	color: var(--muted);
	font-size: clamp(0.68rem, 1.1vw, 0.88rem);
	line-height: 1.5;
	margin: 0;
}

.fc-left {
	transform: translateX(calc(var(--fc-offset) * -1)) scale(0.85);
	opacity: 0.6;
	z-index: 1;
}

.fc-center {
	transform: translateX(0) scale(1.15);
	opacity: 1;
	z-index: 3;
	box-shadow: 0 24px 55px rgba(0, 48, 135, 0.28);
}

.fc-right {
	transform: translateX(var(--fc-offset)) scale(0.85);
	opacity: 0.6;
	z-index: 1;
}

/* Hero Image (legacy, no longer used but kept harmless if referenced) */
.hero-right img {
	height: 100%;
	max-width: 200%;
	object-fit: contain;
	filter: drop-shadow(4px 8px 20px rgba(0, 0, 0, 0.18));
	position: relative;
	z-index: 1;
	transform: scale(1.15);
	transform-origin: bottom center;
}

/* ── CONTAINER ── */
.container {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 60px 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-top: 1px solid #e0e0e0;
}

/* ── OFFICE GOAL ── */
.goal-wrap {
	position: relative;
	padding-top: 40px;
}

.goal-header {
	background: #1e5bb8;
	color: white;
	padding: 40px 150px 40px 150px;
	position: relative;
}

.goal-title {
	background: #f0c94a;
	font-family: "EB Garamond", serif;
	color: black;
	font-weight: bold;
	display: inline-block;
	padding: 10px 40px 10px 20px;
	font-size: 20px;
	position: absolute;
	top: -22px;
	left: 0px;
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}

.logo-circle {
	position: absolute;
	right: -20px;
	top: 0%;
	transform: translateY(-50%);
	width: 130px;
	height: 130px;
	border-radius: 50%;
	border: 2.5px solid #1e5bb8;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 10;
}

.logo-circle img {
	width: 95%;
	height: 95%;
	object-fit: cover;
}

.goal-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	font-style: italic;
	text-align: justify;
}

/* ── CORE TITLE ── */
.core-title-wrap {
	text-align: center;
}

.core-title {
	background: #f0c94a;
	color: #1a1a2e;
	font-family: "EB Garamond", serif;
	font-size: 1.4rem;
	padding: 14px 44px;
	clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 20px 100%, 0 50%);
	display: inline-block;
	text-align: center;
}

/* ── VALUES GRID ── */
.values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* ── VALUE CARD ── */
.value-card {
	background: #1a3a8f;
	border-top: 5px solid #c9a84c;
	padding: 20px 16px;
	color: #fff;
	font-family: "EB Garamond", serif;
	font-size: 0.9rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.value-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	border-top-color: #f0a500;
}

.value-text {
	position: relative;
	z-index: 2;
	color: white;
	font-size: 14px;
	text-transform: uppercase;
}

/* ── MODAL ── */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 999;
	padding: 20px;
}

.modal-content {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	width: 100%;
	max-width: 360px;
	text-align: center;
	position: relative;
	animation: fadeIn 0.3s ease;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 22px;
	cursor: pointer;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* ── CJPO OFFICE ── */
.goal-header-cjpo {
	background: #1e5bb8;
	color: white;
	padding: 40px 150px 40px 150px;
	position: relative;
	margin-top: 20px;
	overflow: visible;
}

.goal-title-cjpo {
	background: #f0c94a;
	font-family: "EB Garamond", serif;
	color: black;
	font-weight: bold;
	display: inline-block;
	padding: 10px 20px 10px 40px;
	font-size: 20px;
	position: absolute;
	top: -22px;
	right: 0px;
	clip-path: polygon(24px 0, 100% 0, 100% 100%, 24px 100%, 0 50%);
}

.logo-circle-cjpo {
	position: absolute;
	left: -20px;
	top: 0%;
	transform: translateY(-50%);
	width: 130px;
	height: 130px;
	border-radius: 50%;
	border: 2.5px solid #1e5bb8;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 10;
}

.logo-circle-cjpo img {
	width: 80%;
	height: 80%;
	object-fit: cover;
}

/* ── FEATURES CARDS (legacy standalone styles, retained for compatibility) ── */
.features-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 40px 40px;
	text-align: center;
	border-bottom: 1px solid #e0e0e0;
}

.features-title {
	font-family: "EB Garamond", serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--text);
	letter-spacing: -0.01em;
	margin-bottom: 12px;
	position: relative;
	display: inline-block;
}

.features-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 3px;
	background: var(--gold);
	margin: 10px auto 0;
	border-radius: 2px;
}

.features-sub {
	color: var(--muted);
	font-size: 1rem;
	max-width: 700px;
	margin: 0 auto 40px;
	font-style: italic;
	line-height: 1.6;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: left;
}

.feature-card {
	background: var(--white);
	border-radius: 20px;
	padding: 32px 24px 28px;
	box-shadow: 0 8px 28px rgba(0, 48, 135, 0.08);
	border: 1px solid rgba(0, 48, 135, 0.06);
	transition:
		transform 0.25s ease,
		box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 48, 135, 0.12);
}

.feature-icon {
	font-size: 2.4rem;
	color: var(--navy);
	margin-bottom: 14px;
	background: rgba(0, 48, 135, 0.06);
	padding: 10px;
	border-radius: 14px;
	line-height: 1;
}

.feature-card h3 {
	font-family: "EB Garamond", serif;
	font-weight: 700;
	font-size: 1.35rem;
	margin-bottom: 10px;
	color: var(--text);
}

.feature-card p {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

/* ── OFFICE EVENTS ── */
.events-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 40px;
	text-align: center;
}

.events-title {
	font-family: "EB Garamond", serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--text);
	letter-spacing: -0.01em;
	margin-bottom: 28px;
	position: relative;
	display: inline-block;
}

.events-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 3px;
	background: var(--gold);
	margin: 10px auto 0;
	border-radius: 2px;
}

.office-tabs {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 0 0 32px;
	flex-wrap: wrap;
}

.office-btn {
	padding: 12px 26px;
	border: 2px solid var(--navy);
	border-radius: 30px;
	cursor: pointer;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 0.88rem;
	background: var(--white);
	color: var(--navy);
	transition: all 0.25s ease;
}

.office-btn:hover {
	background: rgba(0, 48, 135, 0.08);
}

.office-btn.active {
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 4px 14px rgba(0, 48, 135, 0.3);
}

.slideshow {
	position: relative;
	width: min(820px, 95%);
	margin: auto;
}

.slideshow img {
	width: 100%;
	height: 480px;
	object-fit: contain;
	border-radius: 16px;
	border: 4px solid var(--white);
	box-shadow: 0 12px 32px rgba(0, 48, 135, 0.18);
	display: block;
}

.nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	cursor: pointer;
	background: var(--white);
	color: var(--navy);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition:
		background 0.2s,
		transform 0.2s;
}

.nav-btn:hover {
	background: var(--gold);
	color: var(--text);
	transform: translateY(-50%) scale(1.06);
}

.prev {
	left: 20px;
}

.next {
	right: 20px;
}

.event-overlay {
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 4px;
	padding: 40px 28px 22px;
	border-radius: 0 0 12px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
	text-align: left;
	pointer-events: none;
}

.event-overlay h3 {
	font-family: "EB Garamond", serif;
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--white);
	margin: 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d0d0d8;
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.2s;
}

.dot.active {
	background: var(--gold);
	transform: scale(1.15);
}

/* ── FOOTER ── */
.site-footer {
	border-top: 1px solid #e0e0e0;
	margin: 0;
	padding: 0;
	width: 100%;
}

.footer-inner {
	display: flex;
	gap: 40px;
	padding: 40px 60px 28px;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 0 auto;
}

.footer-col {
	flex: 1;
	min-width: 200px;
}

.footer-uni {
	font-family: "EB Garamond", serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 8px;
}

.footer-addr {
	font-size: 12.5px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 10px;
}

.footer-offices {
	font-size: 12.5px;
	color: #1a1a2e;
	line-height: 1.7;
	margin-bottom: 12px;
}

.footer-socials {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	color: #1e5bb8;
	flex-wrap: wrap;
}

.footer-socials a {
	color: inherit;
	text-decoration: none;
	margin-right: 8px;
}
.footer-socials a:hover {
	color: #f0a500;
}
.social-divider {
	color: #999;
	font-size: 14px;
}

.footer-links {
	flex: 0.6;
	min-width: 140px;
	text-align: center;
}

.footer-heading {
	font-family: "EB Garamond", serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 10px;
}

.footer-bar {
	background: #003087;
	text-align: center;
	padding: 14px 0;
	font-size: 13px;
	color: #ffffff;
	font-family: "Poppins", serif;
	letter-spacing: 0.02em;
}

.footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-links ul li {
	margin-bottom: 6px;
}
.footer-links ul li a {
	color: #1e5bb8;
	text-decoration: none;
	font-size: 13px;
}
.footer-links ul li a:hover {
	text-decoration: underline;
}

.footer-logos {
	margin-top: 25px;
	flex: 0.5;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.logos-triangle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.logo-top {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	padding-right: 35px;
}

.logos-bottom {
	display: flex;
	gap: 12px;
	align-items: center;
}

.logo-seal {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ddd;
}

/* ── BACKGROUND SHAPES ── */
.bg-shapes {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -5;
	overflow: hidden;
}

.bg-shapes .shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.1;
}

.bg-shapes .shape-1 {
	width: 600px;
	height: 600px;
	background: var(--navy);
	top: -200px;
	right: -200px;
	animation: float 20s ease-in-out infinite;
}

.bg-shapes .shape-2 {
	width: 400px;
	height: 400px;
	background: var(--gold);
	bottom: -100px;
	left: -100px;
	animation: float 25s ease-in-out infinite reverse;
}

.bg-shapes .shape-3 {
	width: 250px;
	height: 250px;
	background: #1e5bb8;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: float 18s ease-in-out infinite 2s;
}

.bg-shapes .shape-4 {
	width: 190px;
	height: 190px;
	background: var(--gold);
	top: 15%;
	right: 10%;
	animation: float 22s ease-in-out infinite 1s;
}

.bg-shapes .shape-5 {
	width: 200px;
	height: 200px;
	background: var(--navy);
	bottom: 25%;
	left: 5%;
	animation: float 15s ease-in-out infinite 3s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-30px) rotate(3deg);
	}
}

/* Make sure content sits above shapes */
.hero,
.events-section,
.container,
.site-footer {
	position: relative;
	z-index: 1;
}
/*    RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
	.dm-title {
		padding-left: 32px;
	}
	.nav-links {
		padding: 0 32px;
	}

	.container {
		padding: 50px 40px;
	}

	.goal-header,
	.goal-header-cjpo {
		padding: 40px 50px;
	}

	/* Hide floating logo circles so they don't bleed out */
	.logo-circle {
		right: 16px;
		width: 100px;
		height: 100px;
	}
	.logo-circle-cjpo {
		left: 16px;
		width: 100px;
		height: 100px;
	}

	.values-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.events-section {
		padding: 40px 32px;
	}
	.footer-inner {
		padding: 36px 32px 24px;
	}
}

/* ── Tablets (≤768px) ── */
@media (max-width: 768px) {
	.dm-title {
		padding-left: 20px;
	}
	.nav-links {
		padding: 0 16px;
		border-radius: 0 0 0 24px;
		gap: 4px;
	}
	.nav-links a {
		padding: 6px 10px;
		font-size: 0.82rem;
	}
	.nav-login {
		display: none;
	} /* hide desktop login – hero has one */

	/* Hero: single column */
	.hero {
		grid-template-columns: 1fr;
		padding: 32px 24px 24px;
		text-align: center;
		gap: 32px;
	}
	.hero-left {
		align-items: center;
	}
	.hero-desc {
		max-width: 100%;
	}
	.btn-login {
		align-self: center;
	}
	.logos {
		justify-content: center;
	}
	.hero-right {
		order: -1;
		width: 100%;
		overflow: visible;
	}

	.features-section {
		padding: 40px 20px;
	}
	.features-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.container {
		padding: 40px 20px;
	}

	.goal-header,
	.goal-header-cjpo {
		padding: 50px 24px 28px;
	}

	.logo-circle {
		position: absolute;
		right: 12px;
		top: -50px;
		width: 80px;
		height: 80px;
		transform: none;
	}

	.logo-circle-cjpo {
		position: absolute;
		left: 12px;
		top: -50px;
		width: 80px;
		height: 80px;
		transform: none;
	}

	.goal-title,
	.goal-title-cjpo {
		font-size: 16px;
		padding: 8px 28px 8px 14px;
	}

	.core-title {
		font-size: 1.1rem;
		padding: 12px 28px;
		clip-path: none;
		border-radius: 6px;
	}

	.values-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.slideshow img {
		height: 360px;
	}

	.events-section {
		padding: 36px 20px;
	}

	.footer-inner {
		flex-direction: column;
		padding: 32px 20px 20px;
		gap: 28px;
	}
	.footer-col,
	.footer-links,
	.footer-logos {
		flex: none;
		width: 100%;
		min-width: unset;
	}
	.footer-links {
		text-align: left;
	}
	.footer-logos {
		justify-content: flex-start;
		margin-top: 0;
	}
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
	/* Nav: very tight */
	.nav-links {
		padding: 0 10px;
		gap: 2px;
	}
	.nav-links a {
		padding: 5px 8px;
		font-size: 0.78rem;
	}

	/* Hero */
	.hero {
		padding: 24px 16px 16px;
	}

	.features-section {
		padding: 30px 14px;
	}
	.feature-card {
		padding: 24px 18px;
	}

	/* Container */
	.container {
		padding: 32px 14px;
	}

	/* Goal banners */
	.goal-header,
	.goal-header-cjpo {
		padding: 52px 14px 24px;
	}

	.goal-title,
	.goal-title-cjpo {
		font-size: 14px;
	}

	.values-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.slideshow img {
		height: 260px;
	}

	.nav-btn {
		width: 38px;
		height: 38px;
	}

	.prev {
		left: 8px;
	}
	.next {
		right: 8px;
	}

	/* Footer */
	.footer-inner {
		padding: 28px 14px 16px;
	}
	.logo-seal {
		width: 48px;
		height: 48px;
	}
}

/* ── Very small / narrow phones & foldable cover screens (≤360px) ── */
@media (max-width: 360px) {
	.dm-title {
		font-size: 1.05rem;
		padding-left: 14px;
	}
	.hero {
		padding: 20px 12px 12px;
	}
	.logos {
		gap: 12px;
	}
	.logo-badge {
		width: 56px;
		height: 56px;
	}
	.btn-login {
		padding: 10px 22px;
		font-size: 0.88rem;
	}
	.values-grid {
		gap: 10px;
	}
	.value-card {
		padding: 16px 10px;
	}
}

/* ── Short / landscape phones & split-screen views (limited vertical space) ── */
@media (max-height: 480px) and (orientation: landscape) {
	.hero {
		min-height: auto;
		grid-template-columns: 1fr 1fr;
		padding: calc(var(--nav-h) + 16px) 20px 16px;
		gap: 16px;
	}
	.hero-right {
		order: 0;
	}
	.feature-carousel {
		height: clamp(150px, 22vh, 220px);
	}
	.hero-desc {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.logos {
		margin-top: 8px;
	}
}

/* ── Large desktops / ultra-wide monitors (≥1440px) ── */
@media (min-width: 1440px) {
	.hero {
		max-width: 1320px;
	}
	.feature-carousel {
		height: clamp(360px, 22vw, 460px);
	}
	.feature-carousel .fc-card {
		width: clamp(230px, 15vw, 280px);
	}
}

/* ── Touch devices: no hover state to rely on, so give tap targets a bit more room ── */
@media (hover: none) and (pointer: coarse) {
	.dot {
		width: 12px;
		height: 12px;
	}
	.nav-btn {
		width: 50px;
		height: 50px;
	}
	.fc-card {
		cursor: default;
	}
}

/* ── Respect reduced-motion preference: calm the carousel and drop decorative animation ── */
@media (prefers-reduced-motion: reduce) {
	.fc-card {
		transition-duration: 0.4s;
	}
	.bg-shapes .shape {
		animation: none;
	}
	.hero-left,
	.hero-right,
	.logos {
		animation: none;
	}
	* {
		scroll-behavior: auto !important;
	}
}