/* ==========================================================================
   LiaMo Network - Modern Editorial Theme
   ========================================================================== */

:root {
    --bg-light: #F4F4F2;        /* Premium off-white/stone color */
    --bg-dark: #121212;         /* Deep black */
    --text-main: #121212;
    --accent-gray: #EAEAEA;
    --font-primary: 'Sora', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .text-uppercase {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.py-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.bg-light-gray {
    background-color: #EFEFEA; /* Slight variation for section contrast */
}

/* ==========================================================================
   Buttons & Links (Modern Sharp)
   ========================================================================== */
.btn-custom {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.btn-solid {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    border: 1px solid var(--bg-dark);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-dark);
    border: 1px solid var(--bg-dark);
}

.btn-outline:hover {
    background-color: var(--bg-dark);
    color: var(--bg-light);
}

.btn-link {
    background: transparent;
    color: var(--bg-dark);
    border-bottom: 2px solid var(--bg-dark);
    padding: 0.2rem 0;
}

.btn-link:hover {
    padding-right: 10px; /* Slight push effect */
}

.circle-btn {
    width: 150px;
    height: 150px;
    border-radius: 50% !important;
    font-size: 1.2rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background-color: var(--bg-light);
}

.brand-logo {
    max-height: 45px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main) !important;
    font-size: 0.95rem;
    position: relative;
}

/* Underline animation on hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
.hero-title, .footer-cta-text, .section-title {
    letter-spacing: -2.5px; 
    line-height: 1;
}
.nav-contact-link {
    font-family: var(--font-primary);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 2px dotted #856262;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-contact-link:hover {
    color: #666666;
    border-color: #666666;
    transform: translateY(-2px); /* Slight lift effect on hover */
}
/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    height: 90vh;
    min-height: 700px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 7rem);
    line-height: 0.95;
    letter-spacing: -2px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%); /* Blends better with theme */
}

/* ==========================================================================
   Hero Section V2 - Cinematic Video Background
   ========================================================================== */
.hero-section-v2 {
    position: relative;
    height: 85vh; /* Nice tall section, leaves a bit of the next section peeking up on large screens */
    min-height: 600px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: contrast(1.1) brightness(0.9); /* Subtle filter to make colors pop */
}

/* Gradient overlay to ensure the white text is always readable */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-title-v2 {
    font-size: clamp(3rem, 7vw, 6.5rem); /* Scales beautifully down to mobile */
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4); /* Adds depth behind the text */
}

/* White Button Variations specifically for the Dark Hero */
.btn-solid-white {
    background-color: #ffffff;
    color: var(--bg-dark);
    border: 1px solid #ffffff;
}

.btn-solid-white:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--bg-dark);
}

/* Helper to manage button widths on mobile */
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}
/* ==========================================================================
   Marquee (Infinite Scroll)
   ========================================================================== */
.marquee-wrapper {
    white-space: nowrap;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    margin: 0 2rem;
}

.marquee-content .dot {
    color: #666;
    margin: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   How It Works (Process Cards)
   ========================================================================== */
.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -1px;
}

.process-card {
    border: 1px solid var(--text-main);
}

.bg-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 15rem;
    font-family: var(--font-primary);
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    z-index: 0;
}

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

.process-list li {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--text-main);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ==========================================================================
   Featured Talent Cards (Image Reveal Hover)
   ========================================================================== */
.talent-card-v2 {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #ccc;
    cursor: pointer;
}

.talent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.talent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.talent-card-v2:hover .talent-img {
    transform: scale(1.05);
}

.talent-card-v2:hover .talent-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Opportunities Section
   ========================================================================== */
.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Filter Pills */
.opp-filters {
    scrollbar-width: none; /* Hide scrollbar for clean look */
}
.opp-filters::-webkit-scrollbar {
    display: none;
}

