/* Exact Font Family & Token Definitions from Sample Website */
@import url('https://fonts.cdnfonts.com/css/glacial-indifference');

:root {
    --font-pro: 'Glacial Indifference', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --color-pro-primary: #fd7250;
    --color-pro-orange: #ff7a4b;
    --color-pro-green: #82bd59;
    --color-pro-darkgreen: #486937;
    --color-pro-heading: #181b31;
    --color-pro-body: #808291;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-pro);
    color: #808291;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1,
.h1 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.111em;
    font-size: 72px;
    color: #181b31;
}

h2,
.h2 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.111em;
    font-size: 36px;
    color: #181b31;
}

h3,
.h3 {
    font-family: var(--font-pro);
    font-weight: 700;
    line-height: 1.25em;
    font-size: 30px;
    color: #181b31;
}

/* 1. Hero Video Banner */
.pro-hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../images/our-works-hero-poster.jpg') center center / cover no-repeat;
    padding: 0;
    margin: 0;
    width: 100%;
    border: none;
}

.pro-hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.pro-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 0.95;
}

.pro-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    z-index: 2;
}

.pro-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 1300px;
    padding: 0 30px;
}

.pro-works-hero-title {
    font-family: var(--font-pro);
    font-size: clamp(30px, 3.8vw, 54px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

@media (max-width: 991px) {
    .pro-works-hero-title {
        font-size: clamp(24px, 5.5vw, 36px);
        line-height: 1.25;
    }
}

/* 2. Intro Section "OUR WORKS" */
.pro-works-intro-section {
    padding: 90px 0 50px;
    background-color: #ffffff;
    text-align: center;
}

.pro-works-intro-title {
    font-size: 40px;
    font-weight: 700;
    color: #181b31;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.pro-works-intro-desc {
    font-size: 23px;
    font-weight: 300;
    color: #181b31;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.55;
}

/* 3. Filter Tabs */
.pro-filter-wrap {
    padding: 5px 0 45px;
    background-color: #ffffff;
}

.pro-filter-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.pro-filter-btn {
    background: none;
    border: none;
    font-family: var(--font-pro);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #7b7e8d;
    cursor: pointer;
    padding: 4px 10px;
    position: relative;
    transition: all 0.25s ease;
}

.pro-filter-btn:hover {
    color: #181b31;
}

.pro-filter-btn.active {
    color: #181b31;
    font-weight: 600;
}

.pro-filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #82bd59;
}

/* 4. Portfolio Grid (3 Columns) */
.pro-portfolio-section {
    padding: 0 0 100px;
    background-color: #ffffff;
}

.pro-pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.pro-pf-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    background-color: #f5f6f8;
    aspect-ratio: 370 / 300;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pro-pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pro-pf-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pro-pf-card:hover .pro-pf-card-img {
    transform: scale(1.06);
}

.pro-pf-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 32, 0.84) 0%, rgba(8, 10, 22, 0.94) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s ease;
    z-index: 2;
}

.pro-pf-card:hover .pro-pf-card-overlay,
.pro-pf-card.active-touch .pro-pf-card-overlay {
    opacity: 1;
    visibility: visible;
}

.pro-pf-card:hover .pro-pf-card-img,
.pro-pf-card.active-touch .pro-pf-card-img {
    transform: scale(1.06);
}

.pro-pf-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 5px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pro-pf-card:hover .pro-pf-card-title,
.pro-pf-card.active-touch .pro-pf-card-title {
    transform: translateY(0);
}

.pro-pf-card-cat {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(130, 189, 89, 0.16);
    border: 1px solid rgba(130, 189, 89, 0.35);
    border-radius: 20px;
    color: #9be06d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 auto;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) 0.04s;
}

.pro-pf-card:hover .pro-pf-card-cat,
.pro-pf-card.active-touch .pro-pf-card-cat {
    transform: translateY(0);
}

/* Apple Luxury 3-Box Horizontal Spec Bar */
.pro-pf-card-details {
    width: 100%;
    margin-top: 14px;
    transform: translateY(12px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) 0.08s;
}

.pro-pf-card:hover .pro-pf-card-details,
.pro-pf-card.active-touch .pro-pf-card-details {
    transform: translateY(0);
}

.pro-pf-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
}

