/* Basic reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #0f3252;
    line-height: 1.8;
    overflow-x: hidden;
}

/* Header styling */
header {
    background-color: white;
    color: #004080;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    max-width: 150px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 20px;
    list-style-type: none; /* Remove bullets from navigation */
}

nav ul li a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(0, 64, 128, 0.1);
    border-radius: 5px;
}

/* Main content */
main {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section styling */
.services {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Styling for special offer block */
.special-offer {
    background: #e8f4fc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.special-offer h3 {
    font-size: 1.8rem;
    color: #004080;
    margin-bottom: 10px;
}

.special-offer p {
    font-size: 1.2rem;
    color: #666;
}

/* Centered text for service blocks */
.service-block {
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUpSection 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center everything horizontally */
    text-align: center;  /* Ensure all text is centered */
}

@keyframes fadeInUpSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-block h2,
.service-block h3 {
    font-size: 2rem;
    color: #004080;
    margin-bottom: 10px;
}
.service-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;  /* Center the list content */
}

.service-block ul li {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    width: 100%;  /* Ensure the list items span full width */
}

/* Images in service section */
.image-container {
    text-align: center;
    margin: 30px 0;
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Footer styling */
footer {
    background: white;
    color: #004080;
    padding: 50px 0;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-links a {
    color: #004080;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.address {
    margin-top: 30px;
}

.note {
    color: #666;
    font-size: 0.9rem;
}

@media only screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    main {
        padding: 30px;
    }

.service-block h2,
.service-block h3 {
        font-size: 1.5rem;
    }

    .service-block ul li {
        font-size: 1rem;
    }

    footer {
        font-size: 0.85rem;
    }
}