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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Animations and Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.balloon {
    position: absolute;
    font-size: 3rem;
    animation: float 4s ease-in-out infinite;
}

.balloon1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.balloon2 {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.balloon3 {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    animation: confettiFall 3s linear infinite;
}

.confetti::before,
.confetti::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF69B4;
    animation: confettiFall 3s linear infinite;
}

.confetti::before {
    left: 50px;
    background: #00CED1;
    animation-delay: 0.5s;
}

.confetti::after {
    left: 100px;
    background: #98FB98;
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.animated-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounceIn 1.5s ease;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.5s both;
}

.fade-in-delayed {
    animation-delay: 0.8s;
}

.birthday-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: bounceIn 1s ease;
}

.bounce-in {
    animation-delay: 1s;
}

.bounce-in-delayed {
    animation-delay: 1.3s;
}

.bounce-in-extra {
    animation-delay: 1.6s;
}

/* Slideshow Section */
.slideshow-section {
    padding: 100px 0;
    background: #f8f9ff;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slides {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

.slide img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    background: transparent;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 50px 30px 25px;
    font-size: 1.2rem;
    text-align: center;
    z-index: 10;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.slide-indicators {
    position: relative;
    margin-top: 20px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(102,126,234,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.indicator.active {
    background: #667eea;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(102,126,234,0.5);
}

.indicator:hover {
    background: rgba(102,126,234,0.7);
    transform: scale(1.1);
}

/* Birthday Message Section */
.birthday-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.birthday-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

.message-card {
    background: rgba(255,255,255,0.95);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    position: relative;
    backdrop-filter: blur(10px);
    animation: slideIn 1s ease;
}

.message-content {
    text-align: center;
    position: relative;
}

.family-message {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.birthday-wish {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.birthday-wish h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    animation: pulse 2s ease infinite;
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.heart {
    position: absolute;
    font-size: 2rem;
    animation: heartFloat 3s ease-in-out infinite;
}

.heart:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.heart:nth-child(2) {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.heart:nth-child(3) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

/* Career Gift Section */
.career-gift {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gift-intro {
    text-align: center;
    margin-bottom: 60px;
}

.gift-message {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.career-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.career-path {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.career-path:hover {
    transform: translateY(-10px);
}

.sde-path {
    border-left: 6px solid #ff6b6b;
}

.mba-path {
    border-left: 6px solid #4ecdc4;
}

.path-header {
    margin-bottom: 30px;
}

.path-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.path-label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.resource-card {
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.resource-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.resource-header h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.resource-subtitle {
    color: #666;
    font-size: 1rem;
}

.credentials {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.cred-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.cred-item code {
    background: #e1e8ff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #667eea;
}

.cred-item a {
    color: #667eea;
    text-decoration: none;
}

.cred-item a:hover {
    text-decoration: underline;
}

.action-plan h5 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.plan-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.plan-day {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.day-label {
    display: block;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.plan-day ul {
    list-style: none;
    padding: 0;
}

.plan-day li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.plan-day li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.decision-guide {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.decision-guide h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.guide-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.reflection-questions {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
    list-style: none;
    padding: 0;
}

.reflection-questions li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.reflection-questions li::before {
    content: '🤔';
    position: absolute;
    left: 0;
}

.family-support {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.family-support p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: white;
}

.profile-section {
    text-align: center;
    margin-bottom: 80px;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #667eea;
    transition: transform 0.3s ease;
}

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

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: pulse 2s ease infinite;
}

.profile-section h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    animation: slideIn 1s ease;
}

.title {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 500;
    animation: slideIn 1s ease 0.2s both;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    position: relative;
}

.portfolio-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Skills */
.skill-bars .skill {
    margin-bottom: 25px;
}

.skill {
    position: relative;
}

.skill span:first-child {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.skill-percent {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
}

.skill-bar {
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.timeline-content h4 {
    color: #667eea;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.timeline-date {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-content p {
    margin-top: 10px;
    color: #666;
    line-height: 1.6;
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: #eef1ff;
}

.contact-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    text-align: center;
    padding: 50px 0;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-content p:last-child {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .animated-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .birthday-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .message-card {
        padding: 40px 30px;
    }
    
    .family-message {
        font-size: 1.1rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .slideshow-container {
        margin: 0 20px;
    }
    
    .slides {
        height: 300px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Career section responsive */
    .career-paths {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .career-path {
        padding: 30px 20px;
    }
    
    .resource-card {
        padding: 25px 20px;
    }
    
    .plan-timeline {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gift-message {
        padding: 30px 25px;
        font-size: 1.1rem;
    }
    
    .decision-guide {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .animated-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .slideshow-section {
        padding: 60px 0;
    }
    
    .birthday-message {
        padding: 60px 0;
    }
    
    .portfolio {
        padding: 60px 0;
    }
    
    .message-card {
        padding: 30px 20px;
    }
    
    .portfolio-card {
        padding: 30px 20px;
    }
}

/* Intersection Observer Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Skill bar animations on scroll */
.skill-progress.animate {
    animation: skillLoad 2s ease forwards;
}

@keyframes skillLoad {
    from {
        width: 0;
    }
    to {
        width: var(--width);
    }
}