/* पैरेंट बैनर सेक्शन */
.case-page-banner {
    position: relative;
    overflow: hidden;
    /* पैडिंग को 100px से बढ़ाकर 160px कर दिया है, आप अपनी ज़रूरत के हिसाब से इसे बदल सकते हैं */
    padding: 160px 0; 
}


/* बैकग्राउंड इमेज के लिए ओवरले */
.case-bg-overlay {
     
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}


/* ब्रेडक्रंब नेविगेशन के लिए */
.case-breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.case-breadcrumb-nav li {
    display: inline-block;
}

/* ग्रिड कंटेनर सेटिंग */
.case-studies-grid-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* हल्का बैकग्राउंड ताकि कार्ड्स निखर कर आएं */
}

/* 3-कॉलम ग्रिड लेआउट (7वाँ कार्ड ऑटोमैटिकली अगली लाइन में एडजस्ट होगा) */
.case-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* कार्ड्स के बीच की दूरी */
}

/* सिंगल कार्ड डिज़ाइन */
.case-study-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* कार्ड होवर इफ़ेक्ट */
.case-study-card:hover {
    transform: translateY(-10px); /* कार्ड थोड़ा ऊपर उठेगा */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* कार्ड इमेज बॉक्स */
.card-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .card-image-box img {
    transform: scale(1.1); /* होवर करने पर इमेज ज़ूम होगी */
}

/* इमेज के ऊपर कैटगरी बैज */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #cca43b; /* आपके लोगो थीम से मिलता जुलता गोल्डन/ब्राउन कलर */
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

/* कार्ड टेक्स्ट एरिया */
.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 22px;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-content p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* रीड मोर बटन */
.read-more-btn {
    font-size: 15px;
    color: #cca43b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #111111;
}

/* रेस्पॉन्सिव डिज़ाइन (मोबाइल और टैबलेट के लिए) */
@media (max-width: 991px) {
    .case-grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* टैबलेट पर 2 कार्ड दिखेंगे */
    }
}

@media (max-width: 767px) {
    .case-grid-wrapper {
        grid-template-columns: 1fr; /* मोबाइल पर 1 कार्ड दिखेगा */
        gap: 20px;
    }
}



/* ग्रिड और बैकग्राउंड */
.case-studies-grid-section {
    padding: 100px 0;
    background-color: #f4f6f9; /* लाइट कॉर्पोरेट ग्रे */
}

.case-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* प्रीमियम लुक के लिए ज़्यादा स्पेस */
}

/* कॉर्पोरेट कार्ड स्टाइल */
.corporate-case-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f6;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.corporate-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #cca43b; /* होवर पर आपके ब्रांड का कलर */
}

/* इमेज बैनर */
.card-top-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.corporate-case-card:hover .card-top-banner img {
    transform: scale(1.05);
}