.pro-pf-detail-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 72px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.pro-pf-detail-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.pro-pf-detail-label {
    font-family: var(--font-pro);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.15;
    margin-bottom: 4px;
    display: block;
}

.pro-pf-detail-val {
    font-family: var(--font-pro);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    word-break: break-word;
}

.pro-pf-card.hide {
    display: none;
}

/* 5. Testimonials Carousel Section */
.pro-testimonials-section {
    position: relative;
    background: url('../images/Testomonials_Background-min.jpg') center center / cover no-repeat;
    padding: 90px 0 80px;
    min-height: 520px;
    margin: 0;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-testimonials-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.pro-testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
}

.pro-testimonials-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pro-test-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 0 65px;
    max-width: 100%;
    margin: 0 auto;
}

.pro-test-slider {
    position: relative;
    width: 100%;
    max-width: 920px;
    min-height: 220px;
}

.pro-test-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pro-test-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.pro-test-quote {
    font-family: 'Amiri', serif;
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: #ffffff;
    margin: 0 0 20px;
    max-width: 880px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pro-test-author {
    font-family: var(--font-pro);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    letter-spacing: 0.04em;
}

.pro-test-company {
    font-family: var(--font-pro);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Left & Right Side Arrow Buttons */
.pro-test-side-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #486937;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pro-test-side-btn.prev {
    left: 0;
}

.pro-test-side-btn.next {
    right: 0;
}

.pro-test-side-btn:hover {
    background: #82bd59;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(130, 189, 89, 0.4);
}

/* Centered Indicator Dots */
.pro-test-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pro-test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-test-dot.active {
    background: #82bd59;
    transform: scale(1.3);
}

@media (max-width: 767px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .pro-hero-section {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .pro-hero-video-wrap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .pro-hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .pro-works-hero-title {
        font-size: clamp(24px, 6vw, 34px);
        line-height: 1.25;
    }

    .pro-testimonials-section {
        padding: 90px 0 70px;
    }

    .pro-testimonials-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .pro-test-slider-wrap {
        padding: 0 40px;
    }

    .pro-test-quote {
        font-size: 19px;
        line-height: 1.45;
    }

    .pro-test-side-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

.pro-test-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-test-dot.active {
    background: #82bd59;
    transform: scale(1.3);
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .pro-pf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pro-works-hero-title {
        font-size: 54px;
    }
}

@media (max-width: 767px) {
    .pro-hero-section {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .pro-works-hero-title {
        font-size: 38px;
    }

    .pro-works-intro-title {
        font-size: 32px;
    }

    .pro-works-intro-desc {
        font-size: 18px;
    }

    .pro-pf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
        padding: 0 16px;
        margin: 0 auto;
    }

    .pro-pf-card {
        aspect-ratio: 370 / 290;
    }

    .pro-pf-card-overlay {
        padding: 16px 12px;
    }

    .pro-pf-card-title {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .pro-pf-card-cat {
        font-size: 9.5px;
        padding: 2px 8px;
    }

    .pro-pf-card-details {
        margin-top: 10px;
    }

    .pro-pf-detail-grid {
        gap: 6px;
    }

    .pro-pf-detail-item {
        min-height: 68px;
        padding: 8px 4px;
        border-radius: 8px;
    }

    .pro-pf-detail-label {
        font-size: 7.5px;
        margin-bottom: 3px;
    }

    .pro-pf-detail-val {
        font-size: 10.5px;
    }

    .pro-test-quote {
        font-size: 20px;
    }

    .pro-filter-list {
        gap: 10px;
    }

    .pro-filter-btn {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .pro-pf-card {
        aspect-ratio: 370 / 300;
    }

    .pro-pf-card-overlay {
        padding: 12px 8px;
    }

    .pro-pf-card-title {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .pro-pf-card-cat {
        font-size: 9px;
        padding: 1px 7px;
    }

    .pro-pf-card-details {
        margin-top: 8px;
    }

    .pro-pf-detail-grid {
        gap: 4px;
    }

    .pro-pf-detail-item {
        min-height: 62px;
        padding: 6px 2px;
        border-radius: 6px;
    }

    .pro-pf-detail-label {
        font-size: 7px;
        letter-spacing: 0.04em;
        margin-bottom: 2px;
    }

    .pro-pf-detail-val {
        font-size: 9.5px;
        line-height: 1.2;
    }
}