/* General Page Styles */
html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0a2949;
    padding-bottom: 60px;
}

/* Particle.js Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Main Content Styling */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    text-align: center;
    color: white;
    z-index: 1;
    padding-top: 5px;
    overflow: visible;
}

/* Logo Section */
.logo-container {
    display: flex;
    justify-content: center;
    width: 80%;
    gap: 5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

.logo-img {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.text-center:hover .logo-img {
    transform: scale(1.2);
}

.logo-container p {
    font-size: 1.2rem;
    color: white;
    margin-top: 30px;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.logo-container .logo-description {
    font-size: 1.0rem !important;
    color: white;
    margin-top: 30px;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.text-center:hover p {
    transform: scale(1.15);
    font-size: 1.5rem;
}


/* Footer Styling */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 1rem;
}

.language-selector {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 10;
}

.language-selector .dropdown-item {
    text-align: center;
    padding: 5px 0;
}

.language-selector .dropdown-item img {
    display: block;
    margin: 0 auto;
}

.language-selector .dropdown-toggle img {
    width: 24px;
    height: auto;
}

.language-selector .dropdown-menu {
    min-width: auto;
    width: auto;
    padding: 15px;
    text-align: center;
}

.language-selector .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 450px) {
    .language-selector .dropdown-menu {
        right: 0;
        left: auto;
        transform: translateX(0);
    }

    .language-selector {
        position: absolute;
        top: 12px;
        right: 0;
        z-index: 10;
    }
}

/* Responsive Styling for Mobile */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 2rem;
    }

    .logo-img {
        width: 80%;
        margin: 0 auto;
    }

    .text-center p {
        font-size: 1.2rem;
    }
}

/* Styling for larger screens (greater than 768px) */
@media (max-width: 1400px) {
    .content {
        margin-top: 10px;
    }

    .logo-container {
        flex-direction: column;
        gap: 4rem;
    }

    .logo-container p {
        font-size: 1.5rem;
        color: white;
        margin-top: 15px;
        transition: transform 0.3s ease, font-size 0.3s ease;
    }

    /* Hover Effects */
    .text-center:hover .logo-img {
        transform: scale(1.0);
    }

    .text-center:hover p {
        transform: scale(1.0);
        font-size: 1.5rem;
    }
}