html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    background: #fefefe;
    color: #333;
}

header {
    background: #ffdddd;
    padding: 20px;
    text-align: center;
}

header .logo {
    max-width: 200px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2rem;
    margin: 10px 0;
    color: #333;
}

header p {
    font-size: 1.2rem;
    color: #555;
}

nav {
    background: #f4a4a4;
    text-align: center;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s, background 0.3s;
}

nav a:hover {
    background: #e74c3c;
    color: #fff;
    border-radius: 5px;
}

main {
    flex: 1; /* Push the footer to the bottom */
    padding: 20px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

main h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

main p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.call-button {
    display: inline-block;
    margin-top: 20px;
    background: #e74c3c;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.call-button:hover {
    background: #c0392b;
    transform: scale(1.05); /* Slight zoom effect on hover */
}

footer {
    background: #ffdddd;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: #333;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.contact-details {
    max-width: 60%;
    text-align: left;
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-details p {
    font-size: 1rem;
    margin: 5px 0;
    color: #555;
}

.contact-image .profile-picture {
    max-width: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media query for smaller screens (max-width: 768px) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 0;
    }

    nav a {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    header .logo {
        max-width: 150px;
    }

    main h2 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 0.9rem;
    }

    .call-button {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    footer {
        font-size: 0.8rem;
    }
}

/* Media query for very small screens (max-width: 480px) */
@media (max-width: 480px) {
    nav a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    header .logo {
        max-width: 120px;
    }

    main h2 {
        font-size: 1.2rem;
    }

    main p {
        font-size: 0.8rem;
    }

    .call-button {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}