/**
 * contact.css — Student Point Sikar 2026
 *
 * Contact Us page design (ported from contact-us.html). Hand-written semantic
 * CSS — no Tailwind. Loaded only on the Contact page (is_page('contact-us'))
 * after the base/header/footer styles so its selectors win specificity ties.
 *
 * Self-contained and scoped under .contact-page: the design tokens (:root in the
 * mockup) are NOT global in the theme (header.css scopes its tokens to header
 * containers), so they are redeclared here on .contact-page and every rule is
 * scoped to that wrapper. Theme chrome (top bar, header, footer, back-to-top) and
 * the scroll-reveal toggling (.sp-visible via js/header.js) are owned globally;
 * only the reveal keyframes/initial state are shipped here. Fonts (Sora + DM
 * Sans) and FontAwesome are enqueued globally by the theme.
 */

.contact-page {
	--primary: #1565c0;
	--primary-dark: #0d47a1;
	--primary-light: #1976d2;
	--accent: #f9d67b;
	--accent-dark: #f0c44a;
	--dark: #1a1a2e;
	--gray: #5a6a85;
	--light-gray: #eef4ff;
	--border: #d0def5;
	--white: #ffffff;
	--font-head: 'Sora', sans-serif;
	--font-body: 'DM Sans', sans-serif;
	--shadow-sm: 0 2px 12px rgba( 21, 101, 192, 0.08 );
	--shadow-md: 0 8px 32px rgba( 21, 101, 192, 0.14 );
	--shadow-lg: 0 16px 48px rgba( 21, 101, 192, 0.2 );
	--hero-grad: linear-gradient( 135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100% );
	--radius: 12px;
	--radius-sm: 8px;
	--transition: all 0.3s ease;
	font-family: var( --font-body );
	color: var( --dark );
	font-size: 16px;
	line-height: 1.6;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page h4,
.contact-page h5 {
	font-family: var( --font-head );
	line-height: 1.25;
}

.contact-page img {
	max-width: 100%;
	display: block;
}

/* ---- shared primitives ---- */
.contact-page .section-pad {
	padding: 80px 0;
}

.contact-page .section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba( 249, 214, 123, 0.22 );
	color: var( --primary );
	font-family: var( --font-head );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 50px;
	border: 1px solid rgba( 249, 214, 123, 0.5 );
	margin-bottom: 14px;
}

.contact-page .section-label::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var( --accent-dark );
	flex-shrink: 0;
}

.contact-page .section-title {
	font-size: clamp( 26px, 4vw, 40px );
	font-weight: 700;
	color: var( --dark );
	margin-bottom: 16px;
}

.contact-page .section-title span {
	color: var( --primary );
}

.contact-page .section-sub {
	color: var( --gray );
	font-size: 16px;
	max-width: 640px;
	line-height: 1.7;
}

.contact-page .section-header {
	margin-bottom: 40px;
}

.contact-page .section-header.center {
	text-align: center;
}

.contact-page .section-header.center .section-sub {
	margin: 0 auto;
}

.contact-page .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 50px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var( --transition );
	white-space: nowrap;
	line-height: 1;
}

.contact-page .btn-primary {
	background: var( --primary );
	color: var( --white );
	border-color: var( --primary );
}

.contact-page .btn-primary:hover {
	background: var( --primary-dark );
	border-color: var( --primary-dark );
	transform: translateY( -2px );
	box-shadow: var( --shadow-md );
}

.contact-page .btn-accent {
	background: var( --accent );
	color: var( --primary );
	border-color: var( --accent );
}

.contact-page .btn-accent:hover {
	background: var( --accent-dark );
	border-color: var( --accent-dark );
	transform: translateY( -2px );
	box-shadow: 0 8px 24px rgba( 249, 214, 123, 0.4 );
}

.contact-page .btn-outline-white {
	background: transparent;
	color: var( --white );
	border-color: rgba( 255, 255, 255, 0.6 );
}

.contact-page .btn-outline-white:hover {
	background: var( --white );
	color: var( --primary );
}

/* ---- hero ---- */
.contact-page .hero {
	background: var( --hero-grad );
	position: relative;
	overflow: hidden;
	padding: 80px 0 90px;
	color: var( --white );
}

.contact-page .hero::before,
.contact-page .hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.09 );
	pointer-events: none;
}

.contact-page .hero::before {
	width: 280px;
	height: 280px;
	top: -110px;
	right: -70px;
}

.contact-page .hero::after {
	width: 180px;
	height: 180px;
	left: -40px;
	bottom: -70px;
}

