﻿/*==== Styles for Home Page====*/
.blazorbootstraplayout.content-section {
    overflow-y: visible !important;
    height: auto !important;
}

.bb-scrollbar.p4 {
    padding: 0.1rem;
}

.carousel {
    justify-items: center !important;
}

.carousel-item {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
}
.separator{
    border-right:2px solid gray;
}
.banner-img {
    max-width: 100%;
    height: auto;
}
/*===swiper customization====*/
/* Hide buttons by default */
.swiper-button-next-overview,
.swiper-button-prev-overview {
    color: #ccc; /* light grey */
    opacity: 0 !important; /* invisible initially */
    transition: opacity 0.2s; /* smooth fade */
    z-index: 10; /* keep above cards */
}

/* Show buttons when hovering over swiper */
.swiper:hover .swiper-button-next-overview,
.swiper:hover .swiper-button-prev-overview {
    opacity: 0.75 !important;
}

/* Optional: adjust position so they don’t overlap card content */
.swiper-button-next-overview {
    right: 10px; /* move slightly inward */
}

.swiper-button-prev-overview {
    left: 10px; /* move slightly inward */
}

.swiper-button-next-overview.swiper-button-disabled,
.swiper-button-prev-overview.swiper-button.disabled
{
    opacity:0 !important;
}
.swiper-button-next-AppSwiper,
.swiper-button-prev-AppSwiper {
    color: #ccc; /* light grey */
    opacity: 0 !important; /* invisible initially */
    transition: opacity 0.2s; /* smooth fade */
    z-index: 10; /* keep above cards */
}

/* Show buttons when hovering over swiper */
.swiper:hover .swiper-button-next-AppSwiper,
.swiper:hover .swiper-button-prev-AppSwiper {
    opacity: 0.75 !important;
}

/* Optional: adjust position so they don’t overlap card content */
.swiper-button-next-AppSwiper {
    right: 10px; /* move slightly inward */
}

.swiper-button-prev-AppSwiper {
    left: 10px; /* move slightly inward */
}

    .swiper-button-next-AppSwiper.swiper-button-disabled,
    .swiper-button-prev-AppSwiper.swiper-button.disabled {
        opacity: 0 !important;
    }

.swiper-button-next-LN,
.swiper-button-prev-LN {
    color: #ccc; /* light grey */
    opacity: 0 !important; /* invisible initially */
    transition: opacity 0.2s; /* smooth fade */
    z-index: 10; /* keep above cards */
}

/* Show buttons when hovering over swiper */
.swiper:hover .swiper-button-next-LN,
.swiper:hover .swiper-button-prev-LN {
    opacity: 0.75 !important;
}

/* Optional: adjust position so they don’t overlap card content */
.swiper-button-next-LN {
    right: 10px; /* move slightly inward */
}

.swiper-button-prev-LN {
    left: 10px; /* move slightly inward */
}

.swiper-button-next-LN.swiper-button-disabled,
.swiper-button-prev-LN.swiper-button.disabled {
    opacity: 0 !important;
}

/* Overview card text and image sizing */
.overview-card-img {
    height: auto; /* keeps aspect ratio */
    display: block; /* removes inline spacing */
    max-width: 100%; /* prevents overflow on small screens */
    margin: 0 auto; /* centers the image horizontally */
    aspect-ratio: 1.618 / 1; /* keeps consistent proportions , asthetics*/
    padding: 0.25rem;
}

.overview-card-text {
    display: -webkit-box; /* enables flexbox for line clamping */
    -webkit-line-clamp: 3; /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* hide extra text */
    text-overflow: ellipsis; /* add ... at the end */
    margin: 0 auto; /* centers the text block */
    text-align: justify; /* centers the text inside */
}

.overview-title {
    font-size: 16px;
    color: #0087dc;
    font-weight: bold;
    margin: 0 auto; /* centers the title block */
    text-align: left; /* centers the text inside */
}

.overview-title-pad {
    padding: 2.0rem 0.1rem 2.0rem 0.1rem !important;
}

    .overview-title-pad-sm {
        padding: 0.2rem !important;
    }

.overview-card {
    width: 100%; /* scales with parent */
    margin: 0 auto;
}
/*transition effects for overview card*/
.overview-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 5; /* ensures the hovered card stays above others */
}
.overview-card-swiper{
    padding: 1rem !important;
}
/* Mobile Apps Card*/

/* Overview card text and image sizing */
.mobile-apps-card-img {
    height: auto; /* keeps aspect ratio */
    display: block; /* removes inline spacing */
    max-width: 100%; /* prevents overflow on small screens */
    margin: 0 auto; /* centers the image horizontally */
    aspect-ratio: 1.618 / 1; /* keeps consistent proportions , asthetics*/
    padding: 0.25rem;
}

.mobile-apps-card-text {
    display: -webkit-box; /* enables flexbox for line clamping */
    -webkit-line-clamp: 3; /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* hide extra text */
    text-overflow: ellipsis; /* add ... at the end */
    margin: 0 auto; /* centers the text block */
    text-align: justify; /* centers the text inside */
}

.overview-title {
    font-size: 16px;
    color: #0087dc;
    font-weight: bold;
    margin: 0 auto; /* centers the title block */
    text-align: left; /* centers the text inside */
}

.overview-title-pad {
    padding: 2.0rem 0.1rem 2.0rem 0.1rem !important;
}

.overview-title-pad-sm {
    padding: 0.2rem !important;
}

.mobile-apps-card {
    width: 100%; /* scales with parent */
    margin: 0 auto;
    max-width:220px !important;
}
/*transition effects for overview card*/
.mobile-apps-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-apps-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 5; /* ensures the hovered card stays above others */
}

.mobile-apps-card-swiper {
    padding: 1rem !important;
}
.swiper-pagination-AppSwiper {
    text-align: center;
    margin-top: 10px;
}

.swiper-pagination-bullet {
    background: #00A0E9; /* your theme color */
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #005f99;
}

/*ends*/
.download-page-apps-swiper
{
    padding: 1rem !important;
}
.runway-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* allows stacking on small screens */
    justify-content: space-between;
    align-items: stretch; /* ensures equal height columns */
}

.image-col {
    flex: 0 0 60%;
    max-width: 60%;
    border-right: 2px solid #ccc; /* border between image and content */
    padding-right: 1rem;
}

.content-col {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 15px;
}

/* Image styling */
.image-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .image-col, .content-col {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none; /* border between image and content */
        padding-bottom: 1rem;
        border-bottom: 2px solid #ccc; /* border between image and content */
        padding-right: 0;
    }

    .content-col {
        margin-top: 15px; /* spacing between image and text */
    }
}
.button-group-rt {
    display: flex;
    justify-content: flex-end; /* push buttons to the right */
    align-items: flex-end; /* align them to the bottom */
    gap: 1rem; /* space between buttons */
    margin-top: auto; /* ensures it sticks to bottom if inside flex parent */
}