/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: 60px;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #19408F;
    color: #ecf0f1;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #e74c3c;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
}

.modal-description {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9f9;
    color: #2c3e50;
}

.logo-container {
    background-color: #ecf0f1;
    padding: 20px;
    text-align: center;
    margin-top: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container img {
    height: 200px;
    width: auto;
}

.contact-container {
    max-width: 300px;
    margin: 0 auto;
    padding: 0px;
    text-align: left;
}

.services, .projects, .about {
    padding: 50px 20px;
    text-align: center;
}

.contact {
    padding: 0px 20px;
    text-align: center;
}

h1 {
    color: #19408F;
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 30px;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    margin: 20px;
    padding: 20px;
    background-color: #ecf0f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 350px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.card img:hover {
    opacity: 0.8;
}

.project-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.project-gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-gallery img:hover {
    transform: scale(1.05);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 25px;
}

.prev {
    left: 25px;
}

.prev:hover, .next:hover {
    color: #bbb;
}

footer {
    background-color: #19408F;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

footer nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

footer nav ul li {
    margin: 0 10px;
}

footer nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
}

footer nav ul li a:hover {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        margin-top: 80px;
    }
    
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .project-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .project-gallery img {
        width: 90%;
        max-width: 300px;
    }
    
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    header nav ul li {
        margin: 5px 0;
    }
}