/* ==========================================================================
   EZBLOO LEADHERSHIP THEME - LIGHT/DARK MODE COMPATIBLE
   ========================================================================== */


/* 1. Define Variables for Light Mode (Default) */
:root, [data-bs-theme="light"] {
    --ez-text-main: #3a3a3a;
    --ez-text-muted: #6c757d;
    --ez-heading-main: #1a1a1a;
    --ez-card-bg: #ffffff;
    --ez-section-bg: #f8f9fa;
    --ez-btn-bg: #1a1a1a;
    --ez-btn-text: #ffffff;
    --ez-nav-bg: #ffffff;
    --ez-blockquote-bg: #e2e8f0;
}

/* 2. Define Variables for Dark Mode */
[data-bs-theme="dark"] {
    --ez-text-main: #e0e0e0;
    --ez-text-muted: #adb5bd;
    --ez-heading-main: #ffffff;
    --ez-card-bg: #212529;
    --ez-section-bg: #121212;
    --ez-btn-bg: #f8f9fa;
    --ez-btn-text: #1a1a1a;
    --ez-nav-bg: #212529;
    --ez-blockquote-bg: #2c3e50;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY & BODY
   ========================================================================== */
body { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 17px;
    font-weight: 300; /* This light weight is the key to matching your graphic */
    line-height: 1.8;
    color: var(--ez-text-main); 
    background-color: var(--ez-card-bg); 
    padding: 0;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased; 
}

h1, h2, h3, h4, h5, h6, .display-3, .display-5, .navbar-brand { 
    font-family: 'Playfair Display', serif; 
    color: var(--ez-heading-main); 
    letter-spacing: -0.5px; 
}

.text-muted {
    color: var(--ez-text-muted) !important;
}

p, li { 
    font-size: 1.15rem; /* Standardized size */
    letter-spacing: 0.5px; 
    line-height: 1.8; 
}

/* ==========================================================================
   THEME COMPONENTS
   ========================================================================== */

/* Navbar */
.navbar { 
    padding-top: 1.5rem; 
    padding-bottom: 1.5rem; 
    background-color: var(--ez-nav-bg) !important; 
    transition: all 0.3s ease; 
}
.navbar-brand { font-weight: 700; font-size: 1.5rem; color: var(--ez-heading-main) !important; }
.nav-link { font-weight: 600; color: var(--ez-heading-main) !important; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; padding: 0.5rem 1rem !important; }
.nav-link:hover { opacity: 0.7; }

/* Buttons */
.btn-custom-solid, .btn-custom-dark { 
    background: var(--ez-btn-bg); 
    color: var(--ez-btn-text); 
    border: 2px solid var(--ez-btn-bg); 
    border-radius: 0; 
    padding: 10px 25px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
    transition: all 0.3s ease; 
}
.btn-custom-solid:hover, .btn-custom-dark:hover { 
    background: transparent; 
    color: var(--ez-heading-main); 
    border-color: var(--ez-heading-main);
}

.btn-custom-outline {
    background: transparent;
    color: #ffffff; /* Usually forced white for Hero images */
    border: 2px solid #ffffff;
    border-radius: 0; 
    padding: 10px 25px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
    transition: all 0.3s ease;
}
.btn-custom-outline:hover {
    background: #ffffff;
    color: #000000;
}

/* Sections and Cards */
.bg-light { background-color: var(--ez-section-bg) !important; }

.services-card, .testimonial-card { 
    background: var(--ez-card-bg); 
    padding: 40px 30px; 
    border-top: 3px solid var(--ez-heading-main); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease; 
    height: 100%;
}
.services-card:hover, .testimonial-card:hover { transform: translateY(-5px); }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('/public/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
}

/* ==========================================================================
   EZBLOO SUMMERNOTE CONTENT WRAPPER (Light/Dark Aware)
   ========================================================================== */

.ez-content {
    font-family: 'Montserrat', sans-serif;
    color: var(--ez-text-main);
    font-size: 17px;
    font-weight: 300;
}

.ez-content h1, .ez-content h2, .ez-content h3, .ez-content h4 { 
    color: var(--ez-heading-main); 
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ez-content h1 { font-size: 2.5rem; }
.ez-content h2 { font-size: 2rem; }

.ez-content p { margin-bottom: 1.5rem; color: var(--ez-text-main); }

.ez-content a { 
    color: var(--ez-heading-main); 
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--ez-heading-main); 
    transition: all 0.2s ease;
}
.ez-content a:hover { 
    color: var(--ez-text-muted); 
    border-bottom-color: var(--ez-text-muted); 
}

/* Summernote Blockquotes */
.ez-content blockquote, blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--ez-heading-main);
    border-left: 4px solid var(--ez-heading-main);
    padding: 1.5rem;
    margin: 2rem 0;
    background: var(--ez-blockquote-bg);
    border-radius: 4px;
    box-shadow: none; /* Removed heavy shadow from previous css */
}

