@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; /* Set background color to black */
}

body {
    font-family: 'Poppins', sans-serif;
    color: #eee;
    animation: fadeInBackground 1s ease-in-out; /* Adds fade-in effect */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    padding: 20px 20px; /* Reduced left padding to make it symmetric */
}

@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; /* Prevents logo from shrinking */
}

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 */
    }
}

.slider {
    width: 100%;
    height: 70vh; /* Adjusted height to reduce black space */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.95); /* Match background with header */
}

.slider .list .item {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to top, #000 30%, transparent);
}

.slider .list .item .content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    max-width: 80%;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider .list .item .content h2 {
    font-size: 50px;
    margin: 0 0 10px;
}

.slider .list .item .content p {
    font-size: 20px;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 10;
    animation: fadeIn .75s ease-in-out;
}

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

@keyframes showContent {
    0% {
        transform: translateY(30px);
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slider .list .item.active h2,
.slider .list .item.active p {
    animation: showContent 0.5s ease-in-out forwards;
}

.arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.arrows button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: x-large;
    color: #eee;
    transition: background-color .3s;
    cursor: pointer;
}

.arrows button:hover {
    background-color: #00d4ff;
    color: black;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #eee;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .3s;
}

.dot.active {
    background-color: #00d4ff;
}

@media screen and (max-width: 678px) {
    .slider .list .item .content h2 {
        font-size: 40px;
    }
    .arrows {
        top: 10%;
    }
}

.services, .overview, .MissionVision {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.8);
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.services h2, .overview h2, .MissionVision h2 {
    color: #00d4ff;
    margin-bottom: 20px;
}

.services p, .overview p, .MissionVision p {
    line-height: 1.6;
}

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

footer .footertext {
    font-weight: 200;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Space between items */
}

.phone-icon {
    margin-right: 10px;
    width: 20px; /* Adjust size as needed */
    height: auto;
}

.contact-item a {
    color: #eee; /* Ensure the text color matches your design */
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #00d4ff;
}

.fronttext {
    text-align: center;
    margin: 20px 2%;
    padding: 30px;
    background: linear-gradient(135deg, #000428, #004e92);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.fronttext h2 {
	color: #00d4ff;
	margin-bottom: 20px;
}

.frontlist {
	text-align: center;
	list-style: none;
	padding: 0;
}

.frontlist li {
margin-bottom: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.1);
}