@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

html,
body {
	width: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior-y: auto;
}
:root {
	--background-color: linear-gradient(135deg, #ff6a00 0%, #ee0979 55%, #6a11cb 100%);
	--discreption-color: cyan;
}
body {
	min-height: 100dvh;
	display: block;
	padding-bottom: 20px;
	background: var(--background-color) no-repeat center center fixed;
	background-size: cover;
	background-position: center;
	animation: pageFade 0.45s ease-out both;
	transition: all 0.3s ease;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(18, 10, 40, 0);
	backdrop-filter: blur(0);
	pointer-events: none;
	transition: background 0.25s ease, backdrop-filter 0.25s ease;
	z-index: 120;
}

body.menu-open::before {
	background: rgba(18, 10, 40, 0.34);
	backdrop-filter: blur(4px);
}

body.page-leaving {
	animation: pageFadeOut 0.22s ease forwards;
}
li {
	list-style: none;
}
a {
	text-decoration: none;
	color: #ffffff;
	font-size: 1rem;
	transition: color 0.25s ease;
}
a:hover {
	color: var(--discreption-color);
}
/* Header Section */
header {
	position: relative;
	padding: 10px 2rem 0;
	overflow: visible;
}
.navbar {
	width: 100%;
	height: auto;
	min-height: 78px;
	max-width: 1800px;
	margin: 0 auto;
	padding: 8px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px rgba(16, 9, 60, 0.22);
	animation: softUp 0.5s ease both;
	overflow: visible;
}
.navbar img {
	width: 58px;
	height: 58px;
}
.navbar .logo {
	flex: 1;
	min-width: 0;
}
.navbar .logo a {
	display: block;
	font-size: 1.38rem;
	font-weight: bold;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1;
	letter-spacing: 0.2px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.navbar .header-links {
	display: flex;
	gap: 0.75rem;
	font-weight: 730;
	align-items: center;
	flex: 1;
	justify-content: center;
}

.navbar .header-links a {
	display: inline-flex;
	align-items: center;
	padding: 0.34rem 0.62rem;
	border-radius: 999px;
	background: transparent;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar .header-links a h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.navbar .header-links a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
}

.navbar .header-links a.is-active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.2);
}