.contact-page .hero-grid {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 32px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.contact-page .hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.14 );
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	color: var( --white );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
}

.contact-page .hero h1 {
	font-size: clamp( 32px, 4.6vw, 54px );
	font-weight: 800;
	margin-bottom: 18px;
	color: var( --white );
}

.contact-page .hero h1 span {
	color: var( --accent );
}

.contact-page .hero-desc {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.8;
	color: rgba( 255, 255, 255, 0.88 );
	margin-bottom: 26px;
}

.contact-page .hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.contact-page .hero-stack {
	display: grid;
	gap: 14px;
}

.contact-page .hero-info-card {
	background: rgba( 255, 255, 255, 0.12 );
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	border-radius: 20px;
	padding: 24px;
	backdrop-filter: blur( 8px );
	box-shadow: 0 18px 36px rgba( 13, 71, 161, 0.18 );
}

.contact-page .hero-info-card strong {
	display: block;
	font-size: 24px;
	font-family: var( --font-head );
	font-weight: 800;
	margin-bottom: 8px;
}

.contact-page .hero-info-card p {
	color: rgba( 255, 255, 255, 0.86 );
	font-size: 14px;
	line-height: 1.7;
}

.contact-page .hero-contact-list {
	display: grid;
	gap: 14px;
}

.contact-page .hero-contact-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: rgba( 255, 255, 255, 0.1 );
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	border-radius: 18px;
	padding: 16px 18px;
}

.contact-page .hero-contact-item .icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba( 255, 214, 123, 0.18 );
	border: 1px solid rgba( 255, 214, 123, 0.28 );
	display: flex;
	align-items: center;
	justify-content: center;
	color: var( --accent );
	flex-shrink: 0;
}

.contact-page .hero-contact-item .meta span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, 0.68 );
	margin-bottom: 4px;
}

.contact-page .hero-contact-item .meta strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
}

.contact-page .hero-contact-item .meta p,
.contact-page .hero-contact-item .meta a {
	color: rgba( 255, 255, 255, 0.86 );
	font-size: 14px;
	line-height: 1.6;
}

.contact-page .hero-contact-item .meta a {
	display: inline-block;
}

.contact-page .contact-stats {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 16px;
	margin-top: 24px;
}

.contact-page .stat-card {
	background: rgba( 255, 255, 255, 0.1 );
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	border-radius: 18px;
	padding: 16px;
}

.contact-page .stat-card strong {
	display: block;
	font-size: 18px;
	font-weight: 800;
	color: var( --white );
	margin-bottom: 4px;
}

.contact-page .stat-card span {
	font-size: 12px;
	color: rgba( 255, 255, 255, 0.76 );
	line-height: 1.5;
}

/* ---- quick contact strip ---- */
.contact-page .contact-strip {
	background: #f7fbff;
	border-top: 1px solid var( --border );
	border-bottom: 1px solid var( --border );
}

.contact-page .contact-card-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 20px;
}

.contact-page .contact-card {
	background: var( --white );
	border: 1px solid var( --border );
	border-radius: 18px;
	padding: 24px;
	box-shadow: var( --shadow-sm );
	transition: var( --transition );
	height: 100%;
}

.contact-page .contact-card:hover {
	transform: translateY( -4px );
	box-shadow: var( --shadow-md );
	border-color: rgba( 21, 101, 192, 0.24 );
}

.contact-page .contact-card .icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba( 21, 101, 192, 0.09 );
	color: var( --primary );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 16px;
}

.contact-page .contact-card h3 {
	font-size: 20px;
	margin-bottom: 10px;
	color: var( --dark );
}

.contact-page .contact-card p,
.contact-page .contact-card a,
.contact-page .contact-card li {
	color: var( --gray );
	font-size: 15px;
	line-height: 1.75;
}

.contact-page .contact-card a {
	display: inline-block;
	color: var( --primary );
	font-weight: 600;
}

.contact-page .contact-card ul {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---- main: form + sidebar ---- */
.contact-page .contact-main {
	background: var( --white );
}

.contact-page .contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: start;
}

.contact-page .panel {
	/* Override legacy global `.panel { display: none }` (accordion) in style.css. */
	display: block;
	background: var( --white );
	border: 1px solid var( --border );
	border-radius: 22px;
	box-shadow: var( --shadow-sm );
	overflow: hidden;
}

.contact-page .panel-head {
	padding: 26px 28px 0;
}

.contact-page .panel-body {
	padding: 28px;
}

