 /* General Styles */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}
/* Navbar */
/* 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;
    }
}


/* Contact Section */
.contact-container {
    margin-top: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    padding: 80px 10% 50px; /* Increased top padding to lower heading */
    gap: 150px; /* Reduced gap for better responsiveness */
}

/* Internship & Other Rectangles */
.rectangles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rectangle-box {
    width: 250px;
    position: relative;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.rectangle-box img {
    width: 100%;
    border-radius: 10px;
}

.rectangle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-weight: bold;
}

.rectangle-btn {
    background: #ff5a5f;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

/* Contact Info */
.contact-info {
    max-width: 500px;
    background: white;
    padding: 20px;
    border-radius: 10px;

}

.contact-info h2 {
    color: #222;
    font-size: 24px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Let's Talk Section */
.lets-talk {
    text-align: center;
    padding: 80px 10% 50px; /* Increased top padding to lower heading */
    background: #222;
    color: white;
}

.lets-talk h2 {
    font-size: 28px;
}

.lets-talk p {
    font-size: 16px;
}

/* Contact Form */
.contact-form {
    text-align: center;
    padding: 30px;
    background: white;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-row input {
    width: 48%;
}

.contact-form button {
    background: #ff5a5f;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Office Info */
.office-info {
    padding: 30px;
    background: white;
    text-align: left;
}

.office-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        max-width: 100%;
    }

    .rectangles {
        align-items: center;
    }

    .contact-row {
        flex-direction: column;
    }

    .contact-row input {
        width: 100%;
    }
}
        /* General Styles */
        body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

/* Contact Details Section */
.contact-details {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Ensures equal height */
    gap: 50px;
    padding: 30px;
    background: white;
    flex-wrap: wrap; /* Responsive */
    position: relative;
}

.info {
    flex: 1; /* Equal width for all sections */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center align everything */
    text-align: center;
    min-height: 180px; /* Set a minimum height for alignment */
}

.info i {
    font-size: 30px;
    color: #ff5a5f;
    margin-bottom: 10px;
}

.info p {
    margin: 5px 0;
    font-size: 16px;
}

/* Vertical Divider (For Desktop) */
.divider {
    width: 2px;
    background: #ccc;
    height: auto; /* Adjust height dynamically */
}

/* Horizontal Divider (For Mobile) */
.horizontal-divider {
    width: 80%;
    height: 2px;
    background: #ccc;
    margin: 10px auto;
    display: none; /* Hide by default */
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .divider {
        display: none; /* Hide vertical dividers on mobile */
    }
    .horizontal-divider {
        display: block; /* Show horizontal dividers on mobile */
    }
}
/*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;
    }
}

