* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;
}

/* Global Styles */
@keyframes spin { 100% { transform: rotate(360deg); } }

header::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0.25px;
	opacity: 0.7;
	z-index: 10;
}

html, body {
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
}

body {
	background: #1A1A1A;
	min-height: 100vh;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #1A1A1A;
	z-index: 1000;
	padding: 8px;
	box-shadow: 0 2px 15px rgba(83, 83, 83, 0.2);
}

.navbar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 10px 20px;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	gap: 10px;
}

.cursor-pointer {
	cursor: pointer;
}

.nav-left {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 50px;
	width: 100%;
 }

.logo {
	height: 35px;           
	display: flex;          
	align-items: center;
	margin-right: 4px;
}

.logo-icon img {
	height: 100%;          
	width: auto;           
	display: block;
}

.searchbar {
	height: 40px;
	display: flex;
	align-items: center;
	background: #000000;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 2px 8px 2px 8px;
	transition: box-shadow 0.2s;
	border: 1px solid #e0e0e0;
	min-width: 250px;
	width: 500px;
	position: relative;
}

.searchbar:focus-within {
	box-shadow: 0 4px 16px rgba(61,59,64,0.12);
	border-color: #bdbdbd;
}

.searchbar input {
	border: none;
	outline: none;
	background: transparent;
	padding: 8px 0 8px 28px;
	font-size: 15px;
	width: 450px;
	color: white;
	height: 100%;   
}

.searchbar .search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #888;
	pointer-events: none;
}

.searchbar button {
	border: none;
	background: none;
	cursor: pointer;
	color: #00000000;
	font-size: 18px;
	display: none;
	align-items: center;
	transition: color 0.2s;
}

.searchbar button:hover {
	color: #222;
}

.contact-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.login-register-container {
	margin-left: auto;
	list-style-type: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

.login-register-container a, .login-register-container button {
	display: inline-flex;
	text-decoration: none;
	background: #3D3B40;
	padding: 8px 22px;
	color: #00BBFF;
	font-weight: 400;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(61,59,64,0.13);
	transition: 0.2s, color 0.2s, box-shadow 0.2s;
	border: 1.5px solid #3D3B40;
	letter-spacing: 0.5px;
	font-size: 1.08em;
	text-transform: lowercase;
}

.login-register-container a#lang-toggle {
	margin-left: 270px;
}

.zoom-link-container {
	display: inline-flex;
	margin-top: 8px;
}

#nav-menu {
	display: flex;
	list-style: none;
	transition: transform 0.4s ease;
	width: 100%;
}

#nav-menu li.login-register, #nav-menu li.contact-buttons {
	display: none !important;
}

#nav-menu li {
	margin: 0 10px;
	position: relative;
}

#nav-menu li a {
	text-decoration: none;
	color: white;
	padding: 7px 0;
	display: inline-block;
	position: relative;
	font-weight: 500;
	transition: color 0.3s;
	font-size: 1.01em;
	font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

#nav-menu li a:hover {
	color: rgb(51, 51, 51) !important;
	text-shadow: 0 1px 6px rgba(255,193,7,0.10);
}

#nav-menu li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #1866b6;
	transition: width 0.3s ease;
}

#nav-menu li a:hover::after {
	width: 100%;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1100;
	margin-left: 10px;
	position: relative;
}

.hamburger span {
	display: block;
	width: 30px;
	height: 3px;
	margin: 4px 0;
	background: #fff;
	border-radius: 2px;
	transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}


/* Mobile styles */
@media (max-width: 900px) {
	.navbar {
		flex-wrap: wrap;
		padding: 10px 15px;
	}
	
.hamburger {
	display: flex;
	order: 2;
}
	
#nav-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 85%;
	max-width: 320px;
	height: 100vh;
	overflow-y: auto;
	background: #3D3B40;
	flex-direction: column;
	padding: 80px 30px 30px;
	z-index: 999;
	box-shadow: -5px 0 15px rgba(0,0,0,0.2);
	display: flex !important;
	transform: translateX(0);
	transition: right 0.4s ease;
}
	
#nav-menu.open {
	right: 0;
}
	
#nav-menu li {
	margin: 15px 0;
	opacity: 0;
	transform: translateX(20px);
	transition: opacity 0.4s, transform 0.4s;
}

#nav-menu .login-register,
#nav-menu .contact-buttons {
	width: 100%;
	margin: 10px 0; /* Add some vertical spacing */
}

#nav-menu .login-register a,
#nav-menu .contact-buttons .contact-us {
	width: 100%;
	text-align: center;
	padding: 12px;
	font-size: 18px;
}

#nav-menu .contact-buttons .contact-us {
	margin-top: 0; /* Reset margin for mobile */
}
	
#nav-menu.open li {
	opacity: 1;
	transform: translateX(0);
}
	
