@font-face {
	font-family: 'MyCustomFont';
	src: url('src/Poppins.ttf');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'MyCustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: #f5f5f5;
	overflow-x: hidden;
}

/* Header */
.header {
	position: fixed;
	background-color: #46586C;
	width: 100%;
	height: 80px;
	top: 0;
	z-index: 30;
}

.header2 {
	position: fixed;
	background: #374A60;
	width: 100%;
	height: 50px;
	top: 80px;
	z-index: 30;
	display: none;
}

.logo_container {
	top: 0px;
	display: flex;
	position: fixed;
	height: 80px;
	width: 100%;
	align-items: center;
	justify-content: center;
	z-index: 40;
	pointer-events: none;
}

.logo {
	height: 50px;
	opacity: 0.9;
	cursor: pointer;
	z-index: 40;
	pointer-events: auto;
	filter: drop-shadow(2px 5px 1px rgba(0, 0, 0, 0.25));
}

.logo_mobile {
	height: 50px;
	opacity: 0.9;
	cursor: pointer;
	z-index: 40;
	pointer-events: auto;
	filter: drop-shadow(2px 5px 1px rgba(0, 0, 0, 0.25));
}

.center {
	display: flex;
	justify-content: center;
}

.header_menu {
	position: fixed;
	width: 100%;
	height: 50px;
	z-index: 39;
	align-items: center;
	top: 80px;
	background: #374A60;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding-top: 0;
	transition: all 0.3s ease;
}

.header_menu.mobile {
	display: flex;
	flex-direction: column;
	height: 0;
	max-height: 0;
	overflow: hidden;
	justify-content: flex-start;
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	animation: popUp 0.3s ease-in-out forwards;
}

.header_menu.mobile.open {
	height: auto;
	max-height: calc(100vh - 80px);
	opacity: 1;
	transform: translateY(0);
}

.header_menu.mobile.close {
	height: auto;
	max-height: calc(100vh - 80px);
	opacity: 0;
	transform: translateY(-20px);
}

.menu_button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 50px;
	cursor: pointer;
	color: white;
	transition: background-color 0.3s ease;
	white-space: nowrap;
	padding: 15px 20px;
}


.header_menu.mobile .menu_button {
	border-bottom: 1px solid rgba(255,255,255,0.1);
	opacity: 0;
	transform: translateX(-20px);
}

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

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

@keyframes popUp {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0px);
	}
}

@keyframes popBack {
	from {
		opacity: 1;
		transform: translateY(0px);
	}
	to {
		opacity: 0;
		transform: translateY(-20px);
	}
}


.header_menu.mobile .menu_button {
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu_button:hover {
	background-color: rgba(255,255,255,0.1);
}

.menu_button_text {
	color: white;
	opacity: 0.9;
	letter-spacing: 1px;
	font-weight: bold;
	font-size: 14px;
}

.icon {
	width: 12px;
	height: 12px;
	opacity: 0.9;
	margin-right: 5px;
}

/* Hamburger Menu */
.hamburger {
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 41;
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	border: 0;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: white;
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(12.5px) rotate(-45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-5.5px) rotate(45deg);
}

.blur {
	position: fixed;
	top: 80px;
	width: 100%;
	height: 10px;
	background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.75));
	z-index: 999;
}

