/* CSS for Case Study Section */
/* Hero Section */
.data-hero {
    position: relative;
    min-height: 420px;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%), url('https://hazemediait.com/fqanil/images/migration-services.png?auto=format&fit=crop&w=1200&q=80') center center/cover no-repeat;
    display: block;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.data-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.data-hero .hero-centered {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    max-width: 900px;
    padding: 60px 20px;
}

.data-hero .hero-centered h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.data-hero .hero-centered p {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 125, 50, 0.2);
}

.service-icon {
    color: #2e7d32;
    font-size: 2.8rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 12px;
}

.service-card h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-list li {
    color: #2f2f34 margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 1px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Why Choose Us Section */
.why-choose-section {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature-item {
    background: #49a141;
    border-radius: 10px;
    padding: 35px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

.feature-item p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;

    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background: #fff;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.cta-section p {
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 1px;
    color: #2f2f34;
    margin-bottom: 15px;
}

.text-muted {
    color: #2f2f34 !important;
}

.cta-expert-btn {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-expert-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

.cta-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .data-hero {
        min-height: 280px;
    }

    .data-hero .hero-centered {
        padding: 32px 10px;
    }

    .data-hero .hero-centered h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .data-hero .hero-centered p {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .service-list li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 25px;
        min-height: 150px;
    }

    .feature-item i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .custom-bullet-list {
        padding-left: 20px;
    }

    .custom-bullet-list li {
        font-size: 1rem;
        padding-left: 25px;
    }

    .page-banner {
        padding: 70px 0;
    }

    .page-banner .lead {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .challenge-card {
        padding: 25px;
        min-height: auto;
    }

    .challenge-card h3 {
        font-size: 1.3rem;
    }

    .challenge-icon {
        font-size: 2rem;
    }

    .solution-list li {
        font-size: 0.95rem;
        padding: 10px 0 10px 30px;
    }

    .cta-banner {
        padding: 60px 0;
        margin-top: 40px;
    }

    .cta-banner h2 {
        font-size: 2.2rem;
    }
}

/* Custom Bullet List Styling */
.custom-bullet-list {
    color: #2f2f34 margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    /* Indent for bullet points */
}

.lead p {
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 1px;
    color: #2f2f34;
    margin-bottom: 15px;
}

/* .custom-bullet-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
} */

.custom-bullet-list li {
    margin-bottom: 10px;
    background: #fff;
    padding: 20px;
    display: inline-block;
}

/* Animation */
.slide-in {
    animation: slide-in 0.7s forwards;
}

@keyframes slide-in {
    100% {
        transform: translateX(0%);
    }
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 10, 30, 0.8), rgba(0, 10, 30, 0.9)), url('../images/state-local-banner.jpg') center/cover;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.page-banner .lead {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    color: #333;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #28a745;
}

/* Challenge Cards */
.challenge-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

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

.challenge-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.challenge-card p {
    flex-grow: 1;
    margin-bottom: 0;
}

.challenge-icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* Solution List */
.solution-list {
    list-style: none;
    padding-left: 0;
}

.solution-list li {
    padding: 15px 0 15px 35px;
    position: relative;
    border-bottom: 1px solid #eee;
}

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

.solution-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    padding: 80px 0;
    color: #fff;
    text-align: center;
    margin-top: 60px;
}

.cta-banner h2,
.cta-banner p {
    color: #fff;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Case Studies Section */
.case-studies-section {
    padding: 1rem 0;
    background: #f8f8f8;
}

.case-studies-section .SecHeading {
    padding-bottom: 0.5rem;
}

.case-studies-section .headingArea {
    /* margin-bottom: 40px; */
    text-align: center;
}

.case-studies-section .headingArea h2 {
    /* font-size: 2.5rem; */
    font-weight: 600;
    color: #333;
    margin-bottom: 0px;

}

.case-studies-slider .slide-item {
    padding: 20px;
}

.case-studies-slider .inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    /* Ensures uniform height for all cards */
}

.case-studies-slider .inner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.case-studies-slider .inner h3 {
    font-size: 20px;
    color: #333;
    margin: 20px 20px 10px 20px;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    height: 50px;
}

.case-studies-slider .inner p {
    font-size: 0.95rem;
    color: #000;
    margin: 0 20px 15px 20px;
    flex-grow: 1;
    line-height: 1.5;
    display: block;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;

    text-align: justify;
}



.case-studies-slider .inner .date {
    font-size: 0.85rem;
    color: #999;
    margin: 0 20px 20px 20px;
    display: block;
}

.case-studies-section .btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.case-studies-section .btn-wrap button {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin: 0 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.case-studies-section .btn-wrap button:hover {
    background: #1e7e34;
}

/* Job Openings Section */
.job-openings-section {
    background-color: #f8f8f8;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.job-openings-section h2 {
    font-size: 30px !important;
    font-weight: 600 !important;
    color: #021024;
    margin-bottom: 25px;
}

.job-openings-section p {
    font-size: 1.05rem;
    color: #3d4549;
    line-height: 1.6;
    margin-bottom: 10px;
}

.job-openings-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #021024;
    color: #021024;
    background-color: transparent;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-openings-btn:hover {
    background-color: #021024;
    color: #fff;
}

.job-openings-section .image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    /* Adjust height as needed */
}

.job-openings-section .image-column1 img {
    width: 500px;
    /* Adjust size as needed */
    height: 400px;
    /* Adjust size as needed */
    object-fit: cover;
    /* border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; */
    /* Organic shape */
}

.jbp {
    top: -30px;
    position: relative;
    left: 38px;
}

@media (max-width: 991px) {
    .job-openings-section .image-column1 {
        height: auto;
        margin-top: 40px;
    }

    .job-openings-section .image-column1 img {
        width: 80%;
        height: 250px;
        border-radius: 50%;
        /* Simpler shape for mobile */
    }
}

@media (min-width: 768px) {

    .services-grid>.service-card:last-child:nth-child(odd) {
        grid-column: span 2;
        justify-self: center;
        max-width: 570px;
    }

    .features-grid>.feature-item:last-child:nth-child(3n + 1) {
        grid-column: span 3;
        justify-self: center;
        max-width: 370px;
    }
}