#nav-menu li:nth-child(1) { transition-delay: 0.1s; }
#nav-menu li:nth-child(2) { transition-delay: 0.2s; }
#nav-menu li:nth-child(3) { transition-delay: 0.3s; }
#nav-menu li:nth-child(4) { transition-delay: 0.4s; }
#nav-menu li:nth-child(5) { transition-delay: 0.5s; }
#nav-menu li:nth-child(6) { transition-delay: 0.6s; }
#nav-menu li:nth-child(7) { transition-delay: 0.7s; }
	
#nav-menu li a {
	font-size: 18px;
	padding: 12px 0;
}
	
.close-menu {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: white;
	font-size: 32px;
	cursor: pointer;
	z-index: 1002;
	display: block;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
	
.nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s;
}
	
	.nav-overlay.active {
		opacity: 1;
		visibility: visible;
	}
}

.content {
	max-width: 1200px;
	margin: 100px auto 50px;
	padding: 20px 24px;
	border-radius: 15px;
	margin-top: 54px;
	margin-bottom: 4px;
}

/* Reposiveness Rules in header*/
@media (max-width: 900px) {
	.content {
		margin-top: 80px;
	}
}

/* Hide the close button on desktop views */
@media (min-width: 768px) {
	li.close-menu-li {
		display: none !important;
	}
}

/* Ensure it's visible on mobile */
@media (max-width: 767px) {
	li.close-menu-li {
		display: block; /* Or list-item/inline-block depending on your layout */
	}
}
/* Reposiveness Rules in header end*/

.contact-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 80px 0 24px 0;
	gap: 18px;
}

/* Contact container: improved naming for clarity */
.contact-container {
	display: flex;
	align-items: center;
	gap: 18px;
}

.contact-us {
	background: #3D3B40;
	border: none;
	color: #00BBFF;
	font-size: 16px;
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 5px;
	transition: background-color 0.3s, color 0.3s;
}

.contact-us:hover {
	background: #1866b6;
}

.content-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	flex-wrap: wrap; /* allows wrapping on smaller screens */
	gap: 16px;
}

.youtube-id {
	background: transparent url('./logo/youtube.png') no-repeat center center;
	background-size: 60% 60%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	margin: 0;
	box-shadow: none;
}

.viber-id {
	background: transparent url('./logo/viber.png') no-repeat center center;
	background-size: 60% 60%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	margin: 0;
	box-shadow: none;
	
}
/* KakaoTalk icon */
.kakao-id {
	background: transparent url('./logo/kakao-talk.png') no-repeat center center;
	background-size: 60% 60%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	margin: 0;
	box-shadow: none;
}

.social-links {
	display: inline-flex;
	gap: 10px;
	margin-left: auto;
}

/*Responsive Rules for contact*/
@media (max-width: 600px) {
   .content-header {
	   flex-direction: column;
	   align-items: flex-start;
   }

   .contact-container {
	   justify-content: flex-start;
   }

   .contact-row {
	   flex-direction: column !important;
	   align-items: flex-start !important;
	   gap: 8px !important;
   }
   .contact-container {
	   width: 100% !important;
	   flex-direction: row !important;
	   align-items: center !important;
	   gap: 8px !important;
   }
   .contact-row > a.zoom-link {
	   margin-bottom: 4px !important;
	   display: block;
   }
   .contact-us-container > .contact-us {
	   margin-bottom: 4px !important;
   }
}
/*Responsive Rules for contact end*/

@keyframes image-fade {
	0% { opacity: 1; }
	45% { opacity: 1; }
	50% { opacity: 0; }
	95% { opacity: 0; }
	100% { opacity: 1; }
}

.image-card-section {
	margin-top: 120px;
}

.image-card {
	width: 100%;
	height: 100%;
	max-width: 1920px;
	height: 700px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	overflow: hidden;
	position: relative;
}

.image-card::before,
.image-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	animation: image-fade 10s infinite ease-in-out;
 }

 .image-card::before {
	background-image: url('https://cdn.jsdelivr.net/gh/khenjiem/akcbmc-content@84c80bb405a08cca2a509df7aaca3b7bc429585b/images/wallpaper.jpg');
 }

.image-card::after {
	background-image: url('https://cdn.jsdelivr.net/gh/khenjiem/akcbmc-content@84c80bb405a08cca2a509df7aaca3b7bc429585b/images/wallpaper-2.jpg');
	animation-delay: 5s;
}

/* Fix overlapping image and header on mobile view */
@media (max-width: 900px) {
	.image-card {
		margin-top: 150px; /* adjust to header height on mobile */
	}
}

@media (max-width: 600px) {
	.image-card {
		margin-top: 200px; /* adjust to taller header on smaller screens */
	}
}

/* Responsive styles for main button group */
@media (max-width: 700px) {
 
}
@media (max-width: 480px) {
 
}


