/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FFCC66 0%, #FFB833 25%, #FF9900 50%, #E67E00 75%, #CC6600 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #FFCC66;
    box-shadow: 0 10px 30px rgba(255, 204, 102, 0.3);
    transition: transform 0.3s ease;
}

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

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    text-align: center;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.location {
    color: #9ca3af;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 102, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Section Styles */
.section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    border-radius: 2px;
}

/* About Section */
.about-content p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.skill-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 102, 0.3);
}

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

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    border: 3px solid white;
    box-shadow: 0 0 0 3px #FFCC66;
}

.timeline-date {
    font-weight: 600;
    color: #FFCC66;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.company {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #4b5563;
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFCC66;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #FFB833;
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn.primary {
    background: linear-gradient(135deg, #FFCC66, #FFB833);
    color: white;
}

.contact-btn.secondary {
    background: white;
    color: #FFCC66;
    border: 2px solid #FFCC66;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    border-top: 1px solid #f0f0f0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Reduce background effects on mobile */
    .floating-shapes .shape {
        opacity: 0.05;
    }
    
    .gradient-orb {
        opacity: 0.1;
        filter: blur(60px);
    }
    
    .particle {
        display: none;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

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

.section {
    animation: fadeInUp 0.6s ease-out;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }
.section:nth-child(6) { animation-delay: 0.5s; }

/* Floating Background Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.shape:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #FFCC66, #FFB833);
    border-radius: 50%;
    animation-delay: 0s;
    box-shadow: 0 0 30px rgba(255, 204, 102, 0.6);
}

.shape:nth-child(2) {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFB833, #FF9900);
    transform: rotate(45deg);
    animation-delay: -5s;
    box-shadow: 0 0 25px rgba(255, 184, 51, 0.6);
}

.shape:nth-child(3) {
    top: 40%;
    left: 8%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #FF9900, #E67E00);
    border-radius: 20px;
    animation-delay: -10s;
    box-shadow: 0 0 35px rgba(255, 153, 0, 0.6);
}

.shape:nth-child(4) {
    top: 60%;
    right: 5%;
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #FFD699, #FFCC66);
    border-radius: 50%;
    animation-delay: -15s;
    box-shadow: 0 0 28px rgba(255, 214, 153, 0.6);
}

.shape:nth-child(5) {
    top: 80%;
    left: 10%;
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, #FFE0B3, #FFD699);
    transform: rotate(30deg);
    border-radius: 15px;
    animation-delay: -2s;
    box-shadow: 0 0 32px rgba(255, 224, 179, 0.6);
}

.shape:nth-child(6) {
    top: 30%;
    right: 3%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #FFCC66, #FF9900);
    border-radius: 50%;
    animation-delay: -8s;
    box-shadow: 0 0 22px rgba(255, 204, 102, 0.6);
}

.shape:nth-child(7) {
    top: 15%;
    left: 15%;
    width: 65px;
    height: 65px;
    background: linear-gradient(45deg, #FFB833, #E67E00);
    transform: rotate(60deg);
    border-radius: 12px;
    animation-delay: -12s;
    box-shadow: 0 0 26px rgba(255, 184, 51, 0.6);
}

.shape:nth-child(8) {
    top: 75%;
    right: 12%;
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #FFD699, #FFB833);
    border-radius: 50%;
    animation-delay: -6s;
    box-shadow: 0 0 24px rgba(255, 214, 153, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.7);
    }
}

.shape:nth-child(odd) {
    animation: float 20s infinite ease-in-out, glow-pulse 3s infinite ease-in-out;
}

.shape:nth-child(even) {
    animation: float 20s infinite ease-in-out, glow-pulse 4s infinite ease-in-out;
}

/* Particle Effect */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 204, 102, 0.8) 0%, rgba(255, 184, 51, 0.4) 70%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 15s infinite linear;
    box-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

.particle:nth-child(odd) {
    animation-duration: 20s;
    animation-delay: -5s;
}

.particle:nth-child(even) {
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    animation: orb-float 30s infinite ease-in-out, color-shift 40s infinite ease-in-out;
}

.gradient-orb:nth-child(1) {
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 204, 102, 0.6), rgba(255, 184, 51, 0.3));
    animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
    top: 60%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.6), rgba(230, 126, 0, 0.3));
    animation-delay: -10s;
}

.gradient-orb:nth-child(3) {
    bottom: 20%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 214, 153, 0.6), rgba(255, 204, 102, 0.3));
    animation-delay: -20s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Additional color variations */
.shape:nth-child(odd) {
    filter: hue-rotate(0deg) brightness(1.2) saturate(1.5);
}

.shape:nth-child(even) {
    filter: hue-rotate(15deg) brightness(1.2) saturate(1.5);
}

@keyframes color-shift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1.1);
    }
    50% {
        filter: hue-rotate(30deg) brightness(1.3);
    }
}

.gradient-orb {
    animation: orb-float 30s infinite ease-in-out, color-shift 40s infinite ease-in-out;
}

/* Background overlay for contrast */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.05) 75%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: -2;
} 