/*

Tooplate 2143 Inner Peace

https://www.tooplate.com/view/2143-inner-peace

Free HTML CSS Template

*/


@charset "utf-8";
/* CSS Document */
/* Poppins */
@font-face {
  font-family: 'Noto Sans Thai';
  src: url('fonts/NotoSansThai-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #0080ff;
	--secondary: #4A7C8A;
	--accent: #6B9B7A;
	--light: #ffffff;
	--dark: #1010f9;
	--gradient-2: linear-gradient(135deg, #0A0E28 100%, #0B0F2F 100%);
}

body {
   font-family: "Noto Sans Thai", sans-serif;
	line-height: 1.6;
	color: var(--dark);
	background: var(--light);
	overflow-x: hidden;
}

/* Geometric Background Pattern */
.geometric-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.03;
	background-image:
		repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(107, 91, 149, 0.1) 35px, rgba(107, 91, 149, 0.1) 70px),
		repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(136, 176, 211, 0.1) 35px, rgba(136, 176, 211, 0.1) 70px);
}

/* Header */


.img-fluid {
    max-width: 100%;
    height: auto;
}


/* Hero Section with Enhanced Animated Background */
#hero {
	min-height: 10vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-2);
	position: relative;
	overflow: hidden;
}

/* Central Light Core */
#hero::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 50%;
	right: 50%;
	width: 1200px;
	height: 500px;
	background: radial-gradient(circle, rgb(14, 21, 94) 60%, transparent 70%);
	transform: translate(-50%, -50%);
	z-index: 0;
	     filter: blur(80px);
}

/* Connecting Lines and Dots Background */
.network-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.3;
}

.network-line {
	position: absolute;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	height: 1px;
	transform-origin: left center;
}

.network-line:nth-child(1) {
	width: 100px;
	top: 20%;
	left: 10%;
	transform: rotate(25deg);
	animation: pulseLine 4s ease-in-out infinite;
}

.network-line:nth-child(2) {
	width: 135px;
	top: 40%;
	right: 20%;
	transform: rotate(-45deg);
	animation: pulseLine 4s ease-in-out infinite 1s;
}

.network-line:nth-child(3) {
	width: 110px;
	bottom: 30%;
	left: 30%;
	transform: rotate(60deg);
	animation: pulseLine 4s ease-in-out infinite 2s;
}

.network-line:nth-child(4) {
	width: 125px;
	top: 60%;
	right: 15%;
	transform: rotate(-20deg);
	animation: pulseLine 4s ease-in-out infinite 3s;
}

.network-line:nth-child(5) {
	width: 100px;
	bottom: 20%;
	right: 35%;
	transform: rotate(40deg);
	animation: pulseLine 4s ease-in-out infinite 1.5s;
}

@keyframes pulseLine {

	0%,
	100% {
		opacity: 0.1;
		transform: scaleX(0.8) rotate(var(--rotation));
	}

	50% {
		opacity: 0.5;
		transform: scaleX(1) rotate(var(--rotation));
	}
}

.network-dot {
	position: absolute;
	width: 8px;
	height: 8px;
	background: white;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.network-dot:nth-child(6) {
	top: 20%;
	left: 10%;
	animation: dotPulse 3s ease-in-out infinite;
}

.network-dot:nth-child(7) {
	top: 40%;
	right: 20%;
	animation: dotPulse 3s ease-in-out infinite 0.5s;
}

.network-dot:nth-child(8) {
	bottom: 30%;
	left: 30%;
	animation: dotPulse 3s ease-in-out infinite 1s;
}

.network-dot:nth-child(9) {
	top: 60%;
	right: 30%;
	animation: dotPulse 3s ease-in-out infinite 1.5s;
}

.network-dot:nth-child(10) {
	bottom: 20%;
	right: 35%;
	animation: dotPulse 3s ease-in-out infinite 2s;
}

.network-dot:nth-child(11) {
	top: 35%;
	left: 25%;
	animation: dotPulse 3s ease-in-out infinite 2.5s;
}

.network-dot:nth-child(12) {
	bottom: 40%;
	right: 25%;
	animation: dotPulse 3s ease-in-out infinite 0.8s;
}

.network-dot:nth-child(13) {
	top: 15%;
	left: 60%;
	animation: dotPulse 3s ease-in-out infinite 1.2s;
}

.network-dot:nth-child(14) {
	bottom: 20%;
	left: 35%;
	animation: dotPulse 3s ease-in-out infinite 2.8s;
}

.network-dot:nth-child(15) {
	top: 70%;
	left: 45%;
	animation: dotPulse 3s ease-in-out infinite 0.3s;
}

.network-dot:nth-child(16) {
	top: 25%;
	right: 50%;
	animation: dotPulse 3s ease-in-out infinite 1.8s;
}

.network-dot:nth-child(17) {
	bottom: 15%;
	left: 55%;
	animation: dotPulse 3s ease-in-out infinite 2.3s;
}

.network-dot:nth-child(18) {
	bottom: 20%;
	left: 50%;
	animation: dotPulse 3s ease-in-out infinite 2.6s;
}
.network-dot:nth-child(19) {
	bottom: 30%;
	left: 27%;
	animation: dotPulse 3s ease-in-out infinite 2.9s;
}
.network-dot:nth-child(20) {
	bottom: 30%;
	left: 40%;
	animation: dotPulse 3s ease-in-out infinite 0.2s;
}
@keyframes dotPulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.4;
	}

	50% {
		transform: scale(1.5);
		opacity: 1;
	}
}

