/* ===================================================
   CAB SERVICES - CENTRALIZED STYLES
   ================================================== */

/* ===========================================
   REUSABLE CURVED LINE COMPONENTS
   =========================================== */
.curved-bottom {
	position: relative;
}

.curved-bottom::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: white;
	clip-path: ellipse(100% 100% at 50% 100%);
	z-index: 3;
}

.curved-bottom-sm::after {
	height: 60px;
}

.curved-bottom-md::after {
	height: 80px;
}

.curved-bottom-lg::after {
	height: 120px;
}

.curved-bottom-xl::after {
	height: 150px;
}

.curved-top {
	position: relative;
}

.curved-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: white;
	clip-path: ellipse(100% 100% at 50% 0%);
	z-index: 3;
}

.curved-top-sm::before {
	height: 60px;
}

.curved-top-md::before {
	height: 80px;
}

.curved-top-lg::before {
	height: 120px;
}

.curved-top-xl::before {
	height: 150px;
}

/* Color Variations */
.curved-white::after,
.curved-white::before {
	background: white;
}

.curved-green::after,
.curved-green::before {
	background: #329B94;
}

.curved-dark::after,
.curved-dark::before {
	background: #1E5D58;
}

.curved-gray::after,
.curved-gray::before {
	background: #f8f9fa;
}

/* ===========================================
   HERO SECTIONS
   =========================================== */

