/*
 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 for mobile and tab */
@media only screen and (max-width: 980px) {
	.et_pb_row{
		width: 90%;
	}
}

@media only screen and (max-width: 768px) {
	.et_pb_row{
		width: 90%;
	}
}






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

/* ===========================
Headings h1 - h6
=========================== */
.static-page-content h1 {
	color: #222d39;
	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: #222d39;
	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: 8px;
}

/* 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: #2563eb;
	text-decoration: underline;
}

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

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

/* ===========================
Blockquote
=========================== */
.static-page-content blockquote {
	border-left: 4px solid #ddd;
	padding-left: 15px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #21214e;
	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: #818992;
	font-size: 15px !important;
	text-align: left !important;
}

/* Text emphasis */
.blog-post-content strong {
	font-weight: 600 !important;
	color: #212529 !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: #212529;
}

.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: #212529;
	border-left: 6px solid #2563eb;
}

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

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

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

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

/* 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: #2C67FF;
	text-decoration: underline;
}

/* Blockquote */
.blog-post-content blockquote {
	margin: 20px 0;
	padding: 12px 16px;
	border-left: 4px solid #818992;
	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: #818992;
	margin-top: 6px;
}

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

.blog-post-content pre {
	background: #0f172a;
	color: #818992;
	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;
	}
}




/* ====================================================================================================================================================================================== */

/* ==============================
   Case study listing page
   ============================== */
 
/* ── Search Section ─────────────────────────────────────── */
.case-study-search-section {
    display: flex;
    justify-content: flex-end;   /* right-aligned, matching designer mockup */
    margin-bottom: 40px;
}
 
.case-study-search-box {
	position: relative;
}

.case-study-search-box input {
    padding: 8px 35px 8px 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 25px;
    min-width: 320px;
    font-size: 14px;
    font-family: 'Montserrat';
}

.case-study-search-box input:focus {
	outline: none;
	border-color: #518DFF;
}

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

.case-study-search-box button:hover svg path {
	stroke: #518DFF;
}
 
 
/* ==============================
   Case Study Grid
   ============================== */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
 
/* Card */
.case-study-item {
    display: flex;
    flex-direction: column;
}
 
.case-study-image-wrap {
	position: relative;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	border-radius: 10px;
}

.case-study-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
 
.case-study-item:hover .case-study-image-wrap img {
    transform: scale(1.04);
}
 
.case-study-content {
    padding: 16px 0px;
}
 
/* Company badge */
.case-study-company {
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #5C5D76;
    border: 2px solid #EEF0F3;
    border-radius: 20px;
}
 
/* Title */
.case-study-title {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.75rem;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0px;
}
 
.case-study-title a {
    color: inherit;
    text-decoration: none;
}
 
.case-study-title a:hover {
    color: #1a44c2;
}
 
/* No results */
.no-posts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
 
.no-posts-img {
    max-width: 250px;
    margin-bottom: 20px;
}
 
.no-posts-text {
    font-size: 16px;
    color: #5C5D76;
    line-height: 1.6;
}
 
/* ==============================
   Pagination
   ============================== */
.case-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
 
.case-pagination ul {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
 
.case-pagination li {
	list-style: none;
    margin: 0;
}
 
.case-pagination a,
.case-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    color: #5C5D76;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
    white-space: nowrap;
}
 
.case-pagination a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
 
.case-pagination a:hover:not(.prev):not(.next) {
    background: #518DFF;
    color: white;
    border-color: #518DFF;
    transform: translateY(-1px);
}
 
/* Previous / Next */
.case-pagination .prev,
.case-pagination .next {
    font-weight: 500;
    min-width: auto;
    padding: 0 16px;
}
 
.case-pagination .prev:hover,
.case-pagination .next:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}
 
/* Current page */
.case-pagination .current {
    background: #518DFF;
    color: white;
    border-color: #518DFF;
    cursor: default;
    font-weight: 500;
}
 
/* Dots */
.case-pagination .dots {
    border: none;
    cursor: default;
    background: transparent;
    color: #5C5D76;
    min-width: 32px;
}
 
.case-pagination .dots:hover {
    background: transparent;
    transform: none;
}
 

/* 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 #518dff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

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


/* ==============================
   Responsive
   ============================== */
@media (max-width: 980px) {
    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 768px) {
    .case-study-search-section {
        justify-content: flex-start;  /* full width on mobile */
    }
 
	.case-study-search-box{
		display: flex;
		width: 100%;
	}
    .case-study-search-box input {
		display: flex;
		width: 100%;
        flex: 1;
        min-width: auto;
    }
 
    .case-study-grid {
        grid-template-columns: repeat(1, 1fr);
    }
 
    .case-pagination {
        margin-top: 30px;
    }
 
    .case-pagination ul {
        gap: 6px;
    }
 
    .case-pagination a,
    .case-pagination span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
        gap: 4px;
    }
 
    /* Show only icon on Prev/Next */
    .case-pagination .prev,
    .case-pagination .next {
        min-width: 40px;
        padding: 0;
        font-size: 0 !important;
    }
 
    .case-pagination .prev svg,
    .case-pagination .next svg {
        width: 18px;
        height: 18px;
        margin: 0;
    }
 
    .case-pagination .dots {
        min-width: 28px;
        font-size: 12px;
    }
}
 
@media (max-width: 480px) {
    .case-study-grid {
        grid-template-columns: repeat(1, 1fr);
    }
 
    .case-pagination ul {
        gap: 4px !important;
    }
 
    .case-pagination a,
    .case-pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 12px;
    }
 
    .case-pagination .prev,
    .case-pagination .next {
        min-width: 36px;
    }
 
    .case-pagination .prev svg,
    .case-pagination .next svg {
        width: 16px;
        height: 16px;
    }
 
    .case-pagination .dots {
        min-width: 24px;
    }
}











/* EasyDesk Blog CTA Banner */
.ed-blog-cta {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    width: 100%;
    gap: 24px;
    margin: 24px auto;
    box-sizing: border-box;
}
.ed-blog-cta__logo {
    flex-shrink: 0;
}
.ed-blog-cta__logo-img {
    max-width: 150px !important;
    height: 35px !important;
    object-fit: contain !important;
    display: block !important;
	margin: 0!important;
}

.ed-blog-cta__logo-img img{
    max-width: 150px !important;
    height: 35px !important;
    object-fit: contain !important;
    display: block !important;
	margin: 0!important;
}
.ed-blog-cta__tagline {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    margin: 0;
}
.ed-blog-cta__btn {
    background: #518DFF;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 11px 22px;
    font-size: 15px;
    line-height: normal;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: background 0.2s;
    text-decoration: none !important;
    display: inline-block;
}
.ed-blog-cta__btn:hover {
    background: #518DFF;
}

/* Mobile Responsive */
@media (max-width: 980px) {
    .ed-blog-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
        gap: 16px;
    }
    .ed-blog-cta__tagline {
        font-size: 14px;
    }
    .ed-blog-cta__btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}