/* ======================
   1. Variables & Root
====================== */
:root {
    --primary-color: #473184;
    --primary-dark: #36225e;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

/* ======================
   2. Base Styles
====================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ======================
   3. Navigation Styles
====================== */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* ======================
   4. Button Styles
====================== */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
    background: var(--primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(71, 49, 132, 0.25);
    outline: none;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(71, 49, 132, 0.25);
    outline: none;
}

/* ======================
   5. Utility Classes
====================== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08) !important;
}

.footer-link {
    transition: color 0.2s ease-in-out;
}

.footer-link:hover {
    color: var(--primary-color) !important;
}



.transform-up {
    transform: translateY(-1rem);
}

.transform-down {
    transform: translateY(1rem);
}

/* ======================
   6. About Us Section
====================== */
.hover-shadow:hover {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.08) !important;
}
/* .hover-shadow:hover .opacity-0 {
    opacity: 1 !important;
} */

/* ======================
   7. Animations
====================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

.achievement-badge { /* This class seems to be using an older float animation. You might want to update it to float-animation */
    animation: float 3s ease-in-out infinite;
}

/* Scroll Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ======================
   8. Media Queries
====================== */
@media (max-width: 576px) {
    .scroll-container {
        padding: 20px 0;
    }
    
    .marketplace-card {
        min-width: 140px;
        height: 80px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .logo-wrapper {
        padding: 8px;
    }
    
    .scroll-left {
        animation-duration: 25s;
    }
}

/* ======================
   9. Vendor Network
====================== */


.port-category {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.port-category:hover {
    transform: translateX(10px);
    background: var(--primary-color);
    color: white;
}

.port-category:hover h4,
.port-category:hover p,
.port-category:hover i {
    color: white !important;
}

.port-category h4 {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    transform-origin: center;
    z-index: 5;
    margin-left: -6px;
    margin-top: -6px;
}

.map-point.highlight {
    transform: scale(1.8);
    z-index: 10;
    animation: none;
}

.map-point.dim {
    opacity: 0.3;
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(71, 49, 132, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(71, 49, 132, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(71, 49, 132, 0);
    }
}

    .process-step:not(:last-child)::after {
        display: none;
    }
    .process-number {
        font-size: 3rem;
    }

    /* home page  benefits section */

      .card {
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: attr(data-number);
            position: absolute;
            top: 2px;
            right: 20px;
            font-size: 3rem;
            font-weight: 700;
            color: rgba(71, 49, 132, 0.2);
            z-index: 0;
            pointer-events: none;
        }



/* Ecommerce Service Page - Core Services Carousel */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cccccc;
    border: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.carousel-indicators .active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Carousel item numbering */
.carousel-inner .carousel-item > div[data-number]::before {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(250, 250, 250, 0.911);
    z-index: 1;
    pointer-events: none;
}

/* Ecommerce Service Page - Marketplace Cards 3D Tilt */
.marketplace-card {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* 
.marketplace-card .service-link {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.marketplace-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
} */


/* Ecommerce Service Page - Tab Content Animation */
.tab-content .tab-pane {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.tab-content .tab-pane:not(.active) {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.tab-content .tab-pane.fade:not(.show) {
    opacity: 0;
    transform: translateY(20px);
}