/* Modern Academic Website - Clean & Minimal */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --light-text: #7f8c8d;
  --max-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Section with Custom Plot Background */
.hero {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    url('images/1733864643.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-with-bg {
  background: none !important;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Added subtle text shadow for better contrast */
}

/* General hero paragraphs (excluding philosophy headline) */
.hero p:not(.philosophy-headline) {
  font-size: 1.3rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Added subtle text shadow */
}

/* Research Philosophy in Headline - FIXED */
.hero .philosophy-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  color: #6390be !important;
  font-style: italic;
  margin: 0 auto 2rem;
  max-width: 700px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Main Content and Sidebar Layout (8:2 ratio) */
.main-sidebar-grid {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.sidebar-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.sidebar-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  margin-bottom: 0.75rem;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 0.25rem 0;
}

.sidebar-links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Research Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Research Area Icons - Larger size */
.project-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  display: block;
  object-fit: cover;
}

/* Publications Section */
.publications {
  display: grid;
  gap: 2rem;
  position: relative;
  overflow: visible;
}

.publication {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.publication:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.publication h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.publication .authors {
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.publication .journal {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.publication .year {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Research Area Icons */
.project-card img {
  margin: 0 auto 1rem;
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

/* Navigation Icons */
.nav-links svg {
  stroke: currentColor;
}

/* Contact Section */
.contact-info {
  text-align: center;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

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

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p:not(.philosophy-headline) {
    font-size: 1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-sidebar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sidebar {
    position: static;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  header, footer {
    display: none;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}