.btn-filter {
    background: transparent;
    border: 1px solid #ccc;
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    border-radius: 50px; /* Fully rounded pills like Screenshot 1 */
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-filter:hover, .btn-filter.active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

/* List Items */
.opp-item {
    transition: background-color 0.3s ease;
    background-color: transparent;
}

.opp-item:hover {
    background-color: #EFEFEA; /* Slight highlight on hover */
}

/* Thumbnails */
.opp-thumb-wrapper {
    width: 120px;
    height: 80px;
    background-color: #ddd;
}

.opp-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.opp-item:hover .opp-thumb {
    transform: scale(1.1); /* Subtle zoom effect when hovering the row */
}

/* Title & Text */
.opp-title {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.opp-item:hover .opp-title {
    color: #555;
}

.text-danger {
    color: #E25E3E !important; /* The specific orange/red from screenshot 2 */
}

/* Responsive adjustments for metadata layout */
@media (min-width: 576px) {
    .opp-meta {
        min-width: 140px;
    }
}
/* Filter Pills Styling */
.btn-filter {
    background: #f3f4f6; /* Light grey from your screenshot */
    border: 1.5px solid #e5e7eb;
    color: #1a1a1a;
    padding: 0.6rem 1.8rem;
    border-radius: 50px; 
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* The Blue hover/focus state from your screenshot */
.btn-filter:hover {
    border-color: #2563eb; 
    background: #f3f4f6;
}

/* The Black active state from your screenshot */
.btn-filter.active {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* Smooth fade-in for filtering */
.fade-in {
    animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   Mega Footer (Nabel Inspired - Light Theme)
   ========================================================================== */
.mega-footer {
    background-color: var(--bg-light);
    /* border-top: 1px solid rgba(0,0,0,0.1);*/
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.mega-footer .container-fluid {
    position: relative;
    z-index: 2;
}

.mega-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 50%;
    height: 100%;
    /* Drawing the horizontal stripes */
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.03) 0,
        rgba(0, 0, 0, 0.03) 12px,
        transparent 12px,
        transparent 28px
    );
    /* Fades the pattern out smoothly as it moves toward the center */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 80%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

/* Right Side: Diagonal Stripes (Mimicking the 'M' and 'O' in your logo) */
.mega-footer::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -5%;
    width: 60%;
    height: 140%;
    /* Drawing the diagonal stripes matching the angle of the 'M' */
    background: repeating-linear-gradient(
        -35deg,
        rgba(0, 0, 0, 0.03) 0,
        rgba(0, 0, 0, 0.03) 18px,
        transparent 18px,
        transparent 45px
    );
    /* Fades the pattern out smoothly as it moves toward the center */
    -webkit-mask-image: radial-gradient(ellipse at right center, rgba(0,0,0,1) 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at right center, rgba(0,0,0,1) 10%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.footer-cta-text {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -2px;
}

.footer-logo {
    max-height: 50px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

.social-links a {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
}
/* ==========================================================================
   Talent Categories Grid
   ========================================================================== */

   .talent-categories-section {
    background-color: #0a0a0a; /* A deeper, richer black than standard bg-dark */
    position: relative;
    overflow: hidden;
    
    /* 1. Diagonal line pattern echoing the geometry of the LiaMo logo */
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.015) 0,
        rgba(255, 255, 255, 0.015) 1px,
        transparent 1px,
        transparent 40px
    );
}

/* 2. Massive Agency Watermark Typography */
.talent-categories-section::before {
    content: "TALENT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 28vw; /* Scales massively with the screen width */
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.02); /* Barely visible, highly premium */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -15px;
    user-select: none;
}

/* 3. Subtle radial glow behind the text header to ensure it pops */
.talent-categories-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}
.category-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1; /* Makes them perfect squares */
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    background-color: #1a1a1a;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(30%) contrast(1.1); /* Subtle editorial filter */
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: background 0.4s ease;
}

.category-overlay h4 {
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0px;
    transform: translateY(10px);
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Hover Effects */
.category-tile:hover .category-img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.1); /* Bring back full color on hover */
}

.category-tile:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%);
}

.category-tile:hover .category-overlay h4 {
    transform: translateY(0);
}

/* Specific styling for the View All link in the dark section */
.btn-link.text-white:hover {
    color: #cccccc !important;
    border-color: #cccccc !important;
}

/* ==========================================================================
   Swipeable Featured Talent Carousel
   ========================================================================== */
.talent-swipe-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 4rem; /* Adds padding at the bottom for the stagger effect */
    scroll-behavior: smooth;
    
    /* Hide scrollbars for a clean app-like feel */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.talent-swipe-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.talent-swipe-item {
    /* Mobile: 2 items per view (50% width minus half the gap) */
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
}