.image-card img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: image-switcher 10s infinite;
}

.image-card img:nth-child(2) {
	animation-delay: 5s;
}

/*Responsive Rules for image*/
@media (max-width: 900px) {
	.image-card {
		height: 200px;
	}
}

@media (max-width: 600px) {
	.image-card {
		height: 120px;
	}
}
 

/* Redesigned Category Button for Professional Look */
/* Main container for the buttons */
/* Main container for the buttons */
.category-buttons-container {
	display: flex;
	justify-content: center; /* Center buttons horizontally */
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	padding: 0;
	margin: 0;
}

/* Each button style */
.category-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #1866b6;
	color: white;
	border: none;
	border-left: none; /* Avoid double borders between buttons */
	padding: 10px 20px; /* Padding around button text */
	font-size: 14px;
	cursor: pointer;
	width: 150px; /* Set fixed width for each button */
	white-space: nowrap;
	min-width: 120px;
	margin-bottom: 50px;
	position: relative; /* Required for inset shadow */
	box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.1); /* Inner shadow + outer shadow */
	transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth transition for shadow */
}


/* Icon inside the button */
.category-btn img {
	width: 18px;
	margin-right: 8px;
}

/* Hover effect */
.category-btn:hover {
	background-color: #155a8a; /* Darken background on hover */
	box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.15), 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
	.category-buttons-container {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 24px;
	}

	.category-btn {
		width: 80%; /* Buttons will take 80% of the screen width on mobile */
		margin: 5px auto; /* Center the buttons and give space between them */
		border-top: none; /* Remove top border for the first button */
		margin-bottom: 14px;
	}
}

@media (max-width: 480px) {
	.category-btn {
		width: 90%; /* Further reduce width for very small screens */
		font-size: 12px; /* Adjust font size */
		padding: 12px 10px; /* Adjust padding for small screens */
	}
}

/* Responsive Rules for Category Buttons layout end */

/* Modal Styles */
.gold-modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	overflow: auto;
	background: rgba(0,0,0,0.45);
	align-items: center;
	justify-content: center;
}

.gold-modal-content {
	background: #fff;
	margin: 10% auto;
	padding: 32px 24px 24px 24px;
	border-radius: 12px;
	max-width: 350px;
	box-shadow: 0 4px 24px rgba(24,102,182,0.13);
	text-align: center;
	position: relative;
}

.gold-modal-close {
	position: absolute;
	top: 12px;
	right: 18px;
	font-size: 1.7em;
	color: #888;
	cursor: pointer;
}

.gold-login-link {
	display: inline-block;
	margin-top: 18px;
	padding: 10px 22px;
	background: #1866b6;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition:  0.2s;
}

.gold-login-link:hover {
	background: #2D8CFF;
}

/* Remove featured and big card styles */
.featured,
.learning-card.big,
.featured-badge {
  display: none !important;
}

.card-benefits {
	width: 100%;
	background: rgb(0, 0, 0);
	margin: 48px 0 32px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.card-benefits-inner {
	max-width: 900px;
	width: 100%;
	padding: 48px 32px 40px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.card-benefits-title {
	font-size: 1.18em;
	font-weight: 700;
	color: #00BBFF;
	margin-bottom: 12px;
	letter-spacing: 0.5px;
	font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.card-benefits-desc {
	font-size: 0.98em;
	color: #e0e0e0;
	line-height: 1.6;
	font-weight: 400;
	margin-bottom: 0;
	font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.card-benefits {
	font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.gold-highlight {
	color: #fff;
	background: linear-gradient(90deg, #00BBFF 60%, #ffe082 100%);
	padding: 2px 10px;
	border-radius: 8px;
	font-weight: 700;
	margin-left: 6px;
	box-shadow: 0 2px 8px rgba(255,193,7,0.13);
}

.avail-link {
	background-color: #1866b6;
	color: #000000;
	font-weight: 500;
	font-size: 20px;
	margin-top: 8px;
	padding: 14px;
	text-decoration: none;
	border-radius: 24px;
}

.avail-link:hover {
	opacity: 0.9;
	transition-duration: 1s;
}

/*Responsive Rules for card benefits*/
@media (max-width: 700px) {
	.card-benefits-inner {
		padding: 28px 10px 24px 10px;
	}
	.card-benefits-title {
		font-size: 1.3em;
	}
	.card-benefits-desc {
		font-size: 1em;
	}
}
/*Responsive Rules for card benefits end*/

/* Login button: dark background, white text, professional look */
#nav-menu li.login-register a {
	background: #3D3B40;
	color: #fff !important;
	font-weight: 700;
	border-radius: 8px;
	padding: 8px 22px;
	box-shadow: 0 2px 12px rgba(61,59,64,0.13);
	margin-left: 10px;
	transition: 0.2s, color 0.2s, box-shadow 0.2s;
	border: 1.5px solid #3D3B40;
	letter-spacing: 0.5px;
	font-size: 1.08em;
	text-transform: uppercase;
}

#nav-menu li.login-register a:hover {
	background: #1866b6;
	color: #fff !important;
	box-shadow: 0 4px 18px rgba(24,102,182,0.18);
	text-decoration: none;
}

#nav-menu li.login-register a::after {
	display: none !important;
}

@media (max-width: 600px) {
  #nav-menu .login-register {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 8px 0;
  }

  #nav-login {
	font-size: 1em;
	padding: 6px 12px;
	margin: 0;
	min-width: 100px;
  }

  .contact-us {
	font-size: 1em;
	padding: 6px 12px;
	margin: 0;
	min-width: 100px;
  }
  
}

/*Responsive Rules for login and register*/
@media (max-width: 900px) {
	#nav-menu li.login-register a {
		display: block;
		width: 100%;
		text-align: center;
		margin: 10px 0 0 0;
		font-size: 1.15em;
		padding: 14px 0;
	}
}
/*Responsive Rules for login and register end*/


