﻿/* ============================================================================
   NON-CRITICAL CSS - LOAD ASYNCHRONOUSLY
   ============================================================================ */

/* Background classes */
.section-bg-white {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

.section-bg-light {
    background-color: #f6f6f6;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Carousel Styles */
.slide-wrapper {
    text-align: center;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: 1px solid var(--primary);
    box-shadow: 2px 1px 2px 1px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

    .thumbnail img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
    }

    .thumbnail p {
        padding: 2px 20px;
        text-align: left;
    }

.carousel-control.right,
.carousel-control.left {
    background-image: none;
    color: #bf1303;
}

.carousel-indicators li {
    border-color: #bf1303;
}

    .carousel-indicators li.active {
        background-color: #bf1303;
    }

/* History Container */
#historyContainer {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    #historyContainer li {
        float: left;
        padding: 5px;
    }

/* Icon Box Styles */
.icon-container {
    margin-top: 30px;
    margin-bottom: 10px;
}

.icon-box {
    background-color: white;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .icon-box .icon-img {
        transition: transform 0.4s ease;
    }

    .icon-box:hover .icon-img {
        transform: rotate(10deg);
    }

    .icon-box:hover {
        transform: translateY(-15px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

/* Feature Badge */
.feature-badge {
    position: absolute;
    top: -55px;
    right: -5px;
    width: 100px;
    height: 100px;
    background: #555;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

/* Divider & Links */
.divider2 {
    width: 1px;
    background: #ccc;
    height: 180px;
    margin: auto;
}

.animated-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

    .animated-link .arrow {
        transition: transform 0.3s ease;
    }

    .animated-link:hover .arrow {
        transform: translateX(6px);
    }

    .animated-link:hover {
        color: var(--secondary);
    }

/* Image Effects */
.img-shadow {
    width: 95%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08), 0 40px 80px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .img-shadow:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 50px 100px rgba(0, 0, 0, 0.15);
    }

/* Typography */
.p-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Process Styles */
.process ul {
    margin-top: -10px;
    margin-bottom: 10px;
}

.process h5 {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 10px;
}

    .process h5 span {
        font-weight: bold;
        color: var(--primary);
    }

/* Responsive Styles */
@media (max-width: 991px) {
    .h-md-100 {
        height: auto !important;
    }

    .res_header {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .icon-box {
        margin-bottom: 25px;
        padding: 30px 15px;
    }

    .divider2 {
        display: none;
    }

    .feature-badge {
        position: relative;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        margin: -40px auto 20px;
        transform: none;
    }

    .img-shadow {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .res_header {
        font-size: 20px;
    }

    .feature-badge {
        width: 70px;
        height: 70px;
        font-size: 11px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .icon-box,
    .icon-box .icon-img,
    .animated-link .arrow,
    .img-shadow {
        transition: none !important;
    }

        .icon-box:hover {
            transform: none !important;
        }
}
