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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .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, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow-x: hidden;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-text h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-width: fit-content;
    box-sizing: border-box;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    position: relative;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2563eb;
}

/* About Section */
.about {
    background: #f8fafc;
    position: relative;
    z-index: 10;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

.about-button {
    margin-top: 2rem;
    text-align: center;
}

.about-button .btn {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
}

.skills h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-category {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

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

.skill-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.skill-tag.secondary {
    background: #f0fdf4;
    color: #166534;
}

.skill-tag:hover {
    transform: translateY(-2px);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.skill-item i {
    font-size: 1.5rem;
    color: #2563eb;
}

.skill-item span {
    font-weight: 500;
    color: #334155;
}

/* Projects Section */
.projects {
    position: relative;
    z-index: 10;
    background: #fff;
}

.project-category {
    margin-bottom: 4rem;
}

.project-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

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

.projects-vertical {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.projects-vertical .project-card {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.project-image.client-app {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.app-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.project-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 2rem 0 2rem;
    margin-bottom: 0.5rem;
}

.app-title-section {
    margin-left: 1rem;
    flex: 1;
}

.project-header .app-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 0.25rem 0;
}

.project-header .app-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

.project-header .app-icon-img {
    flex-shrink: 0;
}

.app-screenshots {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 1rem 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot {
    width: 150px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-content {
    padding: 1rem 2rem 2rem 2rem;
}

/* Clickable Project Cards */
.project-card.clickable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* App Details Pages */
.app-details {
    padding: 8rem 0 4rem 0;
    min-height: 100vh;
}

.app-header-detail {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    flex-shrink: 0;
}

.app-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.app-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.app-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-screenshots-large {
    margin-bottom: 3rem;
}

.app-screenshots-large h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2563eb;
}

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

.screenshot-large {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-large:hover {
    transform: scale(1.05);
}

.app-description {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
}

.app-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.app-description h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #374151;
}

.code-section {
    background: #1f2937;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-section pre {
    margin: 0;
    color: #e5e7eb;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-section code {
    color: #e5e7eb;
    font-family: inherit;
}

.tech-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.tech-summary p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.app-description h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2563eb;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.app-description h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
    color: #2563eb;
}

.app-description ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.app-description li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Development Apps Styles */
.development-app {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2563eb;
}

.development-app h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.development-app h4 i {
    color: #2563eb;
}

.development-app p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.progress-note {
    font-style: italic;
    color: #059669 !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

/* Responsive Design for App Details */
@media (max-width: 768px) {
    .app-header-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .app-info h1 {
        font-size: 2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .tech-tags {
        justify-content: center;
    }
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2563eb;
}

.feature-section, .tech-section {
    margin: 1.5rem 0;
}

.feature-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.feature-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #64748b;
}

.feature-section li {
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.tech-section p {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.6;
}

.tech-section strong {
    color: #334155;
    font-weight: 600;
}

.project-content .app-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #64748b;
    font-style: italic;
}

.project-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.project-status.published {
    color: #059669;
}

.project-status.submitted {
    color: #d97706;
}

.project-status.in-progress {
    color: #7c3aed;
}

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

/* Contact Section */
.contact {
    background: #f8fafc;
    position: relative;
    z-index: 10;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

/* About Page Styles */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
}

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

.about-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-location, .hero-email {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero-location i, .hero-email i {
    margin-right: 0.5rem;
    width: 20px;
}

.about-profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.detailed-about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-content h2 {
    color: #2563eb;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.job-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.job-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-header h3 {
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.job-date {
    color: #64748b;
    font-weight: 500;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.job-item ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.job-item li {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skill-category h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.skill-tag, .interest-tag, .other-skill-tag {
    background: #e2e8f0;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-tag {
    background: #dbeafe;
    color: #1e40af;
}

.interest-tag {
    background: #fef3c7;
    color: #92400e;
}

.other-skill-tag {
    background: #ecfdf5;
    color: #166534;
}

.education-item, .cert-item {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
}

.education-item h3, .cert-item h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.institution, .date {
    color: #64748b;
    font-weight: 500;
}

.accomplishments-list {
    list-style: none;
    padding: 0;
}

.accomplishments-list li {
    background: #f8fafc;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

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

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.language {
    font-weight: 600;
    color: #334155;
}

.level {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.level.native {
    background: #dcfce7;
    color: #166534;
}

.level.advanced {
    background: #dbeafe;
    color: #1e40af;
}

.level.basic {
    background: #fef3c7;
    color: #92400e;
}

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

.info-category h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.back-to-home {
    margin-top: 3rem;
    text-align: center;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.nav-menu .active {
    color: #2563eb;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 2rem 0;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Design */
/* Tablets and medium screens */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-text h1 {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    
    .hero-text h2 {
        font-size: clamp(1rem, 2.8vw, 1.3rem);
    }
    
    .hero-text p {
        font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    }
    
    .hero-content {
        gap: 2.5rem;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-container {
        padding: 0 1rem;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-text h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        line-height: 1.1;
    }
    
    .hero-text h2 {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    
    .hero-text p {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }

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

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

    .stats {
        justify-content: center;
    }

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

/* Small mobile screens */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }

    .nav-container {
        padding: 0 0.8rem;
    }

    .hero-container {
        padding: 0 0.8rem;
    }

    .hero-text h1 {
        font-size: clamp(1.3rem, 7vw, 2rem);
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: clamp(0.8rem, 4.5vw, 1.1rem);
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: clamp(0.8rem, 3.8vw, 0.95rem);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }

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

    .profile-photo {
        width: 200px;
        height: 200px;
    }

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

    section {
        padding: 3rem 0;
    }

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