/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2c3e50; /* New background color */
}

.profile-card {
    background-color: #2c3e50; /* New box color (dark blue-gray) */
    
    text-align: center;
    padding: 30px;
    width: 320px;
    color: #ecf0f1; /* Text color (light) for contrast */
    
}

.profile-card:hover {
    transform: translateY(-10px);
    background-color: #34495e; /* Slightly darker on hover */
}

.profile-img img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    border: 5px solid #ecf0f1; /* White border around profile image */
}

h1 {
    font-size: 26px;
    margin: 15px 0;
}

.title {
    color: #bdc3c7; /* Grayish text for title */
    font-size: 20px;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    margin: 0 10px;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1abc9c; /* Green hover effect for icons */
}


button {
    background-color: #1abc9c; /* New button color (green) */
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #16a085; /* Darker green on hover */
}

/* Contact Info Modal */
.contact-info {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff; /* White background for contrast */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
    color: #2c3e50; /* Dark text color */
    width: 300px; /* Fixed width */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.contact-info h2 {
    margin-top: 0;
    color: #1abc9c; /* Green color for heading */
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px; /* Font size for readability */
}

.contact-info button {
    background-color: #e74c3c; /* Red button color */
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-info button:hover {
    background-color: #c0392b; /* Darker red on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
    .profile-card {
        width: 90%;
    }
}
