header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5DC; /* Light Beige */
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Hero Section Styles */
.hero {
    padding: 40px 20px;
    background-color: #FAF9F6; /* Off-white */
    text-align: center;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* For responsiveness */
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Make it round */
    object-fit: cover; /* Ensure image covers the circle without distortion */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-text {
    max-width: 500px;
    text-align: left;
}

.profile-text h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.profile-text p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

.interests {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For responsiveness */
}

.card {
    background-color: white;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Shadow for card effect */
    overflow: hidden; /* Ensures image corners are also rounded */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 15px;
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

/* Contact Section Styles */
.contact-section {
    padding: 40px 20px;
    background-color: #f2f2f2;
    text-align: center;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-link i {
    font-size: 1.5em;
}

.contact-link span {
    font-size: 1.1em;
    font-weight: bold;
}
