/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    float: right;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: #f8f9fa;
    text-align: center;
}

/* About Section */
.about {
    padding: 4rem 0;
}

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

.about img {
    width: 100%;
    border-radius: 50%;
}


/* Experience Section */
.experience {
    padding: 4rem 0;
    background: #f8f9fa;
}

.experience-content {
    margin-top: 2rem;
}

.experience-category {
    margin-bottom: 3rem;
}

.experience-category h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
}

.experience-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.experience-date {
    flex: 0 0 150px;
    font-weight: 500;
    color: #666;
}

.experience-details {
    flex: 1;
}

.experience-details h4 {
    margin-bottom: 0.5rem;
}

.company {
    color: #007bff;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.experience-details ul {
    padding-left: 1.5rem;
}

.experience-details li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-date {
        flex: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }
}


/* Projects Section */
.projects {
    padding: 4rem 0;
    background: #f8f9fa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #333;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}


/* Add this to your CSS */
.experience-details li strong {
    color: #007bff;
    font-weight: 600;
}

/* Achievements Section */
.achievements {
    padding: 4rem 0;
    background: #fff;
}

/* Update achievements grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    gap: 2rem;
    margin-top: 2rem;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        margin-bottom: 1.5rem;
    }
}


.achievement-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.achievement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.achievement-details {
    padding: 1.5rem;
}

.achievement-details h3 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.achievement-details p {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.achievement-details span {
    font-size: 0.9rem;
    color: #666;
}

/* Certificates Section */
.certificates {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.certificate-item {
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.certificate-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .achievement-card {
        margin-bottom: 1.5rem;
    }
    
    .certificate-item img {
        height: 180px;
    }
}
