/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.education-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.education-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.institution {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.year {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.specialization {
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

/* Publications Section */
.publications-content {
    max-width: 800px;
    margin: 0 auto;
}

.publications-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.publications-text ul {
    margin-bottom: 40px;
}

.publications-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pub-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.pub-link:hover {
    text-decoration: underline;
}

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

.code-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.code-item:hover {
    transform: translateY(-5px);
}

.code-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.code-item p {
    margin-bottom: 20px;
    color: #555;
}

.code-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.code-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

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

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

    .hero-content {
        text-align: center;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .contact-info {
        text-align: center;
    }
}

/* Additional Section Styling */
.hero-section {
    background: linear-gradient(135deg, #2a3d6a 0%, #4f69a0 100%);
    color: white;
    padding: 100px 0;
    text-align: left;
}
.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 780px;
}
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cta-button {
    background-color: #00a8ff;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.25s;
}
.cta-button:hover {
    background-color: #0086d1;
}
.cta-button.outline {
    background-color: transparent;
    border: 1px solid #fff;
}

.highlight-section {
    background-color: #eff4ff;
    border-left: 4px solid #4f69a0;
    padding: 40px 0;
}
.focus-list {
    list-style: disc;
    margin-left: 20px;
    color: #333;
    max-width: 800px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e7f5;
    box-shadow: 0 8px 20px rgba(34, 60, 80, 0.08);
    padding: 22px;
}

.project-card h3 {
    margin-top: 0;
    color: #223a61;
}

.project-summary {
    font-weight: 500;
    margin-bottom: 12px;
}

.project-card ul {
    margin: 12px 0 15px 20px;
    list-style: disc;
}

.project-tags span {
    display: inline-block;
    background-color: #eaf1ff;
    color: #1f4e8a;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.project-links a {
    color: #007acc;
    text-decoration: none;
    margin-right: 15px;
    font-weight: 600;
}

.project-links a:hover {
    text-decoration: underline;
}

.diagram-placeholder {
    margin-top: 16px;
    padding: 16px;
    background-color: #f7faff;
    border: 1px dashed #a6c5ff;
    color: #305b9b;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 8px;
}

.research-list {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding-left: 0;
}

.research-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.skill-category {
    border: 1px solid #dce8ff;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
}

.skill-category h3 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #2c3e50;
}

.skill-category p {
    margin: 0;
    color: #44618f;
}

.contact-info {
    text-align: left;
}
