/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: white;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%; /* Adjusted padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}

/* Logo Alignment */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0; /* Moves logo to the left */
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 60%;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}
/* Adjust font size for mobile */
@media (max-width: 768px) {
    .company-name {
        font-size: 14px !important; /* Slightly smaller for mobile */
    }
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Reduced gap */
    margin-left: auto; /* Pushes links slightly to the right */
    padding-right: 10%; /* Adjusts spacing from the right */
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-family: Belanosima;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: yellowgreen;
}
.menu-toggle{
    display: none;
}
/* Responsive Navbar for Mobile */
@media (max-width: 768px) {
    .logo{
        gap: 15px;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -250px; /* Hidden initially */
        width: 160px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease-in-out;
    }

    .nav-links li {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #ddd; /* Adds a line */
    }
    .nav-links li:last-child {
        border-bottom: none; /* Removes line from the last link */
    }

    .nav-links li a {
        font-size: 16px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%); /* Centers vertically */
        font-size: 28px; /* Adjust size */
        cursor: pointer;
    }

    .nav-links.active {
       left: 0;
    }
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }
}

/* About Us Section */
#about {
    text-align: center;
    padding: 80px 10% 50px; /* Increased top padding to lower heading */
    background: white;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 40px; /* Increased gap between heading and paragraph */
    font-weight: bold;
    margin-top: 50px; /* Lowers the heading */
}

#about p {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 15px;
}


/* Our Team */
   /* General Styles */
/* Our Team Section */
/* Meet Our Team */
#team {
    text-align: center;
    padding: 50px 0;
}

#team h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team-member {
    width: 250px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-member img {
    width: 100%;
    height: auto;
}

.team-info {
    padding: 15px;
    background: white;
}

.team-info h3 {
    font-size: 18px;
    color: black;
    margin: 5px 0;
}

.team-info p {
    font-size: 14px;
    color: gray;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}/*Footer*/
.footer {
    background: #222;
    color: white;
    padding: 20px 6%;
    text-align: center;
}

/* Top Section - Company Name & Social Icons */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Metagran Technology */
.company-name {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}

.company-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: inline-block;
    text-align: left;
    transition: color 0.3s;
}

/* Default: Show full name, hide short name */
.full-name {
    display: block;
}
.short-name {
    display: none;
}

.company-link p {
    margin: 0;
    line-height: 1.6;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4CAF50;
}

/* Copyright */
.copyright {
    margin-top: 10px;
    font-size: 14px;
}

/* Page Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .company-name {
        margin-bottom: 10px;
    }

    .social-links {
        margin-top: 10px;
    }

    /* Mobile View: Show "MT", Hide "Metagran" */
    .full-name {
        display: none;
    }
    .short-name {
        display: block;
    }

    /* ✅ Ensure Page Links Stay in One Line Properly */
    .footer-links {
        justify-content: center;
        flex-wrap: wrap; /* Allows wrapping but keeps alignment */
        gap: 10px;
    }
}

