/* ========================================
   PROJECT HIGHLIGHTS SECTION
======================================== */

.project-highlight-section {
    padding: 20px 0;
}

/* Banner Image */
.project-banner img {
    width: 100%;
    border-radius: 14px;
    display: block;
    margin-bottom: 40px;
    height: 520px;
    object-fit: cover;
}

/* Section Title */
.project-highlight-title {
    font-family: "f4";
    font-size: 32px;
    margin-bottom: 30px;
}

/* Highlight Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* Highlight Card */
.highlight-card {
    border: 1.5px solid #FA5C40;
    border-radius: 14px;
    padding: 28px;
    background: white;
    transition: transform 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
}

/* Icon */
.highlight-icon {
    height: 48px;
    margin-bottom: 14px;
}

/* Card Text */
.highlight-card h4 {
    font-family: "f3";
    margin-bottom: 10px;
}

.highlight-card p {
    font-family: "f2";
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}


/* ========================================
   CLIENT DETAILS SECTION
======================================== */

.client-detail-section {
    padding: 20px 0;
}

/* Video Container */
.client-video {
    position: relative;
    margin-bottom: 70px;
}

.client-video img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Video Frame Wrapper */
.video-frame {
    position: relative;
    padding: 28px;
}

/* Offset Border Effect */
.video-frame::before {
    content: "";
    position: absolute;
    top: 58px;
    left: 58px;
    right: 12px;
    bottom: 12px;
    border: 2px solid #FA5C40;
    pointer-events: none;
    border-radius: 12px;
}

/* Video Frame Image */
.video-frame img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Video Link Button */
.video-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FA5C40;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: "f3";
    font-size: 14px;
    transition: background 0.3s ease;
}

.video-link:hover {
    background: #e54d35;
}

/* Client Row Layout */
.client-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.client-left h2 {
    font-family: "f4";
    font-size: 40px;
    line-height: 1.2;
}

.client-right p {
    font-family: "f2";
    color: #888;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Pain Points Section */
.pain-title {
    font-family: "f3";
    margin: 18px 0 10px;
}

.pain-list {
    padding-left: 18px;
    color: #777;
    font-family: "f2";
}

.pain-list li {
    margin-bottom: 8px;
}


/* ========================================
   CASE STUDY SECTION
======================================== */

.case-section {
    padding: 20px 0;
}

/* Case Study Image */
.case-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 70px;
    height: 520px;
    object-fit: cover;
}

/* Case Study Row Layout */
.case-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

/* Case Study Title */
.case-title {
    font-family: "f4";
    font-size: 48px;
    line-height: 1.2;
}

/* Case Study List */
.case-list {
    list-style: disc;
    padding-left: 20px;
    font-family: "f2";
    color: #8a8a8a;
    line-height: 1.9;
}

.case-list li {
    margin-bottom: 8px;
}


/* ========================================
   OUR APPROACH SECTION
======================================== */

.approach-section {
    padding: 20px 0;
}

.approach-wrap {
    max-width: 760px;
}

