﻿.logowidth {
    width: 230px;
}


@media only screen and (max-width: 600px) {
    .logowidth {
        width: 190px;
    }
}

@keyframes shakeStretch {
    0% {
        transform: scale(1) rotate(0);
    }

    20% {
        transform: scale(1.1, 1.1) rotate(0deg);
    }

    40% {
        transform: scale(1, 1) rotate(0deg);
    }

    60% {
        transform: scale(1.2, 1.2) rotate(1deg);
    }

    80% {
        transform: scale(1, 1) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.button_free_demo {
    animation: shakeStretch 1s ease-in-out infinite;
}

.sticky-wrapper {
    position: relative;
    height: 2000px; /* Just for testing scrolling */
}

.sticky-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

    .sticky-btn:hover {
        background-color: #bd2130;
        transform: scale(1.1);
    }

@keyframes flip {
    from {
        transform: rotateY(0);
    }

    to {
        transform: rotateY(360deg);
    }
}

.logo_animate {
    /*animation: flip 1.5s ease-in-out;*/
}

/* Modal Overlay */
.creative-modal {
    display: none;
    position: fixed;
    z-index: 9995;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    place-items: center;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.3s ease-in-out;
}

.swal2-container {
    z-index: 9999 !important;
}

/* Modal Box */
.modal-box {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    animation: bounceIn 0.4s ease-in-out;
    background-image: url('assets/images/shapes/main-slider-bg-2-1.png') !important;
}

    /* Close Button */
    .modal-box .close {
        position: absolute;
        top: 12px;
        right: 16px;
        font-size: 20px;
        cursor: pointer;
        color: #999;
    }

/* Form Styling */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

    .submit-btn:hover {
        background: #0056b3;
    }

/* Keyframe for modal bounce effect */
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Fade-in effect for overlay */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fade-out effect */
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Hide modal smoothly */
.creative-modal.hide {
    animation: fadeOut 0.3s ease-in-out forwards;
}

.loading-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
}

    .loading-text span {
        animation: blink 1.4s infinite;
    }

        .loading-text span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-text span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* title styles */
.home-title span {
    position: relative;
    overflow: hidden;
    display: block;
    color: aliceblue !important;
    line-height: 1.2;
}

    .home-title span::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: white;
        animation: a-ltr-after 2s cubic-bezier(.77,0,.18,1) forwards;
        transform: translateX(-101%);
    }

    .home-title span::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        animation: a-ltr-before 2s cubic-bezier(.77,0,.18,1) forwards;
        transform: translateX(0);
    }

    .home-title span:nth-of-type(1)::before,
    .home-title span:nth-of-type(1)::after {
        animation-delay: 1s;
    }

    .home-title span:nth-of-type(2)::before,
    .home-title span:nth-of-type(2)::after {
        animation-delay: 1.5s;
    }

@keyframes a-ltr-after {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(101%)
    }
}

@keyframes a-ltr-before {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(200%)
    }
}

.page-header__content {
    padding-top: 5% !important;
}


@media only screen and (max-width: 600px) {
    .page-header__content {
        padding-top: 18% !important;
    }
}


/*course css footer*/
/* Dropdown Button */
.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    /* Dropdown button on hover & focus */
    .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    width:100%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    margin-top: -255%;
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 190px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        border-bottom: 1px solid #e8e8e8;
        display: block;
        text-align: left;
        transition: all 500ms ease;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: var(--eduhive-base, #674CEF);
            color: var(--eduhive-white, #FFFFFF);
        }

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

@media only screen and (max-width: 600px) {
    .dropdown-content:hover {
    }
}