/* Auth Modal Styles */
.auth-modal {
	display: none;
	position: fixed;
	z-index: 3000;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.45);
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s;
}

.auth-modal.open {
  display: flex;
}

.auth-modal-content {
	background: #fff;
	border-radius: 16px;
	max-width: 370px;
	width: 98vw;
	max-height: 92vh;
	padding: 36px 18px 28px 18px;
	box-shadow: 0 8px 32px rgba(24,102,182,0.13);
	position: relative;
	text-align: left;
	animation: fadeIn 0.3s;
	overflow-y: auto;
}

/* Responsive Rules for Auth modal */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
/* Responsive Rules for Auth end */

.auth-modal-close {
	position: absolute;
	top: 16px;
	right: 22px;
	font-size: 2em;
	color: #888;
	cursor: pointer;
	background: none;
	border: none;
	z-index: 10;
	transition: color 0.2s;
}

.auth-modal-close:hover, .auth-modal-close:focus {
	color: #1866b6;
	outline: none;
}

.auth-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 18px;
}

.auth-tab {
	background: #f5f7fa;
	border: none;
	border-radius: 8px 8px 0 0;
	padding: 10px 28px;
	font-size: 1.08em;
	font-weight: 600;
	color: #3D3B40;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
	background: #3D3B40;
	color: #fff;
}

.auth-tab-content {
  display: block;
}

.auth-tab-content[style*="display:none"] {
	display: none !important;
}

.auth-modal-content h2 {
	text-align: center;
	color: #1866b6;
	font-size: 1.4em;
	margin-bottom: 18px;
}

.google-signin-btn {
	width: 100%;
	background: #fff;
	color: #1866b6;
	border: 1.5px solid #1866b6;
	border-radius: 8px;
	font-size: 1.08em;
	font-weight: 600;
	padding: 10px 0;
	margin-bottom: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition:  0.2s, color 0.2s, border 0.2s;
}

.google-signin-btn:hover {
	background: #1866b6;
	color: #fff;
	border-color: #1866b6;
}

.auth-divider {
	width: 100%;
	text-align: center;
	margin: 12px 0 18px 0;
	position: relative;
}

.auth-divider span {
	background: #fff;
	color: #888;
	padding: 0 12px;
	position: relative;
	z-index: 1;
	font-size: 0.98em;
}

.auth-divider:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: #e0e0e0;
	z-index: 0;
}

.auth-modal-content form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.auth-modal-content label {
	font-size: 1em;
	color: #3D3B40;
	font-weight: 500;
	margin-bottom: 2px;
}

.auth-modal-content input {
	padding: 10px 12px;
	border-radius: 6px;
	border: 1.5px solid #e0e0e0;
	font-size: 1em;
	outline: none;
	transition: border 0.2s;
}

.auth-modal-content input:focus {
	border: 1.5px solid #1866b6;
}

.auth-submit {
	background: #1866b6;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1.08em;
	font-weight: 600;
	padding: 12px 0;
	margin-top: 8px;
	cursor: pointer;
	transition: background 0.2s;
}

.auth-submit:hover {
	background: #2D8CFF;
}

.auth-loading-spinner {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.7);
	z-index: 10;
}

.spinner {
	width: 48px;
	height: 48px;
	border: 5px solid #e3e9f2;
	border-top: 5px solid #2D8CFF;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Responsive animation for Auth modal */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 500px) {
  .auth-modal-content {
	padding: 18px 4vw 18px 4vw;
	max-width: 98vw;
  }
  .auth-tabs {
	gap: 2vw;
  }
}
/* Responsive animation for Auth modal */

