/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Custom container style*/

/* @media only screen and (min-width: 981px) {
    .container {
      	width: 100% !important;
		padding-left: 80px !important;
		padding-right: 80px !important;
    }
}

@media (max-width: 980px) {
    .container {
        width: 100% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
    }
} */

@media only screen and (min-width: 981px) {
    .et_pb_row {
      	width: 100% !important;
		padding-left: 80px !important;
		padding-right: 80px !important;
    }
}

@media (max-width: 980px) {
    .et_pb_row {
        width: 100% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
    }
}






/* ===========================
General Page Styling
=========================== */
.static-page-content {
	line-height: 1.25;
	color: #3b3b3b;
	background-color: #fff;
	margin: 0 auto;
}

/* ===========================
Headings h1 - h6
=========================== */
.static-page-content h1 {
	color: #3b3b3b;
	line-height: 1.3;
	margin-bottom: 0.5em;
}

.static-page-content h2,
.static-page-content h3,
.static-page-content h4,
.static-page-content h5,
.static-page-content h6 {
	color: #3b3b3b;
	line-height: 1.3;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.static-page-content h1 { font-size: 32px; font-weight: 700; }
.static-page-content h2 { font-size: 26px; font-weight: 600; }
.static-page-content h3 { font-size: 22px; font-weight: 600; }
.static-page-content h4 { font-size: 18px; font-weight: 600; }
.static-page-content h5 { font-size: 16px; font-weight: 600; }
.static-page-content h6 { font-size: 14px; font-weight: 600; }

/* ===========================
Paragraphs
=========================== */
.static-page-content p {
	font-size: 14px;
	line-height: 1.25;
	margin: 0 0 12px 0;
}

/* ===========================
Lists
=========================== */
.static-page-content ul,
.static-page-content ol {
	margin: 0 0 12px 30px;
	padding: 0;
}

.static-page-content li {
	margin-bottom: 2px;
}

/* Nested lists */
.static-page-content ul ul,
.static-page-content ol ol,
.static-page-content ul ol,
.static-page-content ol ul {
	margin-left: 20px;
	margin-bottom: 6px;
}

/* ===========================
Links
=========================== */
.static-page-content a {
	color: #004E92;
	text-decoration: underline;
}

.static-page-content a:hover {
	text-decoration: none;
}

/* ===========================
Small Text
=========================== */
.static-page-content small {
	font-size: 12px;
	color: #3b3b3b;
	line-height: 1.25;
}

/* ===========================
Blockquote
=========================== */
.static-page-content blockquote {
	border-left: 4px solid #ddd;
	padding-left: 15px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #3b3b3b;
	font-style: italic;
	margin: 16px 0;
	background-color: #f9f9f9;
	font-size: 14px;
	line-height: 1.25;
}

/* ===========================
Tables
=========================== */
.static-page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	font-size: 14px;
	line-height: 1.25;
	color: #3b3b3b;
}

.static-page-content th,
.static-page-content td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: left;
}

.static-page-content th {
	background-color: #f4f4f4;
	font-weight: 600;
}

/* ===========================
Images
=========================== */
.static-page-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 15px 0;
}

/* ===========================
Horizontal Rule
=========================== */
.static-page-content hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 25px 0;
}

/* ===========================
Code / Preformatted Text
=========================== */
.static-page-content pre,
.static-page-content code {
	background-color: #f4f4f4;
	padding: 6px 10px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 13px;
	line-height: 1.25;
	overflow-x: auto;
	color: #3b3b3b;
}

/* ===========================
Section spacing
=========================== */
.static-page-content section {
	margin-bottom: 25px;
}





/* ===============================
Blog Post Content Typography
================================ */

.blog-post-content {
	line-height: 1.6 !important;
	color: #3b3b3b;
	font-size: 15px !important;
	text-align: left !important;
}

/* Text emphasis */
.blog-post-content strong {
	font-weight: 600 !important;
	color: #3b3b3b !important;
}

