
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}


header {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.intro {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.intro p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-image img {
    border-radius: 50%;
    width: 95%;
    height: 95%;
    object-fit: cover;
}
  
@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  .profile-image::after, .profile-image::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: conic-gradient(from var(--angle), #7e0000, #023f00, #1c7db4, purple, #7e0000);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 50%;
    animation: 3s spin linear infinite;
  }
  
  .profile-image::before{
    filter: blur(1.5rem);
    opacity: 0.5;
  }
  
  @keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }


.button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #343a40;
}


section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.project-image {
    height: 200px;
    background-color: #f1f1f1;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-description {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.tag {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.view-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Experience */
.experience-item {
    margin-bottom: 40px;
    border-left: 2px solid #dee2e6;
    padding-left: 20px;
    position: relative;
}

.experience-item:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #212529;
    border-radius: 50%;
    left: -6px;
    top: 10px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.company {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.job-period {
    position: absolute;
    right: 0;
    top: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.job-description {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-category {
    margin-bottom: 30px;
}

.skill-category h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-bar {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-level {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-percent {
    height: 100%;
    background-color: #212529;
}

/* Contact Form */
#contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: #212529;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .intro {
        order: 2;
        margin-top: 30px;
        max-width: 100%;
    }

    .profile-image {
        order: 1;
    }

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

    .job-period {
        position: relative;
        display: block;
        margin-bottom: 10px;
    }
    
    #contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 10px;
        font-size: 0.9rem;
    }
}


.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #212529;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-links {
    display: flex;
    gap: 20px;
}

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

.nav-links a:hover {
    color: #adb5bd;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #adb5bd;
}

.icon {
    vertical-align: middle;
}

/* Add padding to body to accommodate fixed header */
body {
    padding-top: 60px;
}

/* Education Section Styles */
.certificates-container {
    margin-top: 30px;
}

.certificate-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.certificate-item:last-child {
    border-bottom: none;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.certificate-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.certificate-date {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Adjust spacing for fixed header scrolling */
section {
    scroll-margin-top: 70px;
}

@media (max-width: 576px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
    
    body {
        padding-top: 100px;
    }
}

.language-toggle {
    margin-left: 15px;
    display: flex;
    gap: 10px;
}

.lang-link {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
    overflow: hidden;
}

.lang-link:hover {
    transform: scale(1.1);
}

.flag-icon {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .social-icons {
        margin-bottom: 10px;
    }
}
