/* General Styles */
body {
    background-color: #005a9e;
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

h1 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-family: Helvetica;
}

.logo {
    width: 50px;
    height: auto;
}

.image {
    width: 200px;
    margin-left: 0;
}

.banner {
    height: 60px;
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    color: #89cff0;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.banner.scrolled {
    background-color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.tech-gif {
    width: 100%;
    position: relative;
    z-index: -1;
    margin-top: -60px;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tech-gif img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    z-index: -1;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    margin-right: 0;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
}

.contact-us-button {
    background-color: white;
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 400px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-us-button:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.spaced-span {
    text-align: center;
    padding: 0 10px;
    display: flex;
}

.spaced-span a {
    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.spaced-span a:hover {
    color: yellow;
}

.spaced-span a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    left: 0;
    bottom: -2px;
    transition: width 0.3s ease;
}

.spaced-span a:hover::after {
    width: 100%;
}

/* Info Boxes */
.Info-Boxes {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 10px;
    flex-wrap: wrap; /* Ensures responsive stacking on smaller screens */
    padding-left: 10px; /* Added padding to prevent the background from showing on the left */
    padding-right: 10px; /* Prevents overflow on the right */
}

.Tech-Shop, .Services-Provided, .Social-Links, .vertical-updates {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 450px; /* Flexibility for box sizes */
    max-width: 450px; /* Prevents boxes from exceeding max width */
}

.Tech-Shop:hover, .Services-Provided:hover, .Social-Links:hover, .vertical-updates:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.Tech-Shop {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

.Services-Provided h3, .Tech-Shop h3, .Social-Links h3 {
    color: #89cff0;
    margin-bottom: 15px;
}

.Date, .Message {
    color: white;
    margin: 5px 0;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #89cff0;
}

p {
    color: white;
    line-height: 1.5;
}

/* Vertical Updates Box */
.vertical-updates {
    max-width: 450px;
    width: 100%;
    margin-top: 20px;
}

.vertical-updates .update-box {
    margin-bottom: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border-left: 5px solid #89cff0;
    border-radius: 8px;
    color: white;
}

.vertical-updates .date {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 8px;
}

.vertical-updates .message {
    font-size: 16px;
    line-height: 1.4;
}

/* Menu Toggle Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Instagram Link Styling */
.Instagram-Icon {
    display: flex;
    align-items: center; /* Center align text and icon */
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
}

.Instagram-Icon:hover {
    color: #ff66b2; /* Slight pink color on hover */
}

.Instagram-Icon img {
    width: 20px; /* Adjust Instagram logo size */
    margin-right: 10px; /* Space between logo and text */
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .banner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        align-items: center;
    }

    .nav-links.hidden {
        max-height: 200px;
        background-color: grey;
        border-radius: 15px;
    }

    .Info-Boxes {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-left: 15px; /* Adjusted padding to align with left side */
        padding-right: 15px; /* Prevents overflow on the right */
    }

    .Tech-Shop, .Services-Provided, .Social-Links, .vertical-updates {
        width: 100%; /* Ensure the boxes take up full width on mobile */
        max-width: 100%; /* Allow the boxes to stretch */
        padding: 30px;
        box-sizing: border-box;
    }

    .menu-toggle {
        display: block;
    }

    .vertical-updates {
        width: 100%; /* Ensures the vertical updates box fits */
        margin-top: 20px;
    }
}
