/* * */
/* * */
/* * */
/* * */
/* * */

a {
    text-decoration: none;
}

a:hover {
    color: white;
}

nav {
    z-index: 9999;
}

.pry-btn {
    background-color: #dc3545;
}

.pry-btn:hover {
    border-color: #dc3545;
    background-color: transparent;
}

.contact-btn {
    background-color: #dc3545;
    border: 1px solid #dc3545;
}

.contact-btn:hover {
    background-color: transparent;
    border: 1px solid #dc3545;
    color: black !important;
}

.transition {
    transition: all 0.3s ease;
}

.uppercase {
    text-transform: uppercase;
}


/* Initial hidden state */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Visible state */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.offcanvas {
    z-index: 99999999999999 !important;
    background-color: rgb(220, 53, 69, 0.95);
}

.refresh:hover {
    color: blue;
}




/* index.html */
/* index.html */
/* index.html */
/* index.html */
/* index.html */

.nav-link-item {
    display: flex;
    align-items: center;
    height: 100px;
    border-bottom: 4px solid rgba(255, 255, 255, 0);
    text-decoration: none;
    /* optional: remove underline */
}

.nav-link-item.active-hr {
    border-bottom: 4px solid white;
}

.nav-link-item.inactive-hr {
    border-bottom: 4px solid rgba(255, 255, 255, 0);
}

/* Footer */
.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.footer-hr {
    width: 100%;
    border: 1px solid white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link.active .footer-hr {
    opacity: 1;
}

.footer-link.inactive .footer-hr {
    opacity: 0;
}

#search::placeholder {
    color: white !important;
}

#search:focus {
    outline: none !important;
    box-shadow: none !important;
}

header {
    padding: 110px 0 10px 0;
}

