.border-custom {
    border-top: 4px solid lightgreen;
}

/* Enhanced styles for counter section */
.counter-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #f8b92df2;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.single-counter-item {
    position: relative;
}

.count-number {
    /* font-size: 2rem; */
    font-weight: 700;
    background: linear-gradient(45deg, #2563EB, #1E40AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.counts {
    /* font-size: 2rem; */
    font-weight: 700;
    background: linear-gradient(45deg, #2563EB, #1E40AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.text-dark.mb-0 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-6 {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.color-6 i {
    color: white;
    font-size: 14px;
}

/* Add subtle animation to arrow */
@keyframes floatUp {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

.fa-arrow-up {
    animation: floatUp 2s ease-in-out infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .counter-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .count-number {
        font-size: 1.75rem;
    }
}

.aboutus-text {
    position: absolute;
    left: -15%;
    top: 88%;
    transform: translateY(-50%);
    background: rgb(240, 239, 242);
    padding: 5px 25px;
    border-radius: 4px;
    animation: floatText 3s ease-in-out infinite;
    z-index: 1;
    text-align: left;
    border-left: 4px solid #7318c5;

}

.aboutus-text p {
    color: black;
    margin: 0;
    line-height: 1;
}

.years-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.text-line {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.excellence {
    color: #ffd700;
}

@keyframes floatText {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-60%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .program-pic {
        display: none;
    }

    .aboutus-text {
        left: 0;
        padding: 12px 20px;
    }

    .years-number {
        font-size: 2rem;
    }

    .text-line {
        font-size: 0.9rem;
    }
}

.about-image-container {
    position: relative;
    display: inline-block;
}

.img-fluid {
    max-height: 418px;
    object-fit: cover;
    border-radius: 8px;
}

.img-fluid-aboutus {
    height: 60%;
    border-radius: 10px;
}

.img-fluid1 {
    width: 100%;
}

.schedulebtn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4f1bc5;
    background: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.schedulebtn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.curriculum-card {
    border-radius: 8px;
    border: 2px solid #7318c5;
}

.launch-btn {
    position: relative;
    color: white;
    background-color: #7318c5;
    margin-top: 2%;
    width: 50%;
    border-radius: 5px;
    height: 20%;
    padding: 12px 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 2px solid #7318c5;
    animation: pulse 2s infinite;
}

/* Pulsing animation for the button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 8px 15px rgba(0, 0, 255, 0.2);
    }

    100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.launchs-btn::after {
    content: 'NEW';
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: #ff4444;
    color: white;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

/* Blinking animation for the NEW label */
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.launch-btn:hover {
    background-color: white;
    color: navy;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.launch-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Default styles for the toggle button */
.navbar-toggler {
    position: relative;
}

/* NEW indicator for mobile devices only */
@media screen and (max-width: 768px) {
    .navbar-toggler::after {
        content: 'NEW';
        position: absolute;
        top: -8px;
        right: -8px;
        background-color: #ff4444;
        color: white;
        padding: 2px 6px;
        border-radius: 10px;
        font-size: 0.7em;
        font-weight: bold;
        animation: blink 1.5s infinite;
    }
    

    @keyframes blink {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0.3;
        }

        100% {
            opacity: 1;
        }
    }

    .launchs-btn::after {
        content: 'NEW';
        position: absolute;
        top: 11px;
        right: 220px;
        background-color: #ff4444;
        color: white;
        padding: 2px 5%;
        border-radius: 12px;
        font-size: 0.8em;
        font-weight: bold;
        animation: blink 1.5s infinite;
    }
}

/* Hide NEW indicator on desktop */
@media screen and (min-width: 769px) {
    .navbar-toggler::after {
        display: none;
    }
}

#preloader {
    position: fixed;
    /* This is key for full screen centering */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 9999;
    /* Ensures it stays on top of other content */
}

.preloader-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.preloader-wrap::before,
.preloader-wrap::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.preloader-wrap::before {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid transparent;
    border-top: 3px solid #3498db;
    animation: spin 1s linear infinite;
}

.preloader-wrap::after {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid transparent;
    border-top: 3px solid #e74c3c;
    animation: spin 0.75s linear infinite reverse;
}

.preloader-wrap img {
    position: relative;
    z-index: 2;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 9999;
}

.preloader-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    /* Method 1: Using margin to adjust */
    margin-bottom: 200px;
    /* Adjust this value to move up/down */
    margin-right: 100px;
    /* Adjust this value to move left/right */

    /* OR Method 2: Using transform to adjust */
    transform: translate(-50px, -100px);
    /* First value moves left/right, second value moves up/down */

    /* OR Method 3: Using  relative adjustment */
    position: relative;
    top: -100px;
    /* Negative value moves up, positive moves down */
    left: 70px;
    /* Negative value moves left, positive moves right */
}