.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-635 .elementor-element.elementor-element-c0ce3a3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-635 .elementor-element.elementor-element-d924408{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;color:var( --e-global-color-primary );}.elementor-635 .elementor-element.elementor-element-20e4940{padding:0px 0px 10px 0px;text-align:center;}.elementor-635 .elementor-element.elementor-element-20e4940 .elementor-heading-title{font-size:var( --e-global-typography-f861afe-font-size );font-weight:var( --e-global-typography-f861afe-font-weight );text-transform:var( --e-global-typography-f861afe-text-transform );line-height:var( --e-global-typography-f861afe-line-height );color:#0084FF;}.elementor-635 .elementor-element.elementor-element-746b5ba{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 20px 0px;text-align:center;}.elementor-635 .elementor-element.elementor-element-746b5ba .elementor-heading-title{font-size:var( --e-global-typography-a304b0b-font-size );font-weight:var( --e-global-typography-a304b0b-font-weight );text-transform:var( --e-global-typography-a304b0b-text-transform );line-height:var( --e-global-typography-a304b0b-line-height );letter-spacing:var( --e-global-typography-a304b0b-letter-spacing );word-spacing:var( --e-global-typography-a304b0b-word-spacing );color:#161921;}.elementor-635 .elementor-element.elementor-element-ff7d76f{--display:flex;--min-height:600px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:80px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-widget-formidable-views .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-formidable-views .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-635 .elementor-element.elementor-element-f696434{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}@media(max-width:1024px){.elementor-635 .elementor-element.elementor-element-20e4940 .elementor-heading-title{font-size:var( --e-global-typography-f861afe-font-size );line-height:var( --e-global-typography-f861afe-line-height );}.elementor-635 .elementor-element.elementor-element-746b5ba{padding:0px 0px 20px 0px;}.elementor-635 .elementor-element.elementor-element-746b5ba .elementor-heading-title{font-size:var( --e-global-typography-a304b0b-font-size );line-height:var( --e-global-typography-a304b0b-line-height );letter-spacing:var( --e-global-typography-a304b0b-letter-spacing );word-spacing:var( --e-global-typography-a304b0b-word-spacing );}}@media(min-width:768px){.elementor-635 .elementor-element.elementor-element-c0ce3a3{--content-width:1140px;}.elementor-635 .elementor-element.elementor-element-d924408{--width:100%;}.elementor-635 .elementor-element.elementor-element-ff7d76f{--content-width:1426px;}}@media(max-width:767px){.elementor-635 .elementor-element.elementor-element-c0ce3a3{--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-635 .elementor-element.elementor-element-d924408{--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-635 .elementor-element.elementor-element-d924408.e-con{--order:99999 /* order end hack */;}.elementor-635 .elementor-element.elementor-element-20e4940 .elementor-heading-title{font-size:var( --e-global-typography-f861afe-font-size );line-height:var( --e-global-typography-f861afe-line-height );}.elementor-635 .elementor-element.elementor-element-746b5ba .elementor-heading-title{font-size:var( --e-global-typography-a304b0b-font-size );line-height:var( --e-global-typography-a304b0b-line-height );letter-spacing:var( --e-global-typography-a304b0b-letter-spacing );word-spacing:var( --e-global-typography-a304b0b-word-spacing );}.elementor-635 .elementor-element.elementor-element-ff7d76f{--padding-top:20px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for formidable-views, class: .elementor-element-4ba8693 *//* --- Design System Variables --- */
:root {
    --ff-bg-dark: #ffffff;      
    --ff-card-bg: #FAF8F4;      
    --ff-accent: #0084ff;       
    --ff-text-head: #161921;    
    --ff-text-body: #2A2F3E;    
    --ff-radius-img: 20px;
    --ff-radius-btn: 6px;
}

/* --- Global Container --- */
.ff-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: var(--ff-text-body);
    width: 100%;
    overflow: visible; 
}
.ff-profile-container * { box-sizing: border-box; }

/* --- Hero Section --- */
.ff-hero {
    position: relative;
    height: 450px;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--ff-radius-img);
    display: flex;
    align-items: flex-end;
    margin-bottom: 50px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden; 
}

.ff-hero-overlay {
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 30%, 
        rgba(255,255,255,0.9) 70%, 
        #ffffff 100%
    );
    width: 100%;
    padding: 30px;
    padding-top: 150px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ff-hero-header { display: flex; align-items: flex-end; gap: 25px; }
