/* ========================================
   ABOUT HERO
======================================== */

.about-hero {

	position: relative;

	width: 100%;

	height: calc(100vh - 72px);

	min-height: calc(100vh - 72px);

	display: flex;

	align-items: center;

	overflow: hidden;

	background-image: url("../../../image/ipilcity.png");

	background-position: center center;

	background-size: cover;

	background-repeat: no-repeat;
}


/* ========================================
   ABOUT CONTENT
======================================== */

.about-content {

	width: 620px;

	max-width: 55%;

	color: #ffffff;

	transform: translateY(-10px);
}

.about-content h1 {

	margin-bottom: 20px;

	color: #ffffff;

	font-size: 30px;

	font-weight: 700;

	line-height: 1.08;

	letter-spacing: 0;

	text-align: left;
}

.about-content p {
	width: 100%;
	max-width: 580px;

	margin-bottom: 35px;

	color: rgba(255, 255, 255, 0.95);

	font-size: 16px;
	line-height: 1.5;

	text-align: left;
}


/* ========================================
   GET STARTED BUTTON
======================================== */

.get-started {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	min-width: 200px;

	gap: 12px;

	margin-top: 0;

	padding: 17px 28px;

	background: #004f40;
	color: #ffffff;

	font-size: 16px;
	font-weight: 600;

	text-decoration: none;

	border-radius: 50px;

	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);

	transition:
		background 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.get-started:hover {
	background: #003d32;

	transform: translateY(-2px);

	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.get-started svg {
	width: 22px;
	height: 22px;

	fill: none;

	stroke: currentColor;

	stroke-linecap: round;
	stroke-linejoin: round;

	stroke-width: 2;
}


/* ========================================
   FOOTER
======================================== */


.site-footer {
	position: relative;

	isolation: isolate;

	padding: 76px 0 42px;

	color: #5f6663;

	/* Keep footer stable */
	width: 100%;
	overflow: hidden;
}

.site-footer::before {
	position: absolute;

	inset: 0;

	z-index: -1;

	background: #e5e6e4;
}

/* ========================================
   FOOTER INNER
======================================== */

.footer-inner {
	display: grid;

	grid-template-columns:
		minmax(220px, 1.7fr) repeat(3, minmax(110px, 1fr)) minmax(180px, 1.2fr);

	gap: 40px;

	width: 100%;
	max-width: 1400px;

	margin: 0 auto;

	padding: 0 60px;

	position: relative;
}


/* ========================================
   FOOTER MAP
======================================== */

.footer-map {
	display: flex;

	align-items: flex-end;
	justify-content: flex-end;

	min-height: 180px;
}

.footer-map-image {
	display: block;

	width: min(100%, 350px);
	height: auto;

	border-radius: 18px;

	box-shadow: 0 18px 36px rgba(59, 70, 67, 0.12);

	object-fit: cover;

	cursor: pointer;

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.footer-map-image:hover,
.footer-map-image:focus {
	transform: translateY(-3px) scale(1.01);

	box-shadow: 0 20px 42px rgba(59, 70, 67, 0.18);

	outline: none;
}


/* ========================================
   IMAGE MODAL
======================================== */

.image-modal {
	position: fixed;

	inset: 0;

	z-index: 1000;

	display: none;

	align-items: center;
	justify-content: center;

	padding: 24px;
}

.image-modal.active {
	display: flex;
}

.image-modal-backdrop {
	position: absolute;

	inset: 0;

	background: rgba(12, 18, 17, 0.72);

	backdrop-filter: blur(5px);
}

.image-modal-content {
	position: relative;

	z-index: 1;

	max-width: min(90vw, 1100px);
	max-height: 90vh;

	padding: 18px 18px 12px;

	border-radius: 20px;

	background: rgba(255, 255, 255, 0.9);

	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.image-modal-content img {
	display: block;

	width: auto;

	max-width: 100%;
	max-height: 78vh;

	border-radius: 14px;

	object-fit: contain;
}

.image-modal-content p {
	margin: 10px 0 0;

	color: #2a3837;

	font-size: 14px;
	font-weight: 600;

	text-align: center;
}

.image-modal-close {
	position: absolute;

	top: 10px;
	right: 12px;

	z-index: 2;

	width: 38px;
	height: 38px;

	border: none;

	border-radius: 50%;

	background: rgba(15, 21, 20, 0.8);

	color: #ffffff;

	font-size: 28px;
	line-height: 1;

	cursor: pointer;
}


/* ========================================
   FOOTER BRAND
======================================== */

.footer-brand-name {
	display: inline-block;

	margin-bottom: 18px;

	color: #333a37;

	font-size: 30px;
	font-weight: 800;

	text-decoration: none;
}

.footer-brand p,
.footer-column p,
.footer-column address {
	max-width: 290px;

	color: #505452;

	font-size: 14px;

	font-style: italic;

	line-height: 1.7;
}


/* ========================================
   FOOTER COLUMNS
======================================== */

.footer-column h2 {
	margin-bottom: 16px;

	color: #333a37;

	font-size: 15px;
	font-weight: 700;
}

.footer-column a {
	display: block;

	width: fit-content;

	margin-top: 9px;

	color: #737976;

	font-size: 14px;

	line-height: 1.4;

	text-decoration: none;
}

.footer-column a:hover,
.footer-brand-name:hover {
	color: #08745e;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

	.about-container {
		padding: 0 45px;
	}

	.about-content {
		max-width: 65%;
	}

	.about-content h1 {
		font-size: 38px;
	}

	.footer-inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 36px 28px;
		padding: 0 45px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-map {
		grid-column: 1 / -1;
		justify-content: center;
	}
}


/* ========================================
   MOBILE TABLET
======================================== */

@media (max-width: 768px) {

	.about-hero {
		height: auto;
		min-height: calc(100vh - 72px);
		min-height: calc(100svh - 72px);

		padding: 60px 0;

		background-position: 65% center;
		background-size: cover;
	}

	.about-container {
		width: 100%;
		padding: 0 30px;
	}

	.about-content {
		width: 100%;
		max-width: 75%;
		transform: none;
	}

	.about-content h1 {
		font-size: clamp(30px, 5vw, 38px);
	}

	.about-content p {
		font-size: 16px;
		line-height: 1.5;
	}

	.site-footer {
		padding-top: 62px;
	}

	.footer-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 24px;
		padding: 0 30px;
	}

	.footer-map {
		grid-column: 1 / -1;
		justify-content: center;
	}

	.footer-map-image {
		width: 100%;
		max-width: 420px;
		height: auto;
	}
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {

	.about-hero {
		width: 100%;
		height: auto;

		min-height: 500px;
		min-height: max(500px, calc(100svh - 72px));

		padding: 55px 0;

		align-items: center;

		background-size: cover;
		background-position: 65% center;
		background-repeat: no-repeat;
	}

	.about-container {
		width: 100%;
		padding: 0 20px;
	}

	.about-content {
		width: 100%;
		max-width: 100%;
		transform: none;
	}

	.about-content h1 {
		font-size: clamp(28px, 8vw, 34px);
		line-height: 1.15;
		margin-bottom: 18px;
	}

	.about-content p {
		width: 100%;
		font-size: 15px;
		line-height: 1.5;
		margin-bottom: 25px;
	}

	.get-started {
		min-width: 0;
		max-width: 100%;
		padding: 14px 22px;
		font-size: 15px;
	}

	.site-footer {
		padding: 55px 0 35px;
	}

	.footer-inner {
		width: 100%;
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding: 0 20px;
	}

	.footer-map {
		grid-column: auto;
		width: 100%;
		min-height: 0;
		justify-content: center;
	}

	.footer-map-image {
		width: 100%;
		max-width: 100%;
		height: auto;
		object-fit: contain;
	}

	.footer-column,
	.footer-brand {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.image-modal {
		padding: 12px;
	}

	.image-modal-content {
		width: 100%;
		max-width: 100%;
		max-height: 90svh;
		padding: 14px 12px 10px;
	}

	.image-modal-content img {
		width: 100%;
		max-width: 100%;
		max-height: 75svh;
		height: auto;
		object-fit: contain;
	}
}


/* ========================================
   EXTRA SMALL MOBILE
======================================== */

@media (max-width: 360px) {

	.about-container {
		padding: 0 16px;
	}

	.about-content h1 {
		font-size: 28px;
	}

	.about-content p {
		font-size: 14px;
	}

	.footer-inner {
		padding: 0 16px;
	}
}


/* ========================================
   SHORT LANDSCAPE SCREENS
======================================== */

@media (max-height: 500px) and (max-width: 900px) {

	.about-hero {
		min-height: 450px;
		height: auto;
		padding: 40px 0;
	}
}


.footer-copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 18px clamp(20px, 5vw, 96px);
	color: #d0d0d0;
	background: #202020;
	font-size: 14px;
	line-height: 1.5;
}

.footer-copyright p {
	margin: 0;
}

.footer-copyright .developer-credit {
	margin: 0;
	text-align: right;
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 60px;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Portal name and logo */

.nav-container .logo {
	display: flex;
	align-items: center;
	gap: 12px;

	font-size: 24px;
	font-weight: 700;
	color: #111827;
	text-decoration: none;

	min-width: 0;
}

/* Enlarged visually without changing navbar layout */

.nav-container .portal-logo {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;

	transform: scale(1.35);
	transform-origin: center;
}