body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: center;
}

/* Header */
.header {
    background-color: #fff;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.header-top {
    display: flex;
    justify-content: space-between; /* Ensures content is spaced to left and right */
    align-items: center;
    padding: 10px 35px;
    background: #fff;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns content to the left */
}

.logo {
    height: 110px;
    margin-right: 15px;
}

h1 {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end; /* Aligns content to the right */
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

/* Navbar */
.navbar {
    background-color: #1C3FB0;
    padding: 10px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 20px;
}

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

.nav-menu a:hover {
    color: #ffc107;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    background: url('background.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 20px;
    border-radius: 8px;
}

.cta-button {
    padding: 10px 20px;
    background-color: #1C3FB0;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2756f0;
}

/* Section Styles */
section {
    padding: 50px 20px;
}

.section-heading {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* Services Section */
.services {
    text-align: center;
}

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

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

.service-item img {
    height: 60px;
    margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-filter {
    margin-bottom: 20px;
    text-align: center;
}

.filter-button {
    background-color: #1C3FB0;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.filter-button.active,
.filter-button:hover {
    background-color: #2756f0;
    transform: translateY(-2px);
}

/* Portfolio Grid - Updated */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.portfolio-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item.hidden {
    display: none;
}

/* Fullscreen mode */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.fullscreen-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.fullscreen-overlay.visible {
    visibility: visible;
    opacity: 1;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 20px; 
    margin: 0 auto; 
}

.contact-item {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.contact-item img {
    width: 55px; 
    height: 55px; 
}

.contact-item a {
    color: inherit; 
    text-decoration: none; /
}

/* Footer */
.footer {
    background-color: #001f3f;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left {
        margin-bottom: 10px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info {
        flex-direction: column;
        align-items: center; 
    }

    .language-switcher {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    h1 {
        font-size: 20px;
    }

    .contact-item img {
        width: 18px;
        height: 18px;
    }

    .language-button {
        padding: 6px 12px;
        font-size: 14px;
    }
}
