.card-p {
    padding-left: 30px;
    justify-content: center;
}

.total-c-card-detail h4 {
    color: #213740;
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
}

.total-c-card-detail p {
    color: #ffffff;
    font-size: 60px;
    font-weight: 600;
    margin-top: 12px;

}

.total-course-holder {
    background-color: #4384B0;
}

.slider_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Large Screens (Desktop) */
@media (min-width: 1025px) {
    .slider_img {
        height: 80vh;
    }
}

/* Tablets (between 768px and 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider_img {
        height: auto;
    }
}

/* Medium Devices (between 481px and 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .slider_img {
        height: auto;
    }
}

/* Small Devices (<= 480px) */
@media (max-width: 480px) {
    .slider_img {
        height: auto;
    }
}

/* Optional padding fix for very small devices */
@media (max-width: 450px) {
    .card-p {
        padding-left: 0px !important;
    }
}

@media (min-aspect-ratio: 3/4) and (max-width: 1600px) and (min-height: 1400px) {
    .slider_img {
        height: auto;
        object-fit: contain;
        background-color: #000;
        /* Optional: for black bars */
    }
}


.banner-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Yeh screen ki poori height lega */
    overflow: hidden;
    background: black;
    /* Extra space ko fill karne ke liye black background */
}

#bannerVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    /* Full width maintain kare */
    min-height: 100%;
    /* Full height maintain kare */
    transform: translate(-50%, -50%);
    /* Center align kare */
}

.infographic-wrapper {
    background: white;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 40px;
    max-width: 1200px;
    margin: 60px auto 100px;
    position: relative;
}

.infographic-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.infographic-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.step-container {
    margin-top: -100px;
}

.step-box {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-icon-outer {
    background: white;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    position: relative;
    z-index: 10;
}

.step-icon-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector {
    width: 2px;
    height: 30px;
    background: black;
    margin: 10px auto;
}

.step-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.step-red .step-title {
    color: #f94144;
}

.step-purple .step-title {
    color: #7b2cbf;
}

.step-blue .step-title {
    color: #277da1;
}

@media (max-width: 768px) {
    .step-container {
        margin-top: -70px;
    }

    .step-icon-outer {
        width: 100px;
        height: 100px;
    }

    .step-icon-inner {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}


.stepBox {
    position: relative;
    background: white;
    padding: 40px 30px 30px 100px;
    margin: 30px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 220px;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 100px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

.step-number.primaryColor {
    color: #0b4d70;
    text-shadow: -1px 0 #0b4d70, 0 1px #0b4d70, 1px 0 #0b4d70, 0 -1px #0b4d70;
}

.step-number.secondryColor {
    color: #efb957;
    text-shadow: -1px 0 #efb957, 0 1px #efb957, 1px 0 #efb957, 0 -1px #efb957;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.border-rounded-left {
    border: 5px solid #0b4d70;
    border-radius: 30px 0 30px 30px;
}

.border-rounded-mid {
    border: 5px solid #efb957;
    border-radius: 30px 0 30px 30px;
}

.border-rounded-right {
    border: 5px solid #0b4d70;
    border-radius: 30px 30px 30px 0;
}

.step-title {
    font-weight: bold;
}


.border-rounded-left:hover {
    background: #0b4d70b8;
    color: #FFF !important;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(22, 22, 26, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s
}

.border-rounded-left:hover .primaryColor {
    color: #FFF !important;
}

.border-rounded-mid:hover {
    background: #efb957b8;
    color: #FFF !important;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(22, 22, 26, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s
}

.border-rounded-mid:hover .secondryColor {
    color: #FFF !important;
}

.border-rounded-right:hover {
    background: #0b4d70b8;
    color: #FFF !important;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(22, 22, 26, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s
}

.border-rounded-right:hover .primaryColor {
    color: #FFF !important;
}