/* Animations */
.box {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.box.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Main content sections */
.content-section {
	margin-top: 30px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}

.content-section h1 {
	color: #374A60;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
	margin-bottom: 20px;
}

.content-section h2 {
	color: #374A60;
	font-size: 18px;
	margin-top: 30px;
	margin-bottom: 15px;
	width: 100%;
}

.content-section p {
	color: #374A60;
	font-size: 16px;
	font-weight: normal;
	max-width: 100%;
	text-align: left;
	margin: 10px 0;
	line-height: 1.6;
	width: 100%;
}

/* Hero section */
.hero {
	background-color: #f5f5f5;
	margin-top: 80px;
	padding: 20px;
}

.hero-content {
	width: 100%;
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home_image1 {
	width: 100%;
	max-width: 300px;
	box-shadow: 2px 10px 5px rgba(0, 0, 0, 0.25);
	margin-bottom: 30px;
	border-radius: 10px;
}

.hero-text h1 {
	font-size: 20px;
	color: #27313d;
	font-weight: bold;
	text-align: center;
	line-height: 1.4;
}

/* Features section */
.features {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px 20px;
}

.why_card {
	width: 100%;
	max-width: 400px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: row;
	margin: 20px 0;
	background: rgba(255,255,255,0.1);
	padding: 0px;
	border-radius: 15px;
}

.why_icon {
	width: 60px;
	height: 60px;
	opacity: 1.0;
	filter: drop-shadow(2px 5px 1px rgba(0, 0, 0, 0.25));
	margin-right: 15px;
	flex-shrink: 0;
}

.why_card h1 {
	color: #374a60;
	opacity: 0.9;
	font-size: 20px;
	text-align: left;
	margin-bottom: 8px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.why_card p {
	color: #374a60;
	opacity: 0.8;
	text-align: left;
	font-size: 18px;
	line-height: 1.4;
	word-wrap: break-word;
	overflow-wrap: break-word;

}

.why_card h2 {
	overflow-wrap: anywhere;
}

.li {
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
}

/* About section */
.about {
	background-color: #f5f5f5;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 00px 20px;
}

.welcome {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.welcome h1 {
	color: #374A60;
	font-weight: bold;
	font-size: 22px;
	margin-bottom: 30px;
	margin-top: 30px;
	text-align: center;
}

.welcome p {
	color: #374A60;
	font-weight: normal;
	font-size: 16px;
	margin-bottom: 15px;
	text-align: justify;
	text-indent: 3.0rem;
	line-height: 1.6;
}

.welcome img {
	width: 100%;
	max-width: 300px;
	margin: 30px auto;
	display: block;
	margin-bottom: 30px;
	margin-top: 0;
}

/* Tasks section */
.tasks {
	padding: 20px;
}

.tasks ul {
	width: 100%;
	margin-left: 15px;
	padding-left: 15px;
}

.tasks li {
	color: #374A60;
	font-size: 15px;
	margin-bottom: 8px;
	line-height: 1.5;
}

.tasks ul ul {
	margin-left: 20px;
	list-style-type: circle;
}

ul {
	width: 100%;
}

/* Cards section */
.cards-section {
	background-color: #f5f5f5;
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px 20px;
}

.card_cont_wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.card-container {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	justify-items: center;
	margin: 20px 0;
	margin-bottom: 30px;
}

.card-wrapper {
	width: 250px;
	perspective: 1000px;
}

.new_card {
	width: 250px;
	height: 200px;
	max-width: 250px;
	max-height: 250px;
	min-width: 150px;
	min-height: 150px;
	transform-style: preserve-3d;
	transition: transform 0.8s ease;
	border-radius: 25px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	background: #fff;
	position: relative;
}

ul, li {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

li {
	margin-right: 20px;
}

.card-wrapper:hover .new_card,
.card-wrapper:active .new_card {
	transform: rotateY(180deg);
}

.card_face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 25px;
	overflow: hidden;
}

.card_front {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #374A60, #46586C);
	color: #fff;
	pointer-events: none;
}

.card_back {
	transform: rotateY(180deg);
	background: #fff;
	display: flex;
	flex-direction: column;
}

.card_icon {
	width: 50px;
	height: 50px;
	filter: drop-shadow(2px 5px 1px rgba(0, 0, 0, 0.25));
	opacity: 0.9;
}

.card_front p {
	font-size: 16px;
	opacity: 0.9;
	text-align: center;
	margin-top: 15px;
	padding: 0 15px;
	line-height: 1.3;
}

.card_title {
	background: rgba(0,0,0,0.1);
	width: 100%;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}

.card_title p {
	font-size: 16px;
	color: #666;
	font-weight: bold;
}

.card_content {
	height: calc(100% - 50px);
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	overflow-y: auto;
	padding: 10px;
}

.card_back p {
	font-size: 14px;
	color: #666;
	line-height: 1.4;
	text-align: center;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding: 8px 5px;
	margin: 0;
}

.card_back p:last-child {
	border-bottom: none;
}

/* Lists */
.help_list {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	margin-top: 15px;
	width: 100%;
}

.help_list p,
.help_list a {
	margin-right: 10px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.5;
	flex: 1;
}

.help_list a {
	color: #374A60;
	text-decoration: none;
}

.help_list a:hover {
	text-decoration: underline;
}

.check3, .check4 {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	opacity: 0.7;
	flex-shrink: 0;
}

/* Footer */
.footer2 {
	margin-top: 60px;
	background-color: #2a3847;
	padding: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

.footer2 p, .footer2 a {
	color: rgba(255,255,255,0.65);
	margin: 0;
	font-size: 12px;
	text-align: center;
	line-height: 1.4;
}

.footer2 a {
	text-decoration: none;
}

.footer2 a:hover {
	text-decoration: underline;
}

/* Admin panel (hidden) */
.admin {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0,0,0,1), rgba(100,100,100,1));
	z-index: 99999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.admin_title {
	color: white;
	text-align: center;
	margin-bottom: 20px;
}

.admin input {
	height: 40px;
	width: 100%;
	max-width: 250px;
	font-size: 16px;
	color: #222;
	background-color: #fff;
	border: 1.5px solid #ccc;
	border-radius: 6px 0 0 6px;
	outline: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	padding: 0 10px;
}

.admin input:hover {
	border-color: #999;
}

.admin input:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.admin button {
	font-family: MyCustomFont;
	width: 50px;
	height: 44px;
	font-size: 18px;
	color: white;
	background: linear-gradient(135deg, #374A60, #46586C);
	border: none;
	border-radius: 0 10px 10px 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.divider {
	width: 100%;
	max-width: 800px;
	height: 1px;
	background-color: rgba(0,0,0,0.25);
	margin-top: 10px;
	margin-bottom: 10px;
}

.meta {
	text-align: center !important;
	font-style: italic;
	font-size: 14px !important;
}

.ppp {
	text-indent: 1.5rem;
	margin: 0 0 15px;
	text-align: justify;
}

.gap2 {
	min-height: 1px;
	width: 100%;
	max-width: 500px;
	background-color: #374a60;
	margin: 10px 0;
	opacity: 0.15;
}

.tasks ul ul {
	width: 70vw;
}

.pc {
	margin-bottom:0px;
}

.pc2 {
	margin-left:0px;
}

.logo_mobile {
	display: inline;
}

.logo {
	display: none;
}

/* Desktop styles - 1000px centered layout */
@media (min-width: 1024px) {
	.header {
		height: 120px;
	}

	.header2 {
		top: 120px;
		height: 40px;
		display: inline;
	}

	.logo_container {
		height: 120px;
		width: 1000px;
		margin: 0 auto;
	}

	.logo {
		height: 70px;
		position: absolute;
		left: 0;
	}

	.header_menu {
		display: flex !important;
		top: 120px;
		height: 40px;
		width: 1000px;
		flex-direction: row;
		margin: 0 auto;
		left: 50%;
		transform: translateX(-50%);
		background: #374A60;
		padding-top: 0;
	}

	.header_menu.mobile {
		display: flex !important;
		flex-direction: row;
		height: 40px;
	}

	.hamburger {
		display: none;
	}

	.menu_button {
		width: 100%;
		min-height: 40px;
		padding: 0;
	}

	.header_menu.mobile .menu_button {
		border-bottom: none;
	}

	.menu_button_text {
		font-size: 13px;
		letter-spacing: 2px;
	}

	.icon {
		width: 12px;
		height: 12px;
		margin-right: 5px;
	}

	.blur {
		top: 160px;
	}

	.hero {
		margin-top: 160px;
	}

	.hero-content {
		max-width: 1100px;
		flex-direction: row;
		align-items: flex-start;
		margin: 60px auto;
	}

	.home_image1 {
		width: 300px;
		margin-right: 50px;
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.hero-text h1 {
		font-size: 25px;
		text-align: left;
	}

	.content-section {
		padding: 0;
		max-width: 700px;
		margin: 50px auto;
	}

	.content-section h1 {
		font-size: 32px;
	}

	.content-section h2 {
		font-size: 20px;
		
	}

	.content-section p {
		font-size: 18px;
		max-width: 1000px;
		min-width: 700px;
	}

	.features {
		max-width: 1000px;
		margin: 0 auto;
		background-repeat: no-repeat;
		background-position: top, bottom;
		background-size: 100% 10px;
		opacity: 0.5;
	}

	.why_card {
		width: 700px;
		max-width: 700px;
		margin: 40px;
		background: transparent;
		padding: 0;
		border-radius: 0;
	}

	.why_icon {
		width: 70px;
		height: 70px;
		margin-right: 20px;
	}

	.why_card h1 {
		font-size: 20px;
	}

	.why_card p {
		font-size: 18px;
	}

	.gap2 {
		width: 500px;
		background-color: #374a60;
		opacity: 0.15;
	}

	.about {
		max-width: 1000px;
		margin: 0 auto;
	}

	.welcome {
		max-width: 1100px;
		flex-direction: row;
		margin: 50px auto;
	}

	.welcome h1 {
		font-size: 28px;
		text-align: left;
		margin-bottom: 50px;
	}

	.welcome p {
		font-size: 18px;
	}

	.tasks {
		max-width: 1000px;
		padding: 0;
	}

	.tasks h2 {
		margin-top: 50px;
	}

	.tasks ul {
		width: 1000px;
		margin-left: 20px;
		padding-left: 20px;
	}

	.tasks li {
		font-size: 18px;
		max-width: 900px;
	}

	.cards-section {
		max-width: 1000px;
		margin: 50px auto;
	}

	.card-container {
		max-width: 1400px;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 20px;
		justify-items: center;
		align-items: center;
		margin: 20px 0;
	}

	.card-wrapper {
		width: 215px;
	}

	.new_card {
		max-width: 215px;
		max-height: 215px;
		border-radius: 50px;
	}

	.card_face {
		border-radius: 50px;
	}

	.card_icon {
		width: 60px;
		height: 60px;
	}

	.card_front p {
		font-size: 18px;
		margin-top: 10px;
	}

	.help_list {
		max-width: 1000px;
		margin: 20px auto;
	}

	.help_list p, .help_list a {
		font-size: 18px;
	}

	.check3 {
		width: 24px;
		height: 24px;
	}

	.footer2 {
		margin-top: 100px;
		height: 130px;
		padding: 10px 0;
	}

	.divider {
		width: 100%;
		max-width: none;
		margin: 50px 0 50px 0;
	}
	
	.pc {
		margin-bottom:100px;
	}
	
	.pc2 {
		margin-left:50px;
	}
	
	.logo_mobile {
		display:none;
	}
	
	.logo {
		display: inline;
	}
}

/* Touch improvements for mobile */
@media (max-width: 1023px) {
	.card-wrapper {
		cursor: pointer;
	}
	
	.card-wrapper:active .new_card {
		transform: rotateY(180deg);
	}
}

/* Ensure smooth scrolling on all devices */
html {
	scroll-behavior: smooth;
}