/* Responsive Rules for Chat bot */
@media (max-width: 600px) {
  #chatbot-popup, #chatbot-loading {
	width: 98vw !important;
	height: 80vh !important;
	right: 1vw !important;
	bottom: 1vw !important;
	border-radius: 10px !important;
  }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Responsive Rules for Chat bot end*/

.password-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
	width: 100%;
	padding-right: 38px;
}

.toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #888;
	font-size: 1.2em;
	z-index: 2;
	background: none;
	border: none;
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 28px;
	transition: color 0.2s;
}

.toggle-password:focus, .toggle-password:hover {
	color: #2D8CFF;
}

/* --- Simplified Who We Are & Why Jinu Section Styles --- 
.who-we-are-section {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 48px 0 36px 0;
	background: none;
}

.who-we-are-card {
	background: #fff;
	box-shadow: 0 2px 8px rgba(44,62,80,0.08);
	max-width: 950px;
	width: 100%;
	padding: 36px 32px 32px 32px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: justify;
	border-radius: 10px;
	border: 1.5px solid #e0e0e0;
	overflow: visible;
	background-clip: padding-box;
}

.who-we-are-card legend {
	font-size: 1.25em;
	font-weight: 700;
	color: #1866b6;
	margin-bottom: 18px;
	letter-spacing: 0.5px;
	padding-left: 0;
}

.who-desc {
	font-size: 1.13em;
	color: #222;
	line-height: 1.7;
	margin-bottom: 0;
	max-width: 760px;
	background: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	text-align: justify;
}

.who-values {
	display: flex;
	justify-content: flex-start;
	gap: 18px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.who-value {
	background: #f5f7fa;
	color: #222;
	font-weight: 500;
	border-radius: 8px;
	padding: 8px 18px;
	font-size: 1em;
	box-shadow: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	border: 1px solid #e0e0e0;
	transition: none;
}

.who-value i {
	color: #1866b6;
	font-size: 1.1em;
}

Remove hover/gradient/animation for who-value 
.who-value:hover {
	background: #e3e9f2;
	color: #1866b6;
}
*/

/* Responsive Rules for Who We Are section */
@media (max-width: 900px) {
  .who-we-are-card {
	padding: 18px 2vw 18px 2vw;
	max-width: 99vw;
  }
  .who-desc {
	font-size: 1em;
	padding: 0;
  }
  .who-values {
	gap: 8px;
	margin-top: 10px;
  }
}
/* --- End Simplified Who We Are & Why Jinu Section Styles --- */

/* Forum's Digital Initiatives Card Sizing - Match Learning Cards */

/* Match forum-cards-row to learning-grid for alignment */
.forum-cards-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	justify-items: stretch;
	align-items: stretch;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

/* Ensure forum section aligns with learning section */
.forum-digital-initiatives-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 0 auto !important;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* Use only the top-of-file .forum-card, .forum-card-img, .forum-card-img-text, .forum-card-body for forum cards. */

@media (max-width: 600px) {
  .forum-digital-initiatives-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
  }

  .forum-cards-row {
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 !important;
	left: 0 !important;
	right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
  }

  .forum-card {
	padding: 0 0 4px 0 !important;
	padding-left: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	margin-left: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	border-radius: 0 !important;
	box-sizing: border-box;
  }
}

/* Wide featured card for learning section */
.learning-featured-wide-card {
	width: 100%;
	max-width: 1050px;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: #000000;
	border-radius: 4px;
	margin: 0 auto 36px auto;
	overflow: hidden;
	min-height: 260px;
}

.wide-card-image {
	flex: 1.2 1 0%;
	min-width: 220px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 220px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wide-card-image .play-icon {
	font-size: 2.8em;
	color: #fff;
	background: rgba(0,0,0,0.55);
	border-radius: 50%;
	padding: 12px 20px 12px 18px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(44,62,80,0.18);
}


.wide-card-details {
	flex: 2 1 0%;
	padding: 36px 32px 32px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #222222;
}

.wide-card-title {
	font-size: 1.6em;
	font-weight: 700;
	color: #1866b6;
	margin-bottom: 12px;
}

.wide-card-desc {
	font-size: 1.08em;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.6;
}

/* Professional, compact Learn More button for featured card */
.wide-card-btn {
	display: inline-block;
	background: #1866b6;
	color: #fff;
	padding: 7px 22px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.98em;
	box-shadow: 0 1.5px 6px rgba(24,102,182,0.10);
	transition:  0.18s, color 0.18s, transform 0.14s;
	min-width: 90px;
	max-width: 140px;
	text-align: center;
	letter-spacing: 0.02em;
	border: 1.2px solid #1866b6;
}

.wide-card-btn:hover {
	background: #888;
	color: #888;
	border-color: white;
	color: white;
	box-shadow: 0 2px 8px rgba(255,193,7,0.10);
}

/* Forum cards inherit all styles from learning cards for perfect design match */
.forum-card,
.forum-digital-initiative-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(44,62,80,0.08);
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	position: relative;
	transition: box-shadow 0.2s, transform 0.2s;
	cursor: pointer;
	overflow: hidden;
	height: 100%;
	min-height: 0;
}

