/* ==========================================================================
   Why Business Choose ProImprint - Animated Interactive Web Component
   ========================================================================== */

:root {
    --color-primary-navy: #0F2A4A;
    --color-accent-blue: #257BB6;
    --color-light-blue: #3B82F6;
    --color-text-dark: #1E293B;
    --color-text-muted: #475569;
    --color-border-subtle: #E2E8F0;
    --color-bg-gradient-start: #FFFFFF;
    --color-bg-gradient-end: #F8FAFC;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */

/* Container */
.hero-container {
    position: relative;
    width: 100%;
   /* max-width: 1400px;*/
   /* margin: 0 auto;*/

   /* perspective: 1200px;*/

}

/* ==========================================================================
   Background Animations: Stars & Circles
   ========================================================================== */

.stars-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Decorative SVG Outlined Stars */
.decorative-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    opacity: 0.45;
    animation: starPulse 6s ease-in-out infinite alternate;
    transition: transform 0.2s ease-out;
}

.three-d-left {
    top: 58%;
    left: 27%;
    width: 15px;
    height: 15px;
    animation-delay: 0s;
}

.star-left {
    top: 55%;
    left: 2%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.star-center-left {
    top: 41%;
    left: 26%;
    width: 40px;
    height: 40px;
    animation-delay: 1.5s;
}

.star-center-right {
    top: 42%;
    right: 28%;
    width: 35px;
    height: 35px;
    animation-delay: 3s;
}

.star-right {
    top: 58%;
    right: 11%;
    width: 46px;
    height: 46px;
    animation-delay: 2.2s;
}

.star-left-small {
    top: 45%;
    left: 32%;
    animation-delay: 2.2s;
}

.star-left-small2 {
    top: 52%;
    left: 25%;
    animation-delay: 2.2s;
}

@keyframes starPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95) rotate(0deg);
    }

    50% {
        opacity: 0.65;
        transform: scale(1.1) rotate(6deg);
    }

    100% {
        opacity: 0.4;
        transform: scale(1) rotate(-3deg);
    }
}


/* #connectorTL,
#connectorBL,
#connectorTR,
#connectorBR {
    animation: connectorUpDown 5s ease-in-out infinite;
} */

@keyframes connectorUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Decorative Floating Circles & Dots */
.decorative-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.15);
    animation: floatCircle 8s ease-in-out infinite alternate;
    transition: transform 0.2s ease-out;
}

.tr-style {
    position: absolute;
    animation: floatCircle 8s ease-in-out infinite alternate;
    transition: transform 0.2s ease-out;
}

.circle-1 {
    top: 54%;
    left: 27%;
    width: 20px;
    height: 20px;
    animation-delay: 0.5s;
}

.circle-2 {
    top: 57%;
    left: 26%;
    width: 10px;
    height: 10px;
    animation-delay: 2s;
}

.circle-3 {
    top: 48%;
    right: 34%;
    width: 20px;
    height: 20px;
    animation-delay: 1s;
}

.circle-4 {
    top: 47%;
    right: 33%;
    width: 7px;
    height: 7px;
    /* background: rgba(37, 99, 235, 0.2); */
    animation-delay: 3.5s;
}

.circle-5 {
    top: 25%;
    left: 22%;
    width: 14px;
    height: 14px;
    animation-delay: 1.8s;
}

.circle-6 {
    top: 21%;
    right: 24%;
    width: 16px;
    height: 16px;
    animation-delay: 2.7s;
}

@keyframes floatCircle {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.15);
    }

    100% {
        transform: translateY(4px) scale(0.9);
    }
}

/* Particle dots generated dynamically */
.bg-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particleTwinkle linear infinite;
}

@keyframes particleTwinkle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

/* ==========================================================================
   Content Layout & Header Section
   ========================================================================== */

.content-wrapper-w {
    position: relative;
    z-index: 2;
}

