/* Mafioso Master Plan left-to-right card animation */
.process-card {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: transform, opacity;
}
.process-card.visible {
    opacity: 1;
    transform: translateX(0);
}
#mafioso-plan .d-flex.flex-lg-column.flex-row {
    overflow: hidden;
    flex-direction: column;
}
@media (min-width: 992px) {
    #mafioso-plan .d-flex.flex-lg-column.flex-row {
        flex-direction: column;
    }
}
@media (max-width: 991.98px) {
    #mafioso-plan .d-flex.flex-lg-column.flex-row {
        flex-direction: column !important;
        overflow: visible;
    }
    .process-card {
        min-width: 0 !important;
        width: 100%;
    }
}
.why-card:focus, .why-card:hover {
    box-shadow: 0 8px 32px rgba(13,110,253,0.35), 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid #0d6efd;
    outline: 2px solid #0d6efd;
    background: rgba(13,110,253,0.12);
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.why-card:focus, .why-card:hover {
    box-shadow: 0 8px 32px rgba(13,110,253,0.25), 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid #0d6efd;
    outline: none;
    background: rgba(13,110,253,0.08);
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
/* Animation for Why Choose Us cards */
.why-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
.brand-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 48px;
    object-fit: contain;
    background: rgb(230, 213, 213);
    border-radius: 8px;
    border: 2px solid red;
    box-shadow:
        2px 2px 6px rgba(0,0,0,0.10),
        inset 2px 2px 8px #e0e0e0,
        inset -2px -2px 8px #bdbdbd;
    padding: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.brand-logo:hover {
    border-color: red;
    box-shadow:
        0 4px 16px rgba(13,110,253,0.15),
        2px 2px 6px rgba(0,0,0,0.10),
        inset 2px 2px 8px #e0e0e0,
        inset -2px -2px 8px #bdbdbd;
} */

/* Custom styles for Digital Marketing Company website */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
}

.text-shadow {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.text-shadow-light {
    text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

section {
    scroll-margin-top: 80px;
}

.card-title {
    font-weight: 600;
}

.page-header {
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.navbar .navbar-brand, .navbar-nav .nav-link {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.navbar .navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

footer {
    background: linear-gradient(90deg, #6d2c2c 0%, #b98a68 100%);
    color: #fff;
    letter-spacing: 1px;
    border-top: 3px solid #d2b48c;
}

.service-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 75px;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.2s;
}
.service-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.tool-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 80px;
        max-width: 80%;
        object-fit: contain;
        /* background: transparent; */
        /*background: #fdd9ce; Richer, slightly darker brown for better contrast */
        border-radius: 6px;
        box-shadow: 8px 10px 8px rgba(0, 0, 0, 0.07);
        transition: transform 0.2s;
        margin-bottom: 10px;
        padding-right: 3px;
        padding-left: 3px;
}

/*
@media (max-width: 576px) {
    .tool-logo {
        height: 36px;
        max-width: 60%;
        margin-bottom: 8px;
    }
    .tools-row {
        gap: 0.5rem !important;
    }
}

*/
.tool-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.marketplace-logo {
    height: 48px;
    object-fit: contain;
    margin: 0 6px;
    background: transparent;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.2s;
}
.marketplace-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: black;
}

/* Trusted By Leading Brands responsive fix */

/*
#brands .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
#brands .brand-logo {
    max-width: 100%;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 8px auto;
    display: block;
}
@media (max-width: 576px) {
    #brands .row.g-4 {
        gap: 0.5rem;
    }
    #brands .col-4,
    #brands .col-md-2 {
        flex: 0 0 40%;
        max-width: 40%;
        padding-left: 2px;
        padding-right: 2px;
    }
    #brands .brand-logo {
        height: 36px;
        max-width: 90%;
        margin-bottom: 4px;
    }
} */

.brand-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 80px;
        max-width: 80%;
        object-fit: contain;
        /* background: transparent; */
        background: #fdd9ce; /* Richer, slightly darker brown for better contrast */
        border-radius: 6px;
        box-shadow: 8px 10px 8px rgba(0, 0, 0, 0.07);
        transition: transform 0.2s;
        margin-bottom: 10px;
        padding-right: 3px;
        padding-left: 3px;
}

/* Tools We Use card background color */
/*
#tools .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

*/
/* Hero Section Animated Gradient Overlay 
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-animated-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background: linear-gradient(120deg, rgba(109,44,44,0.7) 0%, rgba(185,138,104,0.5) 100%);
    animation: heroGradientFade 6s ease-in-out infinite alternate;
}
@keyframes heroGradientFade {
    0% { opacity: 0.7; }
    100% { opacity: 0.95; }
}
.hero-section .container {
    position: relative;
    z-index: 2;
} */
/* Hero Section Entrance Animation */
.hero-anim {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: heroFadeUp 1s cubic-bezier(.4,0,.2,1) forwards;
}
.hero-anim[style*="animation-delay"] {
    animation-delay: 0.2s;
}
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