/* Inner Peace Animated Background */
.peace-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.breathing-circle {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	animation: breathe 8s ease-in-out infinite;
}

.breathing-circle:nth-child(1) {
	width: 300px;
	height: 300px;
	top: 10%;
	left: 10%;
	animation-delay: 0s;
}

.breathing-circle:nth-child(2) {
	width: 200px;
	height: 200px;
	top: 60%;
	right: 15%;
	animation-delay: 2s;
}

.breathing-circle:nth-child(3) {
	width: 250px;
	height: 250px;
	bottom: 20%;
	left: 30%;
	animation-delay: 4s;
}

.breathing-circle:nth-child(4) {
	width: 180px;
	height: 180px;
	top: 30%;
	right: 25%;
	animation-delay: 6s;
}

@keyframes breathe {

	0%,
	100% {
		transform: scale(1) translate(0, 0);
		opacity: 0.3;
	}

	25% {
		transform: scale(1.2) translate(-10px, -10px);
		opacity: 0.5;
	}

	50% {
		transform: scale(1.4) translate(10px, -20px);
		opacity: 0.3;
	}

	75% {
		transform: scale(1.1) translate(-5px, 10px);
		opacity: 0.4;
	}
}



.hero-content {
	text-align: center;
	z-index: 1;
	padding: 15px;
	max-width: 1000px;
	position: relative;
}

.hero-content h1 {
	font-size: 28px;
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 800;
	color: white;	
	animation: fadeInUp 1s ease;
	text-align: center;
}
.hero-content h2 {
	font-size: 22px;
	font-family: "Noto Sans Thai", sans-serif;
	font-weight: 800;
	color: white;	
	animation: fadeInUp 1s ease;
	text-align: center;
	margin-top: -5px;
}
.mb-2{
	margin-bottom: 7px;
}
p sup {
    font-size: 0.6em; /* เล็กกว่าปกติ */
    vertical-align: super; /* บังคับให้อยู่ด้านบน */
}
h2 sup {
    font-size: 0.6em; /* เล็กกว่าปกติ */
    vertical-align: super; /* บังคับให้อยู่ด้านบน */
}
.hero-content p {
font-weight: 100;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
margin-bottom: 0;
	animation: fadeInUp 1s ease 0.2s;
	animation-fill-mode: both;

}



@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* About Section - Complete Redesign */
#about {
	
	padding: 0 5%;
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	position: relative;
	color: var(--dark);
}

.section-subtitle {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 3rem;
	color: #666;
	font-size: 1.1rem;
}

/* Floating Cards Design */
.about-floating-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}

.floating-card {
	background: white;
	border-radius: 25px;
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.floating-card:hover {
	transform: translateY(-10px) rotate(1deg);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.floating-card:hover::before {
	opacity: 0.05;
}


@keyframes morphShape {

	0%,
	100% {
		border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
		transform: rotate(0deg);
	}

	25% {
		border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
		transform: rotate(90deg);
	}

	50% {
		border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
		transform: rotate(180deg);
	}

	75% {
		border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
		transform: rotate(270deg);
	}
}

.floating-card h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: var(--dark);
}

.floating-card p {
	color: #666;
	line-height: 1.6;
}


/* Resources Section - New Structure */
#resources {
	padding: 5rem 5%;
	max-width: 1200px;
	margin: 0 auto;
}

.resource-tabs {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 0;
}

.tab-btn {
	padding: 0.8rem 2rem;
	background: white;
	border: 2px solid var(--primary);
	border-radius: 25px;
	color: var(--primary);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none; /* ตัดเส้นใต้ */
}

.tab-btn.active,
.tab-btn:hover {
	background: var(--gradient-1);
	color: white;
	border-color: transparent;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}


/* Contact Section - Two Columns */
#contact {
	background: linear-gradient(135deg, rgba(46, 177, 247) 0%, rgba(28, 0, 246) 100%);
	padding: 5rem 5%;
	color: white;
}

.contact-container {
	max-width: 1200px;
	margin: 0 auto;
}

.contact-container h2 {
	color: white;
	margin-bottom: 3rem;
}


/* Mobile Responsive */
@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: 80px;
		right: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background: rgba(255, 255, 255, 0.98);
		flex-direction: column;
		align-items: center;
		justify-content: start;
		padding-top: 3rem;
		transition: right 0.3s ease;
		gap: 1rem;
		z-index: 999;
	}

	.nav-links.active {
		right: 0;
	}

	.nav-links li {
		width: 80%;
	}

	.nav-links a {
		width: 100%;
		text-align: center;
		padding: 1rem;
		margin: 0;
		display: block;
		box-sizing: border-box;
	}

	.hero-content h1 {
		font-size: 39px;
		font-weight:700;
	}

	.hero-content p {
		font-size: 1.1rem;
	}

	.mandala-bg {
		width: 300px;
		height: 300px;
	}

	.about-content,
	.contact-wrapper {
		grid-template-columns: 1fr;
	}

	.stats-counter {
		grid-template-columns: repeat(2, 1fr);
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}

	.journey-path {
		flex-direction: column;
		gap: 2rem;
	}

	.journey-path::before {
		display: none;
	}

	.practice-layout {
		grid-template-columns: 1fr;
	}

	.timeline-track {
		display: none;
	}

	.practice-content-area {
		gap: 1.5rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.footer-links {
		flex-direction: column;
		gap: 1rem;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 2rem;
	}

	.stats-counter {
		grid-template-columns: 1fr;
	}

	.stat-item::after {
		display: none;
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}

	.resource-tabs {
		flex-direction: column;
	}

	.tab-btn {
		width: 100%;
	}
}