.ff-hero-logo { width: 100px; height: 100px; background: var(--ff-card-bg); padding: 3px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); flex-shrink: 0; }
.ff-hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ff-hero-text h1 { margin: 0; font-size: 2.8rem; font-weight: 700; color: var(--ff-text-head); line-height: 1.1; }
.ff-hero-text h2 { margin: 5px 0 0 0; font-size: 1.1rem; font-weight: 400; color: var(--ff-text-body); opacity: 0.8; }

.ff-hero-actions { display: flex; gap: 15px; margin-top: 20px; padding-left: 125px; }
.ff-btn { padding: 12px 30px; border-radius: var(--ff-radius-btn); text-decoration: none; font-weight: 700; font-size: 1rem; display: inline-block; transition: all 0.3s ease; cursor: pointer; }

/* Buttons */
.ff-btn-primary { background-color: var(--ff-accent); color: #ffffff !important; border: none; }
.ff-btn-primary:hover { background-color: #006ecd; transform: translateY(-2px); color: #ffffff !important; }
.ff-btn-secondary { background-color: transparent; border: 2px solid var(--ff-text-head); color: var(--ff-text-head); }
.ff-btn-secondary:hover { background-color: var(--ff-text-head); color: #ffffff; }

/* --- Main Layout Grid --- */
.ff-layout-grid {
    display: flex;
    justify-content: space-between; 
    gap: 40px; 
    padding-top: 20px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.ff-column-content { flex: 0 0 65%; max-width: 65%; }
.ff-column-sidebar { flex: 0 0 32%; max-width: 32%; }

h3 { color: var(--ff-text-head); font-size: 2rem; font-weight: 700; margin-bottom: 25px; }
h4.ff-social-header { color: var(--ff-text-head); font-size: 1.2rem; font-weight: 700; margin-top: 40px; margin-bottom: 15px; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; }
.ff-module { margin-bottom: 70px; }

/* --- Partner Video Styling --- */
.ff-video-section {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ff-video-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ff-text-head);
    margin-top: 0;
    margin-bottom: 15px;
}

.ff-partner-video {
    width: 100%;
    max-height: 500px; /* Prevents vertical videos from taking up the entire screen */
    border-radius: var(--ff-radius-img);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: block;
    background: #000; /* Gives a clean backdrop while the video loads */
    object-fit: cover;
}

/* --- About & Sidebar --- */
.ff-about-flex { display: flex; flex-direction: column; gap: 30px; }
.ff-about-text { font-size: 1.1rem; line-height: 1.8; color: var(--ff-text-body); }
.ff-about-img { width: auto; max-width: 100%; }
.ff-about-img img { height: 400px; width: auto; object-fit: contain; border-radius: var(--ff-radius-img); box-shadow: 0 5px 20px rgba(0,0,0,0.15); display: block; }

.ff-contact-card { background: var(--ff-card-bg); padding: 40px; border-radius: var(--ff-radius-img); position: sticky; top: 30px; }
.ff-contact-card h3 { font-size: 1.5rem; margin-top: 0; }
.ff-contact-row { margin-bottom: 30px; display: flex; align-items: flex-start; gap: 20px; font-size: 1.05rem; }
.ff-icon { color: var(--ff-accent); font-size: 1.4rem; line-height: 1; margin-top: 6px; flex-shrink: 0; width: 25px; text-align: center; }
.ff-contact-detail { display: flex; flex-direction: column; }
.ff-contact-label { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ff-text-head); font-weight: 800; margin-bottom: 8px; line-height: 1.1; }
.ff-contact-row a, .ff-contact-row span, .ff-contact-row div { color: var(--ff-text-body); font-weight: 500; text-decoration: none; transition: color 0.2s; line-height: 1.4; }

/* --- SERVICES TWO-COLUMN GRID --- */
.ff-services-vertical { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* Creates two equal-width columns */
    gap: 15px 30px; /* 15px space between rows, 30px space between columns */
}

.ff-service-row { 
    display: flex; 
    align-items: flex-start; /* Pins the checkmark to the top if text wraps */
    gap: 12px; 
    background: transparent !important; 
    padding: 5px 0 !important; 
    border: none !important; 
    transition: transform 0.2s ease-in-out; 
}

.ff-service-row:hover { 
    background: transparent !important; 
    box-shadow: none !important; 
    transform: translateX(5px); 
}

.ff-check-icon { 
    color: var(--ff-accent); 
    font-size: 0.85rem !important; 
    background: rgba(0, 132, 255, 0.1); 
    width: 24px !important; 
    height: 24px !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    flex-shrink: 0; /* Prevents the circle from squishing if text gets too long */
    margin-top: 2px; /* Visually aligns the circle with the first line of text */
}

.ff-service-text { 
    color: var(--ff-text-head); 
    font-weight: 600; 
    font-size: 1.2rem; 
    letter-spacing: -0.01em; 
    line-height: 1.4; /* Gives wrapped text room to breathe */
    word-break: break-word; /* Forces super long words to wrap instead of breaking the layout */
}

.ff-social-list { display: flex; flex-direction: column; gap: 10px; }
.ff-social-item { display: flex; justify-content: flex-start; align-items: center; background: rgba(0,0,0,0.05); padding: 12px 20px; border-radius: 8px; text-decoration: none; color: var(--ff-text-head); transition: background 0.3s; gap: 15px; }
.ff-social-item:hover { background: var(--ff-accent); color: white; }

/* --- SECTION HEADERS --- */
.ff-gallery-section { width: 100%; margin-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 40px; }
.ff-blog-section { margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.05); width: 100%; position: relative; }
.ff-blog-section h3 { color: var(--ff-text-head); margin-bottom: 25px; }

/* --- UNIFIED SWIPER LAYOUT & ARROWS --- */

/* 1. Restore the original width, and use internal padding for the arrow "safe zone" */
.ff-gallery-swiper,
.ff-blog-swiper {
    padding: 0 60px 50px 60px !important; /* 60px left/right for arrows, 50px bottom for dots */
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important; 
    position: relative;
    overflow: hidden !important; /* Keeps everything cleanly inside the container */
}

/* 2. Position the arrows securely inside the padded safe zone */
.ff-gallery-swiper .swiper-button-prev,
.ff-blog-swiper .swiper-button-prev {
    left: 5px !important; 
}

.ff-gallery-swiper .swiper-button-next,
.ff-blog-swiper .swiper-button-next {
    right: 5px !important; 
}

/* 3. Make all arrows perfectly match (White circles) */
.ff-gallery-swiper .swiper-button-next,
.ff-gallery-swiper .swiper-button-prev,
.ff-blog-swiper .swiper-button-next,
.ff-blog-swiper .swiper-button-prev {
    color: var(--ff-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    margin-top: -22px !important; 
    z-index: 20;
    backdrop-filter: none !important; 
}

/* 4. Arrow icon size */
.ff-gallery-swiper .swiper-button-next:after,
.ff-gallery-swiper .swiper-button-prev:after,
.ff-blog-swiper .swiper-button-next:after,
.ff-blog-swiper .swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

/* 5. Hover effect */
.ff-gallery-swiper .swiper-button-next:hover,
.ff-gallery-swiper .swiper-button-prev:hover,
.ff-blog-swiper .swiper-button-next:hover,
.ff-blog-swiper .swiper-button-prev:hover {
    background: var(--ff-accent) !important;
    color: #ffffff !important;
}

/* --- GALLERY SLIDE SPECIFICS --- */
.ff-gallery-card { background: transparent; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); height: 450px; width: auto; display: inline-block; opacity: 0.4; transition: opacity 0.3s ease; }
.swiper-slide-active .ff-gallery-card { opacity: 1; box-shadow: 0 15px 40px rgba(0,0,0,0.2); transform: none; }
.ff-gallery-card img { height: 100% !important; width: auto !important; object-fit: contain !important; display: block !important; }
.ff-gallery-swiper .swiper-slide { width: auto !important; height: 450px; }

/* --- BLOG SLIDE SPECIFICS --- */
.ff-blog-swiper .swiper-slide { height: auto; }
.ff-blog-card { background: #ffffff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ff-blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.ff-blog-img { width: 100%; height: 200px; background-size: cover; background-position: center; background-color: #f4f5f7; }
.ff-blog-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.ff-blog-content h4 { color: var(--ff-text-head); font-size: 1.1rem; font-weight: 700; margin: 0 0 10px 0; line-height: 1.3; }
.ff-blog-content p { color: var(--ff-text-body); font-size: 0.9rem; line-height: 1.5; margin: 0 0 20px 0; flex-grow: 1; opacity: 0.8; }
.ff-read-more { color: var(--ff-accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; align-self: flex-start; }
.ff-read-more:hover { text-decoration: underline; }

/* --- GLOBAL SWIPER DOTS --- */
.swiper-pagination { bottom: 0px !important; }
.swiper-pagination-bullet { background: #000; opacity: 0.2; width: 12px; height: 12px; margin: 0 6px !important; }
.swiper-pagination-bullet-active { background: var(--ff-accent); opacity: 1; }

/* --- BOTTOM CTA --- */
.ff-bottom-cta-section {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
}
.ff-bottom-actions {
    padding-left: 0; 
    justify-content: center; 
    width: auto;
}

/* Capitalize the first letter of each word on all buttons and read-more links */
.ff-btn,
.ff-read-more {
    text-transform: capitalize !important;
}

@media (max-width: 900px) {
    .ff-layout-grid { flex-direction: column; }
    .ff-column-content, .ff-column-sidebar { max-width: 100%; width: 100%; flex: 100%; }
    .ff-column-sidebar { order: -1; margin-bottom: 50px; position: static; }
    
    .ff-hero { height: auto; min-height: 400px; }
    .ff-hero-header { flex-direction: column; align-items: center; text-align: center; }
    .ff-hero-actions { padding-left: 0; justify-content: center; flex-direction: column; align-items: center; width: 100%; gap: 10px; }
    .ff-hero-actions br { display: none !important; }
    .ff-hero-actions p { margin: 0 !important; padding: 0 !important; display: contents; }
    .ff-hero-actions .ff-btn { width: 75%; text-align: center; display: block; margin: 0 !important; }

    .ff-about-img { width: 100%; }
    .ff-about-img img { height: auto; width: 100%; } 

    /* ADDED MAX-WIDTH TO KEEP WIDE IMAGES ON SCREEN */
    .ff-gallery-card, .ff-gallery-swiper .swiper-slide { 
        height: 350px; 
        max-width: 100% !important; 
    } 
    
    .ff-gallery-card img {
        max-width: 100% !important; 
    }
    
    /* MOBILE SWIPER FIXES */
    .ff-gallery-swiper,
    .ff-blog-swiper {
        padding: 0 20px 50px 20px !important; /* Smaller inset for mobile to save space */
        width: 100% !important; 
    }

    /* Hide arrows on mobile - Touch swiping is standard UX on phones! */
    .ff-gallery-swiper .swiper-button-next,
    .ff-gallery-swiper .swiper-button-prev,
    .ff-blog-swiper .swiper-button-next,
    .ff-blog-swiper .swiper-button-prev {
        display: none !important;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-ff7d76f *//* --- Directory Design System --- */
:root {
    --ff-text-dark: #161921;   /* Primary Heading & Company Name Color */
    --ff-cat-color: #0084ff;   /* Industry Header Color */
    --ff-hover-color: #0084ff; /* Global Accent/Hover Color */
}

/* --- Main Masonry Container --- */
.ff-partners-directory {
    display: flex;
    align-items: flex-start; 
    gap: 40px;               /* Horizontal space between the 4 columns */
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    padding: 20px 0;
}

/* --- Masonry Column Wrapper (Handled by JS) --- */
.ff-masonry-col {
    display: flex;
    flex-direction: column;
    flex: 1;                 /* Ensures all columns stay equal width */
    gap: 45px;               /* Vertical space between different industry blocks */
    min-width: 0;          
}

/* --- Industry Group Block --- */
.ff-category-block {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Industry Header (e.g., HOME SERVICES) --- */
.ff-cat-header {
    color: var(--ff-cat-color) !important;
    font-size: 0.85rem;
    font-weight: 800;            
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0 !important; 
    padding: 0 !important;
    line-height: 1.2;
}

/* --- Partner Item Wrapper --- */
.ff-partner-item {
    /* Adjusted to 12px to give breathing room between partner names */
    margin-bottom: 20px !important;  
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    break-inside: avoid;
}

/* --- Partner Link (Company Name) --- */
.ff-partners-directory a.ff-partner-link {
    display: block !important;       
    color: var(--ff-text-dark) !important;  
    font-size: 0.95rem !important;
    font-weight: 700 !important;            
    text-decoration: none !important;
    
    /* Removed the negative margins so text stacks normally */
    line-height: 1.3 !important;
    margin: 0 !important; 
    padding: 0 !important; 
    
    transition: color 0.2s ease;
}

.ff-partners-directory a.ff-partner-link:hover {
    color: var(--ff-hover-color) !important; 
    text-decoration: underline !important;
}

/* --- Responsive Adaptations --- */
@media (max-width: 900px) {
    .ff-partners-directory { gap: 30px; }
}

@media (max-width: 768px) {
    .ff-partners-directory { gap: 20px; }
}

@media (max-width: 480px) {
    .ff-partners-directory { gap: 0; }
}/* End custom CSS */