body {
    font-family: Arial;
    margin: 0;
    background: #f4f4f4;
}

header {
    background: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    margin: 10px;
    text-decoration: none;
}

nav a.active {
    color: yellow;
}

section {
    padding: 20px;
}
img {
    width: 150px;
    height: 150px;
}
body {
    margin: 0;
    font-family: Arial;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: -1;
}
section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
}
/* Common floating glass card */
.profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Text width */
.profile-text {
    width: 60%;
}

/* Image width & floating */
.profile-img img {
    width: 150px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Optional: Different style for mom */
.mom-profile {
    background: rgba(255, 200, 200, 0.1); /* soft pink tint */
}

/* Mom profile card */
.mom-profile {
    display: flex;
    align-items: flex-end; /* align content to bottom */
    justify-content: space-between; /* text left, image right */
    padding: 20px;
    margin: 20px;
    background: rgba(255, 200, 200, 0.1); /* soft pink glass */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    min-height: 200px; /* make room for bottom alignment */
}

/* Text */
.mom-profile .profile-text {
    width: 60%;
    text-align: left;
    margin-right: 20px;
}
/* Image */
.mom-profile .profile-img img {
    width: 150px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation (same as yours) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* Your profile card styling */
.your-profile {
    display: flex;
    align-items: center; /* vertically align text and image */
    justify-content: space-between; /* space between text (left) and image (right) */
    padding: 20px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.1); /* glass effect */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    min-height: 200px;
}

/* Text */
.your-profile .profile-text {
    width: 60%;
    text-align: left; /* left-align text */
    margin-right: 20px; /* space from image */
}

/* Image floating */
.your-profile .profile-img img {
    width: 150px;
    border-radius: 50%; /* circular image */
    animation: float 3s ease-in-out infinite; /* floating effect */
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* Talent card styling */
.talent-profile {
    display: flex;
    align-items: center; /* vertically align image and text */
    justify-content: flex-start; /* align to left */
    padding: 20px;
    margin: 20px;
    background: rgba(200, 200, 255, 0.1); /* soft blue glass */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    min-height: 200px;
}

/* Text on right */
.talent-profile .profile-text {
    width: 60%;
    text-align: left; /* left-align text */
    margin-left: 20px; /* spacing between image and text */
}

/* Image floating */
.talent-profile .profile-img img {
    width: 150px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite; /* floating effect */
}

/* BODY - background photo and smooth font */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('background.webp') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: white;
}

/* Optional: overlay to darken background for readability */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay */
    z-index: -1;
}

/* Container to center cards */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

/* Common glass card style */
.profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.1); /* semi-transparent glass */
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-height: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect for interactive floating */
.profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* Text section */
.profile-text {
    width: 60%;
    text-align: left;
    margin: 0 20px;
}

/* Image section */
.profile-img img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Lists inside profile cards (achievements) */
.profile ul {
    list-style: none;
    padding-left: 0;
}

.profile li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .profile {
        flex-direction: column;
        text-align: center;
    }
    .profile-text {
        width: 100%;
        margin: 15px 0 0 0;
    }
    .profile-img img {
        width: 140px;
        height: 140px;
    }
}

