/* =========================================================
   MODERN CONTACT
   Web Direktorat Jenderal Kesehatan Lanjutan
   ========================================================= */

:root {
	--contact-primary: #0ab7a3;
	--contact-primary-dark: #078f81;
	--contact-secondary: #387ea3;
	--contact-text: #263b3a;
	--contact-muted: #6d7d7b;
	--contact-border: #e4eeec;
	--contact-bg: #f7faf9;
	--contact-white: #ffffff;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.contact-page-header {
	position: relative;
	overflow: hidden;
}

.contact-page-header::before {
	content: "";
	position: absolute;

	width: 330px;
	height: 330px;

	right: -100px;
	top: -150px;

	border-radius: 50%;

	background: rgba(10, 183, 163, 0.08);
}

.contact-page-header::after {
	content: "";

	position: absolute;

	width: 180px;
	height: 180px;

	right: 100px;
	bottom: -115px;

	border-radius: 50%;

	border: 1px solid rgba(10, 183, 163, 0.15);
}

.contact-page-header .page-header-content {
	position: relative;
	z-index: 2;
}

/* =========================================================
   INTRO
   ========================================================= */

.contact-intro {
	padding: 80px 0 85px;
	background: #ffffff;
}

.contact-intro-grid {
	min-height: 410px;

	display: grid;
	grid-template-columns: 1.05fr 0.95fr;

	align-items: center;

	gap: 50px;
}

/* Content */

.contact-intro-content {
	position: relative;
	z-index: 3;

	max-width: 620px;
}

.contact-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	margin-bottom: 17px;

	color: var(--contact-primary);

	font-size: 11px;
	font-weight: 700;

	letter-spacing: 2.2px;
}

.contact-eyebrow::before {
	content: "";

	width: 28px;
	height: 2px;

	border-radius: 10px;

	background: var(--contact-primary);
}

.contact-intro-content h2 {
	margin: 0 0 20px;

	color: var(--contact-text);

	font-size: clamp(32px, 4vw, 47px);

	line-height: 1.15;

	font-weight: 600;

	letter-spacing: -1px;
}

.contact-intro-content h2 span {
	display: block;

	color: var(--contact-primary);
}

.contact-intro-content p {
	max-width: 570px;

	margin: 0;

	color: var(--contact-muted);

	font-size: 15px;

	line-height: 1.9;
}

.contact-intro-line {
	width: 55px;
	height: 3px;

	margin: 25px 0 13px;

	border-radius: 10px;

	background: var(--contact-primary);
}

.contact-intro-caption {
	display: block;

	color: #879593;

	font-size: 12px;

	line-height: 1.7;
}

/* =========================================================
   INTRO VISUAL
   ========================================================= */

.contact-intro-visual {
	position: relative;

	min-height: 390px;

	display: flex;

	align-items: center;
	justify-content: center;
}

/* Main card */

