/* Import Google Font: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Reset and general styles */
body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9fafb; /* Very light gray */
    color: #2c3e50; /* Soft dark blue-gray */
}

header {
    background: #2c3e50; /* Dark blue-gray */
    color: #ecf0f1; /* Light gray */
    padding: 1.2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 18px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #1abc9c; /* Aquamarine */
    outline: none;
}

/* Sections */
section {
    padding: 2.5rem 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(44, 62, 80, 0.1);
}

h2 {
    color: #2c3e50;
    border-bottom: 3px solid #1abc9c; /* Aquamarine */
    padding-bottom: 12px;
    margin-bottom: 28px;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.02em;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    text-align: justify;
}

.profile-img {
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.15);
    flex-shrink: 0;
}

/* Paragraphs inside about-text */
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #34495e;
}

/* Lists styling */
ul {
    list-style: disc inside;
    color: #34495e;
    font-size: 1rem;
    line-height: 1.6;
    margin-left: 1rem;
}

ul li {
    margin-bottom: 0.7rem;
}

/* Links */
a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #16a085;
    text-decoration: underline;
    outline: none;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* Navigation responsive */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 12px 0;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-img {
        margin: 0 auto 1.5rem;
        max-width: 80vw;
    }

    section {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* Teaching & research containers */
/* Add spacing and neat layout for lists */
.teaching-container,
.research-container,
.project-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.teaching-item,
.research-item,
.project-item {
    border-left: 4px solid #1abc9c;
    padding-left: 1rem;
    background: #f0f7f7;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.teaching-item:hover,
.research-item:hover,
.project-item:hover {
    background: #d1f0ed;
}

/* Make research and project titles stand out */
.research-item h3,
.project-item h3,
.teaching-item h3 {
    margin: 0 0 0.4rem 0;
    color: #16a085;
}

/* Contact list */
#contact ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-left: 0;
    justify-content: center;
}

#contact ul li {
    margin: 0;
}

#contact ul li a {
    background: #1abc9c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

#contact ul li a:hover,
#contact ul li a:focus {
    background: #16a085;
    outline: none;
}

/* ====== New styling for industry-solutions as list items ====== */

.industry-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.industry-item {
    margin-bottom: 2rem;
}

.industry-item strong {
    font-weight: 700;
    font-size: 1.3rem;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.3rem;
}

.industry-description {
    color: #34495e;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.industry-item ul {
    list-style: disc inside;
    margin-left: 1rem;
    color: #34495e;
}