.blog-post-content h1 strong,
.blog-post-content h2 strong
.blog-post-content h3 strong
.blog-post-content h4 strong
.blog-post-content h5 strong
.blog-post-content h6 strong{
	font-weight: inherit !important;
}

.blog-post-content em {
	font-style: italic;
}

/* Headings */
.blog-post-content h1 {
	font-size: 32px;
	font-weight: 600;
	margin: 32px 0 16px;
	line-height: 1.25;
	padding-bottom: 0;
	color: #3b3b3b;
}

.blog-post-content h2 {
	font-size: 26px;
	margin: 28px 0 14px;
	line-height: 1.3;
	font-weight: 600;
	padding-bottom: 0;
	position: relative;
	padding-left: 16px;
	color: #3b3b3b;
	border-left: 6px solid #2563eb;
}

.blog-post-content h3 {
	font-size: 22px;
	margin: 24px 0 12px;
	line-height: 1.35;
	font-weight: 600;
	color: #3b3b3b;
	padding-bottom: 0;
}

.blog-post-content h4 {
	font-size: 18px;
	padding-bottom: 0;
	font-weight: 600;
	margin: 20px 0 10px;
	color: #3b3b3b;
}

.blog-post-content h5 {
	font-size: 16px;
	padding-bottom: 0;
	font-weight: 600;
	margin: 18px 0 8px;
	color: #3b3b3b;
}

.blog-post-content h6 {
	font-size: 14px;
	padding-bottom: 0;
	font-weight: 600;
	margin: 16px 0 6px;
	color: #3b3b3b;
}

/* Paragraph */
.blog-post-content p {
	margin-bottom: 0px;
    padding-bottom: 12px;
}

/* Lists */
.blog-post-content ul,
.blog-post-content ol {
	margin: 0px 0 0px 18px;
    padding-bottom: 10px;
}

.blog-post-content li {
	margin-bottom: 2px;
}

/* Links */
.blog-post-content a {
	color: #004E92;
	text-decoration: underline;
}

/* Blockquote */
.blog-post-content blockquote {
	margin: 20px 0;
	padding: 12px 16px;
	border-left: 4px solid #2563eb;
	background: #f8fafc;
	font-style: italic;
}

/* Images */
.blog-post-content img {
	max-width: 100%;
	height: auto;
	margin: 16px 0;
	border-radius: 6px;
}

/* Figure */
.blog-post-content figure {
	margin: 20px 0;
	text-align: center;
}

.blog-post-content figcaption {
	font-size: 13px;
	color: #6b7280;
	margin-top: 6px;
}

/* Code */
.blog-post-content code {
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
}

.blog-post-content pre {
	background: #0f172a;
	color: #5C5D76;
	padding: 14px;
	border-radius: 6px;
	overflow-x: auto;
	margin: 18px 0;
}

/* Tables */
.blog-post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 14px;
}

.blog-post-content th,
.blog-post-content td {
	border: 1px solid #e5e7eb;
	padding: 10px;
	text-align: left;
}

.blog-post-content th {
	background: #f1f5f9;
	font-weight: 600;
}

/* Horizontal rule */
.blog-post-content hr {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 32px 0;
}

/* Sup / Sub */
.blog-post-content sup,
.blog-post-content sub {
	font-size: 12px;
}

/* Embedded content */
.blog-post-content iframe {
	max-width: 100%;
	margin: 20px 0;
}

/* ===============================
Tablet (<= 980px)
================================ */
@media (max-width: 980px) {

	.blog-post-content {
		font-size: 14.5px;
	}

	.blog-post-content h1 { font-size: 28px; }
	.blog-post-content h2 { font-size: 24px; }
	.blog-post-content h3 { font-size: 20px; }
	.blog-post-content h4 { font-size: 17px; }
	.blog-post-content h5 { font-size: 15px; }
	.blog-post-content h6 { font-size: 14px; }
}