.contact-visual-card {
	position: relative;
	z-index: 3;

	width: 245px;
	height: 245px;

	display: flex;

	flex-direction: column;

	align-items: center;
	justify-content: center;

	gap: 14px;

	border-radius: 50%;

	background: linear-gradient(145deg, #ffffff 0%, #effaf8 100%);

	border: 1px solid #dcefeb;

	box-shadow: 0 25px 70px rgba(33, 78, 74, 0.12);
}

.contact-visual-icon {
	width: 95px;
	height: 95px;

	display: flex;

	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: #e8f8f5;

	color: var(--contact-primary);

	font-size: 38px;
}

.contact-visual-card span {
	color: var(--contact-text);

	font-size: 13px;

	font-weight: 600;

	letter-spacing: 0.3px;
}

/* Orbit */

.contact-orbit {
	position: absolute;

	width: 340px;
	height: 340px;

	border: 1px solid rgba(10, 183, 163, 0.15);

	border-radius: 50%;

	transform: rotate(-20deg);
}

.contact-orbit::before {
	content: "";

	position: absolute;

	width: 11px;
	height: 11px;

	top: 28px;
	left: 70px;

	border-radius: 50%;

	background: var(--contact-primary);

	box-shadow: 0 0 0 7px rgba(10, 183, 163, 0.08);
}

.contact-orbit-two {
	width: 430px;
	height: 430px;

	border-color: rgba(56, 126, 163, 0.08);

	transform: rotate(25deg);
}

.contact-orbit-two::before {
	width: 8px;
	height: 8px;

	top: 85px;
	left: 370px;

	background: var(--contact-secondary);

	box-shadow: 0 0 0 6px rgba(56, 126, 163, 0.07);
}

/* Floating */

.contact-floating {
	position: absolute;

	z-index: 5;

	width: 52px;
	height: 52px;

	display: flex;

	align-items: center;
	justify-content: center;

	border-radius: 15px;

	background: #ffffff;

	border: 1px solid #e4efed;

	color: var(--contact-primary);

	box-shadow: 0 12px 30px rgba(33, 78, 74, 0.1);

	font-size: 16px;
}

.contact-floating-one {
	top: 70px;
	right: 80px;

	transform: rotate(7deg);
}

.contact-floating-two {
	bottom: 65px;
	left: 80px;

	color: var(--contact-secondary);

	transform: rotate(-7deg);
}

/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information-section {
	padding: 80px 0;

	background: var(--contact-bg);
}

/* Heading */

.contact-section-heading {
	max-width: 650px;

	margin: 0 auto 40px;

	text-align: center;
}

.contact-section-heading > span {
	display: block;

	margin-bottom: 8px;

	color: var(--contact-primary);

	font-size: 10px;

	font-weight: 700;

	letter-spacing: 2px;
}

.contact-section-heading h2 {
	margin: 0 0 12px;

	color: var(--contact-text);

	font-size: 30px;

	font-weight: 600;
}

.contact-section-heading p {
	margin: 0;

	color: var(--contact-muted);

	font-size: 14px;

	line-height: 1.8;
}

/* Grid */

.contact-info-grid {
	display: grid;

	grid-template-columns: repeat(2, 1fr);

	gap: 20px;
}

/* Card */

.contact-info-card {
	display: flex;

	gap: 22px;

	padding: 30px;

	background: #ffffff;

	border-radius: 16px;

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.contact-info-card:hover {
	transform: translateY(-4px);

	border-color: #cfe5e1;

	box-shadow: 0 15px 40px rgba(33, 78, 74, 0.07);
}

/* Icon */

.contact-info-icon {
	flex: 0 0 52px;

	width: 52px;
	height: 52px;

	display: flex;

	align-items: center;
	justify-content: center;

	border-radius: 14px;

	background: #edf9f7;

	color: var(--contact-primary);

	font-size: 18px;
}

/* Content */

.contact-info-content {
	min-width: 0;
}

.contact-info-content > span {
	display: block;

	margin-bottom: 7px;

	color: var(--contact-primary);

	font-size: 9px;

	font-weight: 700;

	letter-spacing: 1.6px;
}

.contact-info-content h3 {
	margin: 0 0 10px;

	color: var(--contact-text);

	font-size: 17px;

	line-height: 1.45;

	font-weight: 600;
}

.contact-info-content p {
	margin: 0;

	color: var(--contact-muted);

	font-size: 13px;

	line-height: 1.8;
}

.contact-info-content a {
	display: block;

	width: fit-content;

	margin-bottom: 7px;

	color: var(--contact-secondary);

	font-size: 13px;

	text-decoration: none;

	transition: color 0.2s ease;
}

.contact-info-content a:hover {
	color: var(--contact-primary);
}

/* =========================================================
   MAP
   ========================================================= */

.contact-map-section {
	padding: 80px 0;

	background: #ffffff;
}

.contact-map-header {
	display: flex;

	align-items: flex-end;

	justify-content: space-between;

	gap: 30px;

	margin-bottom: 28px;
}

.contact-map-header > div > span {
	display: block;

	margin-bottom: 8px;

	color: var(--contact-primary);

	font-size: 10px;

	font-weight: 700;

	letter-spacing: 2px;
}

.contact-map-header h2 {
	margin: 0;

	color: var(--contact-text);

	font-size: 30px;

	font-weight: 600;
}

.contact-map-header p {
	max-width: 390px;

	margin: 0;

	color: var(--contact-muted);

	font-size: 13px;

	line-height: 1.8;

	text-align: right;
}

/* Map */

.contact-map-wrapper {
	position: relative;

	overflow: hidden;

	height: 430px;

	border-radius: 18px;

	box-shadow: 0 15px 45px rgba(33, 78, 74, 0.08);
}

.contact-map-wrapper iframe {
	width: 100%;
	height: 100%;

	display: block;

	border: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {
	.contact-intro {
		padding: 65px 0 70px;
	}

	.contact-intro-grid {
		grid-template-columns: 1fr 0.8fr;

		gap: 25px;
	}

	.contact-intro-content h2 {
		font-size: 36px;
	}

	.contact-intro-content p {
		font-size: 14px;
	}

	.contact-visual-card {
		width: 205px;
		height: 205px;
	}

	.contact-visual-icon {
		width: 80px;
		height: 80px;

		font-size: 30px;
	}

	.contact-orbit {
		width: 290px;
		height: 290px;
	}

	.contact-orbit-two {
		width: 350px;
		height: 350px;
	}

	.contact-floating-one {
		right: 20px;
	}

	.contact-floating-two {
		left: 20px;
	}

	.contact-info-card {
		padding: 25px;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
	.contact-intro {
		padding: 50px 0 55px;
	}

	.contact-intro-grid {
		grid-template-columns: 1fr;

		gap: 20px;

		text-align: center;
	}

	.contact-intro-content {
		max-width: 100%;
	}

	.contact-eyebrow {
		justify-content: center;
	}

	.contact-intro-content h2 {
		font-size: 30px;

		line-height: 1.2;
	}

	.contact-intro-content h2 span {
		display: inline;
	}

	.contact-intro-content p {
		max-width: 550px;

		margin: 0 auto;

		font-size: 13px;

		line-height: 1.8;
	}

	.contact-intro-line {
		margin: 20px auto 12px;
	}

	.contact-intro-caption {
		font-size: 11px;
	}

	/* Visual */

	.contact-intro-visual {
		min-height: 330px;

		margin-top: 10px;
	}

	.contact-visual-card {
		width: 190px;
		height: 190px;
	}

	.contact-visual-icon {
		width: 75px;
		height: 75px;

		font-size: 28px;
	}

	.contact-visual-card span {
		font-size: 12px;
	}

	.contact-orbit {
		width: 260px;
		height: 260px;
	}

	.contact-orbit-two {
		width: 315px;
		height: 315px;
	}

	.contact-floating {
		width: 45px;
		height: 45px;

		border-radius: 12px;

		font-size: 14px;
	}

	.contact-floating-one {
		top: 45px;

		right: calc(50% - 145px);
	}

	.contact-floating-two {
		bottom: 45px;

		left: calc(50% - 145px);
	}

	/* Information */

	.contact-information-section {
		padding: 55px 0;
	}

	.contact-section-heading {
		margin-bottom: 30px;
	}

	.contact-section-heading h2 {
		font-size: 25px;
	}

	.contact-section-heading p {
		font-size: 12.5px;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;

		gap: 12px;
	}

	.contact-info-card {
		padding: 22px;

		gap: 15px;
	}

	.contact-info-icon {
		flex: 0 0 45px;

		width: 45px;
		height: 45px;

		border-radius: 11px;

		font-size: 16px;
	}

	.contact-info-content h3 {
		font-size: 15px;
	}

	.contact-info-content p,
	.contact-info-content a {
		font-size: 12px;
	}

	/* Map */

	.contact-map-section {
		padding: 55px 0;
	}

	.contact-map-header {
		display: block;

		margin-bottom: 22px;
	}

	.contact-map-header h2 {
		font-size: 25px;
	}

	.contact-map-header p {
		max-width: 100%;

		margin-top: 10px;

		font-size: 12.5px;

		text-align: left;
	}

	.contact-map-wrapper {
		height: 350px;

		border-radius: 14px;
	}
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
	.contact-intro-content h2 {
		font-size: 27px;
	}

	.contact-intro-visual {
		min-height: 290px;
	}

	.contact-visual-card {
		width: 165px;
		height: 165px;
	}

	.contact-visual-icon {
		width: 65px;
		height: 65px;

		font-size: 24px;
	}

	.contact-orbit {
		width: 220px;
		height: 220px;
	}

	.contact-orbit-two {
		width: 270px;
		height: 270px;
	}

	.contact-floating-one {
		right: calc(50% - 125px);
	}

	.contact-floating-two {
		left: calc(50% - 125px);
	}

	.contact-map-wrapper {
		height: 300px;
	}
}
