/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}

/* Header and navigation */
header {
    background-color: #003366;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
}

/* Hero section */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #4A90E2;
}

.hero-content {
    flex: 1;
    color: #FFFFFF;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #FF9900;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
}

/* Services overview */
#services-overview {
    padding: 4rem 2rem;
    background-color: #F5F5F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* About preview */
#about-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
}

.about-content {
    flex: 1;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
}

/* Projects showcase */
#projects-showcase {
    padding: 4rem 2rem;
    background-color: #F5F5F5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.view-all {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
}

/* Contact preview */
#contact-preview {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #003366;
    color: #FFFFFF;
}

.contact-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #FF9900;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: #003366;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem 0;
}

/* Company intro section */
#company-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #F5F5F5;
}

.intro-content {
    flex: 1;
    padding-right: 2rem;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Mission and vision section */
#mission-vision {
    display: flex;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #FFFFFF;
}

.mission, .vision {
    flex: 1;
    padding: 2rem;
    background-color: #4A90E2;
    color: #FFFFFF;
    border-radius: 10px;
    margin: 0 1rem;
}

/* Team section */
#team {
    padding: 4rem 2rem;
    background-color: #F5F5F5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Services intro section */
#services-intro {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #4A90E2;
    color: #FFFFFF;
}

#services-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services list section */
#services-list {
    padding: 4rem 2rem;
}

.service-item {
    background-color: #F5F5F5;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.service-item h2 {
    background-color: #003366;
    color: #FFFFFF;
    padding: 1rem;
    cursor: pointer;
}

.service-details {
    padding: 1rem;
    display: none;
}

.service-details.active {
    display: block;
}

/* Projects intro section */
#projects-intro {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #4A90E2;
    color: #FFFFFF;
}

#projects-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Projects grid */
#projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

#projects-grid .project-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#projects-grid .project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#projects-grid .project-item h2 {
    font-size: 1.5rem;
    margin: 1rem;
}

#projects-grid .project-item p {
    margin: 0 1rem 1rem;
}

#projects-grid .project-item .project-details {
    display: inline-block;
    margin: 0 1rem 1rem;
    padding: 0.5rem 1rem;
    background-color: #4A90E2;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Contact info section */
#contact-info {
    display: flex;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #F5F5F5;
}

.contact-details {
    flex: 1;
    padding-right: 2rem;
}

.map {
    flex: 1;
}

.map img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Contact form section */
#contact-form {
    padding: 4rem 2rem;
    background-color: #FFFFFF;
}

#contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

#contact-form form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    background-color: #FF9900;
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#contact-form button:hover {
    background-color: #e68a00;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate {
    animation: fadeIn 1s ease-in-out;
}

/* Sticky header */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #003366;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }
}

/* Form success message */
.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    text-align: center;
}