/* ===============================
Mobile (<= 767px)
================================ */
@media (max-width: 767px) {

	.blog-post-content {
		font-size: 14px;
	}

	.blog-post-content h1 { font-size: 24px; }
	.blog-post-content h2 { font-size: 21px; }
	.blog-post-content h3 { font-size: 18px; }
	.blog-post-content h4 { font-size: 16px; }
	.blog-post-content h5 { font-size: 15px; }
	.blog-post-content h6 { font-size: 14px; }

	.blog-post-content h2 {
		padding-left: 12px;
		border-left-width: 4px;
	}
}




/* ===============================
Cusom Blog Filter Section Start
================================ */

/* Filter Section */
.blog-filter-section {
	margin-bottom: 40px;
}
.filter-controls {
	margin-top: 20px;
	gap: 20px;
	flex-wrap: wrap;
}

.category-wrapper .category-heading{
	display: none;
}

.category-wrapper .category-heading h3{
	font-size: 20px;
	font-weight: 600;
	color: #3B3B3B;
}

/* Category Scroll Wrapper */
.category-scroll-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Scroll Buttons */
.scroll-btn {
	background: white;
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #3B3B3B;
	transition: all 0.3s ease;
	flex-shrink: 0;
	z-index: 2;
}

.scroll-btn:hover {
	background: #00A1E0;
	border-color: #00A1E0;
	color: white;
}

.scroll-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.scroll-btn:disabled:hover {
	background: white;
	border-color: #ddd;
	color: #3B3B3B;
}

/* Show scroll buttons when needed */
.category-scroll-wrapper.has-overflow .scroll-btn {
	display: flex;
}