/* Tablet View (3 columns) */
@media (min-width: 768px) {
    .talent-swipe-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Desktop View (4 columns & Staggered Design) */
@media (min-width: 992px) {
    .talent-swipe-item {
        flex: 0 0 calc(25% - 1.125rem);
    }
    
    /* Recreates the asymmetrical masonry look by dropping every even item down */
    .talent-swipe-item:nth-child(even) {
        transform: translateY(3rem);
    }
}

/* ==========================================================================
   Explore Talent Directory Page
   ========================================================================== */

/* Form Input Overrides for Premium Feel */
.form-control-liamo {
    border: 1px solid var(--text-main);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.form-control-liamo:focus {
    box-shadow: none;
    background-color: #ffffff;
    border-color: var(--text-main);
    outline: 1px solid var(--text-main);
}

/* Custom Radio Buttons */
.custom-radio .form-check-input {
    border-radius: 0; /* Square radio buttons to match the sharp aesthetic */
    border-color: var(--text-main);
}
.custom-radio .form-check-input:checked {
    background-color: var(--text-main);
    border-color: var(--text-main);
}
.custom-radio .form-check-input:focus {
    box-shadow: none;
}

/* Talent Cards */
.talent-dir-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.talent-dir-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05); /* Architectural drop shadow */
}

/* Fix image wrapper to ensure uniform card heights */
.dir-img-wrap {
    aspect-ratio: 4 / 5;
    background-color: #e5e5e5;
}

.dir-img {
    transition: transform 0.7s ease;
}

.talent-dir-card:hover .dir-img {
    transform: scale(1.05);
}

/* Clamp description text to exactly 2 lines so cards stay uniform */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Pagination Styling */
.pagination .page-link:hover {
    background-color: #eaeaea;
}
@media (max-width: 991px) {
    .pb-mobile-app {
        padding-bottom: 80px !important;
    }
}
.card-id, .card-cat {
    font-size: 0.65rem;
}
.card-name {
    font-size: 0.95rem;
    line-height: 1.1;
}
.card-loc {
    font-size: 0.75rem;
}
.card-desc {
    font-size: 0.75rem;
    line-height: 1.4;
}
.feature-badge {
    font-size: 0.6rem;
}
.verified-icon {
    width: 24px;
    height: 24px;
}
.verified-icon svg {
    width: 14px;
    height: 14px;
}
.btn-card-action {
    font-size: 0.75rem;
}

/* Scale up for Tablets and Desktops */
@media (min-width: 768px) {
    .card-id, .card-cat { font-size: 0.8rem; }
    .card-name { font-size: 1.25rem; }
    .card-loc { font-size: 0.85rem; }
    .card-desc { font-size: 0.875rem; }
    .feature-badge { font-size: 0.75rem; }
    .verified-icon { width: 32px; height: 32px; }
    .verified-icon svg { width: 20px; height: 20px; }
    .btn-card-action { font-size: 0.85rem; }
}

/* App-like Slide-Up Menu for Mobile Filters */
@media (max-width: 991px) {
    .filter-offcanvas {
        height: 85vh !important; /* Panel covers 85% of screen when swiped up */
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }
}
/* ==========================================================================
   Talent Profile Details Page
   ========================================================================== */

/* Hero Image */
.profile-hero-img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background-color: #e5e5e5;
}

/* Breadcrumb Styling */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›"; /* Minimalist arrow separator */
    font-size: 1.2rem;
    line-height: 1;
    color: var(--text-main);
}

/* Skills Tags */
.skill-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}
.skill-tag:hover {
    background-color: var(--text-main);
    color: var(--bg-light);
}

/* Portfolio Gallery */
.portfolio-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

/* Video Showcase Utilities */
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}
.video-showcase button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.video-showcase:hover button {
    transform: scale(1.1);
    background-color: #ffffff;
}

/* Generic Object-fit utility (Bootstrap 5.2+ has this natively, but good fallback) */
.object-fit-cover {
    object-fit: cover;
}

/* ==========================================================================
   Opportunities Directory Styling
   ========================================================================== */

.opp-card {
    transition: all 0.3s ease;
}

.opp-card:hover {
    background-color: #fbfbf9;
    padding-left: 20px; /* Subtle nudge effect */
}

/* Square Date/Icon wrapper for the left side of cards */
.opp-card-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    font-size: 1.2rem;
    font-family: var(--font-primary);
}

