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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #1a1a2e;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a2e;
}

/* Section Padding */
section {
    padding: 100px 0;
}

/* Container improvements for full screen */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section titles with better spacing */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.logo-text {
    color: #1a1a2e;
    font-weight: 700;
}

@keyframes logoGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    text-align: center;
    color: #1a1a2e;
    z-index: 2;
    position: relative;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a2e;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: #666;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* About Section */
.about-section {
    background-color: #E0DCD7;
    padding: 6rem 0;
}

/* About Section Title */
.about-section .section-title {
    color: #1a1a2e;
    font-weight: 800;
}

/* About Section Content */
.about-section .bio-text {
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.8;
}

.about-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #009688);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    text-align: center;
}

.about-image .profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid #c9a227;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: scale(0.9);
}

.about-image .profile-photo:hover {
    transform: scale(0.95);
}

.about-text {
    padding-left: 2rem;
}

.about-text .bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1a1a2e;
    font-weight: 400;
}

/* Particle Background */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}

#particlesCanvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.name-animated {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50, #3498db, #5dade2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: nameGradient 3s ease-in-out infinite, nameFloat 4s ease-in-out infinite;
    position: relative;
}

.name-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c3e50, #3498db, #5dade2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(1px);
    opacity: 0.7;
    z-index: -1;
    animation: nameGlow 2s ease-in-out infinite alternate;
}

@keyframes nameGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes nameFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes nameGlow {
    0% { filter: brightness(1) blur(1px); }
    100% { filter: brightness(1.3) blur(2px); }
}

.subheading {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.5;
}

/* Photo Section */
.photo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.photo-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Bio Section */
.bio-section {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 160px;
    text-align: center;
}

/* Apple-style Button Styles */
.btn-gold {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #0056CC, #003D99);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline-gold:hover {
    background-color: #1a1a2e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
}