.bg-home {
    background-image: url("/frontend/img/home-bg.jpg");
    height: calc(100vh - 160px);
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-home2 {
    background-image: url("/frontend/img/home-bg2.jpg");
    height: calc(100vh - 160px);
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-home3 {
    background-image: url("/frontend/img/home-bg3.jpg");
    height: calc(100vh - 160px);
    background-size: cover;
    background-repeat: no-repeat;
}

.fs-home-text {
    font-size: 1.25rem;
}

.fs-home-text2 {
    font-size: 52px;
}

.fa-book {
    transform: rotate(10deg);
}

.courses_library {
    width: 550px;
}

.tutorial {
    width: 70vw;
    height: 70vh;
}

.video-card {
    width: 70vw;
}

.info-tr {
    font-size: calc(1.275rem + .3vw);
}

.customer-icons {
    opacity: 0.1;
    height: 150px;
}

.polygon {
    clip-path: polygon(45% 1.33975%, 46.5798% 0.60307%, 48.26352% 0.15192%, 50% 0%, 51.73648% 0.15192%, 53.4202% 0.60307%, 55% 1.33975%, 89.64102% 21.33975%, 91.06889% 22.33956%, 92.30146% 23.57212%, 93.30127% 25%, 94.03794% 26.5798%, 94.48909% 28.26352%, 94.64102% 30%, 94.64102% 70%, 94.48909% 71.73648%, 94.03794% 73.4202%, 93.30127% 75%, 92.30146% 76.42788%, 91.06889% 77.66044%, 89.64102% 78.66025%, 55% 98.66025%, 53.4202% 99.39693%, 51.73648% 99.84808%, 50% 100%, 48.26352% 99.84808%, 46.5798% 99.39693%, 45% 98.66025%, 10.35898% 78.66025%, 8.93111% 77.66044%, 7.69854% 76.42788%, 6.69873% 75%, 5.96206% 73.4202%, 5.51091% 71.73648%, 5.35898% 70%, 5.35898% 30%, 5.51091% 28.26352%, 5.96206% 26.5798%, 6.69873% 25%, 7.69854% 23.57212%, 8.93111% 22.33956%, 10.35898% 21.33975%);
}

.shadow-customer {
    box-shadow: 1px 1px 20px 25px rgb(0, 0, 0, 0.1);
}

.customer-absolute1 {
    top: 8%;
    left: 74.5%;
}

.customer-absolute2 {
    top: 38%;
    left: 85%;
}

.customer-absolute3 {
    bottom: 8%;
    left: 74.5%;
}

.customers {
    height: 520px;
    width: 520px;
}

.customers-parent {
    height: 520px;
    width: 520px;
}

.footer-color {
    background-color: #1b1b1b;
}

.fa-facebook-f,
.fa-instagram,
.fa-whatsapp,
.fa-google,
.fa-twitter,
.fa-pry-hover {
    color: white;
}

.pry-hover:hover {
    color: white;
}

.fa-google:hover {
    animation: goggle 5s infinite !important;
}


.fa-facebook-f:hover {
    color: blue !important;
}

.fa-instagram:hover {
    color: red !important;
}

.fa-twitter:hover {
    color: skyblue !important;
}

.fa-whatsapp:hover {
    color: green !important;
}

@keyframes goggle {
    0% {
        color: white;
    }

    25% {
        color: red;
    }

    50% {
        color: green;
    }

    75% {
        color: blue;
    }

    100% {
        color: yellow;
    }

}

.trans-dark-bg-home {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.read-more {
    border: 1px solid white;
    color: white;
}

.read-more:hover {
    background-color: white;
    color: #dc3545 !important;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dc3545;
    /* your brown color */
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

/* Active state: keep the filled dot, add outer ring */
.carousel-indicators .active {
    position: relative;
}

.carousel-indicators .active::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #dc3545;
    /* ring color */
}

.up {
    bottom: 200px;
    right: 25px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(.95);
    transition: opacity .28s ease, transform .28s cubic-bezier(.2, .9, .3, 1);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.up.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: up-pop 420ms cubic-bezier(.2, .9, .3, 1);
}

@keyframes up-pop {
    0% {
        transform: translateY(6px) scale(0.88);
    }

    60% {
        transform: translateY(-4px) scale(1.06);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}





/* contact us */
/* contact us */
/* contact us */
/* contact us */
/* contact us */
/* contact us */
/* contact us */

.bg-contact {
    background-image: url("/frontend/img/contact-img.jpg");
    background-position: top;
    background-size: cover;
    height: 45vh;
}

.trans-dark-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.nav-menu {
    z-index: 1;
}

.contact-text {
    height: 130%;
}




/* about us */
/* about us */
/* about us */
/* about us */
/* about us */
.team {
    cursor: pointer;
}

.social {
    opacity: 0;
}

.team:hover .social {
    opacity: 1;
}


/* courses */
/* courses */
/* courses */
/* courses */
/* courses */
/* courses */


.vr {
    background-color: rgb(185, 185, 185);
    width: 1px;
    height: 15px;
}

.card-bottom {
    height: 12px;
    background-color: #fbdada;
}

.free {
    background-color: #dc3545;
}

.free {
    color: white;
}

.free:hover {
    background-color: black;
    color: white;
}

.card:hover .card-title {
    color: #dc3545;
}

.card:hover .card-bottom {
    background-color: #dc3545;
    transition: all 1s ease;
}

.card {
    overflow: hidden;
    /* contain zoom effect */
    transition: transform 0.5s ease;
    /* smooth in & out */
}

.img-container {
    overflow: hidden;
    /* contain zoom effect */
}

.zoom-img {
    transition: transform 1s ease;
    /* slower zoom */
}

.card:hover .zoom-img {
    transform: scale(1.1);
}

.card:hover {
    transform: translateY(-10px);
    /* lift up */
}


















/* Small screens (<768px) */
@media (max-width: 767.98px) {
    .logo {
        height: 65px;
    }

    header {
        padding-top: 75px;
    }

    .bg-home {
        height: calc(100vh - 125px);
    }

    .bg-home2 {
        height: calc(100vh - 125px);
    }

    .bg-home3 {
        height: calc(100vh - 125px);
    }

    .fs-home-text {
        font-size: 13px;
    }

    .fs-home-text2 {
        font-size: 22px;
        margin-top: 10px;
    }

    .courses_library {
        width: 70px;
    }

    .tutorial {
        width: 85vw;
        height: 25vh;
    }

    .info-tr {
        font-size: 20px;
    }

    .sub-info {
        font-size: 12px;
    }

    .customers {
        height: 320px;
        width: 320px;
    }

    .customers-parent {
        height: 320px;
        width: 320px;
    }

    .customer-icons {
        height: 50px;
    }

    .bg-contact {
        height: 30vh;
    }

    .nav-link-item {
        height: 50px;
    }

    .video-card {
        width: 100%;
    }

}


/* Medium screens (≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .fs-home-text2 {
        font-size: 42px;
    }

    .courses_library {
        width: 100px;
    }

    .tutorial {
        width: 70vw;
        height: 30vh;
    }

    .bg-contact {
        height: 30vh;
    }

    .nav-link-item {
        height: 50px;
    }

    .video-card {
        width: 100%;
    }
}