/* Import Font (Optional, relies on user having internet) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;700&display=swap');

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General Body Styles */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF5F7; /* Very light pink */
    color: #5D5D5D; /* Dark grey for text */
    line-height: 1.7;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #FFC0CB 0%, #FFAAB5 100%); /* Pink Gradient */
    color: #fff;
    padding: 2.5rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    opacity: 0.9;
}

/* Frosted Glass Navigation */
nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    padding: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #E695A1; /* Deeper pink for text */
    font-size: 1.1rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #E695A1;
    color: #fff;
}

/* Main Content Area */
.container {
    width: 80%;
    max-width: 960px;
    margin: 2.5rem auto;
    padding: 3rem;
    background-color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid #eee;
    animation: fadeInUp 0.6s ease-in-out;
}

h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #D17B88; /* Muted deeper pink */
    border-bottom: 2px solid #FCEEF0;
    padding-bottom: 10px;
    font-size: 2.2rem;
}

/* Section specific styles with hover effects */
.profile-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.profile-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 2.5rem;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(255, 192, 203, 0.8);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.education-entry, .experience-entry {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 4px solid #FFC0CB;
    background-color: #FCFCFC;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-entry:hover, .experience-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.education-entry h3, .experience-entry h3 {
    margin-bottom: 0.2rem;
    color: #4A4A4A;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.education-entry p, .experience-entry p {
    margin: 0;
    color: #757575;
}

/* Contact Form */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #5D5D5D;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box; /* Important for padding */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #FFC0CB;
    box-shadow: 0 0 8px rgba(255, 192, 203, 0.6);
}

.contact-form button {
    background: linear-gradient(135deg, #FFC0CB 0%, #E695A1 100%);
    color: #fff;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 149, 161, 0.4);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 149, 161, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #FFC0CB 0%, #FFAAB5 100%);
    color: #fff;
}
