@font-face {
    font-family: "Readex Pro";
    src: url('../fonts/readexpro-variablefont_hexp,wght.ttf') format('truetype');
}


*,
*::after,
*::before {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
    line-height: 1.4;
    font-family: 'Readex Pro', sans-serif;
}

a,
p,
h1,
h2,
h {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
    line-height: 1.4;
}

:root {
    --primary-color: #3498db;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Alexandria";
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* For Icon whatsapp, phone, scroll to top */
#up:hover {
    background-color: var(--primary-color);
}

.scroll-to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.upIcon {
    font-size: 40px;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeInOverlay 0.5s ease-in-out;
}

.popup {
    display: none;
    position: fixed;
    bottom: -100%;
    left: 20px;
    width: 300px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: slideUpPopup 0.5s ease-in-out forwards;
}


.bottom-left-icons {
    position: fixed;
    bottom: 8px;
    left: 9px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: iconsFadeIn 0.5s ease-in-out;
}

    .bottom-left-icons a {
        margin: 5px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: white;
        text-align: center;
        text-decoration: none;
        animation: iconsFadeIn 0.5s ease-in-out;
    }

        .bottom-left-icons a.phone-icon {
            color: #00a1b0;
            border: 2px solid #00a1b0;
            display: none;
        }

        .bottom-left-icons a.whatsapp-icon {
            color: #25d366;
            border: 2px solid #25d366;
            animation: pulse 2s ease-in-out infinite;
        }

        .bottom-left-icons a i {
            font-size: 28px;
        }

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpPopup {
    from {
        bottom: -100%;
    }

    to {
        bottom: 60px;
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes buttonPop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconsFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.language-button span {
    color: var(--Primary-500, #167AD8) !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.language-button:hover {
    border-color: #167AD8;
    color: #ffffff !important;
    background-color: #167AD8;
    border-color: #167AD8 !important;
}




/* Media query to show phone icon only on mobile devices */
@media (max-width: 768px) {
    .bottom-left-icons a.phone-icon {
        display: flex; /* Show phone icon on mobile devices */
    }
}

.overflow-hidden {
    overflow: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    animation: fadeOut 2.5s ease-in-out forwards; /* Fade out animation */
}

    .center-container img {
        width: 250px; /* Adjust size as needed */
        height: auto;
    }

    .center-container .logo-text {
        font-size: 28px; /* Slightly larger font for better readability */
        color: #2c3e50; /* A darker shade for better contrast */
        margin-top: 10px; /* Slightly more space above the text */
        font-weight: bold; /* Make the text bold */
        letter-spacing: 1px; /* Add some spacing between letters */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add a subtle text shadow */
    }

.bottom-left-icons a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    margin-right: 10px;
    transition: opacity 0.3s ease;
}

    .bottom-left-icons a:hover {
        opacity: 0.7;
    }

#main-content {
    display: none; /* Initially hide main content */
    animation: fadeIn 1s ease-in-out forwards; /* Fade in animation */
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#scrollToTopContainer {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-out;
    cursor: pointer;
    font-size: 30px;
    font-weight: bolder;
    position: fixed;
    bottom: 20px;
    right: 5px;
    z-index: 999;
}

.navbar-toggler:focus {
    outline: none;
}

/* For Select Text */
::selection {
    background: #0C2A5A;
    color: #fff;
}

/* For Back To Top */
#progress {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button 20px from the bottom */
    right: 10px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    width: 50px; /* Adjust width */
    height: 50px; /* Adjust height */
    border-radius: 50%; /* Rounded corners */
    background: conic-gradient(rgb(0, 161, 176) 3%, rgb(215, 215, 215) 3%);
    display: grid; /* Use grid to center the icon */
    place-items: center; /* Center the icon */
    cursor: pointer; /* Add a mouse pointer on hover */
    transition: background 0.3s; /* Smooth transition for background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}

#progress-value {
    display: block;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #00a1b0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    background-color: #f0f0f0; /* Light background color */
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Thumb color */
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555; /* Darker thumb color on hover */
    }

::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Track color */
    border-radius: 8px;
}

    ::-webkit-scrollbar-track:hover {
        background-color: #e0e0e0; /* Darker track color on hover */
    }

::-webkit-scrollbar-button {
    display: none; /* Hide scrollbar buttons (arrows) */
}

::-webkit-scrollbar-corner,
::-webkit-resizer {
    background-color: #f0f0f0; /* Corner and resizer color */
    border-radius: 8px;
}