/* Category Buttons Container */
.category-buttons {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	flex: 1;
	/* Hide scrollbar */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.category-buttons::-webkit-scrollbar {
	display: none;
}

/* Category buttons */
.category-filter-btn {
	padding: 4px 14px;
	border: 1px solid #3B3B3B;
	border-radius: 25px;
	background: white;
	color: #3B3B3B;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.category-filter-btn:hover,
.category-filter-btn.active-category {
	background: #00A1E0;
	color: white;
	border-color: #00A1E0;
}

/* Search Box */

.search-box-wrapper{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
}

.search-box-wrapper .category-heading h3{
	font-size: 20px;
	font-weight: 600;
	color: #3B3B3B;
}

.search-box {
	position: relative;
}

.search-box input {
	padding: 8px 35px 8px 20px;
	border: 1px solid #8D91A5;
	border-radius: 25px;
	min-width: 320px;
	font-size: 14px;
}

.search-box input:focus {
	outline: none;
	border-color: #00A1E0;
}

.search-box button {
	position: absolute;
	right: -6px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: transparent;
	color: #8D91A5;
	border: none;
	cursor: pointer;
}

.search-box button:hover svg path {
	stroke: #21214E;
}

/* Blog Grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

#blog-container {
	margin-top: 60px;
}

.blog-item {
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: white;
}

.blog-thumbnail {
	position: relative;
	overflow: hidden;
}

.blog-thumbnail img {
	object-fit: cover;
	transition: transform 0.3s ease;
/* 	aspect-ratio: 1683 / 1138; */
	overflow: hidden;
	border-radius: 10px;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: 100%;
	transition: transform 0.3s ease;
}

.blog-content {
	padding: 16px 0px;
}

.blog-content .category {
	padding: 4px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #797979;
	border: 2px solid #EEF0F3;
	border-radius: 20px;
}

.blog-content h3 {
	margin-top: 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.75rem;
	color: #3B3B3B;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0px;
}

.no-posts {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	font-size: 16px;
	color: #666;
}

.no-posts img{
	margin-inline: auto;
	margin-bottom: 10px;
}

.no-posts p{
	color: #797979;
	font-size: 14px;
	font-weight: 400;
}

/* Responsive */
@media (max-width: 980px) {
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.filter-controls {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	#blog-container {
		margin-top: 40px;
	}
	
	.blog-grid {
		grid-template-columns: 1fr;
	}
	
	.category-scroll-wrapper {
		width: 100%;
	}
	
	.category-buttons {
		width: 100%;
	}
	
	.search-box-wrapper{
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		margin-bottom: 20px;
	}

	.search-box-wrapper .category-heading {
		display: none;
	}
	
	.category-wrapper .category-heading{
		margin-bottom: 20px;
		display: block;
	}
	
	.search-box {
		display: flex;
		width: 100%;
	}
	
	.search-box input {
		flex: 1;
		min-width: auto;
	}
	
	/* Hide scroll buttons on mobile */
	.scroll-btn {
		display: none !important;
	}
}


/* Pagination */
.blog-pagination {
	grid-column: 1 / -1;
	margin-top: 50px;
	display: flex;
	justify-content: center;
}

.blog-pagination ul {
	display: flex;
	list-style: none;
	gap: 8px;
	padding: 0;
	margin: 0;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.blog-pagination li {
	margin: 0;
}

.blog-pagination a,
.blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #E3F2FD;
	border-radius: 8px;
	text-decoration: none;
	color: #797979;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
	background: white;
	white-space: nowrap;
}

.blog-pagination a svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.blog-pagination a:hover:not(.prev):not(.next) {
	background: #00A1E0;
	color: white;
	border-color: #00A1E0;
	transform: translateY(-1px);
}

/* Previous/Next buttons */
.blog-pagination .prev,
.blog-pagination .next {
	font-weight: 500;
	min-width: auto;
	padding: 0 16px;
}

.blog-pagination .prev:hover,
.blog-pagination .next:hover {
	background: #F3F4F6;
	border-color: #D8E0ED;
}

/* Current page */
.blog-pagination .current {
	background: #00A1E0;
	color: white;
	border-color: #00A1E0;
	cursor: default;
	font-weight: 500;
}

/* Dots */
.blog-pagination .dots {
	border: none;
	cursor: default;
	background: transparent;
	color: #797979;
	min-width: 32px;
}

.blog-pagination .dots:hover {
	background: transparent;
	transform: none;
}

/* Pagination Skeleton */
.pagination-skeleton {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 10px 0;
	flex-wrap: wrap;
	justify-content: center;
}

.skeleton-btn {
	width: 44px;
	height: 44px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	border-radius: 8px;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Loader wrapper */
.loader-wrapper {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 520px;
}

.loader {
	width: 48px;
	height: 48px;
	border: 6px solid #f3f3f3;
	border-top: 6px solid #00A1E0;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Mobile Responsive - Compact & Optimized */
@media (max-width: 767px) {
	.blog-pagination {
		margin-top: 30px;
	}

	.blog-pagination ul {
		gap: 6px;
	}

	/* Base button size for mobile */
	.blog-pagination a,
	.blog-pagination span {
		min-width: 40px;
		height: 40px;
		padding: 0 10px;
		font-size: 13px;
		gap: 4px;
	}

	/* Previous/Next - Hide text, show only icon */
	.blog-pagination .prev,
	.blog-pagination .next {
		min-width: 40px;
		padding: 0;
		font-size: 0; /* Hide text */
	}

	.blog-pagination .prev svg,
	.blog-pagination .next svg {
		width: 18px;
		height: 18px;
		margin: 0;
	}

	/* Compact dots */
	.blog-pagination .dots {
		min-width: 28px;
		font-size: 12px;
	}

	/* Skeleton for mobile */
	.skeleton-btn {
		width: 40px;
		height: 40px;
	}

	.pagination-skeleton {
		gap: 6px;
	}
}

/* Extra Small Screens - Ultra Compact */
@media (max-width: 480px) {
	.blog-pagination ul {
		gap: 4px;
	}

	.blog-pagination a,
	.blog-pagination span {
		min-width: 36px;
		height: 36px;
		padding: 0 8px;
		font-size: 12px;
	}

	.blog-pagination .prev,
	.blog-pagination .next {
		min-width: 36px;
	}

	.blog-pagination .prev svg,
	.blog-pagination .next svg {
		width: 16px;
		height: 16px;
	}

	.blog-pagination .dots {
		min-width: 24px;
	}

	.skeleton-btn {
		width: 36px;
		height: 36px;
	}
}

/* ===============================
Cusom Blog Filter Section End
================================ */