.navbar .toggle_btn {
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	display: none;
}
.action_btn {
	background-color: rgb(0, 142, 203);
	color: #fff;
	padding: 0.52rem 0.95rem;
	border: none;
	outline: none;
	border-radius: 20px;
	font-size: 0.95rem;
	font-weight: bold;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.25s ease;
}
.action_btn:hover {
	scale: 1.05;
	rotate: 0.5deg;
	color: #fff;
}
.action_btn:active {
	scale: 0.95;
	rotate: -0.5deg;
	color: #fff;
}
/* Home Section */
.home-section,
.bio {
	display: flex;
	padding: 80px;
	width: 100%;
	color: #fff;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.home-content,
.bio .info {
	display: flex;
	width: 100%;
	gap: 30px;
	align-items: center;
	color: #fff;
}

.home-text,
.bio .info .text-content {
	flex: 1;
	min-width: 0;
}

.home-content h1,
.bio .info h1 {
	font-size: 44px;
	margin-bottom: 40px;
	animation: fadeInUp 1.5s ease;
	color: #fff;
}

.home-content p,
.bio .info p {
	font-size: 19px;
	margin-bottom: 45px;
	animation: fadeInUp 2s ease;
	color: #fff;
	line-height: 1.55;
	overflow-wrap: break-word;
}

.hero-gradient-title {
	display: inline-block;
	font-size: clamp(2.1rem, 4.8vw, 3.4rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #9bf6ff 0%, #4cc9f0 28%, #4895ef 58%, #4361ee 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	-webkit-text-stroke: 1px rgba(18, 33, 95, 0.22);
	text-shadow: 0 10px 24px rgba(20, 28, 79, 0.28);
}

.home-mini-info {
	font-size: 16px;
	line-height: 1.45;
	margin-top: -16px;
	margin-bottom: 0;
	opacity: 0.95;
}

.home-content img,
.bio .info img {
	width: 350px;
	max-width: 100%;
	flex-shrink: 0;
	animation: imageAppear 0.8s ease both;
	-webkit-animation: imageAppear 0.8s ease both;
}

/* Program Section */
.program-section,
.bio_chapter {
	display: flex;
	padding: 80px;
	width: 100%;
	color: #fff;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.program-content,
.bio_chapter .info {
	display: flex;
	align-items: center;
	gap: 30px;
	width: 100%;
	color: #fff;
}

.program-left,
.bio_chapter .content-left {
	flex: 1;
}

.program-left h1,
.bio_chapter .content-left h1 {
	font-size: 44px;
	margin-bottom: 40px;
	animation: fadeInUp 1.5s ease;
	padding-right: 0;
	color: #fff;
}

.program-left p,
.bio_chapter .content-left p {
	font-size: 19px;
	margin-bottom: 45px;
	animation: fadeInUp 2s ease;
	padding-right: 0;
	color: #fff;
}

.program-content img,
.bio_chapter .info img {
	width: 350px;
	max-width: 100%;
	flex-shrink: 0;
	animation: imageAppear 0.8s ease both;
}

@media (max-width: 1645px) {
	header {
		padding: 10px 1rem 0;
	}

	.navbar {
		gap: 1rem;
		padding: 8px 12px;
	}

	.navbar .header-links {
		gap: 0.5rem;
	}

	.navbar .header-links h3 {
		font-size: 0.92rem;
	}

	.action_btn {
		font-size: 0.9rem;
		padding: 0.45rem 0.85rem;
	}

	.home-section,
	.program-section,
	.bio,
	.bio_chapter {
		padding: 56px 36px;
	}
}

.program-right,
.bio_chapter .content-right {
	flex: 1;
	font-size: 16px;
}

.program-right h2 {
	font-size: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}

.program-right ul {
	list-style: none;
	padding: 0;
}

.program-right li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.program-right span {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

/* Responsize Design */
@media (max-width: 1645px) {
	.navbar .header-links,
	.navbar .action_btn {
		display: none;
	}

	.navbar .toggle_btn {
		display: block;
	}

	.dropdown_menu {
		top: calc(100% + 10px);
		right: 1rem;
		width: min(320px, calc(100vw - 2rem));
		max-height: min(70dvh, 360px);
	}

	.dropdown_menu.open {
		max-height: min(70dvh, 360px);
	}
}

@media (max-width: 992px) {
	header {
		padding: 10px 10px 0;
	}
	.navbar {
		min-height: 72px;
		padding: 10px 12px;
		gap: 12px;
	}
	.navbar img {
		width: 44px;
		height: 44px;
		flex: 0 0 auto;
	}
	.navbar .logo a {
		font-size: clamp(1rem, 6vw, 1.7rem);
	}
	.home-section {
		display: flex;
		flex-direction: column;
		padding: 40px 20px;
		width: 100%;
	}
	.home-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
	.home-text {
		width: 100%;
		min-width: 0;
	}
	.home-content h1 {
		font-size: 32px;
		margin-bottom: 20px;
	}
	.home-content p {
		font-size: 16px;
		margin-bottom: 30px;
		word-break: normal;
		overflow-wrap: break-word;
	}
	.home-content img {
		position: relative;
		left: auto;
		top: auto;
		width: min(250px, 70vw);
		margin: 0 auto;
		align-self: center;
	}
	.program-section {
		display: flex;
		flex-direction: column;
		padding: 40px 20px;
		width: 100%;
	}
	.program-content {
		flex-direction: column;
		gap: 20px;
	}
	.program-left h1 {
		font-size: 32px;
		margin-bottom: 20px;
	}
	.program-left p {
		font-size: 16px;
		margin-bottom: 20px;
	}
	.program-content img {
		width: 200px;
	}
	.program-right {
		font-size: 14px;
	}
	.program-right h2 {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.program-right li {
		padding: 8px 0;
	}
	.home-section {
		margin-right: 0;
	}
	.background {
		display: flex;
		flex-direction: column;
		align-items: center;
		left: auto;
		right: auto;
		bottom: auto;
		max-width: calc(100vw - 20px);
		gap: 12px;
		margin: 14px 10px 18px;
	}
	#canvas-container {
		display: block;
		width: min(100%, 320px);
		height: 200px;
	}
	.background img {
		width: min(100%, 320px);
		transform: none;
	}
	body {
		padding-bottom: 14px;
	}
}

@media (max-width: 480px) {
	.home-section {
		padding: 28px 16px;
	}
	.home-content h1 {
		font-size: 26px;
		margin-bottom: 16px;
	}
	.home-content p {
		font-size: 15px;
		line-height: 1.45;
		margin-bottom: 22px;
	}
	.home-content p br {
		display: none;
	}
	.home-mini-info {
		font-size: 14px;
		margin-top: -8px;
	}
}
/* DropDown Menu */
.dropdown_menu {
	display: none;
	position: absolute;
	right: 2rem;
	top: 60px;
	z-index: 9999;
	pointer-events: auto;
	height: auto;
	max-height: min(72dvh, 420px);
	width: 300px;
	padding: 12px;
	background: linear-gradient(180deg, rgba(255, 111, 74, 0.96), rgba(198, 28, 133, 0.94));
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(16, 9, 60, 0.42);
	overflow-y: auto;
	overflow-x: hidden;
	-ms-overflow-style: auto;
	transition: opacity 0.25s ease, transform 0.25s ease;
}


.dropdown_menu.open {
	display: block;
	height: auto;
	overflow-y: auto;
	z-index: 10000;
	pointer-events: auto;
	animation: fadeInBottom 0.3s ease-out;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown_menu.closing {
	animation: fadeOutTop 0.3s ease-out forwards;
	transition: all 0.3s ease;
}

.dropdown_menu li {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.dropdown_menu li:last-child {
	margin-bottom: 0;
}

.dropdown_menu li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	text-align: center;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
}

.dropdown_menu li a:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.dropdown_menu .action_btn {
	width: 100%;
	display: flex;
	justify-content: center;
	background: rgba(0, 142, 203, 0.95);
}

.dropdown_menu a.is-active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.26);
}

@media (max-width: 992px) {
	.dropdown_menu {
		position: fixed;
		left: 12px;
		right: 12px;
		top: 84px;
		width: auto;
		max-height: calc(100dvh - 104px);
	}
}

/* make scrollbars visible in dropdown */
.dropdown_menu::-webkit-scrollbar {
	width: 8px;
}
.dropdown_menu::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.4);
	border-radius: 4px;
}
/* Animation Presets */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes imageAppear {
	0% {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
@keyframes fadeInBottom {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeOutTop {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-20px);
	}
}

/* Background Image Section */
.background {
	position: relative;
	left: 0;
	bottom: 0;
	width: calc(100% - 68px);
	margin: 18px 34px 22px;
	max-width: 92vw;
	height: auto;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 36px;
	padding: 0;
	z-index: 3;
	pointer-events: auto;
	perspective: 1100px;
	isolation: isolate;
	animation: softUp 0.65s ease both;
}

.background img {
	width: clamp(430px, 42vw, 620px);
	max-width: 100%;
	max-height: none;
	flex: 0 0 auto;
	display: block;
	transform: rotateY(14deg) rotateX(3deg);
	transform-origin: left bottom;
	animation: none;
	opacity: 0.88;
	filter: drop-shadow(22px 18px 22px rgba(0, 0, 0, 0.34));
	transform-style: preserve-3d;
	backface-visibility: hidden;
	will-change: transform;
}

#canvas-container {
	width: clamp(340px, 28vw, 500px);
	height: clamp(220px, 19vw, 340px);
	margin-top: 0;
	flex: 0 0 auto;
	align-self: flex-end;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: none;
	box-shadow: 0 14px 22px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	pointer-events: auto;
}

#canvas-container canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

/* Footer */
.site-footer {
	margin: 0;
	width: 100%;
	min-height: 122px;
	position: relative;
	left: 0;
	transform: none;
	bottom: 0;
	z-index: 40;
	backdrop-filter: blur(6px);
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(24, 16, 68, 0.25);
	margin-top: 14px;
	animation: softUp 0.75s ease both, footerGlow 6s ease-in-out infinite;
}

.site-footer-content {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr auto;
	gap: 16px;
	padding: 12px 18px 8px;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.02rem;
}

.footer-item h4 {
	margin: 0 0 4px;
	font-size: 1.12rem;
	font-weight: 700;
}

.footer-item p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.35;
	opacity: 0.88;
}

