body {
    background-color: #f5f5dc; /* Beige - a classic, neutral heritage tone */
}

.card {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #2f4f4f, #4a6666); /* Dark Slate Gray and a slightly lighter shade - deep, rich heritage greens */
    color: white;
    position: relative; /* Added for potential absolute positioning of elements */
    overflow: hidden; /* Ensures content stays within rounded borders */
}

.card-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.card-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.card-body {
    padding: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.05em;
    margin-bottom: 8px;
}

.contact-info i {
    margin-right: 10px;
    color: #fff;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    font-size: 1.05em;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.services-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-links a {
    color: white;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin: 20px;
    }

    .card-title {
        font-size: 1.8em;
    }

    .card-text,
    .contact-info p,
    .services-list li {
        font-size: 0.95em;
    }

    .social-links a {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 20px;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .card-title {
        font-size: 1.5em;
    }

    .contact-info p,
    .services-list li {
        font-size: 0.9em;
    }
}
