﻿.dc-hs-section {
}

.dc-hs-container {
}

.dc-hs-title {
    font-size: clamp(28px, 4vw, 42px);
    color: #1C326B;
    margin-bottom: 15px;
    font-weight: 400;
    text-align: center;
    font-family: "Myriad Pro", sans-serif;
}

.dc-hs-description {
    font-size: clamp(16px, 2vw, 18px);
    color: #1C326B;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dc-hs-image-wrapper {
    position: relative;
    width: 100%;
}

.dc-hs-image-container {
    /*position: relative;*/
    width: 100%;
    /*padding-bottom: 56.25%;*/ /* 16:9 aspect ratio */
    min-height: 300px; /* Minimum height for very small screens */
}

    .dc-hs-image-container img {
        /*position: absolute;
            top: 0;
            left: 0;*/
        width: 100%;
        height: auto;
        /*object-fit: cover;*/
    }

/* ===================================
           DESKTOP HOTSPOT STYLES (1024px+)
           =================================== */

.dc-hs-wrapper {
    position: absolute;
    z-index: 10;
    transition: z-index 0s 0.3s;
}

    .dc-hs-wrapper.dc-hs-active {
        z-index: 100;
        transition: z-index 0s 0s;
    }

/* Desktop Hotspot Button */
.dc-hs-button {
    width: 30px;
    height: 30px;
    background: #FF8201;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    position: relative;
}

    /* Pulsing effect for desktop */
    .dc-hs-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: #FF8201;
        opacity: 0.6;
        animation: dc-hs-pulse-desktop 2.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
        z-index: -1;
    }

.dc-hs-icon {
    font-size: 25px;
}

@keyframes dc-hs-pulse-desktop {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.dc-hs-button:hover {
    box-shadow: 0 6px 24px rgba(255, 130, 1, 0.4);
    transform: translate(-50%, -50%) scale(1.08);
}

    .dc-hs-button:hover::before {
        animation: none;
    }

.dc-hs-icon::before {
    content: '+';
    transition: transform 0.3s ease;
    display: block;
    color: white;
}

.dc-hs-button:hover .dc-hs-icon::before {
    transform: rotate(90deg);
}

.dc-hs-button.dc-hs-active {
    background: #ff8533;
}

    .dc-hs-button.dc-hs-active::before {
        animation: none;
        opacity: 0;
    }

    .dc-hs-button.dc-hs-active .dc-hs-icon::before {
        transform: rotate(45deg);
    }

/* Tooltip Popup */
.dc-hs-tooltip {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    min-width: 300px;
    max-width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

    .dc-hs-tooltip.dc-hs-visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        pointer-events: auto;
    }

    /* Tooltip positioning */
    .dc-hs-tooltip.dc-hs-position-top {
        bottom: 70px;
        left: 0%;
        transform: translateX(-50%) scale(0.95);
    }

        .dc-hs-tooltip.dc-hs-position-top.dc-hs-visible {
            transform: translateX(-50%) scale(1);
        }

    .dc-hs-tooltip.dc-hs-position-bottom {
        top: 40px;
        left: 0%;
        transform: translateX(-50%) scale(0.95);
    }

        .dc-hs-tooltip.dc-hs-position-bottom.dc-hs-visible {
            transform: translateX(-50%) scale(1);
        }

    .dc-hs-tooltip.dc-hs-position-left {
        right: 70px;
        top: 440%;
        transform: translateY(-50%) scale(0.95);
    }

        .dc-hs-tooltip.dc-hs-position-left.dc-hs-visible {
            transform: translateY(-50%) scale(1);
        }

    .dc-hs-tooltip.dc-hs-position-right {
        left: 40px;
        top: 300%;
        transform: translateY(-50%) scale(0.95);
    }

        .dc-hs-tooltip.dc-hs-position-right.dc-hs-visible {
            transform: translateY(-50%) scale(1);
        }

/* Tooltip arrow */
.dc-hs-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Top position: arrow at bottom pointing down - in white text area */
.dc-hs-tooltip.dc-hs-position-top .dc-hs-arrow {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px 12px 0 12px;
    border-color: white transparent transparent transparent;
}

/* Bottom position: arrow at top pointing up - in blue header area */
.dc-hs-tooltip.dc-hs-position-bottom .dc-hs-arrow {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 12px 12px;
    border-color: transparent transparent #1C326B transparent;
}

/* Left position: arrow at right pointing right - in blue header area */
.dc-hs-tooltip.dc-hs-position-left .dc-hs-arrow {
    right: -12px;
    top: 20px; /* Position in header area */
    transform: translateY(0);
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent #1C326B;
}

/* Right position: arrow at left pointing left - in blue header area */
.dc-hs-tooltip.dc-hs-position-right .dc-hs-arrow {
    left: -12px;
    top: 20px; /* Position in header area */
    transform: translateY(0);
    border-width: 12px 12px 12px 0;
    border-color: transparent #1C326B transparent transparent;
}

.dc-hs-content {
    padding: 0;
}

.dc-hs-tooltip-title {
    background: #1C326B;
    color: white;
    padding: 15px;
    font-size: 20px;
    text-align: center;
    margin: 0;
    font-family: "Myriad Pro", sans-serif;
}

.dc-hs-tooltip-text {
    padding: 15px;
    color: #4d4d4d;
    font-size: 18px;
    line-height: 1.5;
    background: white;
    margin: 0;
}

.dc-hs-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    transition: all 0.2s ease;
    font-weight: 300;
    display: none;
}

    .dc-hs-close-btn:hover {
        background: rgba(255, 255, 255, 0.15);
    }

/* ===================================
           MOBILE STYLES (below 1024px)
           =================================== */