.opp-card-icon span {
    transform: rotate(-90deg); /* Modern editorial vertical date look */
    white-space: nowrap;
}

/* Meta Labels */
.text-danger { color: #E25E3E !important; }
.text-success { color: #2D5A27 !important; }

/* Responsive tweaks for the list on smaller screens */
@media (max-width: 767px) {
    .opp-card:hover {
        padding-left: 0;
    }
    .opp-card-icon {
        display: none;
    }
}

/* ==========================================================================
   Opportunity Detail Page
   ========================================================================== */

.opp-requirement-list li {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.opp-requirement-list li svg {
    margin-top: 3px;
}

/* Background Highlight for detail boxes */
.bg-light-gray {
    background-color: #f8f8f6;
}

/* Specific styling for application form within the sticky container */
.sticky-top form .form-control-liamo {
    border-color: #ddd;
}

.sticky-top form .form-control-liamo:focus {
    border-color: var(--text-main);
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

.grayscale {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.grayscale:hover {
    filter: grayscale(0%);
}

/* Abstract Logo Element for the Hero */
.logo-abstract-element {
    width: 300px;
    height: 300px;
    background-color: var(--bg-dark);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.logo-abstract-element::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 20px
    );
}

/* Diagonal Stripes for Mission/Vision Section */
.bg-diagonal-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: repeating-linear-gradient(
        -45deg,
        #ffffff 0,
        #ffffff 1px,
        transparent 1px,
        transparent 50px
    );
    z-index: 1;
}

.mv-card {
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.02);
}

.mv-card:hover {
    border-color: #ffffff !important;
    background: rgba(255,255,255,0.05);
}

.icon-box {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mv-card:hover .icon-box {
    background: #ffffff;
    color: var(--bg-dark);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .display-2 {
        font-size: 3.5rem;
    }
}

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

.featured-blog-card {
    transition: transform 0.4s ease;
}

.featured-blog-card:hover {
    box-shadow: 15px 15px 0px rgba(0,0,0,0.05);
}

.blog-img-wrap {
    aspect-ratio: 16 / 10;
}

.blog-hover-img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-hover-img,
.featured-blog-card:hover .blog-hover-img {
    transform: scale(1.05);
}

.blog-card {
    transition: background-color 0.3s ease;
    background-color: #ffffff;
}

.blog-card:hover {
    background-color: #fbfbf9;
}

.w-fit {
    width: fit-content;
}

/* Matching the INDUSTRY badges to the logo style */
.btn-outline-dark.active {
    background-color: var(--bg-dark);
    color: #fff;
}

/* ==========================================================================
   Contact Page Styling
   ========================================================================== */

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    /* Recreating the horizontal L lines from your logo */
    background: repeating-linear-gradient(
        to bottom,
        #ffffff 0,
        #ffffff 1px,
        transparent 1px,
        transparent 30px
    );
    z-index: 1;
}

/* Grayscale Map Effect to match the About page images */
.grayscale img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.grayscale:hover img {
    filter: grayscale(0%);
}

.liamo-pagination .pagination {
        gap: 5px;
        align-items: center;
    }
    
    .liamo-pagination .page-item .page-link {
        color: #212529; /* Dark text */
        border: 1px solid #212529; /* Dark border */
        border-radius: 0 !important; /* Sharp square edges */
        padding: 0.5rem 1rem;
        font-weight: 700;
        font-size: 0.95rem;
        background-color: transparent;
        transition: all 0.2s ease-in-out;
    }
    
    .liamo-pagination .page-item.active .page-link {
        background-color: #212529 !important; /* Solid dark background */
        color: #ffffff !important; /* White text */
        border-color: #212529 !important;
    }
    
    .liamo-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
        background-color: #f8f9fa; /* Light gray hover */
        color: #000000;
        transform: translateY(-2px); /* Slight lift effect */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .liamo-pagination .page-item.disabled .page-link {
        color: #adb5bd;
        border-color: #dee2e6;
        background-color: #f8f9fa;
        cursor: not-allowed;
    }
    
    /* Hide the "Showing X to Y of Z results" text on mobile for a cleaner look */
    @media (max-width: 768px) {
        .liamo-pagination .small.text-muted {
            display: none !important;
        }
    }