/* Summernote Images */
.ez-content img, img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}
img:hover { transform: scale(1.02); }


/* ==========================================================================
   YOUR EXISTING CMS/APP CSS (Unmodified, but cleaned)
   ========================================================================== */
iframe { width: 100%; height: 450px; }
#card-element { background: var(--ez-section-bg); }
.pagination { max-width: 100%; overflow: auto; }

/* Code Snippets */
.code-container { position: relative; background-color: #2d2d2d; border-radius: 5px; padding: 1em; margin: 1em 0; overflow: auto; }
.copy-button { position: absolute; top: 10px; right: 10px; background-color: #4CAF50; color: white; border: none; padding: 5px 10px; border-radius: 3px; cursor: pointer; font-size: 0.9em; opacity: 0.8; transition: opacity 0.3s; }
.copy-button:hover { opacity: 1; }
.code-container pre { margin: 0; font-family: 'Fira Code', monospace; font-size: 14px; line-height: 1.5; color: #f8f8f2; }
.code-container code { display: block; }
.token.comment { color: #75715e; }
.token.keyword { color: #66d9ef; }
.token.string { color: #e6db74; }

/* Share Buttons */
.share-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    flex-wrap: wrap; 
    padding: 20px; 
}

/* Base button styling */
.share-button { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 40px; /* Makes them nice uniform squares/circles */
    height: 40px;
    text-decoration: none; 
    color: #ffffff !important; /* Force icons to be white */
    border-radius: 5px; 
    transition: all 0.3s ease; 
    background-color: var(--ez-text-muted); /* Fallback background color just in case */
}

/* Hover effect */
.share-button:hover { 
    transform: translateY(-3px);
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Target the data-service attributes from your HTML */
.share-button[data-service="facebook"] { background-color: #3b5998; }
.share-button[data-service="twitter"] { background-color: #000000; } /* Updated to Black for X */
.share-button[data-service="linkedin"] { background-color: #0077b5; }
.share-button[data-service="truthsocial"] { background-color: #0a0a0a; }
.share-button[data-service="reddit"] { background-color: #ff4500; }
.share-button[data-service="a1sold"] { background-color: #deb887; }
.share-button[data-service="email"] { background-color: #6c757d; }

/* Forms & UI Elements */
.form-control-dark { border-color: var(--bs-gray); }
.form-control-dark:focus { border-color: #fff; box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25); }
.text-small { font-size: 85%; }
.dropdown-toggle:not(:focus) { outline: 0; }
.text-body-emphasis { font-weight: bold; }
.dropdown-menu { max-height: 300px; overflow-y: auto; }

/* Breadcrumbs */
.breadcrumb-chevron { --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); gap: .5rem; }
.breadcrumb-chevron .breadcrumb-item { display: flex; gap: inherit; align-items: center; padding-left: 0; line-height: 1; }
.breadcrumb-chevron .breadcrumb-item::before { gap: inherit; float: none; width: 1rem; height: 1rem; }
.breadcrumb-custom .breadcrumb-item { position: relative; flex-grow: 1; padding: .75rem 3rem; }
.breadcrumb-custom .breadcrumb-item::before { display: none; }
.breadcrumb-custom .breadcrumb-item::after { position: absolute; top: 50%; right: -25px; z-index: 1; display: inline-block; width: 50px; height: 50px; margin-top: -25px; content: ""; background-color: var(--bs-tertiary-bg); border-top-right-radius: .5rem; box-shadow: 1px -1px var(--bs-border-color); transform: scale(.707) rotate(45deg); }
.breadcrumb-custom .breadcrumb-item:first-child { padding-left: 1.5rem; }
.breadcrumb-custom .breadcrumb-item:last-child { padding-right: 1.5rem; }
.breadcrumb-custom .breadcrumb-item:last-child::after { display: none; }

/* Bootstrap Utilities */
.bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
@media (min-width: 768px) { .bd-placeholder-img-lg { font-size: 3.5rem; } }
.b-example-divider { width: 100%; height: 3rem; background-color: rgba(0, 0, 0, .1); border: solid rgba(0, 0, 0, .15); border-width: 1px 0; box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); }
.b-example-vr { flex-shrink: 0; width: 1.5rem; height: 100vh; }
.bi { vertical-align: -.125em; fill: currentColor; }
.nav-scroller { position: relative; z-index: 2; height: 2.75rem; overflow-y: hidden; }
.nav-scroller .nav { display: flex; flex-wrap: nowrap; padding-bottom: 1rem; margin-top: -1px; overflow-x: auto; text-align: center; white-space: nowrap; -webkit-overflow-scrolling: touch; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: #212529; padding: 10px; text-align: center; z-index: 9999; font-family: sans-serif; }
.cookie-banner button { margin-left: 10px; padding: 5px 10px; }

/* ==========================================================================
   EZBLOO CUSTOM IMAGE SHAPE
   Description: Rounded Top (Arch) with Beveled Bottom-Left Corner
   ========================================================================== */
.ez-arch-bevel {
    /* Step 1: Ensure image scales nicely without stretching when clipped */
    object-fit: cover; 
    display: block; /* Recommended for consistent alignment */
    max-width: 100%;
    height: auto;

    /* Step 2: The Rounded Top (Arch Shape) */
    /* Using large fixed values (like 500px) creates the distinct arch */
    border-radius: 500px 500px 0 100px !important; 

    /* Step 3: The Beveled Bottom-Left (Diagonal Cut) */
    /* We plot 5 points (X Y coordinates) to draw the exact shape: */
    /* 1. 0 0 (Top Left) */
    /* 2. 100% 0 (Top Right) */
    /* 3. 100% 100% (Bottom Right - sharp corner) */
    /* 4. 20% 100% (Start bevel point on bottom edge) */
    /* 5. 0 80% (End bevel point on left edge) */
   /* clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 80%);*/

    /* Optional shadow: Because clip-path is used, a standard box-shadow 
       will be cut off. We must use a filter: drop-shadow instead. */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.ez-profile-arch {
    display: block; 
    max-width: 100%;
    height: auto;
    object-fit: cover; 
    
    /* THE FIX: 
       1st value (Top-Left): 999px forces a perfect half-circle arch.
       2nd value (Top-Right): 999px completes the perfect arch.
       3rd value (Bottom-Right): 0 keeps it sharp.
       4th value (Bottom-Left): 50px creates the gentle, rounded bevel. */
    border-radius: 999px 999px 0 50px;
}

/* Summernote Images & Global Images */
.ez-content img, img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    
    /* Adds 15px of space all the way around the outside of the image */
    /* This pushes text and other elements away */
    margin: 15px; 
    
    /* If you actually wanted an inner frame effect, delete the margin line above 
       and remove the /* from the padding line below: */
    /* padding: 15px; */

    transition: transform 0.3s ease;
}

img:hover { 
    transform: scale(1.02); 
}

/* ==========================================================================
   EZBLOO CHAMPION BANNERS (Master Fix)
   ========================================================================== */

/* --- 1. THE SHARED CONTAINER SETTINGS --- */
.ez-champion-banner, 
.ez-champion-banner-reverse {
    display: flex;
    align-items: flex-end; /* Locks the bottoms flush */
    width: 100%;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0;
}
.ez-champion-banner { flex-direction: row; }
.ez-champion-banner-reverse { flex-direction: row; }

/* --- 2. THE TEXT BOXES --- */
.ez-champion-text, 
.ez-champion-text-reverse {
    width: 60%;
    background-color: #e86368; 
    padding: 60px 50px;
    margin: 0;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif; /* Forces the correct font */
}

/* Standard Text Box Geometry (Flat Left, Rounded Right) */
.ez-champion-text { border-radius: 0 20px 20px 0; }

/* Reverse Text Box Geometry (Rounded Left, Flat Right) */
.ez-champion-text-reverse { border-radius: 20px 0 0 20px; }

/* Force text to be white */
.ez-champion-text h2, .ez-champion-text p,
.ez-champion-text-reverse h2, .ez-champion-text-reverse p {
    color: #ffffff !important; 
}

.ez-champion-text h2, .ez-champion-text-reverse h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.ez-champion-text p, .ez-champion-text-reverse p {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 300;
}

/* --- 3. THE IMAGE BOXES --- */
.ez-champion-img, 
.ez-champion-img-reverse {
    width: 40%;
    margin: 0;
    padding: 0;
}

.ez-champion-img img, 
.ez-champion-img-reverse img {
    width: 100% !important;
    height: 600px !important; /* INCREASED HEIGHT: Forces the straight edge to clear the text box */
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Standard Image Geometry (Arch Top, Curved Bottom-Left, Flat Bottom-Right) */
.ez-champion-img img {
    border-radius: 999px 999px 0 20px; /* 999px forces a perfect semi-circle */
}

/* Reverse Image Geometry (Arch Top, Flat Bottom-Left, Curved Bottom-Right) */
.ez-champion-img-reverse img {
    border-radius: 999px 999px 20px 0; 
}

/* --- 4. MOBILE STACKING (Phones & Tablets) --- */
@media (max-width: 768px) {
    .ez-champion-banner { flex-direction: column; align-items: stretch; }
    .ez-champion-banner-reverse { flex-direction: column-reverse; align-items: stretch; }
    
    .ez-champion-img, .ez-champion-text,
    .ez-champion-img-reverse, .ez-champion-text-reverse { 
        width: 100%; 
    }
    
    /* Shrink the image height for cell phones */
    .ez-champion-img img, 
    .ez-champion-img-reverse img { 
        border-radius: 200px 200px 0 0; 
        height: 350px !important; 
    }
    
    .ez-champion-text, 
    .ez-champion-text-reverse { 
        border-radius: 0 0 20px 20px; 
        padding: 40px 30px; 
    }
}

/* ==========================================================================
   EZBLOO CORAL CTA BLOCK (Centered Box)
   ========================================================================== */

.ez-coral-cta {
    background-color: #e86368; 
    /* Optional subtle gradient to mimic the texture in the screenshot */
    background-image: linear-gradient(135deg, #e86368 0%, #df5459 100%);
    border-radius: 20px;
    padding: 80px 40px;
    margin: 4rem auto;
    text-align: center;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(232, 99, 104, 0.2); /* Soft coral glow shadow */
}

/* Force text inside to be white and use Montserrat */
.ez-coral-cta h2, 
.ez-coral-cta p {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
}

.ez-coral-cta h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ez-coral-cta p {
    font-size: 1.15rem;
    font-weight: 300;
    margin: 0 auto 2.5rem auto; /* Centers the paragraph and adds bottom spacing for the button */
    max-width: 800px; /* Prevents text from stretching too wide on big screens */
    line-height: 1.6;
}

/* We will reuse your existing .btn-custom-outline class, 
   but we'll make a solid white version for this specific box 
*/
.ez-coral-cta .btn-white-solid {
    display: inline-block;
    background-color: #ffffff;
    color: #1a1a1a !important; /* Dark text on white button */
    border: 2px solid #ffffff;
    border-radius: 50px; /* Makes it a pill shape like the screenshot */
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.ez-coral-cta .btn-white-solid:hover {
    background-color: transparent;
    color: #ffffff !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ez-coral-cta {
        padding: 50px 20px;
    }
    .ez-coral-cta h2 {
        font-size: 2rem;
    }
}
/* ==========================================================================
   FIX: PREVENT LINK COLORS FROM OVERRIDING BUTTON TEXT IN EDITOR CONTENT
   ========================================================================== */

.ez-content a.btn-custom-solid,
.ez-content a.btn-custom-dark {
    color: var(--ez-btn-text) !important; /* Forces the text back to white */
    border-bottom: 2px solid var(--ez-btn-bg) !important; /* Fixes the border */
    text-decoration: none !important;
}

.ez-content a.btn-custom-solid:hover,
.ez-content a.btn-custom-dark:hover {
    color: var(--ez-heading-main) !important; /* Turns text dark on hover */
    background: transparent !important;
    border-color: var(--ez-heading-main) !important;
}

/* ==========================================================================
   EZBLOO ABSOLUTE TOP BACKGROUND GRAPHIC
   ========================================================================== */

.ez-top-bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -10; /* Forces it to the very back layer, under everything */
    pointer-events: none; /* Prevents the image from blocking clicks on your menu/links */
}

/* ==========================================================================
   EZBLOO HERO SECTION 
   ========================================================================== */

.ez-hero-section {
    position: relative;
    z-index: 5; /* Ensures this text sits above your absolute background graphic */
    max-width: 900px;
    margin: 0;
    padding: 120px 20px 80px 20px; /* Pushes the text down below your navigation menu */
}

/* ==========================================
   Hero Typography (Mobile First)
   ========================================== */
/* Default to dark text for mobile devices without the background image */
.ez-hero-section h1 {
    color: #212529 !important; /* Standard dark grey */
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
}

.ez-hero-section p {
    color: #212529 !important; 
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

/* ==========================================
   Desktop Override (992px and up)
   ========================================== */
/* When the background image appears, switch text back to white */
@media (min-width: 992px) {
    .ez-hero-section h1,
    .ez-hero-section p {
        color: #ffffff !important;
    }
}

/* ==========================================
   Dark Mode Safety Net
   ========================================== */
/* If a user has dark mode on their phone, ensure the text flips to white */
[data-bs-theme="dark"] .ez-hero-section h1,
[data-bs-theme="dark"] .ez-hero-section p {
    color: #ffffff !important;
}
/* Button Container */
.ez-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Puts a clean space between the buttons */
}

/* Coral Pill Button */
.ez-hero-buttons .btn-coral-pill {
    display: inline-block;
    background-color: #e86368 !important;
    color: #ffffff !important;
    border: 2px solid #e86368;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.ez-hero-buttons .btn-coral-pill:hover {
    background-color: #cf5459;
    border-color: #cf5459;
    transform: translateY(-2px);
}

.ez-hero-buttons .btn-white-solid {
    display: inline-block;
    background-color: #ffffff;
    color: #000000!important;
    border: 2px solid #e86368;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

/* We reuse your existing .btn-white-solid for the second button, 
   but ensure it behaves nicely in this flex container */
.ez-hero-buttons .btn-white-solid {
    margin: 0; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ez-hero-section h1 {
        font-size: 2.5rem;
    }
    .ez-hero-buttons {
        flex-direction: column; /* Stacks the buttons on cell phones */
    }
    .ez-hero-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   EZBLOO FEATURE CARDS (3-Column Grid)
   ========================================================================== */

.ez-features-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Section Heading */
.ez-features-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--ez-heading-main);
    margin-bottom: 50px;
    font-weight: 500;
}

/* CSS Grid for perfectly spaced, responsive columns */
.ez-feature-grid {
    display: grid;
    /* This automatically creates 3 columns on desktop, and 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Individual Card Styling */
.ez-feature-card {
    background-color: var(--ez-card-bg);
    border: 1px solid rgba(232, 99, 104, 0.2); /* Very faint coral/pink border */
    border-radius: 20px;
    padding: 50px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ez-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(232, 99, 104, 0.1);
}

/* Coral Circle Icon Container */
.ez-feature-icon {
    width: 80px;
    height: 80px;
    background-color: #e86368;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: #ffffff;
    font-size: 2rem; /* Sizes the FontAwesome icon inside */
}

/* Card Typography */
.ez-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ez-heading-main);
    margin-bottom: 15px;
}

.ez-feature-card p {
    font-size: 1.05rem;
    color: var(--ez-text-muted);
    margin: 0;
    line-height: 1.6;
    font-weight: 300;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ez-features-section h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    .ez-feature-card {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   EZBLOO TWO-COLUMN SPLIT SECTION (Text Left, Image Right)
   ========================================================================== */

.ez-split-section {
    display: flex;
    align-items: center; /* Vertically centers the text relative to the image */
    justify-content: space-between;
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 20px;
    gap: 60px; /* Creates clean breathing room between the text and image */
}

/* The Text Container */
.ez-split-text {
    flex: 1; /* Takes up 50% of the space */
    max-width: 550px;
}

/* Make sure the heading uses the correct brand font and color */
.ez-split-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--ez-heading-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Ensure the paragraph is readable */
.ez-split-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ez-text-main);
    margin-bottom: 2rem;
}

/* The Image Container */
.ez-split-image {
    flex: 1; /* Takes up the other 50% */
    text-align: center; /* Centers the image inside its half */
}

/* We don't want the custom arch shapes here, just a standard responsive image */
.ez-split-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0; /* Ensures no leftover curves from other classes */
    display: inline-block;
}

/* Mobile Stacking (Phones & Tablets) */
@media (max-width: 768px) {
    .ez-split-section {
        flex-direction: column; /* Stacks image below text */
        gap: 40px;
        margin: 3rem auto;
    }
    .ez-split-text {
        max-width: 100%;
        text-align: center; /* Centers text on mobile */
    }
}

/* ==========================================================================
   EZBLOO FULL-WIDTH CORAL BANNER
   ========================================================================== */

.ez-full-width-coral {
    background-color: #e86368;
    background-image: linear-gradient(135deg, #e86368 0%, #df5459 100%);
    
    /* THE BREAKOUT TRICK: Forces edge-to-edge width even inside a container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    padding: 100px 20px;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Keeps the text from stretching too wide on massive screens */
.ez-full-width-coral .ez-inner-content {
    max-width: 900px;
    margin: 0 auto;
}

.ez-full-width-coral h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.ez-full-width-coral p {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ez-full-width-coral {
        padding: 60px 20px;
    }
    .ez-full-width-coral h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   EZBLOO IMAGE OVERLAP SECTION (Oval + Circle Composite)
   ========================================================================== */

.ez-overlap-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 20px;
    gap: 80px; /* Leaves room so the overlapping image doesn't hit the text */
}

/* --- The Left Column (Image Composite) --- */
.ez-overlap-images {
    flex: 1;
    position: relative; /* CRITICAL: Allows the circular image to anchor to this box */
    max-width: 450px; 
    display: flex;
    justify-content: flex-start;
}

/* The Base Oval Image */
.ez-oval-img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4.5; /* Forces the tall, pill-like oval shape */
    object-fit: cover;
    border-radius: 500px; /* Curves the corners fully into an oval */
    display: block;
}

/* The Hovering Circular Image */
.ez-circle-overlay {
    position: absolute;
    top: 50%;
    right: -15%; /* Pulls the image out to the right, overlapping the edge */
    transform: translateY(-50%); /* Perfectly centers it vertically */
    width: 240px;
    height: 240px;
    border-radius: 50%; /* Makes it a perfect circle */
    border: 12px solid #ffffff; /* The thick white frame */
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Adds a very soft drop shadow */
}

/* --- The Right Column (Text) --- */
.ez-overlap-text {
    flex: 1;
    max-width: 500px;
}

.ez-overlap-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--ez-heading-main);
    margin-bottom: 1.2rem;
}

.ez-overlap-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ez-text-main);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Mobile Adjustments (Stacks the layout nicely on phones) */
@media (max-width: 768px) {
    .ez-overlap-section {
        flex-direction: column;
        gap: 60px;
        margin: 3rem auto;
    }
    .ez-overlap-images {
        max-width: 320px; /* Shrinks the image group to fit the phone screen */
        margin: 0 auto;
    }
    .ez-circle-overlay {
        width: 160px;
        height: 160px;
        right: -10%;
        border-width: 8px;
    }
    .ez-overlap-text {
        text-align: center; /* Centers the text on mobile */
    }
}
/* ==========================================================================
   EZBLOO TEAM SLIDER (Single Image Version)
   ========================================================================== */

.ez-team-slider {
    padding: 40px 20px 80px 20px; /* Extra bottom padding for the dots */
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Ensures the baked-in images scale perfectly on all screen sizes */
.ez-team-composite-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto; /* Adds spacing below the image on mobile */
    transition: transform 0.3s ease;
}

.ez-team-composite-img:hover {
    transform: scale(1.03); /* Tiny hover effect to make it feel interactive */
}

/* Customize the Bootstrap Pagination Dots */
.ez-team-slider .carousel-indicators {
    bottom: -10px; 
}

.ez-team-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f5b0b5; /* Light pink inactive dots */
    border: none;
    margin: 0 6px;
    opacity: 1;
}

.ez-team-slider .carousel-indicators .active {
    background-color: #e86368; /* Solid coral active dot */
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.card-img, .card-img-bottom, .card-img-top {
    width: 93.5%;
}
/* Targets the nav-link only if it has the specific 'Contact Us' tooltip title */
.nav-link[data-bs-title="Contact Us"] {
    background-color: #f2666a;
    color: #ffffff !important;
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    /* This ensures the pill doesn't hug the edge of the nav bar */
    margin: 5px 10px; 
}

/* Hover state using the same attribute selector */
.nav-link[data-bs-title="Contact Us"]:hover {
    background-color: #e05559;
    color: #ffffff !important;
    transform: translateY(-1px); /* Subtle lift effect */
}

/* --- Base Container --- */
.logo-flipper {
    position: relative;
    display: inline-block;
    width: 32px;  /* Fixed size for a 32x32 favicon */
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
}

/* --- Image Transitions (smooth cross-fade) --- */
.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease;
}

.logo-img.secondary {
    opacity: 0;
    transform: scale(0.8);
}

.logo-flipper:hover .logo-img.primary {
    opacity: 0;
}

.logo-flipper:hover .logo-img.secondary {
    opacity: 1;
    transform: scale(1.1);
}


/* --- THE REVISED SPARKLE SOLUTION --- */
/* We use a pseudo-element on hover to create multiple sparkling points using box-shadows */

.logo-flipper::after {
    content: '';
    position: absolute;
    
    /* Center this small particle generator in the 32x32 container */
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    background: transparent; /* Critically, the generator background is clear */
    
    /* Initially invisible */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* --- Sparkle Cluster (only on hover) --- */
.logo-flipper:hover::after {
    opacity: 1;
    border-radius: 50%;
    
    /* Generate 8 sparkling points cluster around the center using box-shadows.
       We define (x, y, blur, color) for each point. */
    box-shadow: 
        /* Outer Cluster */
        -15px -15px 0.5px 0px rgba(255, 255, 255, 1),
         15px  15px 0.5px 0px rgba(255, 255, 255, 0.8),
        -15px  15px 0.5px 0px rgba(255, 255, 255, 1),
         15px -15px 0.5px 0px rgba(255, 255, 255, 0.8),
        
        /* Mid Cluster */
         0px  -20px 0.5px 0px rgba(255, 255, 255, 1),
         0px   20px 0.5px 0px rgba(255, 255, 255, 0.8),
        -20px   0px 0.5px 0px rgba(255, 255, 255, 1),
         20px   0px 0.5px 0px rgba(255, 255, 255, 0.8);
    
    /* Run the animation to make them radiate and fade */
    animation: sparkle-burst 1s ease-out;
}

/* --- Sparkle Burst Animation --- */
@keyframes sparkle-burst {
    0% {
        /* Start with the cluster collapsed near the center and small */
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 1;
    }
    60% {
        /* Keep opacity high as it radiates out to max cluster spread */
        opacity: 1;
    }
    100% {
        /* Radiate outwards significantly while fading and shrinking */
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.fa-square-rss {
    color: #f2666a; /* Classic RSS Orange */
    transition: color 0.3s ease; /* Smooth transition if you add hover effects */
}

.fa-square-rss:hover {
    color: #d05319; /* Slightly darker on hover */
}

/* ==========================================================================
   EZBLOO TESTIMONIALS (2x2 Grid with Fixed Quotes)
   ========================================================================== */

.ez-testimonial-container {
    max-width: 1100px; /* Slightly narrower to match your image's proportions */
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

.ez-testimonial-container h2 {
    font-size: 2.2rem;
    color: #212529;
    font-weight: 400;
    margin-bottom: 70px; /* Extra room for the overlapping quote circles */
    text-align: center;
}

/* The 2x2 Grid layout */
.ez-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px; /* 60px vertical gap, 40px horizontal gap */
    padding-bottom: 40px;
}

/* The Card Styling */
.ez-testimonial-card {
    background-color: #fffcfd; /* Matches the ultra-light pink from your image */
    border: 1px solid #f9e2e4;
    border-radius: 12px;
    padding: 50px 40px 30px 40px; 
    position: relative; 
    text-align: center;
    
    /* Flexbox ensures the content stretches evenly if one quote is taller */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- THE FIXED QUOTE ICON --- */
.ez-testimonial-card::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 5rem;
    color: #ffffff;
    
    /* Shape and Sizing */
    width: 65px;
    height: 65px;
    background-color: #ea6569; /* The darker coral inner circle */
    border-radius: 50%;
    
    /* The lighter pink outer ring from your image */
    box-shadow: 0 0 0 8px #f9dcdc; 
    
    /* Positioning over the top border */
    position: absolute;
    top: -40px; 
    left: 50%;
    transform: translateX(-50%);
    
    /* Centering the icon */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* THE FIX: Removes the font bounding box and pushes the quote visually down */
    line-height: 0;
    padding-top: 35px; 
    box-sizing: border-box;
}

/* Text Formatting */
.ez-testimonial-card .quote-text {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ez-testimonial-card .client-attribution {
    font-size: 1.2rem;
    font-weight: 500;
    color: #222222;
    margin-bottom: 0;
    margin-top: auto; /* Pushes the name to the bottom if the quote is short */
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991px) {
    .ez-testimonial-grid {
        grid-template-columns: 1fr; /* Stacks to 1 column on tablets and phones */
        gap: 70px; /* Increases vertical gap to make room for the circles */
    }
}