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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    background: #f8f9fa;
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

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

.nav-link {
    position: relative;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.greeting {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 400;
}

.name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.role {
    font-size: 2rem;
    color: #666;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: #667eea;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    background: #667eea;
    color: white;
}

.profile-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 22px;
    z-index: -1;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    object-position: center;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

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

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Introduction Section */
.about-intro {
    margin-bottom: 20px;
}

.intro-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 700;
}

.intro-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Titles */
.section-title-small {
    color: #2d3748;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* Journey Evolution */
.about-journey {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.journey-narrative {
    max-width: 800px;
    margin: 0 auto;
}

.story-intro {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.evolution-path {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    position: relative;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-bottom: 30px;
}

.step-label {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.step-content p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.path-connector {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    margin-left: 23.5px;
    position: relative;
    z-index: 1;
}

/* Focus Areas */
.about-focus {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

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

.focus-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.focus-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
}

.focus-card h4 {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.focus-card p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Education Section */
.about-education {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.education-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
}

.education-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.education-details h4 {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.education-details p {
    color: #4a5568;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.education-institution {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Specialties Section */
.about-specialties {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

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

.specialty-card {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.specialty-card h4 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.specialty-card p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Skills Section */
.skills-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skills-category h3 {
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.skill-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.skill-item span {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.skill-level {
    background: #e2e8f0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Skill level colors */
.skill-level-1 {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
}

.skill-level-2 {
    background: linear-gradient(135deg, #feebc8 0%, #fbd38d 100%);
}

.skill-level-3 {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
}

.skill-level-4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.skill-level-5 {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.skill-badge {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    border: 1px solid #e2e8f0;
}

/* Projects Section */
.projects {
    background: #f8fafc;
}

.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 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: white;
}

.project-placeholder {
    color: white;
    font-size: 3rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    margin-bottom: 0.5rem;
    color: #333;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #e2e8f0;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

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

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 18px;
    height: 18px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e2e8f0;
}

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-header h3 {
    color: #333;
    margin-bottom: 0.25rem;
}

.company {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

.duration {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.experience-description p {
    color: #666;
    margin-bottom: 1rem;
}

.experience-achievements {
    list-style: none;
    margin-bottom: 1.5rem;
}

.experience-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.experience-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

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

.testimonial-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

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

.testimonial-content {
    position: relative;
}

.quote-icon {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.author-info span {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #666;
}

.contact-value:hover {
    color: #667eea;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

/* Resume Download Section */
.resume-downloads {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.resume-downloads h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
    font-size: 0.95rem;
    min-width: 140px;
    justify-content: center;
}

.pdf-btn {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.pdf-btn:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.docx-btn {
    background: #2b5797;
    color: white;
    border-color: #2b5797;
}

.docx-btn:hover {
    background: #1e3f73;
    border-color: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 87, 151, 0.3);
}

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

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.footer-text p {
    margin: 0;
    color: #a0aec0;
}

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

.footer-links a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 90px;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5a67d8;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2.5vh 2.5vw;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 95vw;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    margin: auto;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.format-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.format-option:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.format-option input[type="radio"] {
    margin: 0;
}

.format-option input[type="radio"]:checked + .format-icon + .format-text {
    font-weight: 600;
    color: #667eea;
}

.format-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: #f1f5f9;
}

.format-icon {
    font-size: 1.5rem;
}

.format-text {
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.modal-footer .btn {
    min-width: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: 6px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    /* Mobile Section Navigation - Hide all sections by default */
    .mobile-section-nav section {
        display: none;
    }

    /* Show active section or hero by default */
    .mobile-section-nav section.active-section,
    .mobile-section-nav #hero {
        display: block !important;
        animation: fadeInUp 0.3s ease;
    }

    /* Mobile navigation indicator */
    .mobile-nav-indicator {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(102, 126, 234, 0.9);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

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

/* Hide mobile navigation indicator on desktop */
.mobile-nav-indicator {
    display: none;
}

/* Ensure desktop always shows all sections normally */
@media (min-width: 769px) {
    .mobile-section-nav section {
        display: block !important;
    }
    
    .mobile-nav-indicator {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .profile-avatar img {
        width: 120px;
        height: 120px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

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

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

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

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

/* Achievements Styles */
.achievements {
    background: #f8f9fa;
    padding: 100px 0;
}

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

.achievement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

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

.achievement-description {
    color: #666;
    line-height: 1.6;
}

.certifications-section {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.certifications-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.8rem;
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateX(5px);
}

.cert-item i {
    font-size: 2rem;
    color: #667eea;
    min-width: 40px;
}

.cert-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.cert-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Services Styles */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-item i {
    color: #667eea;
    font-size: 0.9rem;
}

.feature-item span {
    color: #555;
    font-size: 0.95rem;
}

/* Service Menu Button */
.service-menu-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.service-menu-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-menu-btn i {
    font-size: 0.85rem;
}

/* Service Modal Styling */
.service-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.service-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.service-modal-header h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-modal-header p {
    color: #666;
    font-size: 1.1rem;
}

.service-menu-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-menu-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-menu-item:hover {
    background: #f1f5f9;
    border-color: #667eea;
    transform: translateY(-2px);
}

.service-menu-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-menu-item .service-emoji {
    font-size: 1.3rem;
}

.service-menu-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-price {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.package-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.package-section h3 {
    color: #667eea;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.package-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.package-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.package-card h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.package-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.package-timeline {
    background: #f8fafc;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.package-features {
    text-align: left;
    margin-top: 1rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 0.25rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.package-features li::before {
    content: "✔";
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

/* Achievement Link Styling */
.achievement-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.achievement-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.achievement-link i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.consultation-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

.cta-buttons .btn-primary {
    background: white;
    color: #667eea;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Project Modal Styles */
#projectModal .modal-content {
    max-width: 95vw;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: none;
    position: relative;
    margin: auto;
}

#projectModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.project-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 25px 30px 0 30px;
}

.project-modal-header h2 {
    font-size: 1.9rem;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-modal {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border: none;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
}

.project-modal-body {
    padding: 0 30px 30px 30px;
}

.project-modal-image {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.project-modal-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Screenshot Gallery Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-content {
    max-width: 95vw;
    max-height: 95vh;
    width: 1200px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.gallery-body {
    padding: 0;
    background: white;
    display: flex;
    flex-direction: column;
    height: calc(95vh - 80px);
    transition: all 0.4s ease;
}

.gallery-content:not(:hover) .screenshot-navigation {
    flex: 1;
}

.gallery-content:not(:hover) .screenshot-image-section {
    flex: 1.5;
}

.gallery-content:not(:hover) .screenshot-image-section img {
    max-height: 800px;
}

.gallery-content:not(:hover) .screenshot-image-section img[src*="dmrb-dashboard"] {
    max-height: 700px;
    object-position: center center;
    margin: auto 0;
    align-self: center;
    flex-shrink: 0;
}

.gallery-content:not(:hover) .screenshot-image-section img[src*="dmrb-task-manager"] {
    max-height: 550px;
}

.gallery-content:not(:hover) .screenshot-image-section img[src*="python-core-widgets"] {
    max-height: 850px;
    min-height: 600px;
    width: 100%;
    object-position: center center;
    margin: auto 0;
    align-self: center;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-content:not(:hover) .screenshot-image-section img[src*="CleanShot"] {
    max-height: 800px;
    width: 100%;
    object-position: center center;
    margin: auto;
    align-self: center;
    flex-shrink: 0;
    object-fit: contain;
}

.gallery-content:not(:hover) .screenshot-info-section {
    flex: 1.2;
    padding: 35px;
    font-size: 1.1rem;
}

.gallery-content:not(:hover) .screenshot-caption h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.gallery-content:not(:hover) .screenshot-caption p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.screenshot-navigation {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    flex: 1;
    min-height: 0;
}

.nav-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.screenshot-container {
    flex: 1;
    display: flex;
    gap: 20px;
    min-height: 0;
}

.screenshot-image-section {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.screenshot-image-section img[src*="dmrb-dashboard"] {
    align-self: center;
    vertical-align: middle;
}

.screenshot-info-section {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.screenshot-image-section img {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Individual screenshot adjustments */
.screenshot-image-section img[src*="dmrb-login"] {
    object-fit: cover;
    object-position: center top;
}

.screenshot-image-section img[src*="dmrb-dashboard"] {
    object-fit: scale-down;
    max-height: 500px;
    width: auto;
    max-width: 100%;
    object-position: center center;
    margin: auto 0;
    align-self: center;
    flex-shrink: 0;
}

.screenshot-image-section img[src*="dmrb-mr-board"] {
    object-fit: contain;
    max-height: 580px;
}

.screenshot-image-section img[src*="dmrb-task-manager"] {
    object-fit: scale-down;
    max-height: 380px;
    width: auto;
    max-width: 100%;
    object-position: center;
}

.screenshot-image-section img[src*="python-training"] {
    object-fit: contain;
    max-height: 520px;
}

.screenshot-image-section img[src*="CleanShot"] {
    object-fit: contain;
    max-height: 600px;
    width: 100%;
    object-position: center center;
    margin: auto;
    align-self: center;
    flex-shrink: 0;
}

.screenshot-image-section img[src*="python-core-widgets"] {
    object-fit: contain;
    max-height: 650px;
    min-height: 500px;
    width: 100%;
    max-width: 100%;
    object-position: center center;
    margin: auto 0;
    align-self: center;
    flex-shrink: 0;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.screenshot-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.screenshot-caption h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.screenshot-caption p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    flex: 1;
}

.screenshot-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    min-height: 120px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.gallery-content:hover .screenshot-thumbnails {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.thumbnail {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: cover;
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #667eea;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    z-index: 10;
    position: relative;
}

.screenshot-counter {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding: 10px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-content {
        max-width: 98vw;
        max-height: 98vh;
        width: auto;
    }
    
    .gallery-header {
        padding: 15px 20px;
    }
    
    .gallery-body {
        height: calc(98vh - 70px);
    }
    
    .screenshot-navigation {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .screenshot-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .screenshot-image-section {
        flex: none;
        height: auto;
        max-height: 300px;
    }
    
    .screenshot-image-section img {
        max-height: 300px;
        width: auto;
        max-width: 100%;
    }
    
    .screenshot-info-section {
        flex: none;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .nav-btn {
        align-self: center;
    }
    
    .thumbnail {
        width: 75px;
        height: 55px;
        flex-shrink: 0;
    }
    
    .screenshot-caption h4 {
        font-size: 1.2rem;
    }
    
    .screenshot-caption p {
        font-size: 0.9rem;
    }
    
    .screenshot-thumbnails {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 20px 15px;
        gap: 15px;
        min-height: 100px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
    
    .gallery-content:not(:hover) .screenshot-image-section {
        max-height: 400px;
    }
    
    .gallery-content:not(:hover) .screenshot-image-section img {
        max-height: 450px;
    }
    
    .gallery-content:not(:hover) .screenshot-image-section img[src*="dmrb-dashboard"] {
        max-height: 400px;
        object-position: center center;
        margin: auto 0;
        align-self: center;
        flex-shrink: 0;
    }
    
    .gallery-content:not(:hover) .screenshot-image-section img[src*="dmrb-task-manager"] {
        max-height: 320px;
    }
    
    .gallery-content:not(:hover) .screenshot-image-section img[src*="python-core-widgets"] {
        max-height: 480px;
        min-height: 350px;
        width: 100%;
        object-position: center center;
        margin: auto 0;
        align-self: center;
        flex-shrink: 0;
        object-fit: contain;
        display: block;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .gallery-content:not(:hover) .screenshot-image-section img[src*="CleanShot"] {
        max-height: 450px;
        width: 100%;
        object-position: center center;
        margin: auto;
        align-self: center;
        flex-shrink: 0;
        object-fit: contain;
    }
    
    /* Mobile individual adjustments */
    .screenshot-image-section img[src*="dmrb-login"] {
        max-height: 350px;
        object-position: center top;
    }
    
    .screenshot-image-section img[src*="dmrb-dashboard"] {
        max-height: 300px;
        object-fit: scale-down;
    }
    
    .screenshot-image-section img[src*="dmrb-task-manager"] {
        max-height: 310px;
        object-fit: scale-down;
    }
    
    .screenshot-image-section img[src*="python-training"] {
        max-height: 300px;
    }
    
    .screenshot-image-section img[src*="CleanShot"] {
        max-height: 280px;
    }
    
    .gallery-content:not(:hover) .screenshot-info-section {
        max-height: 250px;
        padding: 20px;
    }
    
    .screenshot-thumbnails::-webkit-scrollbar {
        display: none;
    }
}

.project-modal-description {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.project-modal-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
    font-weight: 500;
}

.project-modal-detailed {
    margin: 25px 0;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
}

.project-modal-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-modal-detailed h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin: 0 0 18px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-modal-detailed h4::before {
    content: '▶';
    color: #667eea;
    font-size: 0.9rem;
}

.project-modal-detailed p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 18px 0;
}

.project-modal-detailed ul {
    margin: 18px 0;
    padding-left: 0;
    list-style: none;
}

.project-modal-detailed li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.project-modal-detailed li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.project-modal-detailed li strong {
    color: #2d3748;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-modal-tech {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.project-modal-tech h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-modal-tech h3::before {
    content: '🛠️';
    font-size: 1.1rem;
}

.project-modal-tech .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-modal-tech .tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-modal-tech .tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.project-modal-tech .tech-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.project-modal-tech .tech-tag:hover::before {
    left: 100%;
}

.project-modal-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.project-modal-actions .btn {
    min-width: 160px;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    text-transform: none;
    position: relative;
    cursor: pointer;
}

.project-modal-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.project-modal-actions .btn:hover::before {
    left: 100%;
}

.project-modal-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.project-modal-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.project-modal-actions .btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.project-modal-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* Modal Animation */
.modal-overlay {
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
    opacity: 1;
}

.modal-overlay .modal-content {
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

/* Custom Scrollbar for Modal */
#projectModal .modal-content::-webkit-scrollbar {
    width: 6px;
}

#projectModal .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#projectModal .modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

#projectModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Project Category Styling */
.project-category {
    margin-bottom: 60px;
}

.featured-project {
    margin-bottom: 80px;
}

.project-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
}

.category-icon {
    font-size: 2rem;
    min-width: 50px;
}

.project-category-header h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.category-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.featured-project .project-card {
    transform: scale(1.02);
    border: 2px solid #667eea;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.featured-project .project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

/* Project Action Buttons */
.project-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-btn {
    flex: 1;
    min-width: 110px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.project-btn:hover::before {
    left: 100%;
}

.project-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.project-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.project-btn.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-btn.secondary:hover {
    background: #f8fafc;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.project-btn i {
    font-size: 0.9rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    #projectModal .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    
    .project-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .project-modal-actions {
        flex-direction: column;
    }
    
    .project-modal-actions .btn {
        width: 100%;
    }
    
    .project-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-category-header h3 {
        font-size: 1.5rem;
    }
    
    .category-line {
        width: 100%;
        height: 2px;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-btn {
        min-width: auto;
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    /* About Section Mobile */
    .intro-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .evolution-path {
        gap: 10px;
    }
    
    .path-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .path-connector {
        height: 20px;
        width: 3px;
        margin: 0 auto;
    }
    
    .step-content {
        padding-bottom: 20px;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
