@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #000;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1em; /* Default font size */
    background-image: url("/JSC/Img/Aboutback.png");
    background-color: black;
    color: #eee;
    background-size: cover; /* Ensures the background image covers the entire screen */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the background fixed during scroll */
    animation: fadeInBackground .75s ease-in-out; /* Adds fade-in effect */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    padding: 20px 20px; /* Adjusted padding to make it symmetric */
    margin-left: 0; /* Removed extra left margin */
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Darkened background to match body */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Reduced padding to make it symmetric */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeInHeader 1s ease-in-out; /* Adds fade-in effect to header */
    flex-wrap: wrap; /* Allows wrapping of content in small screens */
}

header .logo {
    flex-shrink: 0;
}


header .logo img {
    max-height: 50px;
    width: auto;
    height: auto;
}
@media screen and (max-width: 768px) {
    header .logo img {
        max-height: 40px;
    }
}

@media screen and (max-width: 480px) {
    header .logo img {
        max-height: 30px;
    }
}

header .menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
    flex: 1;
    min-width: 250px; /* Ensures a minimum width for the menu */
    text-align: center;
}

header .menu a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s;
}

header .menu a:hover {
    color: #00d4ff;
}

.lang-switch {
    background-color: white;
    color: black;
    padding: 5px 10px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: auto; /* Ensures it sticks to the right side */
    flex-shrink: 0; /* Prevents language switch from shrinking */
}

.lang-switch img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.lang-switch span {
    font-weight: 500;
    font-size: 1rem;
}

.lang-switch a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit; /* Ensures the text color is inherited */
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px; /* Adjusted padding for smaller screens */
    }

    header .menu {
        flex-direction: column;
        gap: 10px; /* Reduces gap between menu items on smaller screens */
    }

    .lang-switch {
        margin-top: 10px; /* Adds space above the language switcher on smaller screens */
    }
}
.Aboutus {
    margin: 20px 2%;
    padding: 30px;
    background: linear-gradient(135deg, #000428, #004e92);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.Aboutus h1, .Aboutus h2 {
    color: #00d4ff;
    margin-bottom: 20px;
}

footer {
    background-color: #010101;
    padding: 20px;
    margin-top: auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footertext {
    font-size: 1rem;
    font-weight: 200;
    margin: 0 20px; /* Added left and right margin for better spacing */
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Adjusted alignment */
    margin-bottom: 5px; /* Reduced space between items */
}

.phone-icon {
    margin-right: 10px;
    width: 25px; /* Adjusted size for better spacing */
    height: auto;
}

.contact-item a {
    color: #eee;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: rgb(96, 104, 247);
}