.btn-teal {
    background: linear-gradient(135deg, #4ECDC4, #26A69A);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 14px rgba(78, 205, 196, 0.3);
}

.btn-teal:hover {
    background: linear-gradient(135deg, #26A69A, #00695C);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
    background: #F8F7F5;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Skill Category */
.skill-category {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #5dade2);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.skill-category:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Skills List */
.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.2rem;
    flex: 1;
    align-content: start;
}

/* Skill Item */
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Apple-style Skill Icons */
.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #007AFF, #0056CC);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.skill-icon i {
    font-size: 1.4rem;
    color: white;
}

.skill-item:hover .skill-icon {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
    background: linear-gradient(135deg, #0056CC, #003D99);
}

/* Design Software Icons */
.skill-category:nth-child(1) .skill-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
}

.skill-category:nth-child(1) .skill-item:hover .skill-icon {
    background: linear-gradient(135deg, #FF5252, #FF1744);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Project Management Icons */
.skill-category:nth-child(2) .skill-icon {
    background: linear-gradient(135deg, #4ECDC4, #26A69A);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.25);
}

.skill-category:nth-child(2) .skill-item:hover .skill-icon {
    background: linear-gradient(135deg, #26A69A, #00695C);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/* Soft Skills Icons */
.skill-category:nth-child(3) .skill-icon {
    background: linear-gradient(135deg, #FFD93D, #FFC107);
    box-shadow: 0 4px 12px rgba(255, 217, 61, 0.25);
}

.skill-category:nth-child(3) .skill-item:hover .skill-icon {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.4);
}

/* Languages Icons */
.skill-category:nth-child(4) .skill-icon {
    background: linear-gradient(135deg, #AB47BC, #9C27B0);
    box-shadow: 0 4px 12px rgba(171, 71, 188, 0.25);
}

.skill-category:nth-child(4) .skill-item:hover .skill-icon {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    box-shadow: 0 8px 25px rgba(171, 71, 188, 0.4);
}

.skill-item:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555555;
    transition: color 0.3s ease;
    text-align: center;
    line-height: 1.3;
}

.skill-item:hover .skill-name {
    color: #2c3e50;
    font-weight: 600;
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #007AFF, #0056CC);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

.timeline-content {
    flex: 1;
}

/* Job Card */
.job-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #0056CC);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.job-header {
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007AFF;
    margin-bottom: 0.5rem;
}

.job-dates {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.job-location {
    font-size: 0.9rem;
    color: #95a5a6;
    font-style: italic;
}

.job-description {
    margin-top: 1rem;
}

.job-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

.job-achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #007AFF;
    font-size: 0.8rem;
    font-weight: bold;
}

.job-achievements li:last-child {
    margin-bottom: 0;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Projects Subsection */
.projects-subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #5dade2);
    border-radius: 2px;
}

/* Academic Projects Subsection Title */
.projects-subsection:first-child .subsection-title {
    background: linear-gradient(135deg, #AB47BC, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.2rem;
}

.projects-subsection:first-child .subsection-title::after {
    background: linear-gradient(90deg, #AB47BC, #9C27B0);
    width: 80px;
    height: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(171, 71, 188, 0.3);
}

/* Professional Projects Subsection Title */
.projects-subsection:last-child .subsection-title {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.2rem;
}

.projects-subsection:last-child .subsection-title::after {
    background: linear-gradient(90deg, #FF9800, #FF5722);
    width: 80px;
    height: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

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

/* Project Card */
.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FF5252);
    z-index: 1;
}

/* Academic Projects - Purple/Blue Gradient */
.projects-subsection:first-child .project-card::before {
    background: linear-gradient(90deg, #AB47BC, #9C27B0);
}

.projects-subsection:first-child .project-placeholder {
    background: linear-gradient(135deg, #AB47BC, #9C27B0);
    box-shadow: 0 4px 12px rgba(171, 71, 188, 0.25);
}

.projects-subsection:first-child .project-title {
    color: #AB47BC;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.projects-subsection:first-child .project-role {
    color: #9C27B0;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #AB47BC, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-subsection:first-child .btn-outline {
    border: 2px solid #AB47BC;
    color: #AB47BC;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(171, 71, 188, 0.1);
}

.projects-subsection:first-child .btn-outline:hover {
    background: linear-gradient(135deg, #AB47BC, #9C27B0);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(171, 71, 188, 0.4);
}

/* Professional Projects - Orange/Red Gradient */
.projects-subsection:last-child .project-card::before {
    background: linear-gradient(90deg, #FF9800, #FF5722);
}

.projects-subsection:last-child .project-placeholder {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
}

.projects-subsection:last-child .project-title {
    color: #FF9800;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.projects-subsection:last-child .project-role {
    color: #FF5722;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-subsection:last-child .btn-outline {
    border: 2px solid #FF9800;
    color: #FF9800;
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.projects-subsection:last-child .btn-outline:hover {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

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

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Project Image */
.project-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.project-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

.project-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1) rotate(5deg);
}

/* Project Content */
.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-role {
    font-size: 1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1.5rem;
}

/* Project Actions */
.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 0.8rem 1.5rem;
    border: 2px solid #FF6B6B;
    background: transparent;
    color: #FF6B6B;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.btn-outline:hover {
    background: #FF6B6B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Contact Section */
.contact-section {
    background-color: #F8F7F5;
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ECDC4, #26A69A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Email Icon - Blue */
.contact-info-item:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.contact-info-item:nth-child(1) .contact-icon:hover {
    background: linear-gradient(135deg, #0056CC, #003D99);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

/* Location Icon - Green */
.contact-info-item:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.contact-info-item:nth-child(2) .contact-icon:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* LinkedIn Icon - Professional Blue */
.contact-info-item:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #0077B5, #005885);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
}

.contact-info-item:nth-child(3) .contact-icon:hover {
    background: linear-gradient(135deg, #005885, #003D5F);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
}

.contact-text p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.contact-text a {
    color: #4ECDC4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #26A69A;
}

/* Email Link - Blue */
.contact-info-item:nth-child(1) .contact-text a {
    color: #007AFF;
}

.contact-info-item:nth-child(1) .contact-text a:hover {
    color: #0056CC;
}

/* Location Link - Green */
.contact-info-item:nth-child(2) .contact-text a {
    color: #4CAF50;
}

.contact-info-item:nth-child(2) .contact-text a:hover {
    color: #388E3C;
}

/* LinkedIn Link - Professional Blue */
.contact-info-item:nth-child(3) .contact-text a {
    color: #0077B5;
}

.contact-info-item:nth-child(3) .contact-text a:hover {
    color: #005885;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Contact Details */
.contact-details {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    height: fit-content;
}

.contact-details-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info-grid {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.contact-text p {
    font-size: 1rem;
    color: #555555;
    margin: 0;
}

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

.email-link {
    color: #3498db !important;
    font-weight: 500;
}

.email-link:hover {
    color: #2980b9 !important;
}

.linkedin-link {
    color: #0077b5 !important;
    font-weight: 500;
}

.linkedin-link:hover {
    color: #005885 !important;
}

.linkedin-icon {
    background: linear-gradient(135deg, #0077b5, #005885) !important;
}

.linkedin-icon i {
    font-size: 1.1rem;
}

.resume-download {
    text-align: center;
    margin-top: 2rem;
}

.resume-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-btn i {
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.form-submit i {
    font-size: 1.1rem;
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-input.error,
.form-textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 2rem 0;
    border-top: 1px solid #e8e8e8;
}

.footer-text {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Design */
/* Laptop screens (14-inch and similar) */
@media (max-width: 1440px) and (min-width: 1025px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 900px;
    }
    
    .skill-category {
        padding: 2rem 1.5rem;
        min-height: 320px;
    }
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-category {
        padding: 2rem;
        min-height: auto;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 1.5rem;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .content-wrapper {
        padding: 0 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        padding-left: 0;
    }
    
    .skills-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-item {
        padding: 1.2rem 1rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-icon i {
        font-size: 1.2rem;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .name {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .subheading {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .photo-frame {
        width: 160px;
        height: 160px;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .category-header {
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.6rem;
    }
    
    .skill-item {
        padding: 0.8rem 0.5rem;
    }
    
    .skill-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.6rem;
    }
    
    .skill-icon i {
        font-size: 0.9rem;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .job-title {
        font-size: 1.2rem;
    }
    
    .job-company {
        font-size: 1rem;
    }
    
    .job-achievements li {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-outline {
        width: 100%;
        min-width: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details,
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .form-submit {
        width: 100%;
        justify-content: center;
    }
}

/* iPhone 14 Pro Max and large mobile devices */
@media (max-width: 430px) and (max-height: 932px) {
    .home-section {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .name {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .subheading {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 2rem;
    }
    
    .photo-frame {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.8rem 0.5rem;
    }
    
    .skill-icon {
        width: 35px;
        height: 35px;
    }
    
    .skill-name {
        font-size: 0.7rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        padding-left: 1rem;
    }
    
    .timeline-marker {
        left: 15px;
        width: 14px;
        height: 14px;
    }
    
    .job-card {
        padding: 1.2rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .job-company {
        font-size: 0.9rem;
    }
    
    .job-achievements li {
        font-size: 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .btn-outline {
        width: 100%;
        min-width: auto;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-details,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.2rem;
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-text h4 {
        font-size: 0.9rem;
    }
    
    .contact-text p {
        font-size: 0.85rem;
    }
    
    .form-submit {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

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

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

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

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.skill-category:nth-child(1) { transition-delay: 0.1s; }
.skill-category:nth-child(2) { transition-delay: 0.2s; }
.skill-category:nth-child(3) { transition-delay: 0.3s; }

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }
.project-card:nth-child(4) { transition-delay: 0.4s; }
.project-card:nth-child(5) { transition-delay: 0.5s; }
.project-card:nth-child(6) { transition-delay: 0.6s; }

/* Focus states for accessibility */
.skill-item:focus,
.btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

