/* About Us Section - home1/about.php */

/* About Us Section Clickable Link */
.sec-title > a {
    transition: all 0.3s ease;
}

.sec-title > a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.sec-title > a:hover h2 {
    color: rgb(24, 78, 80);
}

/* Factory converted info-box icon hover color */
.about-section .content-column .info-box:nth-child(2):hover .title-box .icon,
.about-section .content-column .info-box:nth-child(2) .title-box:hover .icon {
    color: rgb(24, 78, 80) !important;
    transition: color 0.3s ease;
}

/* Bottom box full width for marquee */
.about-section .content-column .bottom-box {
    width: 100%;
    display: flex;
    position: relative;
}

.about-section .content-column .bottom-box .info-btn-marquee {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    flex-wrap: wrap;
    padding-left: 0;
}

/* Icon always fully visible - override theme absolute, no clip */
.about-section .content-column .bottom-box .info-btn-marquee .icon {
    flex-shrink: 0;
    position: relative;
    left: auto;
    margin-right: 12px;
}

/* About Us call number: black text, no background on box */
.about-section .info-btn-marquee .invest-call-number {
    color: #000 !important;
}

/* About Us WhatsApp icon: gold default, teal on hover */
.about-section .info-btn-marquee .about-whatsapp-icon,
.about-section .info-btn-marquee .icon.fa-whatsapp {
    color: rgb(218, 161, 76) !important;
    transition: color 0.3s ease;
}
.about-section .info-btn-marquee:hover .about-whatsapp-icon,
.about-section .info-btn-marquee:hover .icon.fa-whatsapp {
    color: rgb(24, 78, 80) !important;
}

/* Stack: marquee on top, number below */
.invest-call-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

/* Investment Call Marquee Animation - seamless loop, always visible */
.invest-call-animated {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.invest-call-animated .marquee-inner {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeMoveSeamless var(--marquee-duration, 25s) linear infinite;
}

.invest-call-animated .marquee-content {
    display: inline-block;
    color: #000;
    font-family: var(--title-font, inherit);
    font-size: var(--h5-font-size, 1.25rem);
    line-height: var(--line-height-heading-small, 1.4);
    letter-spacing: 0.15px;
    white-space: nowrap;
    padding-right: 60px; /* gap between repetitions - must match dup for seamless loop */
}

.invest-call-animated .marquee-content--dup {
    padding-right: 60px; /* same as first - required for seamless loop (no jump) */
}

@keyframes marqueeMoveSeamless {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Optimization - Center All Content & Full Width Marquee */
@media (max-width: 575.98px) {
    .about-section .content-column .info-box {
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .about-section .content-column .info-box .title-box {
        margin-bottom: 12px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .about-section .content-column .info-box .title-box .icon {
        margin-bottom: 6px !important;
        font-size: 45px !important;
    }

    .about-section .content-column .info-box .title-box .title {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-section .content-column .bottom-box {
        gap: 15px !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-section .content-column .info-btn {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-left: 0 !important;
    }

    .about-section .content-column .info-btn .icon {
        position: relative !important;
        margin-bottom: 8px !important;
    }

    .about-section .content-column .bottom-box .info-btn-marquee {
        flex-direction: column !important;
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .about-section .content-column .bottom-box .info-btn-marquee .icon {
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }

    .invest-call-stack {
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .invest-call-animated {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .invest-call-animated .marquee-inner {
        animation: marqueeMoveSeamless var(--marquee-duration, 25s) linear infinite !important;
    }

    .invest-call-animated .marquee-content {
        padding-right: 60px !important;
    }
}

/* About section layout — image stays moderate size but flush to the right */
.about-section .auto-container > .row {
    align-items: center;
}
.about-section .image-column .inner-column {
    padding-left: 24px !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    display: flex;
    justify-content: flex-end;
}
.about-section .image-column .inner-column .image-box {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
}
.about-section .about-main-figure {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 435 / 485;
    margin: 0 0 0 auto;
    line-height: 0;
    visibility: visible !important;
    overflow: hidden;
    border-radius: 4px;
}

.about-section .image .desktop-image-1,
.about-section .image .mobile-image-1 {
    visibility: visible !important;
}

.about-section .image .desktop-image-1 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
}

.about-section .image .mobile-image-1 {
    display: none;
}

/* Mobile: show only one image (banner) – hide desktop image so two images never show */
@media (max-width: 768px) {
    .about-section .image-column .inner-column {
        padding-left: 0 !important;
        justify-content: center;
    }
    .about-section .image-column .inner-column .image-box,
    .about-section .about-main-figure {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        aspect-ratio: 3 / 2;
    }
    .about-section .image .mobile-image-1 {
        display: block !important;
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
        visibility: visible !important;
    }

    .about-section .image .desktop-image-1 {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}