/* Main Hero Section (Index page) */
.hero-section {
	position: relative;
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-carousel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-carousel .carousel-inner {
	width: 100%;
	height: 100%;
}

.hero-carousel .carousel-item {
	width: 100%;
	height: 100%;
}

.hero-banner-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.carousel1 {
	bottom: 30px;
	z-index: 5;
}

.carousel1 li {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid white;
	margin: 0 5px;
}

.carousel1 .active {
	background-color: white;
	border-color: white;
}

.hero-overlay {
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(30, 93, 88, 0.7), rgba(50, 155, 148, 0.6));
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Page Hero Section (Internal pages) */
.page-hero {
	background: linear-gradient(135deg, rgba(30, 93, 88, 0.8) 0%, rgba(50, 155, 148, 0.8) 100%);
	color: white;
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 374px;
}

.hero-svg-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../assets/img/lab-background.png') center/cover;
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.page-hero h1 {
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 20px 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 4;
}

.hero-svg-left,
.hero-svg-right {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.hero-svg-left {
	left: 0;
}

.hero-svg-right {
	right: 0;
}

/* Hero Header Components */
.hero-header {
	margin-bottom: 60px;
	position: relative;
	z-index: 4;
	padding: 20px 0;
}

.hero-logo {
	width: 150px;
	height: 150px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 30px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 4;
}

.hero-title-en {
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 15px;
	color: white;
	opacity: 0.95;
	position: relative;
	z-index: 4;
}

.hero-title-th {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 20px;
	color: white;
	position: relative;
	z-index: 4;
}

.hero-subtitle {
	font-size: 52px;
	font-weight: 700;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 0;
	position: relative;
	z-index: 4;
}

/* Breadcrumb inside hero */

.breadcrumb {}


.breadcrumb-hero {
	justify-content: center;
	background: none;
	padding: 0;
	margin: 0;
	font-size: 16px;
	position: relative;
	z-index: 4;
}

.breadcrumb-hero .breadcrumb-item+.breadcrumb-item::before {
	content: ">";
	color: rgba(255, 255, 255, 0.7);
	margin: 0 8px;
}

.breadcrumb-hero .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb-hero .breadcrumb-item a:hover {
	color: white;
}

.breadcrumb-hero .breadcrumb-item.active {
	color: white;
	font-weight: 500;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   LAYOUT COMPONENTS
   =========================================== */

/* Main Layout */
.main-content {
	padding: 40px 0;
	background: #f8f9fa;
	min-height: 600px;
	position: relative;
	color: black;
	z-index: 1;
}

/* ===========================================
   SIDEBAR COMPONENT
   =========================================== */
.sidebar {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #329B94;
	color: white;
	border: none;
	border-radius: 6px;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	font-size: 16px;
}

.sidebar-toggle:hover {
	background: #1E5D58;
	transform: scale(1.05);
}

/* Sidebar Collapsed State */
.sidebar.collapsed {
	width: 60px;
	min-width: 60px;
	position: fixed !important;
	top: 70px !important;
	right: 0;
}

.sidebar.collapsed .sidebar-menu a {
	padding: 15px 10px;
	justify-content: center;
}

.sidebar.collapsed .sidebar-menu a .menu-text {
	display: none;
}

.sidebar.collapsed .sidebar-menu a .icon {
	margin-right: 0;
}

.sidebar.collapsed .sidebar-toggle {
	right: 12px;
}

.sidebar-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	padding-top: 60px;
}

.sidebar-menu li {
	border-bottom: 1px solid #e9ecef;
}

.sidebar-menu li:last-child {
	border-bottom: none;
}

.sidebar-menu a {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	color: #1D4443;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
	background: #f8f9fa;
	color: #329B94;
	border-left: 4px solid #329B94;
}

.sidebar-menu .icon {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.sidebar-menu .menu-text {
	transition: all 0.3s ease;
	flex: 1;
}

/* Tooltip for collapsed state */
.sidebar.collapsed .sidebar-menu a {
	position: relative;
}

.sidebar.collapsed .sidebar-menu a:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	background: #333;
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	white-space: nowrap;
	font-size: 12px;
	z-index: 1000;
	margin-left: 10px;
	opacity: 0;
	animation: fadeInTooltip 0.3s ease forwards;
}

@keyframes fadeInTooltip {
	to {
		opacity: 1;
	}
}

/* ===========================================
   CONTENT AREA COMPONENT
   =========================================== */
.content-area {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	padding: 40px;
}

.content-header h2 {
	font-size: 28px;
	font-weight: 700;
	color: #1D4443;
	margin-bottom: 10px;
}

.content-header .subtitle {
	font-size: 20px;
	color: #329B94;
	font-weight: 600;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e9ecef;
}

.content-text {
	font-size: 16px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 30px;
	text-align: justify;
}

.content-image {
	width: 100%;
	max-width: 500px;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	margin: 30px 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.section-divider {
	border-top: 2px solid #e9ecef;
	margin: 40px 0;
	padding-top: 40px;
}

.section-title {
	font-size: 24px;
	font-weight: 600;
	color: #1D4443;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}

.section-title .icon {
	width: 40px;
	height: 40px;
	background: #329B94;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: white;
	font-size: 18px;
}

/* ===========================================
   HERO SERVICE CARDS
   =========================================== */
.hero-services {
	margin-top: 40px;
	position: relative;
	z-index: 4;
	padding-bottom: 40px;
}

.hero-service-card {
	background: rgba(30, 93, 88, 0.95);
	border-radius: 16px;
	padding: 30px 25px;
	color: white;
	text-align: left;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 4;
}

.hero-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	z-index: 5;
}

.hero-service-card .service-icon {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 24px;
	color: white;
}

.hero-service-card .service-title {
	font-size: 18px;
	font-weight: 600;
	color: white;
	margin-bottom: 15px;
	line-height: 1.3;
}

.hero-service-card .service-description {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	margin-bottom: 20px;
}

.hero-service-btn {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
}

.hero-service-btn:hover {
	background: white;
	color: #1E5D58;
	text-decoration: none;
	transform: translateX(5px);
}

/* ===========================================
   NEWS SECTION
   =========================================== */
.news-section {
	padding: 80px 0;
	background: white;
}

.section-title {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	color: #1D4443;
	margin-bottom: 50px;
}

.news-filter {
	text-align: center;
	font-size: 16px;
	color: #666;
}

.filter-label {
	font-weight: 500;
	cursor: pointer;
	transition: color 0.3s ease;
}

.filter-label:hover {
	color: #329B94;
}

.filter-separator {
	margin: 0 20px;
	color: #ddd;
}

.news-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	height: 100%;
}

.news-card:hover {
	transform: translateY(-5px);
}

.news-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.news-image-placeholder {
	width: 100%;
	height: 200px;
	background: linear-gradient(135deg, #329B94, #1E5D58);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	color: white;
}

.news-content {
	padding: 24px;
}

.news-title {
	font-size: 18px;
	font-weight: 600;
	color: #1D4443;
	margin-bottom: 12px;
	line-height: 1.4;
}

.news-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 16px;
}

.news-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
}

.news-read-more {
	color: #329B94;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.news-read-more:hover {
	color: #1E5D58;
	text-decoration: none;
}

.news-date {
	font-size: 12px;
	color: #999;
}

/* ===========================================
   STATISTICS/ORGANIZATIONS SECTION
   =========================================== */
.stats-section {
	padding: 60px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stat-item {
	text-align: center;
	padding: 20px;
}

.stat-icon {
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #329B94, #1E5D58);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 40px;
	color: white;
}

.stat-number {
	font-size: 32px;
	font-weight: 700;
	color: #1D4443;
	margin-bottom: 8px;
}

.stat-label {
	font-size: 16px;
	color: #666;
	font-weight: 500;
}

/* ===========================================
   CONTENT TABS
   =========================================== */
.content-tabs {
	margin-bottom: 30px;
}

.content-tabs .nav-tabs {
	border-bottom: 2px solid #e9ecef;
	padding: 0;
}

.content-tabs .nav-link {
	border: none;
	background: none;
	color: #666;
	font-weight: 500;
	padding: 15px 25px;
	border-radius: 0;
	margin-right: 30px;
	position: relative;
	transition: all 0.3s ease;
}

.content-tabs .nav-link:hover {
	color: #329B94;
	background: none;
	border: none;
}

.content-tabs .nav-link.active {
	color: #329B94;
	background: none;
	border: none;
	font-weight: 600;
}

.content-tabs .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 3px;
	background: #329B94;
	border-radius: 2px 2px 0 0;
}

/* ===========================================
   SEARCH AND FILTER SECTIONS
   =========================================== */
.search-filter-section {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	border: 1px solid #e9ecef;
}

.input-group {
	
}

.search-input {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	width: 100%;
	max-width: 400px;
}

.search-input:focus {
	border-color: #329B94;
	outline: none;
	box-shadow: 0 0 0 2px rgba(50, 155, 148, 0.1);
}

.filter-btn {
	background: white;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 14px;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover {
	border-color: #329B94;
	color: #329B94;
}

/* ===========================================
   DATA TABLES
   =========================================== */
.document-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	font-size: 14px;
}

/* Hide default DataTable elements */
.dataTables_filter {
	display: none !important;
}

.dataTables_length {
	display: none !important;
}

/* Style DataTable info */
.dataTables_info {
	margin-top: 30px !important;
	padding-top: 20px !important;
	border-top: 1px solid #e9ecef !important;
	color: #666 !important;
	font-size: 14px !important;
	float: left !important;
}

/* Style DataTable pagination */
.dataTables_paginate {
	margin-top: 30px !important;
	padding-top: 20px !important;
	border-top: 1px solid #e9ecef !important;
	text-align: right !important;
	float: right !important;
}

.dataTables_paginate .paginate_button {
	background: white !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	font-size: 12px !important;
	transition: all 0.3s ease !important;
	min-width: 32px !important;
	text-align: center !important;
}

.dataTables_paginate .paginate_button:hover {
	background: #329B94 !important;
	color: white !important;
	border-color: #329B94 !important;
}

.dataTables_paginate .paginate_button.current {
	background: #329B94 !important;
	color: white !important;
	border-color: #329B94 !important;
}

.dataTables_paginate .paginate_button.disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* Clearfix for DataTable wrapper */
.dataTables_wrapper::after {
	content: "";
	display: table;
	clear: both;
}

.document-table th {
	background: #f8f9fa;
	padding: 15px;
	text-align: left;
	font-weight: 600;
	color: #1D4443;
	border-bottom: 2px solid #e9ecef;
	font-size: 14px;
}

.document-table td {
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	vertical-align: middle;
}

.document-table tbody tr:hover {
	background: #f8f9fa;
}

.document-name {
	font-weight: 500;
	color: #1D4443;
	line-height: 1.4;
}

.document-code {
	font-family: 'Courier New', monospace;
	color: #666;
	font-size: 14px;
}

.cert-status {
	font-weight: 500;
	color: #1D4443;
	line-height: 1.3;
	font-size: 11px;
}

.pdf-download {
	color: #dc3545;
	font-size: 18px;
	cursor: pointer;
	transition: color 0.3s ease;
}

.pdf-download:hover {
	color: #c82333;
}

/* Table responsiveness for certificate tables */
.document-table th,
.document-table td {
	padding: 12px 8px;
	text-align: center;
	font-size: 12px;
	vertical-align: middle;
}

/* ===========================================
   SPECIAL CONTENT COMPONENTS
   =========================================== */

/* Benefits List (Important.cshtml) */
.section-subtitle {
	font-size: 18px;
	font-weight: 600;
	color: #1D4443;
	margin: 30px 0 15px 0;
}

.benefits-list {
	margin-bottom: 30px;
}

.benefits-list ul {
	list-style: none;
	padding: 0;
}

.benefits-list li {
	padding: 8px 0;
	padding-left: 20px;
	position: relative;
	color: #666;
	line-height: 1.6;
}

.benefits-list li:before {
	content: "•";
	color: #329B94;
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* Contact Box */
.contact-box {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: 2px solid #329B94;
	border-radius: 12px;
	padding: 30px;
	margin-top: 40px;
	text-align: left;
}

.contact-box h4 {
	color: #1D4443;
	font-weight: 700;
	margin-bottom: 15px;
	font-size: 18px;
}

.contact-box p {
	color: #666;
	margin-bottom: 8px;
	line-height: 1.6;
}

/* ===========================================
   GRID SYSTEM OVERRIDES
   =========================================== */

/* Content Area adjustments */
.content-container {
	transition: all 0.3s ease;
}

.sidebar.collapsed+.content-container {
	margin-left: 20px;
}

/* Make content area expand when sidebar is collapsed */
.main-content .row {
	transition: all 0.3s ease;
}

.sidebar-column {
	transition: all 0.3s ease;
}

.content-column {
	transition: all 0.3s ease;
}

/* When sidebar is collapsed, adjust the grid */
.sidebar.collapsed {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	margin-top: 80px;
	/* Adjust based on your header height */
}

/* Fix: Target the sidebar-column that contains the collapsed sidebar */
.sidebar-column:has(.sidebar.collapsed)~.content-column {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	margin-left: 0;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Fallback for browsers that don't support :has() */
.content-column.expanded {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	margin-left: 0;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Override Bootstrap grid classes completely when sidebar is collapsed */
.sidebar-column:has(.sidebar.collapsed)~.col-lg-9.col-md-8.content-column,
.col-lg-9.col-md-8.content-column.expanded {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 768px) {

	/* Hero Sections */
	.hero-section {
		height: 100vh;
		min-height: 600px;
	}

	.hero-overlay {
		padding-bottom: 80px;
	}

	.page-hero {
		padding: 60px 0 100px 0;
		min-height: 280px;
	}

	.page-hero h1 {
		font-size: 32px;
	}

	.hero-content {
		padding-top: 40px;
	}

	.breadcrumb-hero {
		font-size: 14px;
	}

	.curved-bottom::after,
	.curved-top::before {
		height: 60px;
	}

	.hero-header {
		margin-bottom: 30px;
	}

	.hero-title-en {
		font-size: 16px;
	}

	.hero-title-th {
		font-size: 24px;
	}

	.hero-subtitle {
		font-size: 32px;
	}

	.hero-logo {
		width: 120px;
		height: 120px;
	}

	.hero-services {
		margin-top: 25px;
		padding-bottom: 30px;
	}

	.hero-service-card {
		padding: 25px 20px;
		margin-bottom: 20px;
	}

	.hero-service-card .service-title {
		font-size: 16px;
	}

	.hero-service-card .service-description {
		font-size: 13px;
	}

	.carousel1 {
		bottom: 20px;
	}

	.carousel1 li {
		width: 10px;
		height: 10px;
		margin: 0 3px;
	}

	/* Layout */
	.main-content {
		padding: 20px 0;
	}

	.content-area {
		padding: 25px;
	}

	.sidebar {
		margin-bottom: 30px;
	}

	.sidebar.collapsed {
		position: relative;
		margin-top: 0;
	}

	.sidebar.collapsed~.content-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0;
	}

	/* Tables */
	.document-table {
		font-size: 12px;
	}

	.document-table th,
	.document-table td {
		padding: 8px 6px;
	}

	/* Tabs */
	.content-tabs .nav-link {
		padding: 12px 15px;
		margin-right: 15px;
		font-size: 14px;
	}
}

@media (max-width: 992px) and (min-width: 769px) {
	.hero-overlay {
		padding-bottom: 100px;
	}

	.curved-bottom::after,
	.curved-top::before {
		height: 80px;
	}

	.hero-header {
		margin-bottom: 50px;
	}

	.hero-services {
		margin-top: 35px;
		padding-bottom: 35px;
	}

	.page-hero h1 {
		font-size: 40px;
	}

	.hero-content {
		padding-top: 50px;
	}

	.hero-title-th {
		font-size: 30px;
	}

	.hero-subtitle {
		font-size: 42px;
	}

	.hero-service-card .service-title {
		font-size: 17px;
	}

	.sidebar.collapsed {
		position: relative;
		margin-top: 0;
	}

	.sidebar.collapsed~.content-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0;
	}
}

/* Table responsiveness for larger tables */
@media (max-width: 1200px) {

	.document-table th,
	.document-table td {
		font-size: 11px;
		padding: 10px 6px;
	}
}

/* ABOUT CERT START*/
.cert-content {
	font-family: 'Boon', sans-serif;
	font-size: 18px;
	color: #333;
	padding-top: 0;
}

.cert-content h3,
.cert-content h2,
.cert-content h1 {
	font-family: 'Boon', sans-serif !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1D4443 !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}


.cert-content p {
	text-indent: 0 !important;
	font-size: 16px;
	color: #666;
	margin-bottom: 30px;
	text-align: justify;
}


.cert-content .row,
.cert-content .col-sm-12,
.cert-content .col-md-12,
.cert-content .col-lg-12,
.cert-content .col-xl-10 {
	all: unset;
	display: block;
	width: 100%;
}

.cert-content font,
.cert-content span[style*="font-family"],
.cert-content span[style*="font-size"] {
	font-size: inherit !important;
	font-family: inherit !important;
	color: inherit !important;
}

.cert-content.border-b h3 {
	width: 100% !important;
	border-bottom: 2px solid #e9ecef !important;
	padding-bottom: 24px !important;
}
/* ABOUT CERT END*/

/* STEP CERT START */
.special-insert {
	display: none;
}

.step-cert {
	padding: 0 68px;
	margin-top: -120px;
}

.step-cert-second {
	padding: 0 68px;
}

.step-cert-content {
	border: 1px solid #74D2CC;
	background-color: #F7FFFE;
	box-shadow: 14px 2px 26.1px -7px rgba(50, 155, 148, 0.3);
	padding: 4;
	width: 100%;
	position: relative;
	height: 229px;
	border-radius: 160px;
	display: flex;
	align-items: center;
	margin-top: 46px;
}

.step-cert-tag {
	position: absolute;
	top: 0;
	transform: translateY(-50%);
	right: 10%;
	background-color: #1D4443;
	border-radius: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 50px;
}

.step-cert-tag.cert-step-style-2 {
	background-color: #FFFFFF;
	border: 1px solid #329B94;
}

.step-cert-tag p {
	color: #F7FFFE;
	font-weight: 400;
	font-size: 24px;
	margin: 0;
}

.step-cert-tag.cert-step-style-2 p {
	color: #1D4443;
}

.step-cert-image {
	position: absolute;
	overflow: hidden;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: #173635;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-cert-image.cert-step-style-2 {
	background-color: #C6E7E6;
}

.step-cert-info {
	margin-left: 250px;
	margin-right: 20px;
}

p.step-cert-info-head {
	font-weight: 400 !important;
	font-size: 24px;
	color: #1D4443;
}

.cert-info-sub-detail {
	margin-right: 48px;
}

.cert-info-sub-detail p {
	color: #1D4443;
	font-size: 16px;
}

.step-cert-info-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}


.step-cert-info-item {
	width: 50%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: start;
	padding-left: 16px;
	border-left: 2px solid #5368651f;
}

.step-cert-info-item p {
	font-size: 18px;
	font-weight: 500;
	color: #1D4443;
	margin-bottom: 4px;
}

.step-cert-info-item a {
	display: inline-block;
	font-size: 16px;
	color: #329B94 !important;
	font-weight: 500;
	text-decoration: underline;
	margin-bottom: 4px;
	position: relative;
}

.step-cert-info-item a:hover {
	color: #1D4443 !important;
}

.step-cert-info-item span {
	font-size: 12px;
	color: #444;
	line-height: 1.6;
	display: inline-block;
}

/* step 2 start */
.step-cert-content-second {
	border: 1px solid #74D2CC;
	box-shadow: 14px 2px 26.1px -7px rgba(50, 155, 148, 0.3);
	padding: 4;
	width: 100%;
	position: relative;
	height: 229px;
	border-radius: 160px;
	display: flex;
	align-items: center;
	margin-top: 46px;
}

.step-cert-tag-second {
	position: absolute;
	top: 0;
	transform: translateY(-50%);
	left: 10%;
	background-color: #1D4443;
	border-radius: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 50px;
}

.step-cert-tag-second.cert-step-style-2 {
	background-color: #1D4443;
	background-color: #FFFFFF;
	border: 1px solid #329B94;
}

.step-cert-tag-second p {
	color: #F7FFFE;
	font-weight: 400;
	font-size: 24px;
	margin: 0;
}

.step-cert-tag-second.cert-step-style-2 p {
	color: #1D4443;
}

.step-cert-info-second {
	margin-right: 250px;
	margin-left: 48px;
}


.step-cert-info-item-second a {
	display: inline-block;
	font-size: 16px;
	color: #329B94 !important;
	font-weight: 500;
	text-decoration: underline;
	margin-bottom: 4px;
}

.step-cert-info-item a:hover {
	color: #1D4443 !important;
}

.step-cert-info-item span {
	font-size: 12px;
	color: #444;
	line-height: 1.6;
	display: inline-block;
}

.step-cert-image-second {
	position: absolute;
	overflow: hidden;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: #173635;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-cert-image-second.cert-step-style-2 {
	background-color: #C6E7E6;
}

/* step 2 end */

/* step cert responsive start */

@media (max-width: 1400px) {

	.special-insert {
		display: block;
		display: flex;
		align-items: center;
		gap: 18px;
		background-color: #357D7B;
		border-radius: 24px;
		padding: 2px;
		color: #FFFFFF;
		padding: 2rem;
		margin: 24px 0;
	}

	.special-insert-items {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 24px;
		justify-content: space-between;
	}

	.special-insert-item {
		width: 100%;

	}
	.special-insert-item p {
		font-size: 20px;
	}
	.special-insert-item  i{
		font-size: 24px;
		padding-bottom: 12px;
	}

	.insert-divider {
		justify-content: start !important;
		gap: 24px;
	}

	.insert-divider-item {
		display: flex;
		align-items: center !important;
	}

	.step-cert-content {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		border-radius: 40px;
		padding: 24px 16px;
	}

	.step-cert-tag {
		position: absolute;
		right: 0;
		margin-bottom: 16px;
	}

	.step-cert-tag p {
		font-size: 16px;
	}

	.step-cert-image {
		position: static;
		transform: none;
		margin: 0 auto 20px auto;
		width: 180px;
		height: 180px;
	}

	.step-cert-info {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	p.step-cert-info-head {
		font-size: 20px;
		text-align: center;
		margin-bottom: 16px;
	}

	.step-cert-info-content {
		flex-direction: column;
		gap: 16px;
	}

	.step-cert-info-item {
		width: 100%;
		border-left: none;
		border-top: 2px solid #e0e0e0;
		padding-left: 0;
		padding-top: 12px;
	}

	/* Responsive สำหรับ step 2 */
	.step-cert-content-second {
		flex-direction: column !important;
		align-items: flex-start;
		height: auto;
		border-radius: 40px;
		padding: 24px 16px;
		position: relative;
	}

	.step-cert-tag-second {
		left: auto !important;
		right: 0 !important;
	}

	.step-cert-tag-second p {
		font-size: 16px;
	}

	.step-cert-image-second {
		position: static;
		transform: none;
		margin: 0 auto 20px auto;
		width: 180px;
		height: 180px;
	}

	.step-cert-info-second {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		text-align: center;
	}

	.step-cert-info-second p {
		font-size: 20px;
		text-align: center;
		margin-bottom: 16px;
	}

	.connect-step-line {
		display: none !important;
	}

	.connect-step-line img {
		display: none !important;
	}

	.connect-line-ver2,
	.connect-line-ver2 img,
	.connect-step-line-insert {
		display: none !important;
	}

	.step-wrapper {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding-top: 0;
	}

	.step-cert {
		margin-top: 0px;
		padding: 0 0 !important;
	}

	.step-cert-second {
		margin-top: 0px !important;
		padding: 0 0 !important;
	}

	.step-wrapper {
		padding-top: 0 !important;
	}

	.detail-list {
		margin: 0 0 !important;
	}
}

/* step cert responsive end*/

.step-wrapper {
	position: relative;
	margin-bottom: 20px;
	padding-top: 120px;
}

.connect-step-line {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -100px;
	position: relative;
}

.connect-step-line.largest-line {
	margin-top: -500px;
}

.connect-step-line img {
	max-width: 100%;
	height: auto;
	display: block;
}

.connect-line-ver2 img {
	margin-bottom: 37px;
}

.step-cert-second {
	margin-top: -120px;
}

.connect-step-line-insert {
	position: absolute;
	right: 60px;
	top: 165px;
	width: 75%;
	display: flex;
	align-items: center;
	gap: 18px;
	background-color: #357D7B;
	border-radius: 83px;
	padding: 2px;
	color: #FFFFFF;
}

.insert-divider {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.icon-error {
	font-weight: 700;
	margin-right: 8px;
}

.insert-arrow {
	position: absolute;
	right: -90px;
	top: -200px;
}

.detail-list {
	background-color: #E8F8F6;
	padding: 24px;
	margin: 0 68px;
	border-radius: 24px;
}

p.head-contact {
	font-weight: 500 !important;
	font-size: 32px !important;
	color: #1D4443;
}

.connect-step-line {
	position: relative;
	z-index: 1;
}

.step-cert {
	position: relative;
	z-index: 3;
}

.step-cert-second {
	position: relative;
	z-index: 3;
}
/* STEP CERT END */


/* ANNOUNCE CERT START */
.flex {
	display: flex !important;
	align-items: center !important;
	gap: 8px;
}

.justify-end {
	justify-content:end ;
}

.justify-between {
	justify-content:space-between ;
}

.cert-submenu-announce {
	margin: 32px auto;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 0;
	border: 1px solid rgba(162, 225, 221, 1);
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	overflow: hidden;
}

.announce-item {
	width: 100%;
	padding-top: 32px !important;
	padding-bottom: 32px !important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-decoration: none;
	padding: 1.25rem;
	background-color: rgba(245, 247, 250, 1);
	box-sizing: border-box;
	transition: 0.2s;
	border-left: 1px solid rgba(162, 225, 221, 0.5);
}

.announce-item:hover {
	background-color: rgba(232, 248, 246, 1);
}

.announce-item h2 {
	font-size: 24px;
	color: rgba(29, 68, 67, 1);
}

.announce-item p {
	font-size: 18px;
	color: rgba(29, 68, 67, 1);
}

.announce-item a {
	text-decoration: none;
}

.announce-item:hover {
	transform: scale(1.02);
}
/* ANNOUNCE CERT END */

/* RAW CERT START */
.cert-submenu-raw .flex {
	display: flex;
	gap: 1rem;
}

.raw-item {
	position: relative;
	width: 100%;
	max-height: 430px;
	overflow: hidden;
	flex: 1;
	border-radius: 18px;
	box-shadow: 0px 2px 4px 0px rgba(171, 190, 209, 0.6);
}

.raw-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.raw-caption {
	position: absolute;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	min-height: 95px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(8px);
}

.raw-caption h2 {
	margin: 0;
	font-size: 20px;
	color: rgba(255, 255, 255, 1);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	flex: 1;
}

.raw-caption img:hover {
	transform: scale(1.05);
	cursor: pointer;
}

@media (max-width: 991px) {
	.cert-submenu-raw .flex {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.raw-caption.flex {
		gap: 1rem;
	}

	.cert-submenu-announce {
		flex-direction: column;
	}

	.raw-caption h2 {
		max-width: 100%;
		white-space: normal;
	}

	.announce-item {
		border-top: 1px solid rgba(162, 225, 221, 0.5);
		border-left: none;
		padding-top: 16px !important;
		padding-bottom: 16px !important;
	}
}

/* RAW CERT END */



/* ENP CERT START */

.cert-enp-select .flex {
	border: 2px solid rgba(208, 213, 221, 1);
	gap: 0 !important;
	border-radius: 10px;
	overflow: hidden;
	margin: 24px auto;
	box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);

}

.enp-select-item {
	width: 100%;
	cursor: pointer;
	box-sizing: border-box;
	display: flex;
	align-items: center;      
	justify-content: center;  
	padding: .5rem; 
	transition: background-color 0.3s ease, color 0.3s ease;          
}

.enp-select-item:first-child {
    border-right: 2px solid rgba(208, 213, 221, 1);
}

.enp-select-item p {
	margin: 0;                
	font-size: 18px;        
	font-weight: 600;   
	color: rgba(29, 68, 67, 1);   
}

.enp-select-item:hover,
.enp-select-item.active {
    background-color: rgba(216, 237, 234, 0.587);
}

.d-none {
  display: none !important;
}

.mb-24 {
	margin-bottom: 24px !important;
}

/* ENP CERT END */


/* LAB START */
.content-sub-header {
	color: rgba(50, 155, 148, 1);
	border-left: 4px solid rgba(50, 155, 148, 1);
	padding-left: 24px;
	font-size: 32px;
	margin: 24px 0;
}

.lab-content-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lab-content-item {
	border-radius: 12px;
	padding: 16px;
	background-color: rgba(245, 247, 250, 1);
}

.lab-item-header {
	text-align: center;
	color: rgba(30, 93, 88, 1);
	font-size: 16px;
	background-color: rgba(232, 248, 246, 1);
	padding: 12px 0;
	border-radius: 12px;
}

.image-wrapper {
  position: relative;
}

.content-lab-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.report-content {
  position: absolute;
  top: 35%;
  left: 35%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.report-content h1{
	color: rgba(29, 68, 67, 1);
	align-items: center;
}

.report-content h2{
	color: rgba(29, 68, 67, 1);
	align-items: center;
	font-weight: 200;
	font-size: 20px;
}

.report-content a {
  display: inline-block;
  margin: 18px auto;
  color: white !important;
	font-size: 18px;
  text-decoration: none;
  background-color: rgba(30, 93, 88, 1);
  padding: .5rem 2rem;
  border-radius: 24px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.report-content a:hover {
  background-color: rgb(44, 135, 127);
	scale: 1.01;
}
.report-content a {
  display: inline-block;
  margin: 18px auto;
  color: white !important;
	font-size: 18px;
  text-decoration: none;
  background-color: rgba(30, 93, 88, 1);
  padding: .5rem 2rem;
  border-radius: 24px;
}

.report-content .icon {
  margin-left: 8px;
}

.w-full {
	width: 100%;
}

.mr-12 {
	margin-right: 12px;
}

a.link-style {
	color: rgba(30, 93, 88, 1) !important;
	transition: all 0.2s ease;
}

a.link-style:hover {
	color: #329B94 !important;
}


/* LAB END */