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

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

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

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
    object-fit: cover;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-resume {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-resume:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-resume i {
    margin-right: 8px;
}

/* About Section */
.about {
    background-color: white;
    padding: 60px 20px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Experience Section */
.experience {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.job-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: block;
    gap: 20px;
}

/* Company Logo - Image Based */
.company-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: contain;
    flex-shrink: 0;
    background-color: #ffffff;
    padding: 8px;
}

.job-details {
    display: block; /* Force vertical stacking */
    width: 100%;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    border-left: 3px solid #e0e0e0;
}

.job-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}
.job-title {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.job-period {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.job-description {
    color: #555;
    margin-bottom: 1rem;
}

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

.achievements li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.5rem;
    color: #555;
}

.achievements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background-color: #ecf0f1;
    color: #555;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Projects Section */
.projects {
    background-color: white;
    padding: 60px 20px;
}

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

.project-card img {
    width: 99%;
    height: 180px;
    object-fit: cover;
    object-position: top;
} 

.project-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
    display: block; /* Make it behave like a block */
    color: inherit; /* Keep text color */
}


/* on hover - open link */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.project-card h3 {
    padding: 20px;
    font-size: 1.1rem;
    color: #555;
    transition: color 0.3s; /* Smooth color transition */
}

.project-card:hover h3 {
    color: #667eea; /* Change title color on hover */
}

.project-card h3 {
    padding: 20px;
    font-size: 0.9rem;
    color: #555;
}
.project-card h4 {
    padding: 10px;
    font-size: 0.8rem;
    color: #555555e7;
}
/* Education Section */
.education {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.education-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.education-period {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.education-description {
    color: #555;
    margin-bottom: 1rem;
}

.education-card ul {
    list-style: none;
}

.education-card li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.5rem;
    color: #555;
}

.education-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .job-card {
        flex-direction: column;
    }

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

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

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

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-links a i {
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: #4a9eff;
}