/* General Styles */
body {
    font-family: 'Open Sans', sans-serif; /* Apply Open Sans to body */
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat to headings */
    color: #007bff;
}

h2 {
    text-align: center; /* Center the h2 headings */
    font-family: 'Roboto', sans-serif; /* Use a modern font */
    font-size: 2em; /* Increase font size */
    font-weight: bold; /* Make the text bold */
    color: #333; /* Dark grey color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle text shadow */
    margin-bottom: 30px; /* Add more space below the headings */
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Top Frame */
.top-frame {
    background: #fff; /* White background for the new frame */
    padding: 10px 0; /* Add some padding */
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Header */
header {
    background: #fff;
    color: #333; /* Changed text color to dark grey for better contrast on white background */
    padding: 1rem 0; /* Removed right padding as image is in a different frame */
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    color: #fff;
}

header nav ul {
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a {
    color: #333; /* Keep text color dark grey */
    text-decoration: none;
    font-family: 'Roboto', sans-serif; /* Use a modern font */
    font-weight: bold; /* Make the text bold */
    font-size: 1.1em; /* Slightly increase font size */
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 960px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Software Section Cards */
.software-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.software-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center; /* Ensure content is centered */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.software-card:hover {
    transform: translateY(-5px);
}

.software-card img {
    max-width: 160px; /* Enlarged by 200% (80 * 2) */
    height: auto;
    margin-bottom: 15px;
}

.software-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.software-card p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
}

.software-card .btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.software-card .btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.software-card ul {
    list-style: disc;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    text-align: left;
}

.software-card li {
    margin-bottom: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.net-eagle-description {
    font-family: 'Roboto', sans-serif; /* Use a modern font, fallback to sans-serif */
    font-size: 1.1em; /* Increase font size */
    font-weight: bold; /* Make the text bold */
    color: #555; /* Darker color for emphasis */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add a subtle text shadow */
    margin-bottom: 20px; /* Add more space below the text */
}


/* Services Section Frames */
.service-frames {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-frame {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 5px;
}

.service-frame h3 {
    margin-top: 0;
    color: #333;
}

.coding-symbols {
    font-size: 2em;
    margin-top: 10px;
}

.service-frame img {
    max-width: 80px; /* Set a max width for the images */
    height: auto; /* Maintain aspect ratio */
    margin-top: 10px; /* Add some space above the image */
}


/* Contact Section */
#contactForm div {
    margin-bottom: 15px;
}

#contactForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

#contactForm button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    header nav ul li {
        display: block;
        margin: 5px 0;
    }

    section {
        padding: 15px;
        margin: 15px auto;
    }

    .software-cards {
        grid-template-columns: 1fr; /* Stack cards on small screens */
    }

    .service-frames {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjust service frames */
        gap: 10px;
    }

    .service-frame {
        padding: 10px;
    }

    .coding-symbols {
        font-size: 1.8em;
    }

    #contactForm input[type="text"],
    #contactForm input[type="email"],
    #contactForm textarea {
        padding: 8px;
    }

    #contactForm button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

.top-image {
    max-width: 15%; /* Keep the size */
    height: auto;
    /* Removed positioning styles as flexbox is used */
}
