/* CSS */
.button-62 {
    background: linear-gradient(to bottom right, #136ad5, #00aeff);
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2.5;
    outline: transparent;
    padding: 0 1rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.2s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
}

.button-62:not([disabled]):focus {
    box-shadow: 0 0 0.17rem rgba(0, 0, 0, 0.5),
        -0.117rem -0.125rem 1rem #136ad57e, 0.125rem 0.125rem 1rem #00aeff63;
}

.button-62:not([disabled]):hover {
    box-shadow: 0 0 0.17rem rgba(0, 0, 0, 0.5), -0.117rem -0.125rem 1rem #136ad5,
        0.125rem 0.125rem 1rem #00aeff;
}

ul {
    list-style: none;
}

.footer {
    background-color: #283646;
    padding: 70px 0;
}

.footertextsub {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #136ad5;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

ol,
ul {
    padding-left: 0rem;
}

.footer .input {
    background: #2c3e50;
    border: none;
    padding: 10px;
    color: white;
}

.footer input::placeholder {
    color: #ccc;
}

.title-white {
    color: white;
}

.title-black {
    color: black;
}

/* Overlay container */
.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 60px;
    font-weight: bold;
    opacity: 0;
    animation: fadeSlide 1.5s ease-in-out forwards;
}

/* Animation: Fade-in & Slide-up */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive text size */
@media (max-width: 768px) {
    .carousel-caption-custom {
        font-size: 1.5rem;
    }
}

.footer-col form {
    display: flex;
    gap: 5px;
}

.footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid #7489c6;
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
}

.footer-col input::placeholder {
    color: #ccc;
}

.footer-col form button {
    background: #fff;
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.margintop {
    margin-top: 130px;
}

@media (max-width: 600px) and (min-width: 320px) {
    .margintop {
        margin-top: 50px;
    }
}

.logos-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0,
        #000 15%,
        #000 85%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0,
        #000 15%,
        #000 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

.logos-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    animation: slide 30s linear infinite;
}

.logos-slider-container img {
    width: 150px;
    max-width: 150px;
}

@keyframes slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.stats-section {
    background-color: #136ad5;
    /* Dark background */
    color: white;
    padding: 67px 20px;
    text-align: center;
}

.stat {
    font-size: 24px;
}

.number {
    font-size: 40px;
    font-weight: bold;
}

.commitment-section {
    text-align: center;
    margin-top: 100px;
}

.commitment-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.icon-containerr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    position: relative;
}

.commitment {
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    position: relative;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.line {
    width: 50px;
    height: 2px;
    background: black;
}

/* Icon Animation */
.animated-icon {
    font-size: 24px;
    color: #333;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Hover Effect */
.animated-icon:hover {
    color: #007bff;
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

.icon {
    font-size: 2rem;
    color: #333;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

.navbar {
    background-color: #007bff;
    /* Blue background */
}

.navbar-brand {
    font-weight: bold;
    color: #fff;
    font-size: 1.5rem;
}

.navbar-brand span {
    font-size: 0.7rem;
    display: block;
    color: #ddd;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ffdd57;
    /* Yellow hover effect */
}

.image-box {
    position: relative;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
}

.image-box:hover .overlay {
    opacity: 1;
}

.image-box:hover img {
    transform: scale(1.05);
}

.cards-wrapper {
    display: flex;
    justify-content: center;
}

.cards {
    width: 350px;
    /* Increase the width */

    margin: 0 0.8em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.card-body {
    flex-direction: column;
    justify-content: space-between;
    /* Push button to bottom */
    height: 100%;
}

.gradient-custom {
    background-color: #136ad5;
}

.carousel-indicators {
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.my-element {
    display: grid;
    align-items: center;
}

.nav-link {
    font-weight: bold;
}

.nav-link:hover {
    color: #d60000;
}

.firstheader {
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0px;
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    background-color: #136ad5;
    box-shadow: 0px 1px 10px #999;
}

.headingtext {
    color: #383838;
    font-weight: bold;
}

.standard {
    font-weight: 300;
}

/* about */
.aboutcard {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 5px;
    cursor: pointer;
}

.aboutcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #136ad5;
    color: white;
    transition: 0.7s;
    border-radius: 5px;
}

.abouticon {
    font-size: 40px;
}

.abouticon:hover {
    font-size: 40px;
    color: #ffffff;
}

/* contact */
.contact-container {
    background: #fff;
    padding: 30px;

    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* class */
.hoverbutton:hover {
    background-color: #136ad5;
    color: white;
    border-radius: 5px;
}

.nav-tabs {
    border: none;
}

.dropdown-menu {
    min-width: 100px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    display: block;
    visibility: hidden;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* student */

.profile {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.profile:hover {
    transform: scale(1.05);
    background: #e0f7fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile:hover img {
    transform: rotate(10deg) scale(1.1);
}

.profile p {
    margin: 8px 0;
}

.percentage {
    font-size: 30px;
    font-weight: bold;
    color: blue;
    transition: color 0.3s ease;
}

.profile:hover .percentage {
    color: #00796b;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn:active,
.btn:focus {
    outline: none;
    height: 44px;
    width: 122px;
    box-shadow: none;
    /* Prevents unwanted glow or size changes */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, #007bff, #3399ff);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn:hover {
    background: linear-gradient(to right, #3399ff, #007bff);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 500px) and (min-width: 320px) {
    .navlinkresponsive {
        padding: 13px;
    }
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3399ff;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #3399ff;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: #ffdd57;
}
