h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Manrope', sans-serif;
}

.mobile-menu {
    padding: 2rem;
}

.mobile-menu ul {
    width: 100%;
    text-align: center;
}

.mobile-menu li {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.success-metric {
    transition: background-color 0.3s, color 0.3s;
}

.group:hover h3,
.group:hover p {
    color: #ffffff;
}

.portfolio-section{
    background-color: #F0F2F8;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-family: swiper-icons;
    font-size: 20px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: #fff;
    font-weight: bold;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next,
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    padding: 30px;
    background-color: #ea47ed;
    border-radius: 99px;
    transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-rtl .swiper-button-next:hover,
.swiper-button-next:hover,
.swiper-rtl .swiper-button-prev:hover {
    background-color: #006BFD;
}

@media(max-width:1023px){
    .swiper-button-prev, .swiper-rtl .swiper-button-next, .swiper-button-next, .swiper-rtl .swiper-button-prev{
        display: none;
    }
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonials{
    border-radius: 2rem;
    background-color: #1C2C3C;
    padding: 4rem;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 25px);
    right: auto;
}

/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0C1D36;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(249, 204, 11, 0.2);
    border-top-color: #F9CC0B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Snake Game Modal Styles */
.snake-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.snake-game-modal.hidden {
    display: none;
}

.snake-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 29, 54, 0.95);
}

.snake-game-container {
    position: relative;
    background-color: #0C1D36;
    border: 3px solid #F9CC0B;
    border-radius: 12px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(249, 204, 11, 0.3);
    z-index: 10001;
}

.snake-close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #F9CC0B;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s, transform 0.2s;
}

.snake-close-button:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.snake-game-title {
    color: #F9CC0B;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 0 0 1rem 0;
}

.snake-game-instructions {
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.snake-game-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.snake-score {
    font-size: 1.2rem;
    font-weight: bold;
    color: #F9CC0B;
}

.snake-game-state {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFA500;
}

#snake-canvas {
    display: block;
    margin: 0 auto;
    background-color: #0C1D36;
    border: 2px solid #1a2f4d;
    border-radius: 4px;
}

.snake-game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(12, 29, 54, 0.95);
    border: 3px solid #F9CC0B;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 300px;
}

.snake-game-over.hidden {
    display: none;
}

.snake-game-over h3 {
    color: #F9CC0B;
    font-size: 2rem;
    margin: 0 0 1rem 0;
}

.snake-game-over p {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 1.5rem 0;
}

.snake-game-over #final-score {
    color: #F9CC0B;
    font-weight: bold;
    font-size: 1.5rem;
}

.snake-restart-button {
    background-color: #F9CC0B;
    color: #0C1D36;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.snake-restart-button:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .snake-game-container {
        padding: 1rem;
    }

    .snake-game-title {
        font-size: 1.5rem;
    }

    .snake-game-instructions {
        font-size: 0.8rem;
    }

    #snake-canvas {
        max-width: 100%;
        height: auto;
    }
}