/* Mobile numbered markers - hidden by default */
.dc-hs-number {
    display: none;
    width: 30px;
    height: 30px;
    background: #FF8201;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 130, 1, 0.6);
    animation: dc-hs-pulse 2.5s infinite;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    /* Increase tap target size for mobile */
    position: relative;
}

    /* Invisible tap area for better mobile usability */
    .dc-hs-number::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        /* Invisible but tappable */
    }

    .dc-hs-number.dc-hs-active {
        animation: none;
        box-shadow: 0 6px 20px rgba(255, 130, 1, 0.5), 0 0 0 10px rgba(255, 130, 1, 0.15);
        transform: translate(-50%, -50%) scale(1.15);
    }

@keyframes dc-hs-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 130, 1, 0.6);
    }

    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 14px rgba(255, 130, 1, 0);
    }
}

/* Info panel below image - hidden by default */
.dc-hs-panel {
    display: none;
    background: #f8fafc;
    padding: 40px 20px;
    border-top: 4px solid #FF8201;
    position: relative;
    margin-top: 25px;
}

    /* Scroll hint for mobile - subtle indicator */
    .dc-hs-panel::before {
        content: '↓ Solution details below ↓';
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: #FF8201;
        color: white;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        display: none;
    }

@media (max-width: 1023px) {
    .dc-hs-panel::before {
        display: block;
    }
}

/* Show hint when a solution is first activated */
.dc-hs-panel.dc-hs-show-hint::before {
    opacity: 1;
    animation: dc-hs-fadeOutHint 3s forwards;
}

@keyframes dc-hs-fadeOutHint {
    0%, 70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.dc-hs-panel-inner {
    max-width: 800px;
    margin: 0 auto;
}

.dc-hs-solution {
    display: none;
}

    .dc-hs-solution.dc-hs-active {
        display: block;
    }

    .dc-hs-solution h3 {
        color: #1C326B;
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .dc-hs-solution p {
        color: #4d4d4d;
        font-size: 18px;
        line-height: 1.5;
    }

.dc-hs-solution-num {
    display: inline-block;
    background: #FF8201;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}

.dc-hs-empty {
    text-align: center;
    color: #64748b;
    font-size: 17px;
    padding: 60px 20px;
}

    .dc-hs-empty.dc-hs-hidden {
        display: none;
    }

/* Mobile backdrop */
.dc-hs-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
}

    .dc-hs-backdrop.dc-hs-active {
        display: block;
    }

/* ===================================
           RESPONSIVE BREAKPOINTS
           =================================== */

/* Desktop and iPad Pro (1024px and up) */
@media (min-width: 1024px) {
    .dc-hs-button {
        display: flex;
    }

    .dc-hs-number {
        display: none;
    }

    .dc-hs-panel {
        display: none;
    }

    .dc-hs-image-container {
        overflow: visible;
    }
}

/* Tablet and Mobile (below 1024px) */
@media (max-width: 1023px) {
    .dc-hs-button {
        display: none;
    }

    .dc-hs-number {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dc-hs-tooltip {
        display: none !important;
    }

    .dc-hs-panel {
        display: block;
    }

    .dc-hs-image-container {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .dc-hs-section {
        padding: 40px 15px;
    }

    .dc-hs-number {
        width: 30px;
        height: 30px;
        font-size: 18px;
        border-width: 3px;
    }

    .dc-hs-panel {
        padding: 30px 20px;
    }

    .dc-hs-close-btn {
        display: block;
    }
}

/* Extra small screens (480px and below) */
@media (max-width: 480px) {
    .dc-hs-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .dc-hs-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .dc-hs-number {
        width: 30px;
        height: 30px;
        font-size: 16px;
        border-width: 3px;
    }

    .dc-hs-panel {
        padding: 25px 15px;
    }

    .dc-hs-solution h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .dc-hs-solution p {
        font-size: 16px;
        line-height: 1.5;
    }

    .dc-hs-solution-num {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* Ultra small screens (375px and below) */
@media (max-width: 375px) {
    .dc-hs-section {
        padding: 30px 10px;
    }

    .dc-hs-title {
        font-size: 22px;
    }

    .dc-hs-description {
        font-size: 14px;
    }

    .dc-hs-number {
        width: 30px;
        height: 30px;
        font-size: 15px;
        border-width: 2px;
    }

    .dc-hs-panel {
        padding: 20px 12px;
    }

    .dc-hs-solution h3 {
        font-size: 18px;
    }

    .dc-hs-solution p {
        font-size: 16px;
    }

    .dc-hs-empty {
        font-size: 15px;
        padding: 40px 15px;
    }
    /* Add horizontal padding to image container on smallest screens */
    .dc-hs-image-wrapper {
        padding: 0 10px;
    }
    /* Ensure image doesn't touch edges */
    .dc-hs-image-container {
        min-height: 250px;
    }
}

/* Minimum viable screen (320px) */
@media (max-width: 320px) {
    .dc-hs-section {
        padding: 25px 8px;
    }

    .dc-hs-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .dc-hs-description {
        font-size: 13px;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .dc-hs-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

        .dc-hs-number::after {
            width: 30px;
            height: 30px;
        }

    .dc-hs-panel {
        padding: 18px 10px;
        margin-top: 25px;
    }

    .dc-hs-solution h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .dc-hs-solution p {
        font-size: 16px;
        line-height: 1.5;
    }

    .dc-hs-solution-num {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 16px;
        margin-bottom: 12px;
    }

    .dc-hs-image-wrapper {
        padding: 0 8px;
    }

    .dc-hs-image-container {
        min-height: 220px;
    }
    /* Adjust scroll hint for smallest screens */
    .dc-hs-panel::before {
        font-size: 11px;
        padding: 5px 12px;
        top: -28px;
    }
}