/* Research Page Styles */

/* Hero Section - Reduced height for research page */
.hero-section {
  padding: 4rem 0 2.5rem 0 !important;
}

.hero-title {
  margin: 0 0 0.5rem 0 !important;
}

.hero-subtitle {
  margin-top: 45px !important;
}

.hero-description {
  margin-bottom: 0 !important;
}


/* Research Overview Section */
.research-overview-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.research-overview-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.research-overview-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Research Areas Section */
.research-areas-section {
  background-color: #2c3e50;
  padding: 3rem 0;
  margin-bottom: 0;
}

.research-areas-section .section-title {
  color: white;
}

.research-areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.research-area-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 250px;
}

.research-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.research-area-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #20b2aa 0%, #1a9b94 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.research-area-icon i {
  font-size: 1.5rem;
  color: white;
}

.research-area-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 1rem;
}

.research-area-card p {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Publications Section */
.publications-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}

.publications-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  gap: 1rem;
}

.accordion-header:hover {
  background: none;
}

.accordion-category {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.accordion-divider {
  flex: 1;
  height: 1px;
  background-color: #e0e0e0;
  align-self: center;
}

.accordion-icon {
  font-size: 1rem;
  color: #20b2aa;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  align-self: center;
}

.accordion-content {
  padding: 0 0 2rem 0;
  display: none;
}

.accordion-content .publication-item {
  margin-bottom: 2rem;
}

.accordion-content .publication-item:last-child {
  margin-bottom: 0;
}

.publication-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.publication-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.publication-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.publication-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
  min-width: 300px;
  line-height: 1.3;
}

.publication-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag.ai {
  background-color: #e0f7fa;
  color: #20b2aa;
}

.tag.ml {
  background-color: #e8f5e8;
  color: #20b2aa;
}

.tag.social {
  background-color: #f0f8ff;
  color: #2c3e50;
}

.tag.privacy {
  background-color: #fff8e1;
  color: #2c3e50;
}

.tag.data {
  background-color: #e8f5e8;
  color: #2c3e50;
}

.publication-authors {
  font-weight: 500;
  color: #20b2aa;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.publication-venue {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.publication-abstract {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.publication-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.publication-links .btn-small {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  height: auto;
  line-height: 1;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(44, 62, 80, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 32px;
  min-width: 80px;
}

.publication-links .btn-small:hover {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

.publication-links .btn-small i {
  margin-right: 0.4rem;
  font-size: 0.9rem;
}

/* Projects Section */
.projects-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

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

.project-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.in-progress {
  background-color: #e3f2fd;
  color: #1976d2;
}

.status-badge.completed {
  background-color: #e8f5e8;
  color: #388e3c;
}

.project-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.project-details {
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}

.project-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.project-details strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

.contact-link i {
  color: white;
  font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .research-areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .publication-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .publication-header h3 {
    min-width: auto;
    margin-bottom: 1rem;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .collaboration-logos {
    gap: 1.5rem;
  }
  
  .publication-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .research-area-card,
  .publication-item,
  .project-card {
    padding: 1.5rem;
  }
  
  .filter-dropdown select {
    min-width: 150px;
    padding: 0.5rem 1rem;
  }
}