/* Approach Title */
.approach-title {
    font-family: "f4";
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.approach-title .dot {
    color: #FA5C40;
}

/* Approach Description */
.approach-desc {
    font-family: "f2";
    color: #888;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Approach Subtitle */
.approach-subtitle {
    font-family: "f3";
    margin: 26px 0 12px;
}

/* Approach List */
.approach-list {
    padding-left: 18px;
}

.approach-list li {
    font-family: "f2";
    margin-bottom: 10px;
    color: #444;
}


/* ========================================
   TESTIMONIALS SECTION
======================================== */

.testimonials-section {
    padding: 20px 0;
    text-align: center;
}

/* Testimonials Title */
.testimonials-title {
    font-family: "f4";
    font-size: 38px;
    margin-bottom: 50px;
}

.testimonials-title span {
    color: #FA5C40;
}

/* Testimonial Card */
.testimonial-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 60px;
    text-align: left;
    padding: 0 20px;
}

/* Testimonial Left Section */
.testimonial-left h3 {
    font-family: "f3";
    font-size: 26px;
    margin-bottom: 8px;
}

.testimonial-left a {
    color: #FA5C40;
    text-decoration: none;
    font-family: "f2";
    transition: opacity 0.3s ease;
}

.testimonial-left a:hover {
    opacity: 0.8;
}

/* Testimonial Right Section */
.testimonial-right {
    max-width: 520px;
}

.testimonial-right p {
    font-family: "f2";
    color: #777;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Testimonial User Info */
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-user img {
    width: 38px !important;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user strong {
    font-family: "f3";
    display: block;
}

.testimonial-user span {
    font-family: "f1";
    color: #888;
    font-size: 14px;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-dots {
    margin-top: 30px;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background: #FA5C40;
}


/* ========================================
   NEXT PROJECT SECTION
======================================== */

.next-project-section {
    padding: 20px 0;
}

.next-project-card {
    background: #FA5C40;
    border-radius: 16px;
    padding: 40px 40px 50px;
}

/* Next Project Label */
.next-label {
    font-family: "f1";
    color: #ffe6e1;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Next Project Title */
.next-title {
    font-family: "f4";
    color: white;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 28px;
}

/* Next Project Image */
.next-image-wrap img {
    width: 100%;
    border-radius: 6px;
    display: block;
    height: 520px;
    object-fit: cover;
}


/* ========================================
   RESPONSIVE MEDIA QUERIES
======================================== */

/* Tablet Landscape (992px and below) */
@media (max-width: 992px) {
    /* Highlight Grid - 2 Columns */
    .highlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Client Row - Single Column */
    .client-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .client-left h2 {
        font-size: 32px;
    }
}


/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    /* Case Study Row - Single Column */
    .case-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .case-title {
        font-size: 34px;
    }

    .case-section {
        width: 92%;
        margin: 60px auto;
    }

    /* Approach Section */
    .approach-title {
        font-size: 30px;
    }

    .approach-wrap {
        max-width: 100%;
    }

    /* Testimonial Card - Stack Vertically */
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 0;
    }

    .testimonial-right {
        max-width: 100%;
    }

    /* Next Project Section */
    .next-project-card {
        padding: 28px;
    }

    .next-title {
        font-size: 26px;
    }

    /* Video Frame Border Adjustment */
    .video-frame::before {
        top: 40px;
        left: 40px;
        right: 8px;
        bottom: 8px;
    }
}


/* Mobile (576px and below) */
@media (max-width: 576px) {
    /* Highlight Grid - Single Column */
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust Title Sizes */
    .project-highlight-title {
        font-size: 26px;
    }

    .client-left h2 {
        font-size: 28px;
    }

    .case-title {
        font-size: 28px;
    }

    .approach-title {
        font-size: 26px;
    }

    .testimonials-title {
        font-size: 28px;
    }

    /* Adjust Padding for Sections */
    .project-highlight-section,
    .client-detail-section,
    .case-section,
    .approach-section,
    .testimonials-section,
    .next-project-section {
        padding: 40px 0;
    }

    /* Video Link Button */
    .video-link {
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Video Frame Border - Further Adjustment */
    .video-frame::before {
        top: 30px;
        left: 30px;
        right: 6px;
        bottom: 6px;
    }

    /* Next Project Card */
    .next-project-card {
        padding: 24px;
    }

    .next-title {
        font-size: 22px;
    }

    /* Testimonial Elements */
    .testimonial-left h3 {
        font-size: 22px;
    }
}


/* Extra Small Mobile (400px and below) */
@media (max-width: 400px) {
    .highlight-card {
        padding: 20px;
    }

    .video-frame {
        padding: 20px;
    }

    .video-frame::before {
        top: 24px;
        left: 24px;
        right: 4px;
        bottom: 4px;
    }
}