.sector-badge {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: #111111;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* कार्ड बॉडी */
.card-main-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.client-info-meta {
    font-size: 13px;
    color: #666666;
    margin-bottom: 10px;
}

.case-title {
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.case-subtitle {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 लाइन के बाद टेक्स्ट को ट्रिम करेगा */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* सर्विसेस के छोटे टैग्स */
.services-rendered-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}

.services-rendered-tags span {
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

/* की-मैट्रिक्स हाइलाइट बॉक्स (Results Box) */
.card-metrics-box {
    background: #fafbfc;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    margin-top: auto; /* इसे हमेशा कार्ड में नीचे रखने के लिए */
}

.metric-item {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #cca43b; /* ब्रांड कलर */
}

.metric-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* प्रीमियम बटन */
.case-read-btn {
    font-size: 14px;
    color: #cca43b;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.case-read-btn svg {
    transition: transform 0.3s ease;
}

.corporate-case-card:hover .case-read-btn {
    color: #0f172a;
}

.corporate-case-card:hover .case-read-btn svg {
    transform: translateX(5px);
}

/* रिस्पॉन्सिव */
@media (max-width: 1024px) {
    .case-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .case-grid-wrapper { grid-template-columns: 1fr; }
}

/* पूरे हेडर सेक्शन का स्टाइल */
.page-header {
    text-align: center;
    padding-top: 50px;     
    padding-bottom: 10px;  
    margin-bottom: 0px;    
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* मुख्य हेडिंग का स्टाइल */
.main-heading {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    color: #0c2340; 
    margin-bottom: 12px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* सब-हेडिंग का स्टाइल */
.sub-heading {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto !important;       
    line-height: 1.5;
}

/* मोबाइल स्क्रीन्स के लिए एडजस्टमेंट */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 15px;
    }
    .main-heading {
        font-size: 2rem; /* 32px */
    }
    .sub-heading {
        font-size: 1rem; /* 16px */
    }
}


/* Case Study-1  */
/*==========================
CASE STUDY DETAILS
==========================*/

.case-details-section{
    padding:100px 0;
    background:#f6f8fc;
}

.case-details-layout{
    display:grid;
    grid-template-columns:minmax(0,2.2fr) 380px;
    gap:45px;
    align-items:start;
}

/*==========================
LEFT CONTENT
==========================*/

.case-main-content{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.content-block{
    padding:45px;
    border-bottom:1px solid #ececec;
}

.content-block:last-child{
    border-bottom:none;
}

.content-block h2{
    font-size:32px;
    color:#0a2540;
    margin-bottom:22px;
    position:relative;
    padding-left:20px;
    font-weight:700;
}

.content-block h2:before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    width:6px;
    height:38px;
    border-radius:30px;
    background:#b38a38;
}

.content-block p{
    font-size:17px;
    line-height:1.9;
    color:#5a6473;
    margin-bottom:18px;
}

.content-block p:last-child{
    margin-bottom:0;
}

/* Highlight Quote */

.highlight-text{
    background:#0a2540;
    color:#fff !important;
    padding:30px;
    border-left:5px solid #b38a38;
    border-radius:10px;
    font-size:19px !important;
    line-height:1.8;
    font-style:italic;
    margin-top:35px;
}

/*==========================
WHY IT WORKED BOX
==========================*/

.why-it-worked-box{
    background:#0a2540;
}

.why-it-worked-box h2{
    color:#fff;
}

.why-it-worked-box p,
.why-it-worked-box li{
    color:#d8dde6;
}

.why-it-worked-box ul{
    margin:25px 0 0;
    padding-left:0;
    list-style:none;
}

.why-it-worked-box li{
    position:relative;
    padding-left:35px;
    margin-bottom:18px;
    line-height:1.8;
}

.why-it-worked-box li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:3px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#b38a38;
    color:#fff;
    text-align:center;
    line-height:22px;
    font-size:13px;
    font-weight:bold;
}

.why-it-worked-box strong{
    color:#fff;
}

/*==========================
SIDEBAR
==========================*/

.case-sidebar{
    position:sticky;
    top:120px;
}

.sidebar-widget{
    background:#fff;
    border-radius:16px;
    margin-bottom:25px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.sidebar-widget h3,
.sidebar-widget h4{
    font-size:22px;
    margin-bottom:20px;
    color:#0a2540;
}

/* Metadata */

.meta-list{
    list-style:none;
    padding:0;
    margin:0;
}

.meta-list li{
    padding:14px 0;
    border-bottom:1px solid #ededed;
    color:#666;
    line-height:1.7;
}

.meta-list li:last-child{
    border-bottom:none;
}

.meta-list strong{
    color:#0a2540;
}

/* Services */

.services-tags-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.services-tags-list span{
    padding:10px 16px;
    background:#eef4ff;
    border-radius:50px;
    color:#0a2540;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.services-tags-list span:hover{
    background:#b38a38;
    color:#fff;
}

/* Metrics */

.sidebar-metric-item{
    text-align:center;
    padding:22px 0;
    border-bottom:1px solid #eee;
}

.sidebar-metric-item:last-child{
    border-bottom:none;
}

.sidebar-metric-item .num{
    display:block;
    font-size:42px;
    font-weight:700;
    color:#b38a38;
    margin-bottom:5px;
}

.sidebar-metric-item .lbl{
    color:#666;
    font-size:15px;
}

/* CTA */

.cta-widget{
    background:linear-gradient(135deg,#0a2540,#15395d);
    color:#fff;
    text-align:center;
}

.cta-widget h4{
    color:#fff;
}

.cta-widget p{
    color:#dfe6ef;
    margin-bottom:25px;
    line-height:1.8;
}

.theme-btn-gold{
    display:inline-block;
    background:#b38a38;
    color:#fff;
    padding:15px 35px;
    border-radius:6px;
    text-decoration:none;
    transition:.35s;
    font-weight:600;
}

.theme-btn-gold:hover{
    background:#c79b41;
    transform:translateY(-3px);
    color:#fff;
}

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

@media(max-width:991px){

.case-details-layout{
    grid-template-columns:1fr;
}

.case-sidebar{
    position:relative;
    top:0;
}

.content-block{
    padding:35px;
}

}

@media(max-width:576px){

.case-details-section{
    padding:60px 0;
}

.content-block{
    padding:25px;
}

.content-block h2{
    font-size:24px;
}

.content-block p{
    font-size:16px;
}

.highlight-text{
    font-size:17px !important;
    padding:22px;
}

.sidebar-widget{
    padding:22px;
}

}


/*=============================
CASE STUDY BANNER
==============================*/

.case-study-banner{
    position:relative;
    padding:140px 0 90px;
    overflow:hidden;
    background:linear-gradient(135deg,#07192d,#0a2540 45%,#12365c);
}

.case-study-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,rgba(179,138,56,.18),transparent 35%),
    radial-gradient(circle at bottom left,rgba(255,255,255,.05),transparent 40%);
}

.banner-overlay{
    position:absolute;
    inset:0;
    background:url("assets/images/pattern/pattern-1.png") repeat;
    opacity:.05;
}

.banner-content{
    position:relative;
    z-index:2;
    max-width:900px;
}

.breadcrumb-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    list-style:none;
    margin:0 0 30px;
    padding:0;
}

.breadcrumb-list li{
    color:#d9e3ef;
    font-size:15px;
}

.breadcrumb-list li::after{
    content:"/";
    margin-left:12px;
    color:#b38a38;
}

.breadcrumb-list li:last-child::after{
    display:none;
}

.breadcrumb-list a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.breadcrumb-list a:hover{
    color:#b38a38;
}

.case-number{
    display:inline-block;
    background:rgba(179,138,56,.18);
    color:#d7b56b;
    padding:10px 22px;
    border:1px solid rgba(179,138,56,.4);
    border-radius:50px;
    letter-spacing:2px;
    font-size:13px;
    font-weight:700;
    margin-bottom:22px;
    text-transform:uppercase;
}

.banner-content h1{
    color:#fff;
    font-size:52px;
    line-height:1.18;
    font-weight:700;
    margin-bottom:25px;
}

.banner-content p{
    color:#d8dde8;
    font-size:20px;
    line-height:1.8;
    max-width:780px;
}

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

@media(max-width:991px){

.case-study-banner{
    padding:120px 0 70px;
}

.banner-content h1{
    font-size:42px;
}

.banner-content p{
    font-size:18px;
}

}

@media(max-width:767px){

.case-study-banner{
    padding:90px 0 60px;
}

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

.banner-content p{
    font-size:16px;
}

.breadcrumb-list{
    gap:8px;
}

.case-number{
    font-size:12px;
}

}



