/* Staffing Pages CSS */

/* Staffing Hero Section */
.staffing-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.staffing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 194, 19, 0.9) 0%, rgba(25, 54, 95, 0.9) 100%);
    z-index: 1;
}

.staffing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.staffing-hero h1 {
    font-family: var(--font-bold);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.staffing-hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Staffing Cards Section */
.staffing-cards-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-bold);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.staffing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.staffing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.staffing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.staffing-card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.staffing-card-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: var(--transition);
}

.staffing-card:hover .staffing-card-image img {
    transform: scale(1.05);
}

.staffing-card-content {
    padding: 2rem;
    text-align: center;
}

.staffing-card-title {
    font-family: var(--font-bold);
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.staffing-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.service-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Case Study Page Styles */
.case-study-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 200px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 80vh;
    display: flex;
    align-items: center;
}

.case-study-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.9) 0%, rgba(251, 194, 19, 0.9) 100%);
    z-index: 1;
}

.case-study-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.case-study-hero-title {
    font-family: var(--font-bold);
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Content Section */
.case-study-content {
    padding: 100px 0;
    background: #19365f;
    position: relative;
}

.case-study-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #19365f 0%, #fbc213 100%);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-left {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.content-meta {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.meta-title {
    font-family: var(--font-bold);
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.meta-item {
    margin-bottom: 1rem;
}

.meta-label {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.meta-value {
    color: var(--text-light);
    font-size: var(--font-size-base);
}

.content-main {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-main h2 {
    font-family: var(--font-bold);
    
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    grid-column: 1;
}

.content-main .content-text {
    grid-column: 2;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--white);
}

.content-main .content-text p {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.content-main .cta-button {
    grid-column: 2;
    margin-top: 2rem;
}

.content-main .cta-button .btn {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.content-main .cta-button .btn:hover {
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
}

/* Image Gallery */
.image-gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Image Slider Styles */
.image-slider {
    padding: 80px 0;
    background: var(--light-gray);
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    /* Allow natural scrolling behavior */
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    /* Allow natural scrolling behavior */
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.slider-slide {
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Image Gallery Styles */
.image-gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1;
    max-width: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .gallery-item {
        max-width: 100%;
        width: 100%;
    }
}

/* Full Width Video Section - Vimeo */
.full-width-video-section {
    padding: 0;
    margin: 0 0 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

/* Vimeo Video Container */
.vimeo-video-container {
    position: relative;
    width: 100%;
    background: #000;
}

/* Hide Vimeo spinner and UI */
.vimeo-video-container iframe {
    pointer-events: auto;
}

.vimeo-video-container .vp-spinner,
.vimeo-video-container [class*="spinner"],
.vimeo-video-container [class*="loading"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Video Thumbnail */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.3) 0%, rgba(20, 42, 74, 0.2) 50%, rgba(251, 194, 19, 0.1) 100%);
    z-index: 1;
}

/* Video Controls - Center (Big Play Button) */
.vimeo-video-controls-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    transition: all 0.3s ease;
}

.vimeo-play-btn-big {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.vimeo-play-btn-big:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.vimeo-play-btn-big i {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-left: 5px;
}

/* Video Controls - Bottom (Play/Pause & Volume) */
.vimeo-video-controls-bottom {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 20;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.vimeo-play-btn-small,
.vimeo-volume-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.vimeo-play-btn-small:hover,
.vimeo-volume-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.vimeo-play-btn-small i,
.vimeo-volume-btn i {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.vimeo-play-btn-small i {
    margin-left: 3px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .staffing-hero {
        padding: 150px 0 80px;
    }
    
    .case-study-hero {
        padding: 150px 0 60px;
        min-height: 80vh;
    }
    
    .staffing-cards-section {
        padding: 80px 0;
    }
    
    .staffing-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-left {
        position: static;
    }
    
    .content-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-main h2 {
        grid-column: 1;
        font-size: clamp(1.25rem, 4vw, 2rem);
    }
    
    .content-main .content-text {
        grid-column: 1;
    }
    
    .content-main .cta-button {
        grid-column: 1;
        margin-top: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-slide {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    .slider-wrapper {
        gap: 1.5rem;
    }
    
    .slider-slide img {
        object-position: center;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 480px) {


    .case-study-hero-content.aos-init.aos-animate {
            padding: 2rem;
        }
    .case-study-hero {
        padding: 120px 0 40px;
        min-height: 80vh;
    }
    
    .staffing-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .staffing-card-content {
        padding: 1.5rem;
    }
    
    .content-meta {
        padding: 1.5rem;
    }
    
    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .slider-slide img {
        object-position: center;
    }
    
    .slider-wrapper {
        gap: 0;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    /* Vimeo Controls Mobile */
    .vimeo-play-btn-big {
        width: clamp(60px, 15vw, 80px);
        height: clamp(60px, 15vw, 80px);
    }
    
    .vimeo-play-btn-big i {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .vimeo-video-controls-bottom {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }
    
    .vimeo-play-btn-small,
    .vimeo-volume-btn {
        width: 40px;
        height: 40px;
    }
    
    .vimeo-play-btn-small i,
    .vimeo-volume-btn i {
        font-size: 1rem;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
