body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background: #f8f8f8;
    color: #333;
    padding: 1rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
    margin-right: 20px;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e6660b;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), /* Dark overlay */
        url('/static/img/vitisoft-background.png') no-repeat center center; /* Your image */
    background-size: cover;
    text-align: center;
    padding: 80px 20px; /* Increased padding for more vertical space */
    margin-bottom: 30px;
    min-height: 200px; /* Ensure sufficient height */
    display: flex; /* Use flexbox to center content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff; /* Set default text color for hero here too */
}
/* Adjustments for Hero Section text over image */
.hero h1,
.hero p {
    color: #fff; /* White text for contrast on dark image */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Subtle shadow for even better readability */
}

.hero .button {
    /* You might want to slightly adjust the button's appearance if it clashes */
    /* For example, a transparent background with a white border and white text */
    background: rgba(255,255,255,0.1); /* Slightly transparent white */
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(2px); /* Modern frosted glass effect */
}

.hero .button:hover {
    background: #e6660b; /* Brand color on hover */
    color: #333; /* Dark text on brand color hover */
    border-color: #e6660b;
}

.button {
    display: inline-block;
    background: #e6660b;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #d4a900;
}

.services {
    text-align: center;
    margin-bottom: 30px;
}

.services h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.service-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
}

.service-item h3 {
    color: #3498db;
    margin-top: 0;
}

.learn-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}
.learn-more-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

.content-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.content-section h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.content-section p, .content-section ul {
    margin-bottom: 15px;
}

/* --- FOOTER STYLES --- */
footer {
    background: #f8f8f8;
    color: #555;
    padding: 30px 20px; /* More padding for footer content */
    margin-top: 30px;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-around; /* Distribute space between columns */
    max-width: 1200px;
    margin: 0 auto 20px auto; /* Center and add bottom margin */
    flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
    gap: 30px; /* Space between columns */
}

.footer-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #e6660b; /* Brand color on hover */
    text-decoration: underline;
}

.social-links a {
    color: #555; /* Icon color */
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e6660b; /* Brand color on hover */
}

.copyright {
    text-align: center;
    border-top: 1px solid #eee; /* Subtle separator */
    padding-top: 15px;
    margin-top: 15px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        padding: 10px 20px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .nav-links a {
        margin: 5px 0;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
    }

    /* Footer responsive adjustments */
    .footer-content {
        flex-direction: column; /* Stack footer columns vertically */
        text-align: center;
    }

    .footer-content > div { /* Space between stacked footer sections */
        margin-bottom: 20px;
    }

    .footer-nav ul {
        margin-bottom: 20px;
    }

    .social-links {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .social-links a {
        margin: 0 10px; /* Adjust spacing for stacked social icons */
    }
}
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: #fff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
    font-size: 1em;
    font-family: Arial, sans-serif; /* Consistency */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
}

/* Honeypot field styling - HIDE IT! */
.honeypot-field {
    position: absolute; /* Take it out of flow */
    left: -9999px;      /* Move it far off screen */
    opacity: 0;         /* Make it invisible */
    height: 0;          /* Remove its height */
    overflow: hidden;   /* Hide any content */
    z-index: -1;        /* Ensure it's behind everything */
}

/* Style for the submit button - re-use .button class */
.contact-form .button {
    width: auto; /* Allow button to size itself */
    display: block; /* Make it a block element */
    margin-top: 20px; /* Space above button */
    padding: 12px 25px; /* Bigger padding for button */
    font-size: 1.1em;
    cursor: pointer;
}
/* Styling for icons in service items */
.service-item .service-icon {
    font-size: 3em; /* Adjust size as needed */
    color: #e6660b; /* Use your brand color */
    margin-bottom: 15px;
    display: block; /* Ensure it takes its own line */
    text-align: center; /* Center the icon within its container */
}
/* Icons within section headings */
.section-icon {
    color: #e6660b; /* Brand color */
    margin-right: 10px;
    font-size: 1.1em; /* Slightly larger than text */
}

/* Icons within list item headings */
.section-icon-inline {
    color: #e6660b; /* Brand color */
    margin-right: 8px;
    font-size: 1em; /* Same size as text */
}

/* Icons within list items (strong tags) */
.list-icon {
    color: #e6660b; /* Brand color */
    margin-right: 8px;
}

/* Optional: Adjust h3 styling if icon pushes it down */
.content-section h3 {
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically align icon and text */
}
/* Icon on Contact Us page heading */
.contact-icon {
    font-size: 1em; /* Adjust as needed */
    color: #e6660b; /* Brand color */
    margin-right: 10px;
}