.forum-cta-btn:hover, .forum-cta-btn:focus {
	opacity: 0.9 !important;
	background: #000 !important;
}

.forum-legend {
	margin-top: 120px;
	color: white;
	font-weight: bold;
	font-size: 36px;
}

.text-lectures {
	font-size: 1.2em;
	color: #BEBEBE;
	margin-bottom: 18px;
}

@media (max-width: 700px) {
	.forum-cta-btn {
		width: 90vw !important;
		min-width: 0 !important;
		font-size: 1em !important;
		padding: 14px 0 !important;
		border-radius: 18px !important;
	}
}
	  
@media (max-width: 400px) {
	.forum-cta-btn {
		width: 98vw !important;
		font-size: 0.98em !important;
		padding: 12px 0 !important;
		border-radius: 12px !important;
	}
}

.forum-card:hover {
	box-shadow: 0 4px 16px rgba(24,102,182,0.18);
	transition: box-shadow 0.22s, transform 0.22s;
}

/* Visit button inherits forum card hover animation */
.forum-card .visit-btn {
	transition: box-shadow 0.22s, transform 0.22s;
}
.forum-card .visit-btn:hover, .forum-card .visit-btn:focus {
	box-shadow: 0 4px 16px rgba(24,102,182,0.18);
	transform: translateY(-2px) scale(1.04);
	background: #1866b6;
	color: #fff;
}

.forum-card-img {
	width: 100%;
	aspect-ratio: 16/9;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.forum-card-img img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
}

.forum-card-img img:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease-in-out;
}

.forum-card-img-text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(180deg,rgba(0,0,0,0.55) 80%,rgba(0,0,0,0.08) 100%);
	color: #fff;
	padding: 10px 14px 8px 14px;
	font-size: 1.08em;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.forum-card-body {
	width: 100%;
	padding: 18px 18px 14px 18px;
	display: flex;
	flex-direction: column;
	gap: 1.1em;
	background: #2B2B2B;
	box-sizing: border-box;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	overflow: visible;
}

.forum-card-title {
	font-size: 1.13em;
	font-weight: 700;
	color: #181818;
	margin-bottom: 12px;
	text-align: left;
	padding: 0;
	line-height: 1.3;
	display: block;
	overflow-wrap: anywhere;
}

.forum-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 0.98em;
	color: #ffffff;
	margin-bottom: 8px;
	min-width: 0;
	width: 100%;
	overflow: visible;
}

.forum-card-description {
	color: #ffffff;
	font-size: 1em;
	margin-top: 2px;
	line-height: 1.5;
	text-align: left;
	display: block;
	white-space: normal;
	word-break: break-word;
	max-height: unset;
	overflow: visible;
	visibility: visible;
}

/* Responsive Rules for Wide Featured Card */
/* --- Responsive Rules for Featured Section --- */
@media (max-width: 1200px) {
  .learning-featured-wide-card {
	max-width: 98vw;
  }
}

@media (max-width: 1200px) {
  .learning-featured-wide-card {
	max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .learning-featured-wide-card {
	flex-direction: column;
	min-height: 180px;
	max-width: 99vw;
	margin: 0 auto 24px auto;
  }
  .wide-card-image {
	min-width: 100%;
	min-height: 160px;
	width: 100%;
	aspect-ratio: 16/9;
  }
  .wide-card-details {
	padding: 22px 14px 18px 14px;
  }
}

@media (max-width: 600px) {
  .learning-featured-wide-card {
	max-width: 100vw;
	margin: 0 auto 12px auto;
	border-radius: 0 !important;
	box-shadow: 0 2px 8px rgba(24,102,182,0.10);
  }
  .wide-card-image {
	min-width: 100vw;
	min-height: 80px;
	width: 100vw;
	aspect-ratio: 16/9;
	border-radius: 0 !important;
  }
  .wide-card-details {
	padding: 10px 4vw 10px 4vw;
  }
}

@media (max-width: 400px) {
  .learning-featured-wide-card {
	max-width: 100vw;
	margin: 0;
	border-radius: 0 !important;
  }
  .wide-card-image {
	min-width: 100vw;
	min-height: 60px;
	width: 100vw;
	aspect-ratio: 16/9;
  }
  .wide-card-details {
	padding: 6px 2vw 6px 2vw;
  }
}
/* --- End Responsive Featured Section --- */

.lang-toggle-btn {
	background: transparent !important;
	border: transparent !important;
	color: #00BBFF;
	text-decoration: none;
 }

/* Responsive Rules for Language Toggle Button */
@media (max-width: 600px) {
  .lang-toggle-btn {
	font-size: 0.88rem;
	padding: 3px 10px;
	min-width: 60px;
	min-height: 24px;
	margin-bottom: 8px;
  }
}
/* Responsive Rules for Language Toggle Button end*/

/* Language toggle button styles */
#lang-toggle {
	font-size: 0.97em;
	padding: 6px 12px;
	border-radius: 14px;
	font-weight: 600;
	min-width: 0;
	line-height: 1.1;
	margin-left: 2px;
	cursor: pointer;
	white-space: nowrap;
	transition:  0.18s, color 0.18s, border 0.18s;
}

