h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 1rem;
}
.btn,
.navbar {
    transition: 0.3s;
}
.btn,
.nav-menu a {
    text-decoration: none;
}
.nav-menu a.active::after,
.nav-menu a:hover::after,
.navbar {
    width: 100%;
}
.container,
.hero-container,
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
}
.project-card,
.project-image,
.skill-bar {
    overflow: hidden;
}
.footer-content,
.section-subtitle,
.section-title,
.skill-icon {
    text-align: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Inter, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fff;
}
.container {
    padding: 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 16px;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}
.btn-secondary {
    background: #fbbf24;
    border: 2px solid #fbbf24;
    color: #1f2937;
}
.btn-outline {
    background: 0 0;
    color: #fbbf24;
    border: 2px solid #fbbf24;
}
.navbar {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(34px);
}
.hero-image-container,
.nav-menu a,
.project-image {
    position: relative;
}
.nav-container {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-toggle,
.timeline-item:last-child::after {
    display: none;
}
.nav-menu a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.3s;
    border-radius: 2px;
}
.hero,
.nav-menu a:hover {
    background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
}
.nav-menu a:hover {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-toggle {
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.nav-toggle:hover {
    background-color: rgba(102, 126, 234, 0.1);
}
.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4b5563;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 120px 0 80px;
}
.hero-container {
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.highlight {
    color: #fbbf24;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.project-link,
.project-overlay {
    align-items: center;
    display: flex;
}
.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    border: 3px solid;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.project-link,
.social-link {
    width: 50px;
    text-decoration: none;
}
.project-card,
.skill-icon,
.timeline-content {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.experience,
.projects,
.skills {
    padding: 100px 0;
    background: #f8fafc;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 4rem;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: #fff;
    border-radius: 16px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.project-card:hover,
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}
.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-links {
    display: flex;
    gap: 1rem;
}
.project-link {
    height: 50px;
    background: #fff;
    border-radius: 50%;
    justify-content: center;
    color: #1f2937;
    transition: 0.3s;
}
.project-link:hover,
.social-link:hover {
    background: #6366f1;
    color: #fff;
    transform: scale(1.1);
}
.private-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #fbbf24;
}
.private-badge i {
    font-size: 1rem;
}
.project-content {
    padding: 1.5rem;
}
.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.project-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.project-tech,
.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-tag {
    background: #e5e7eb;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.about,
.contact {
    padding: 100px 0;
    background: #fff;
}
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #6366f1;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #e5e7eb;
}
.timeline-item::after {
    content: "";
    position: absolute;
    left: -23px;
    top: 36px;
    width: 2px;
    height: calc(100% - 16px);
    background: #e5e7eb;
}
.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    margin-left: 40px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.timeline-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.timeline-title {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
}
.timeline-company {
    font-size: 1.1rem;
    color: #6366f1;
    font-weight: 600;
}
.timeline-duration {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}
.timeline-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.stat h3 {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}
.stat p {
    color: #6b7280;
    font-weight: 500;
}
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.skills-chart h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}
.form-group,
.skill-item {
    margin-bottom: 1.5rem;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.skill-name {
    font-weight: 500;
    color: #1f2937;
}
.skill-percentage {
    color: #6366f1;
    font-weight: 600;
}
.skill-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}
.skill-fill {
    height: 100%;
    background: #6366f1;
    border-radius: 4px;
}
.skill-fill.gradient {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}
.contact-form,
.skill-icon {
    padding: 2rem;
    border-radius: 16px;
}
.skills-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    transition: transform 0.3s;
}
.skill-icon:hover {
    transform: translateY(-5px);
}
.skill-icon i {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 1rem;
}
.skill-icon span {
    font-weight: 500;
    color: #4b5563;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-form {
    background: #f8fafc;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: #6366f1;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: #6366f1;
}
.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}
.contact-item p,
.social-link {
    color: #6b7280;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.social-link {
    height: 50px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.footer {
    background: #1f2937;
    color: #fff;
    padding: 3rem 0 2rem;
}
.footer-links a:hover,
.footer-logo {
    color: #6366f1;
}
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}
@media (max-width: 1200px) {
    .about-content,
    .contact-content,
    .hero-container,
    .skills-content {
        gap: 3rem;
    }
}
@media (max-width: 1024px) {
    .about-content,
    .contact-content,
    .hero-container,
    .skills-content {
        gap: 2.5rem;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .about-content,
    .contact-content,
    .hero-container,
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .nav-toggle {
        display: flex;
    }
    .hero-container {
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons,
    .social-links {
        justify-content: center;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    .skills-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-links {
        flex-direction: row;
        gap: 1.5rem;
    }
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
@media (max-width: 640px) {
    .about-stats,
    .projects-grid,
    .skills-icons {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 120px 0 80px;
    }
    .hero-title,
    .section-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .projects-grid {
        gap: 2rem;
    }
    .about-stats {
        gap: 1.5rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .container,
    .nav-container {
        padding: 0 15px;
    }
    .hero {
        padding: 100px 0 60px;
    }
    .hero-title,
    .section-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .contact-item h3,
    .hero-description {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
        font-size: 14px;
    }
    .profile-image {
        max-width: 300px;
    }
    .project-card {
        margin: 0 auto;
        max-width: 100%;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .social-links {
        gap: 0.75rem;
    }
    .social-link {
        width: 45px;
        height: 45px;
    }
}
@media (max-width: 360px) {
    .hero-title,
    .section-title {
        font-size: 1.8rem;
    }
    .hero-subtitle,
    .project-title {
        font-size: 1.1rem;
    }
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .profile-image {
        max-width: 250px;
    }
    .project-content {
        padding: 1rem;
    }
    .skill-icon {
        padding: 1.5rem;
    }
    .skill-icon i {
        font-size: 2.5rem;
    }
}