.header-section {
    text-align: center;
    margin-bottom: 0px;
    will-change: transform;
    background: transparent;
}

.badge-tagline {
    display: inline-block;
    color: #257BB6;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.1px;
    margin-bottom: 5px;
}

.main-title {
    color: #213967;
    text-align: center;
    font-family: Poppins;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.subtitle-description {
    color: #333;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    max-width: 70%;
    margin: 0 auto;
}

/* ==========================================================================
   Showcase Grid (Cards + Pedestal Showcase)
   ========================================================================== */

.showcase-grid {
    position: relative;
    display: grid;
    grid-template-columns: 310px 1fr 310px;
    align-items: center;
    gap: 70px;
    min-height: 480px;
    margin-top: 10px;
}

/* Connector Line Images */
.connector-img {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    object-fit: fill;
    transition: filter 0.35s ease, opacity 0.35s ease;
    opacity: 0.85;
}

.connector-img.active {
    filter: brightness(0.3) sepia(1) hue-rotate(190deg) saturate(5) brightness(0.7) drop-shadow(0 0 6px rgba(37, 99, 235, 0.5));
    opacity: 1;
}

/* Column Wrappers */
.features-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 120px;
    z-index: 3;
}

.features-left {
    align-items: flex-start;
}

.features-right {
    align-items: flex-end;
}

/* ==========================================================================
   Feature Cards & Hover Effects
   ========================================================================== */

.feature-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 320px;
    min-width: 325px;
    padding: 12px 14px;
    border-radius: 14px;
    /* background: rgba(255, 255, 255, 0.7); */
    /* backdrop-filter: blur(8px); */
    /* border: 1px solid rgba(255, 255, 255, 0.8); */
    cursor: pointer;
    transition: var(--transition-smooth);
    will-change: transform;
}

.card-top-right,
.card-bottom-right {
    flex-direction: row;
    text-align: left;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background: #FFFFFF; */
    border: 1.5px solid #213967;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    padding: 10px;


}

.feature-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #213967;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.feature-title span {
    display: block;
}

.feature-desc {
    color: #333;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

/* Card Hover State */
.feature-card:hover {
    background: #FFFFFF;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    transform: scale(1.04) translateY(-4px);
}

.feature-card:hover .icon-wrapper {
    border-color: var(--color-accent-blue);
    background: #EFF6FF;
    color: var(--color-accent-blue);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12);
}

.feature-card:hover .feature-title {
    color: var(--color-accent-blue);
}

/* ==========================================================================
   Continuous Up & Down Floating Animations
   ========================================================================== */

.float-element {
    transition: transform 0.15s cubic-bezier(0.1, 0.2, 0.1, 1);
    will-change: transform;
}

.float-text {
    animation: floatUpDown 4.8s ease-in-out infinite alternate;
}

.float-text-header {
    animation: floatHeader 6s ease-in-out infinite alternate;
}

/* Animation Delays for organic rhythm */
.delay-1 {
    animation-delay: 0s;
}

.delay-2 {
    animation-delay: 1.2s;
}

.delay-3 {
    animation-delay: 2.4s;
}

.delay-4 {
    animation-delay: 3.6s;
}

/* @keyframes floatUpDown {
    0% {
        transform: translate3d(0, 0px, 0);
    }

    50% {
        transform: translate3d(0, -9px, 0);
    }

    100% {
        transform: translate3d(0, 4px, 0);
    }
}

@keyframes floatHeader {
    0% {
        transform: translate3d(0, 0px, 0);
    }

    50% {
        transform: translate3d(0, -6px, 0);
    }

    100% {
        transform: translate3d(0, 3px, 0);
    }
} */

/* Class to pause floating if toggled */
.paused-float {
    animation-play-state: paused !important;
}

/* ==========================================================================
   Center Merchandise Display & Pedestal Base
   ========================================================================== */