/* Responsive Rules for Learning Section */
@media (max-width: 900px) {
  #lang-toggle {
	font-size: 1.08em;
	padding: 10px 16px;
	margin-left: 0;
	margin-top: 8px;
	width: 100%;
	min-width: 0;
	display: block;
  }
}
/* Responsive Rules for Language Toggle Button end*/

/* Learning Section Base Styles */
.learning-section {
	padding: 24px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	max-width: 1200px;
	margin: 0 auto;
}

.learning-title {
	font-size: 36px;
	color: #ffffff;
	font-weight: 700;
	text-align: left;
	margin-left: 50px;

 }

.learning-desc {
	text-align: left;
	color: #BEBEBE;
	font-size: 1em;
	margin-bottom: 24px;
	margin-left: 50px;
}

.slider-container {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
}

.arrow {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.arrow:hover {
	background-color: #eee;
}

.gallery-wrapper {
	overflow-x: auto;
	display: flex;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: 16px;
	padding-bottom: 12px;
	flex: 1;
}

.gallery {
	flex: 0 0 auto;
	width: 280px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.learning-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.learning-thumb {
	background-size: cover;
	background-position: center;
	height: 160px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.learning-thumb:hover {
	transform: scale(1.02);
	transition: transform 0.3s ease;
}

.learning-caption-details {
	padding: 12px 16px;
}

.learning-caption {
	font-weight: 600;
	font-size: 1em;
	margin-bottom: 6px;
	color: #222;
}

.learning-meta {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 8px;
}

.meta-topic {
	background-color: #e3e8f0;
	color: #333;
	padding: 2px 8px;
	border-radius: 12px;
	margin-right: 8px;
}

.meta-length {
	font-weight: 500;
}

.learning-description {
	font-size: 0.9em;
	color: #555;
}

.mobile-arrows {
	display: none;
}



/* Responsive Styles */
@media (max-width: 768px) {
	.slider-container {
		flex-direction: column;
		align-items: stretch;
	}

	.gallery-wrapper {
		flex-wrap: nowrap;
		overflow-x: scroll;
	}

	.gallery {
		width: 85vw;
	}

/* Hide desktop arrows */
	.slider-container > .arrow {
		display: none;
	}

/* Show mobile arrows below gallery */
	.mobile-arrows {
		display: flex;
		justify-content: center;
		gap: 16px;
		margin-top: 12px;
	}

	.arrow {
		margin: 0;
	  }
	}

@media (max-width: 480px) {
	.learning-desc {
		font-size: 0.95em;
	}

	.learning-caption {
		font-size: 0.95em;
	}

	.learning-description {
		font-size: 0.85em;
	  }
	}

/* Footer*/
		footer {
			background-color: #000;
			color: #fff;
			padding: 60px 0 30px;
			margin-top: auto;
		}
		
		.footer-container {
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 20px;
		}
		
		.footer-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
			gap: 40px;
			margin-bottom: 40px;
		}
		
		.footer-column h3 {
			font-size: 1.4rem;
			margin-bottom: 25px;
			position: relative;
			padding-bottom: 10px;
		}
		
		.footer-column h3::after {
			content: '';
			position: absolute;
			bottom: 0;
			left: 0;
			width: 50px;
			height: 3px;
			background: linear-gradient(to right, #00BBFF, #000000);
			border-radius: 3px;
		}
		
		.footer-logo {
			display: flex;
			align-items: center;
			margin-bottom: 20px;
		}
		
		.footer-logo i {
			font-size: 2.5rem;
			color: #00BBFF;
			margin-right: 15px;
		}
		
		.footer-logo span {
			font-size: 1.8rem;
			font-weight: 700;
			background: linear-gradient(to right, #00BBFF, #000000);
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
		}
		
		.footer-column p {
			line-height: 1.7;
			color: #aaa;
			margin-bottom: 20px;
		}
		
		.footer-links {
			list-style: none;
		}
		
		.footer-links li {
			margin-bottom: 15px;
		}
		
		.footer-links a {
			color: #ddd;
			text-decoration: none;
			transition: color 0.3s ease;
			display: flex;
			align-items: center;
		}
		
		.footer-links a i {
			margin-right: 10px;
			color: #00BBFF;
			width: 20px;
			text-align: center;
		}
		
		.footer-links a:hover {
			color: #00BBFF;
		}
		
		.contact-info {
			list-style: none;
		}
		
		.contact-info li {
			display: flex;
			margin-bottom: 15px;
			color: #ddd;
		}
		
		.contact-info i {
			color: #00BBFF;
			margin-right: 15px;
			min-width: 20px;
		}
		
		.social-icons {
			display: flex;
			gap: 15px;
			margin-top: 20px;
		}
		
		.social-icons a {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 40px;
			height: 40px;
			background: #222;
			border-radius: 50%;
			color: #00BBFF;
			font-size: 1.2rem;
			transition: all 0.3s ease;
		}
		
		.social-icons a:hover {
			background: linear-gradient(135deg, #00BBFF, #000000);
			color: #000;
			transform: translateY(-3px);
		}
		
		.newsletter-form {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
			margin-top: 20px;
		}
		
		.newsletter-form input {
			flex: 1;
			min-width: 200px;
			padding: 12px 15px;
			border: none;
			border-radius: 5px;
			background: #222;
			color: #fff;
			outline: none;
		}
		
		.newsletter-form button {
			background: linear-gradient(to right, #00BBFF, #ffffff);
			color: #000;
			border: none;
			padding: 12px 25px;
			border-radius: 5px;
			font-weight: 600;
			cursor: pointer;
			transition: transform 0.3s ease;
		}
		
		.newsletter-form button:hover {
			transform: translateY(-3px);
		}
		
		.copyright {
			text-align: center;
			padding-top: 30px;
			border-top: 1px solid #333;
			color: #777;
			font-size: 0.9rem;
		}
		
		/* Responsive Rules for footer*/
		@media (max-width: 768px) {
			.footer-grid {
				grid-template-columns: 1fr;
				gap: 30px;
			}
			
			.footer-column {
				text-align: center;
			}
			
			.footer-column h3::after {
				left: 50%;
				transform: translateX(-50%);
			}
			
			.footer-logo {
				justify-content: center;
			}
			
			.social-icons {
				justify-content: center;
			}
			
			.newsletter-form {
				justify-content: center;
			}
			
			.content h1 {
				font-size: 2.2rem;
			}
		}
/* Responsive Rules for footer end*/


/*Invitation poster responsive*/
@media (max-width: 700px) {
	.invitation-poster-section .invitation-poster {
		flex-direction: column !important;
		height: auto !important;
		min-height: 0 !important;
		box-shadow: 0 2px 8px rgba(24,102,182,0.10);
	}
	.invitation-poster-section .invitation-poster img {
		width: 100% !important;
		height: 160px !important;
		min-height: 80px !important;
		border-radius: 0 !important;
		object-fit: cover;
	}
	.invitation-poster-section .invitation-poster > div {
		padding: 18px 6vw 18px 6vw !important;
		}
	}

@media (max-width: 400px) {
	.invitation-poster-section .invitation-poster img {
		height: 100px !important;
	}
	.invitation-poster-section .invitation-poster > div {
		padding: 10px 2vw 10px 2vw !important;
		}
	}

@media (max-width: 768px) {
  .invitation-slogan {
	font-size: 1.5em !important;
  }
  .invitation-button {
	font-size: 1em !important;
	padding: 10px 40px !important;
  }
}

@media (max-width: 480px) {
  .invitation-slogan {
	font-size: 1.2em !important;
  }
  .invitation-button {
	font-size: 0.9em !important;
	padding: 8px 20px !important;
  }
}
/* On very small screens, move overlay below image to prevent overlap */
@media (max-width: 480px) {
  .invitation-overlay {
	position: static !important;
	transform: none !important;
	margin: 10px auto !important;
	width: auto !important;
	padding: 10px 2vw !important;
  }
}

/* Icons grid */
.icons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px;
  margin: 40px 0;
  padding: 0 16px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}
.icon-item img {
  width: 100%;
  height: auto;
}
.icon-label {
  margin-top: 8px;
  text-align: center;
  font-size: 0.9em;
  color: #fff;
}

/* Responsive icons */
@media (max-width: 600px) {
  .icon-item {
	width: 60px;
	margin: 0 8px;
  }
  .icon-label {
	font-size: 0.8em;
	margin-top: 4px;
  }
}

/* Move login and contact into hamburger at small widths */
@media (max-width: 550px) {
  /* Hide header container */
  .login-register-container {
	display: none !important;
  }
  /* Show login and contact in nav-menu */
  #nav-menu li.login-register,
  #nav-menu li.contact-buttons {
	display: block !important;
  }
}

/* Prevent duplicate login/contact in header on mobile */
@media (max-width: 900px) {
  .login-register-container {
	display: none !important;
  }
}
