/*
   Author: Glacies UG
*/
body {
    font-family: helvetica neue,Helvetica,Arial,sans-serif !important;
}

.btn-ice {
    background-color: #0c6980 !important;
    border-color: #0c6980 !important;
}

.text-ice{
    color: #0c6980 !important;
}

.markdown img {
    width: 100%;
}

/* Reduced Header Height */
.bg-half-170 {
    padding: 80px 0 60px 0;
    overflow: visible;
}

.bg-half-170 .title-heading h1.display-4 {
    font-size: 3.4rem;
    line-height: 1.3;
}

.bg-half-170 #cloud-container {
    position: relative;
    z-index: 10;
}

.bg-half-170 + .position-relative {
    margin-top: 60px;
}

@media (max-width: 991px) {
    .bg-half-170 .title-heading h1.display-4 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .bg-half-170 {
        padding: 60px 0 40px 0;
    }
    .bg-half-170 .title-heading h1.display-4 {
        font-size: 1.8rem;
    }
    .bg-half-170 + .position-relative {
        margin-top: 40px;
    }
}

/* Feature Showcase Component */
.feature-showcase {
    padding: 40px 0;
}

.feature-showcase__images {
    position: relative;
    min-height: 400px;
}

.feature-showcase__image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.feature-showcase__image-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.feature-showcase__image-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-showcase__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-showcase__tab {
    position: relative;
    padding: 16px 20px;
    padding-left: 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.feature-showcase__tab:hover {
    background: #f8f9fa;
}

.feature-showcase__tab.active {
    background: #f0f9ff;
}

.feature-showcase__tab-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.feature-showcase__tab-progress-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #0c6980 0%, #0a5568 100%);
    transition: height 0.1s linear;
}

.feature-showcase__tab.active .feature-showcase__tab-progress-fill {
    animation: progressFill 5s linear forwards;
}

.feature-showcase__tab-content {
    padding-left: 8px;
}

.feature-showcase__tab-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.feature-showcase__tab.active .feature-showcase__tab-title {
    color: #0c6980;
}

.feature-showcase__tab-desc {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.feature-showcase__tab.active .feature-showcase__tab-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

@keyframes progressFill {
    0% { height: 0; }
    100% { height: 100%; }
}

@media (max-width: 768px) {
    .feature-showcase__images {
        min-height: 250px;
        margin-bottom: 30px;
    }
    .feature-showcase__tab-title {
        font-size: 18px;
    }
    .feature-showcase__tab-desc {
        font-size: 16px;
    }
}

/* Consistent Typography */
h4.title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
}

h5, .card-body h5 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.para-desc, .text-muted.para-desc {
    font-size: 17px;
    line-height: 1.6;
}

.card-body .para, .card-body p.para {
    font-size: 16px;
    line-height: 1.6;
}

/* Wider section description text */
.section-title .para-desc {
    max-width: 900px;
}

/* Product Cards */
.product-card {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.product-card__features {
    flex-grow: 1;
    margin-bottom: 24px;
}

.product-card__features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #6c757d;
}

.product-card__features li span {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.4;
}

.product-card__actions {
    text-align: center;
    padding-top: 16px;
}

.btn-outline-ice {
    color: #0c6980;
    border-color: #0c6980;
    background-color: transparent;
}

.btn-outline-ice:hover {
    color: #fff;
    background-color: #0c6980;
    border-color: #0c6980;
}

@media (max-width: 768px) {
    .product-cards .col-12 {
        margin-bottom: 20px;
    }
    .product-card__title {
        font-size: 18px;
    }
    .product-card__features li {
        font-size: 16px;
    }

    /* Responsive Typography */
    h4.title {
        font-size: 22px;
    }
    h5, .card-body h5 {
        font-size: 18px;
    }
    .para-desc, .text-muted.para-desc {
        font-size: 16px;
    }
    .card-body .para, .card-body p.para {
        font-size: 16px;
    }
}