/* ✅ General Page Styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding-top: 110px; /* Ensures no content hides under navbar */
    background: linear-gradient(180deg, #3a6ea5, #1b3b5f);
    color: white;
    margin: 0;
}

/* ✅ Text Box Styling (Contains Text Inside Box) */
.text-box {
    max-width: 700px;
    margin: 30px auto;
    background: rgba(20, 40, 80, 0.8); /* Dark deep blue with transparency */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* ✅ Hover Effect for Boxes */
.text-box:hover, .agte-container:hover {
    background: rgba(30, 50, 100, 0.9); /* Slightly darker on hover */
    transform: scale(1.02); /* Slight enlargement for interaction */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); /* More glow effect */
}

.text-box ul li {
    margin-bottom: 10px; /* Adds space between each feature */
    line-height: 1.6; /* Improves readability */
}

/* ✅ Logo Styling */
.logo {
    max-width: 300px;
    margin-bottom: 10px;
}

/* ✅ Fixed Navigation Bar */
.navbar {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
}

/* ✅ Navigation Menu */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

/* ✅ Hide the inactive menu to ensure only one is shown */
.navbar ul.hidden {
    display: none;
}

.navbar ul li {
    display: inline-block;
}

/* ✅ Futuristic 3D Metallic Navigation Bar Effect */
.navbar ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3), 
                 1px 1px 4px rgba(173, 216, 230, 0.6); /* Shiny metallic effect */
    background: linear-gradient(45deg, #B8C0D0, #566D92, #1F2A44);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar ul li a:hover {
    background: linear-gradient(45deg, #9af3ff, #0b72b2); /* Gold hover effect */
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
    color: #1b1b1b;
}

/* ✅ Active Page Styling */
.navbar ul li a.active {
    background: linear-gradient(45deg, #f9a3ff, #0b72b2); /* Same as hover effect */
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
    color: #1b1b1b;
    font-weight: bold;
}

/* ✅ Language Switch Button - Positioned Correctly */
.lang-switch {
    position: fixed;
    top: 15px;
    right: 20px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    z-index: 2000;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ✅ AGTE SYSTEM Section */
.agte-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 130px; /* Adjusted for navbar spacing */
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
    background: rgba(20, 40, 80, 0.8); /* Dark deep blue with transparency */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* ✅ AGTE Logo Fix */
.agte-logo {
    max-width: 300px; /* Smaller for better scaling */
    height: auto;
    flex-shrink: 0;
}

/* ✅ AGTE System Text */
.agte-text {
    max-width: 500px;
    text-align: left;
}

.agte-text h2 {
    color: #ffcc00;
    font-size: 22px;
}

.agte-text p {
    font-size: 16px;
    color: #f0f0f0;
}

/* ✅ Responsive Design for Mobile */
@media screen and (max-width: 768px) {
    /* ✅ Fixing Navbar for Mobile */
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .navbar ul li {
        display: block;
    }

    /* ✅ Make AGTE System Section Vertical on Mobile */
    .agte-container {
        margin-top: 150px; /* Increased margin to push it below navbar */
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .agte-logo {
        max-width: 250px; /* Smaller on mobile */
    }

    .agte-text {
        max-width: 100%;
        text-align: center;
    }

    /* ✅ Positioning Language Switch Correctly on Mobile */
    .lang-switch {
        top: 10px;
        right: 10px;
        left: auto;
        transform: none;
    }
}

/* ✅ 3D Futuristic Animated Text */
.company-name {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-transform: uppercase;
    text-shadow: 
        3px 3px 0px #000,  /* Dark base shadow */
        6px 6px 2px rgba(0, 0, 0, 0.5),  /* Soft black depth */
        4px 4px 10px rgba(0, 200, 255, 0.7);  /* Neon glow */
    letter-spacing: 2px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Optional: Slight Glow on Update */
@keyframes text-glow {
    0% { text-shadow: 3px 3px 0px #000, 6px 6px 2px rgba(0, 0, 0, 0.5), 4px 4px 10px rgba(0, 200, 255, 0.7); }
    50% { text-shadow: 3px 3px 0px #000, 6px 6px 2px rgba(0, 0, 0, 0.5), 6px 6px 15px rgba(0, 200, 255, 1); }
    100% { text-shadow: 3px 3px 0px #000, 6px 6px 2px rgba(0, 0, 0, 0.5), 4px 4px 10px rgba(0, 200, 255, 0.7); }
}
.company-name.animated {
    animation: text-glow 1s infinite alternate;
}

/* ✅ General Button Styling */
.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #0b72b2, #3a6ea5); /* Deep Blue Gradient */
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    border: none;
}

/* ✅ Hover Effect */
.btn:hover {
    background: linear-gradient(45deg, #3a6ea5, #0b72b2); /* Inverted Gradient on Hover */
    box-shadow: 0px 8px 15px rgba(255, 255, 255, 0.3);
    transform: scale(1.05); /* Slight enlargement */
}
