/* Complete Regenerated CSS for Vectare Inc. Website with Mobile Responsiveness Fixes */

/* Base styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    margin: 0;
    padding-top: 80px; /* space for fixed header */
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    min-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5em;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: url("../images/pcb2.jpeg") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .btn {
    background-color: #ff6600;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #e65c00;
}

/* About, Services & Contact sections */
#about, #contact, #services {
    padding: 80px 40px;
    background-color: #f8f8f8;
    width: 100%;
    box-sizing: border-box;
}

#services {
    background-color: #ffffff;
    overflow: visible;
}

.about-container, .contact-container, .service-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.about-text, .contact-text, .service-text {
    flex: 1;
}

.subtitle {
    color: #e63946;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1em;
}

#about h2, #contact h2, #services h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #003366;
}

.about-image, .contact-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-image iframe {
    width: 100%;
    max-width: 600px;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Services */
.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 300px;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #fff;
    text-align: left;
    box-sizing: border-box;
    height: 100%;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-item h3 {
    font-weight: 700;
    margin: 15px;
    color: #003366;
    font-size: 1.2em;
}

.service-item p {
    padding: 0 15px 20px;
    text-align: left !important;
    color: #333;
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: #002244;
    color: #ffffff;
    text-align: center;
    padding: 15px 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 51, 102, 0.95);
    }

    .nav-links.open {
        display: flex;
    }

    .about-container, .contact-container, .service-container, .service-list {
        flex-direction: column;
        padding: 0 20px;
        align-items: center;
    }

    .service-container {
        display: block;
    }

    .service-list {
        display: block;
    }

    .about-image img, .contact-image iframe {
        width: 100%;
        height: auto;
    }

    .service-text {
        flex: 1 1 100%;
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
        font-size: 16px;
    }

    header, footer, .main-content {
        padding: 10px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .service-item {
        max-width: 90%;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .contact-image iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-image iframe {
        height: 300px;
    }
}

