body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "IBM Plex Sans", sans-serif;
    color: #ffffff;
    position: relative;
}

html {
    background: url('../assets/images/background.jpeg') no-repeat center center fixed;
    background-size: cover;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

header {
    padding: 2rem;
    text-align: center;
}

.logo {
    max-width: 150px;
    margin: 0 auto;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
}

.content-section {
    margin-bottom: 3rem;
}

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

.service-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.service-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #d0d0d0;
}

@media (hover: hover) {
    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        background-color: rgba(255, 255, 255, 0.15);
    }
}

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

.modal-content {
    background-color: rgba(30, 30, 30, 0.95);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
}

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

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

.playfair-display-heading {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.playfair-display-subheading {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.playfair-display-service-heading {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ibm-plex-sans-regular {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ibm-plex-sans-light {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
}

.services ul {
    list-style-type: none;
    padding: 0;
}

.services li {
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-item {
        padding: 1rem;
    }

    .service-item h4 {
        font-size: 1.1rem;
    }

    .service-item p {
        font-size: 0.85rem;
    }

    .playfair-display-heading {
        font-size: 2.5rem;
    }

    .playfair-display-subheading {
        font-size: 2rem;
    }

    .playfair-display-service-heading {
        font-size: 1.75rem;
    }
}

header, main, footer {
    position: relative;
    z-index: 2;
}
.service-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