.footer-item-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.footer-item-contact a + a {
	margin-top: 6px;
}

.site-footer-content a {
	font-weight: 600;
	padding: 6px 12px;
	border: none;
	border-radius: 999px;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.98rem;
	background: rgba(0, 142, 203, 0.9);
}

.site-footer-content a:hover {
	background: rgba(0, 160, 227, 1);
	color: #ffffff;
}

.footer-item-contact a {
	border: 1px solid transparent;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.footer-item-contact a[href*="instagram.com"] {
	background: rgba(225, 48, 108, 0.22);
	border-color: rgba(253, 89, 73, 0.65);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.footer-item-contact a[href*="instagram.com"]:hover {
	animation: instagramHover 0.32s ease;
	transform: translateY(-2px);
	background: rgba(225, 48, 108, 0.34);
	box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-item-contact a[href*="tiktok.com"] {
	background: rgba(24, 24, 24, 0.35);
	border-color: rgba(37, 244, 238, 0.62);
	box-shadow: inset 0 0 0 1px rgba(254, 44, 85, 0.24);
}

.footer-item-contact a[href*="tiktok.com"]:hover {
	animation: tiktokHover 0.3s ease;
	transform: translateY(-2px);
	background: rgba(24, 24, 24, 0.5);
	box-shadow: 0 6px 18px rgba(37, 244, 238, 0.28), inset 0 0 0 1px rgba(254, 44, 85, 0.45);
}

.site-footer-bottom {
	padding: 0 18px 10px;
	border-top: 1px dashed rgba(255, 255, 255, 0.35);
}

.site-footer-bottom p {
	margin: 8px 0 0;
	font-size: 0.88rem;
	opacity: 0.75;
	color: #ffffff;
}

@media (max-width: 992px) {
	.site-footer {
		width: 100%;
		min-height: 168px;
		left: 0;
		bottom: 0;
		border-radius: 14px;
	}

	.site-footer-content {
		display: grid;
		grid-template-columns: 1fr;
		align-items: flex-start;
		text-align: left;
		padding: 10px 12px 6px;
		font-size: 0.96rem;
	}

	.footer-item h4 {
		font-size: 1.04rem;
	}

	.footer-item p {
		font-size: 0.9rem;
	}

	.site-footer-bottom {
		padding: 0 12px 8px;
	}
}

/* Extra right space for the main page content */
.home-section {
	margin-left: 0;
	margin-right: 0;
	animation: softUp 0.8s ease both;
}

@keyframes softUp {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pageFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes pageFadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes footerGlow {
	0%,
	100% {
		box-shadow: 0 10px 28px rgba(24, 16, 68, 0.2);
	}
	50% {
		box-shadow: 0 14px 34px rgba(24, 16, 68, 0.34);
	}
}

@keyframes instagramHover {
	0% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-2px) scale(1.03);
	}
	100% {
		transform: translateY(-2px) scale(1);
	}
}

@keyframes tiktokHover {
	0% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-2px) rotate(-0.8deg);
	}
	100% {
		transform: translateY(-2px) rotate(0deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