.contact-page .panel-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --primary );
	margin-bottom: 10px;
}

.contact-page .panel-kicker i {
	color: var( --accent-dark );
}

.contact-page .panel-title {
	font-family: var( --font-head );
	font-size: clamp( 24px, 3vw, 34px );
	font-weight: 800;
	color: var( --dark );
	margin-bottom: 10px;
}

.contact-page .panel-sub {
	color: var( --gray );
	font-size: 15px;
	line-height: 1.75;
	max-width: 650px;
}

.contact-page .contact-form {
	display: grid;
	gap: 14px;
}

.contact-page .form-row {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 14px;
}

.contact-page .field {
	display: grid;
	gap: 8px;
}

.contact-page .field label {
	font-size: 13px;
	font-weight: 700;
	color: var( --dark );
	letter-spacing: 0.02em;
}

.contact-page .field input,
.contact-page .field textarea {
	width: 100%;
	border: 1px solid var( --border );
	border-radius: 16px;
	background: #fbfdff;
	color: var( --dark );
	padding: 15px 18px;
	font: inherit;
	transition: var( --transition );
	outline: none;
}

.contact-page .field input::placeholder,
.contact-page .field textarea::placeholder {
	color: #8a98b4;
}

.contact-page .field input:focus,
.contact-page .field textarea:focus {
	border-color: rgba( 21, 101, 192, 0.45 );
	box-shadow: 0 0 0 4px rgba( 21, 101, 192, 0.08 );
	background: var( --white );
}

.contact-page .field textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-page .form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}

.contact-page .form-status {
	margin-top: 6px;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.6;
	border: 1px solid transparent;
	background: #f7fbff;
	color: var( --gray );
}

.contact-page .form-status.is-success {
	background: rgba( 34, 197, 94, 0.08 );
	color: #15803d;
	border-color: rgba( 34, 197, 94, 0.22 );
}

.contact-page .form-status.is-error {
	background: rgba( 239, 68, 68, 0.08 );
	color: #b91c1c;
	border-color: rgba( 239, 68, 68, 0.18 );
}

.contact-page .sidebar-stack {
	display: grid;
	gap: 20px;
}

.contact-page .mini-contact-list {
	display: grid;
	gap: 20px;
}

.contact-page .mini-contact-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	border-radius: 18px;
	background: #fbfdff;
	border: 1px solid var( --border );
	transition: var( --transition );
}

.contact-page .mini-contact-item:hover {
	transform: translateY( -2px );
	box-shadow: var( --shadow-sm );
}

.contact-page .mini-contact-item .icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba( 21, 101, 192, 0.1 );
	color: var( --primary );
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-page .mini-contact-item span {
	display: block;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --gray );
	margin-bottom: 4px;
}

.contact-page .mini-contact-item strong {
	display: block;
	font-size: 16px;
	color: var( --dark );
	margin-bottom: 4px;
}

.contact-page .mini-contact-item p,
.contact-page .mini-contact-item a {
	color: var( --gray );
	font-size: 14px;
	line-height: 1.65;
}

.contact-page .map-card iframe {
	width: 100%;
	height: 430px;
	border: 0;
	display: block;
}

.contact-page .map-caption {
	padding: 0 28px 28px;
	color: var( --gray );
	font-size: 14px;
	line-height: 1.7;
}

/* ---- connect CTA ---- */
.contact-page .cta-section {
	position: relative;
	background: var( --primary-dark );
	padding: 0;
	overflow: visible;
}

.contact-page .cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: #fff;
	z-index: 0;
}

.contact-page .cta-inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 280px 1fr;
	align-items: end;
	min-height: 360px;
}

.contact-page .cta-left {
	padding-bottom: 30px;
	padding-right: 40px;
}

.contact-page .cta-left h2 {
	font-family: var( --font-head );
	font-size: 24px;
	font-weight: 800;
	color: var( --white );
	margin-bottom: 12px;
}

.contact-page .cta-left p {
	font-size: 15px;
	color: rgba( 255, 255, 255, 0.75 );
	line-height: 1.7;
}

.contact-page .cta-center-img {
	align-self: end;
	position: relative;
}

.contact-page .cta-center-img img {
	width: 100%;
	max-height: 380px;
	object-fit: cover;
	object-position: top center;
	display: block;
	filter: drop-shadow( 0 20px 40px rgba( 0, 0, 0, 0.35 ) );
}

