/* Redesigned Marquee Section */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    border-radius: 1rem;
}

/* Decorative Circles for Trusted Brands Section */
.circle-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(122, 30, 79, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.circle-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(122, 30, 79, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.z-index-1 {
    z-index: 1;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    user-select: none;
    display: flex;
    position: relative;
    padding: 25px 0;
    /* Soft fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll-linear 25s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    width: 160px;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item img {
    max-width: 110px;
    height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee-item img:hover {
    filter: brightness(0) saturate(100%) invert(15%) sepia(40%) saturate(4000%) hue-rotate(295deg) brightness(85%) contrast(105%);
    opacity: 1;
    transform: scale(1.05);
}

/* The Animation: Moves the entire strip to the left */
@keyframes scroll-linear {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-item {
        width: 140px;
        padding: 0 25px;
    }

    .marquee-item img {
        max-width: 90px;
        height: 35px;
    }

    .marquee-container {
        padding: 20px 0;
    }
}


/* Solid Button */
.btn-grape {
    background-color: #7A1E4F !important;
    border-color: #7A1E4F !important;
    color: #ffffff !important;
}

.btn-grape:hover {
    background-color: #5a163a !important;
    /* A slightly darker shade for depth */
    border-color: #5a163a !important;
    color: #ffffff !important;
}

/* Outline Button */
.btn-outline-grape {
    color: #7A1E4F !important;
    border-color: #7A1E4F !important;
    background-color: transparent !important;
}

.btn-outline-grape:hover {
    background-color: #7A1E4F !important;
    color: #ffffff !important;
}


/* --- Brand Overrides --- */
:root {
    --brand-color: #7A1E4F;
    --brand-soft: rgba(122, 30, 79, 0.1);
}

/* Nav Link Hover & Active */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--brand-color) !important;
}

/* Buttons: Border & Backgrounds */
.btn-grape {
    background-color: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: #fff !important;
}

.btn-outline-grape {
    --bs-btn-color: var(--brand-color) !important;
    --bs-btn-border-color: var(--brand-color) !important;
    --bs-btn-hover-bg: var(--brand-color) !important;
    --bs-btn-hover-border-color: var(--brand-color) !important;
    border: 1px solid var(--brand-color) !important;
}

/* Hero Section Font Size Increases */
.wrapper.bg-white:first-child .display-1 {
    font-size: 3.5rem !important;
}

.wrapper.bg-white:first-child .lead.fs-19 {
    font-size: 1.3rem !important;
}

.wrapper.bg-white:first-child .fs-15 {
    font-size: 1rem !important;
}

/* Responsive adjustments for hero fonts */
@media (max-width: 768px) {
    .wrapper.bg-white:first-child .display-1 {
        font-size: 2.5rem !important;
    }

    .wrapper.bg-white:first-child .lead.fs-19 {
        font-size: 1.1rem !important;
    }

    .wrapper.bg-white:first-child .fs-15 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .wrapper.bg-white:first-child .display-1 {
        font-size: 2rem !important;
    }
}

/* Redesigned Typography Spacing */
.hero-description {
    font-size: 19px !important;
    line-height: 1.5;
    margin-bottom: 2rem !important;
    /* mb-6 equivalent */
}

.trust-line {
    font-size: 15px !important;
    border-top: 1px solid var(--brand-soft);
    padding-top: 1rem;
}

/* Background Accents */
.bg-soft-primary {
    background-color: var(--brand-soft) !important;
}



/* --- Global Button Border Fix --- */

.btn-grape,
.btn-primary {
    background-color: #7A1E4F !important;
    border-color: #7A1E4F !important;
    color: #fff !important;
}

/* This removes the blue "glow" and replaces it with your brand color */
.btn-grape:focus,
.btn-primary:focus,
.btn-outline-grape:focus {
    box-shadow: 0 0 0 0.25rem rgba(122, 30, 79, 0.25) !important;
    border-color: #7A1E4F !important;
}

.btn-outline-grape {
    border-color: #7A1E4F !important;
    color: #7A1E4F !important;
}

.btn-outline-grape:hover {
    background-color: #7A1E4F !important;
    border-color: #7A1E4F !important;
    color: #fff !important;
}

/* Styling for Problem Section Icons */
/* Card Redesign */
.card.lift {
    transition: all 0.3s ease-in-out;
    border: none;
    border-bottom: 3px solid transparent;
    /* Hidden border */
}

.card.lift:hover {
    transform: translateY(-10px);
    /* Smooth lift effect */
    border-bottom: 3px solid #7A1E4F;
    /* Shows brand color on hover */
}

.btn-soft-primary {
    background-color: rgba(122, 30, 79, 0.08) !important;
    color: #7A1E4F !important;
}

.btn-circle.btn-lg {
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    padding: 0;
    font-size: 1.5rem;
}

/* Premium Block Styles */
.service-premium-block {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-color: rgba(122, 30, 79, 0.1) !important;
}

.service-index {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7A1E4F;
    opacity: 0.4;
}

.service-icon {
    font-size: 1.4rem;
    color: #aab0bc;
    transition: all 0.4s ease;
}

/* Interaction: Expansion */
.service-description-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.service-premium-block:hover {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.service-premium-block:hover .service-description-expand {
    max-height: 100px;
}

.service-premium-block:hover .display-6 {
    color: #7A1E4F;
}

.service-premium-block:hover .service-icon {
    color: #7A1E4F;
    transform: rotate(45deg);
}

.service-premium-block:hover .service-index {
    opacity: 1;
}

/* Visual Anchor Styles */
.visual-card-bg {
    background: #7A1E4F;
    height: 500px;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(122, 30, 79, 0.15);
}

.brand-logo-watermark {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
}

/* Luxury Showcase Styling */
.ls-xl {
    letter-spacing: 0.2rem;
}

.premium-service-row {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: transparent;
}

.premium-service-row h4 {
    transition: all 0.4s ease;
    font-weight: 700;
    color: #343f52;
}

.premium-service-row p {
    transition: all 0.4s ease;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Hover Accent: The Growing Dot */
.service-dot {
    width: 12px;
    height: 12px;
    background: #7A1E4F;
    /* Grape */
    border-radius: 50%;
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Row Hover State */
.premium-service-row:hover {
    background-color: #ffffff;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border-color: transparent !important;
    z-index: 5;
}

.premium-service-row:hover h4 {
    color: #7A1E4F;
    transform: translateX(5px);
}

.premium-service-row:hover .service-dot {
    opacity: 1;
    transform: scale(1.5);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .premium-service-row:hover {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* Why Choose Us Section Styling */
.bg-soft-primary {
    background-color: #f0f2f7 !important;
    /* Soft backdrop for a classic feel */
}

/* Icon Styling: Classic white circles with soft grape shadows */
.icon.btn-circle.btn-lg {
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.icon.btn-circle i {
    font-size: 1.4rem;
    color: #7A1E4F;
    /* Grape Brand Color */
}

/* Interaction: Subtle lift on the whole list item */
.d-flex.flex-row:hover .icon {
    transform: scale(1.1);
    background-color: #7A1E4F !important;
    box-shadow: 0 10px 20px rgba(122, 30, 79, 0.15) !important;
}

.d-flex.flex-row:hover .icon i {
    color: #ffffff !important;
}

/* Typography refinement */
.display-3 {
    font-weight: 800;
    letter-spacing: -0.02rem;
}

.lead.fs-lg {
    color: #60697b;
    line-height: 1.6;
}

/* Section 6: Results Styling */

/* Large Impactful Numbers */
.display-2.text-grape {
    color: #7A1E4F !important;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

/* Subtle Vertical Dividers for Desktop */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

/* Sophisticated CTA Card within the section */
.bg-soft-grape {
    background-color: rgba(122, 30, 79, 0.05) !important;
    border: 1px solid rgba(122, 30, 79, 0.1);
}

/* Animation refinement */
.display-2 {
    transition: transform 0.3s ease;
}

.col-md-4:hover .display-2 {
    transform: translateY(-5px);
}

/* Final Testimonial Fixes */
.testimonial-card-classic {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    transition: all 0.4s ease;
}

/* Force Name and Title to stack vertically to prevent overlapping */
.testimonial-card-classic .blockquote-details .info {
    display: block !important;
    text-align: left !important;
    padding-left: 0 !important;
}

.testimonial-card-classic .blockquote-details h5 {
    display: block !important;
    font-size: 1rem;
    margin-bottom: 2px !important;
    line-height: 1.2;
    color: #343f52;
}

.testimonial-card-classic .blockquote-details p {
    display: block !important;
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin: 0 !important;
    color: #aab0bc !important;
}

.testimonial-card-classic:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
}

/* Grape Theme Accents */
.ratings.five:before {
    color: #7A1E4F !important;
}

.swiper-pagination-bullet-active {
    background: #7A1E4F !important;
}


/* Section 8: Process Styling */

.process-steps {
    position: relative;
}

/* Vertical Line connecting the dots */
.process-steps:before {
    content: "";
    position: absolute;
    left: 21px;
    /* Centers line under the 45px circle */
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(122, 30, 79, 0.1);
    /* Very light grape line */
    z-index: 0;
}

.process-steps .d-flex {
    position: relative;
    z-index: 1;
}

/* Step Circle Styling */
.process-steps .btn-circle.btn-primary {
    width: 44px;
    height: 44px;
    background-color: #7A1E4F !important;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(122, 30, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
}

.process-steps .number {
    font-weight: 800;
    color: #ffffff;
}

/* Hover effect for interactivity */
.process-steps .d-flex:hover .btn-circle {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(122, 30, 79, 0.2);
    transition: all 0.3s ease;
}

.process-steps h4 {
    font-weight: 700;
    color: #343f52;
}

.process-steps p {
    color: #60697b;
    font-size: 0.95rem;
    max-width: 450px;
}


/* Section 9: Theme Matching Refinements */

/* Ensures the card uses the brand's primary grape color */
.bg-grape {
    background-color: #7a1e4f !important;
}

/* Specific text color for the button to match the background */
.custom-cta-btn {
    color: #7a1e4f !important;
    font-weight: 700;
    transition: all 0.3s ease !important;
}

.custom-cta-btn:hover {
    background-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    color: #5d133a !important;
    /* Slightly darker grape on hover */
}

/* Editorial line color white for this section */
.card.bg-grape .text-line:after {
    background: #ffffff !important;
    opacity: 0.5;
}

/* Soft shadow to make the grape card pop against the light background */
.card.bg-grape {
    box-shadow: 0 20px 40px rgba(122, 30, 79, 0.2) !important;
}

/* Responsiveness fix for title size on small screens */
@media (max-width: 768px) {
    .card.bg-grape h3.display-3 {
        font-size: 1.8rem !important;
    }
}


/* Fix for Twitter/X Logo Visibility */
.uil-twitter::before,
.x-social-icon i::before {
    content: "\edc5" !important;
    /* The 'X' icon Unicode for Unicons */
    font-family: "unicons" !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    color: #ffffff;
    /* Ensures it's white */
    opacity: 1 !important;
}

/* Fix Space Inconsistency */
.offset-lg-1 {
    margin-left: 8.33333333% !important;
    /* Standard Bootstrap offset */
}


.widget-title {
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #ffffff !important;
}

footer .fs-sm,
footer address,
footer p,
footer li a {
    font-size: 0.85rem !important;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Hover effect */
.hover-grape:hover {
    color: #7a1e4f !important;
}

/* Ensure the container uses flexbox for alignment */
.nav.social.social-white {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    /* This creates exactly equal 20px space between every icon */
}

/* Reset anchor tags to ensure they don't have inherited margins */
.nav.social.social-white a {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

/* Align the SVG Twitter-X icon perfectly with FontIcons */
.x-social-icon {
    height: 14px;
    /* Matches the SVG height for a tight bounding box */
}

.x-social-icon svg {
    display: block;
    fill: #ffffff !important;
    /* Ensures the X is white */
}

/* Ensure Unicons match the visual center */
.nav.social.social-white i {
    font-size: 1rem;
    display: block;
    line-height: 1;
}

/* Color fading logic is handled via the inline style background: linear-gradient above */

/* Grape Color Hover Effect for Brand Logos */
.brand-logo-fixed {
    transition: all 0.3s ease-in-out;
    filter: grayscale(100%) opacity(0.5);
    /* Default state: subtle and grey */
}

.marquee-item:hover .brand-logo-fixed {
    filter: none;
    /* Clear the grayscale */
    /* This SVG filter creates a "Grape" (#7A1E4F) overlay effect */
    filter: brightness(0) saturate(100%) invert(18%) sepia(36%) saturate(3733%) hue-rotate(296deg) brightness(91%) contrast(97%);
    transform: scale(1.1);
    opacity: 1;
}

/* Ensure the marquee container doesn't cut off the scaled hover effect */
.marquee-container {
    padding: 20px 0;
    overflow: hidden;
}



/* Enable clicking the parent link while maintaining dropdown on hover */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


#modal-strategy .modal-content {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(122, 30, 79, 0.15);
}

#modal-strategy .form-control:focus {
    border-color: #7A1E4F;
    box-shadow: 0 0 0 0.2rem rgba(122, 30, 79, 0.1);
}

.gradient-transition-section {
    background: linear-gradient(to bottom, #ffffff 5%, rgba(122, 30, 79, 0.12) 50%, #ffffff 95%);
}

.soft-boundary-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(122, 30, 79, 0.08) 15%, rgba(122, 30, 79, 0.12) 50%, rgba(122, 30, 79, 0.08) 85%, rgba(255, 255, 255, 0) 100%);
}

/* Struggling to Grow hero image - size & styling */
.struggling-hero-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(122, 30, 79, 0.15);
}

.struggling-hero-img {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.struggling-hero-img-wrapper:hover .struggling-hero-img {
    transform: scale(1.02);
}

.struggling-hero-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(122, 30, 79, 0.08);
    pointer-events: none;
}




  /* Smooth scaling for the display font on very small screens */
  @media (max-width: 576px) {
    .display-3 { font-size: 1.75rem !important; }
    .custom-cta-btn { width: 100%; } /* Full width button on mobile for better UX */
  }