.center-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pedestal-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pedestal-ellipse {
    position: absolute;
    bottom: 2px;
    width: 90%;
    height: 75px;
    background: radial-gradient(ellipse at center, rgba(226, 232, 240, 0.9) 0%, rgba(203, 213, 225, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    box-shadow: 0 25px 40px rgba(15, 42, 74, 0.08);
    z-index: 1;
}

.merchandise-img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 14px 28px rgba(15, 42, 74, 0.09));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.center-showcase:hover .merchandise-img {
    transform: scale(1.025) translateY(-4px);
    filter: drop-shadow(0 20px 36px rgba(37, 99, 235, 0.14));
}

/* ==========================================================================
   Control Toggle Button Bar
   ========================================================================== */

.floating-controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.ctrl-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    background: rgba(15, 42, 74, 0.88);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.ctrl-btn:hover {
    background: var(--color-accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.connector-top-left {
    left: 19%;
    top: 10%;
    width: 16.25%;
}

.connector-bottom-left {
    left: 11%;
    bottom: 40%;
    width: 17.75%;
}

.connector-top-right {
    right: 24.9%;
    top: 10%;
    width: 11.3%;
}

.connector-bottom-right {
    right: 16%;
    bottom: 39%;
    width: 11.45%;
}

/* Keep connector proportions while their widths scale with the grid. */
.connector-top-left,
.connector-bottom-left,
.connector-top-right,
.connector-bottom-right {
    height: auto;
    max-width: none;
    z-index: 10;
}

/* ========================================================================== 
   Responsive Design
   ========================================================================== */
@media (max-width: 1400px) and (min-width: 1200px) {
    .connector-top-left {
         left: 24%;
        top: 8%;
    }

    .connector-bottom-left {
        left: 12%;
        bottom: 39%;
    }

    .connector-top-right {
        right: 30%;
        top: 10%;
    }

    .connector-bottom-right {
        right: 15%;
        bottom: 41%;
    }
}

@media (max-width: 1199px) and (min-width: 1025px) {
    .connector-top-left {
       left: 29%;
       top: 12%;
    }

    .connector-bottom-left {
        left: 16%;
        bottom: 39%;
    }

    .connector-top-right {
        right: 35%;
       top: 13%;
    }

    .connector-bottom-right {
        right: 15%;
        bottom: 41%;
    }
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .features-column {
        gap: 0px;
        align-items: center;
        margin-top: -40px;
    }

    .features-left,
    .features-right {
        align-items: center;
    }

    .feature-card,
    .card-top-right,
    .card-bottom-right {
        max-width: 500px;
        width: 100%;
        flex-direction: row;
        text-align: left;
        animation: none;
    }
.float-text-header {
       animation: none;
}
    .connector-img {
        display: none;
        /* Hide connector images on stacked view */
    }

    .main-title {
        font-size: 2rem;
    }

    .center-showcase {
        order: -1;
        margin: 20px 0;
    }

    .subtitle-description {
        max-width: 100%;
    }

    .feature-title span {
        display: inline-block;
    }
  .icon-wrapper {
    width: 40px;
    height: 40px;
}
.feature-card { gap: 10px;}
}

@media (max-width: 640px) {

    .main-title {
        font-size: 18px;
        font-weight: 600;
    }

    .badge-tagline {
        font-size: 14px;
        font-weight: 500;
    }

    .subtitle-description {
         font-size: 12px;
    }

    .feature-card {
        padding: 5px 12px;
    }

    .floating-controls {
        bottom: 12px;
        right: 12px;
    }

    .ctrl-btn span {
        display: none;
    }

    .ctrl-btn {
        padding: 10px;
        border-radius: 50%;
    }

   .feature-title {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 0px;
    }

    .feature-desc {

        font-size: 12px;
        line-height: 1.3;
    }
    .badge-tagline {margin-bottom: 0px;}
    .subtitle-description {line-height: 1.4;}
    .icon-wrapper {  width: 25px;    height: 25px; }
    .center-showcase {   margin-top: 0px; }
}