.contact-page .cta-quote-badge {
	position: absolute;
	top: 26.8%;
	right: -132%;
	background: #eef4ff;
	color: var( --primary );
	padding: 20px 24px;
	border-radius: 30px 30px 0 0;
	font-family: var( --font-head );
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	max-width: 300px;
	text-align: center;
	z-index: 2;
}

.contact-page .cta-right {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 360px;
	padding-left: 40px;
	padding-bottom: 48px;
}

.contact-page .cta-follow h3 {
	font-family: var( --font-head );
	font-size: 26px;
	font-weight: 800;
	color: var( --white );
	margin-bottom: 16px;
}

.contact-page .cta-social-row {
	display: flex;
	gap: 12px;
	align-items: center;
}

.contact-page .cta-social-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var( --accent );
	color: var( --primary );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: var( --transition );
}

.contact-page .cta-social-btn:hover {
	transform: translateY( -3px );
	box-shadow: 0 8px 20px rgba( 249, 214, 123, 0.4 );
}

/* ---- scroll reveal (visibility toggled by js/header.js) ---- */
.contact-page .sp-anim {
	opacity: 0;
	transform: translateY( 18px );
	animation-fill-mode: both;
}

.contact-page .sp-anim.sp-visible {
	opacity: 1;
}

.contact-page .sp-anim[data-anim='fadeInUp'].sp-visible {
	animation: contactFadeInUp 0.8s cubic-bezier( 0.25, 0.46, 0.45, 0.94 ) both;
}

.contact-page .sp-anim[data-anim='fadeInLeft'].sp-visible {
	animation: contactFadeInLeft 0.8s cubic-bezier( 0.25, 0.46, 0.45, 0.94 ) both;
}

.contact-page .sp-anim[data-anim='fadeInRight'].sp-visible {
	animation: contactFadeInRight 0.8s cubic-bezier( 0.25, 0.46, 0.45, 0.94 ) both;
}

.contact-page .sp-anim[data-anim='zoomIn'].sp-visible {
	animation: contactZoomIn 0.8s cubic-bezier( 0.25, 0.46, 0.45, 0.94 ) both;
}

@keyframes contactFadeInUp {
	from {
		opacity: 0;
		transform: translateY( 24px );
	}
	to {
		opacity: 1;
		transform: translateY( 0 );
	}
}

@keyframes contactFadeInLeft {
	from {
		opacity: 0;
		transform: translateX( -24px );
	}
	to {
		opacity: 1;
		transform: translateX( 0 );
	}
}

@keyframes contactFadeInRight {
	from {
		opacity: 0;
		transform: translateX( 24px );
	}
	to {
		opacity: 1;
		transform: translateX( 0 );
	}
}

@keyframes contactZoomIn {
	from {
		opacity: 0;
		transform: scale( 0.95 );
	}
	to {
		opacity: 1;
		transform: scale( 1 );
	}
}

/* ---- responsive ---- */
@media ( max-width: 1100px ) {
	.contact-page .hero-grid,
	.contact-page .contact-grid {
		grid-template-columns: 1fr;
	}
	.contact-page .hero-contact-item {
		max-width: 620px;
	}
}

@media ( max-width: 1024px ) {
	.contact-page .cta-inner {
		grid-template-columns: 1fr 220px 1fr;
		min-height: 280px;
	}
	.contact-page .cta-center-img img {
		max-height: 300px;
	}
}

@media ( max-width: 900px ) {
	.contact-page .form-row,
	.contact-page .contact-card-grid,
	.contact-page .contact-stats {
		grid-template-columns: 1fr;
	}
	.contact-page .hero {
		padding: 64px 0 76px;
	}
}

@media ( max-width: 640px ) {
	.contact-page .hero-cta,
	.contact-page .form-actions {
		align-items: stretch;
	}
	.contact-page .hero-contact-item,
	.contact-page .mini-contact-item {
		padding: 14px;
	}
	.contact-page .panel-head,
	.contact-page .panel-body,
	.contact-page .map-caption {
		padding-left: 18px;
		padding-right: 18px;
	}
	.contact-page .field input,
	.contact-page .field textarea {
		padding: 14px 16px;
	}
	.contact-page .map-card iframe {
		height: 320px;
	}
}

@media ( max-width: 480px ) {
	.contact-page .cta-quote-badge,
	.contact-page #cta-connect .cta-center-img img {
		display: none;
	}
	.contact-page .cta-right {
		padding-bottom: 0;
		text-align: center;
	}
	.contact-page .cta-left {
		text-align: center;
	}
	.contact-page .hero-cta,
	.contact-page .cta-social-row {
		justify-content: center;
	}
}
