:root {
    --primary-color: #ec4899; /* Pink-500 */
    --secondary-color: #0f766e; /* Teal-700 */
    --accent-color: #f59e0b; /* Amber-500 for stars/highlights */
    --bg-color: #fdf2f8; /* Pink-50 */
    --text-color: #374151; /* Gray-700 */
    --heading-font: 'Nunito', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --card-bg: #ffffff;
    --nav-bg: rgba(253, 242, 248, 0.95);
    --border-radius: 16px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    line-height: 1.8;
    padding-top: 70px;
    background-image: radial-gradient(#fce7f3 1px, transparent 1px);
    background-size: 20px 20px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-weight: 700;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* Header */
header {
    text-align: center;
    padding: 80px 0 50px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.2);
    transition: transform 0.3s ease;
}

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

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

header p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: var(--secondary-color);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.personal-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
    border-top: 2px dashed #fce7f3;
    padding-top: 30px;
}

.detail-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: #fce7f3;
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 24px;
    height: 24px;
    background: var(--card-bg);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background: #fce7f3;
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.skill-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.skill-rating {
    color: var(--accent-color);
}

/* Product Section */
.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.product-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Scroll to Top */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--secondary-color);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn[style*="display: block"] {
    display: flex !important;
}

#scrollTopBtn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 40px 0;
        gap: 25px;
    }

    .nav-menu.active {
        left: 0;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .personal-details {
        flex-direction: column;
        gap: 15px;
    }
}