/* Home Page Specific Styles */

#hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.9) 20%, rgba(255, 255, 255, 0.85) 50%, rgba(241, 243, 244, 0.9) 100%),
              url('images/hero/materials-properties-map.png') center/cover no-repeat;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 37, 47, 0.05), rgba(26, 37, 47, 0.02));
  z-index: 0;
}

@keyframes heroParallax {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 37, 47, 0.8) 0%, 
    rgba(44, 62, 80, 0.6) 25%, 
    rgba(52, 73, 94, 0.4) 50%, 
    rgba(93, 109, 126, 0.2) 75%, 
    transparent 100%);
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

#hero h2 {
  font-size: 3.2rem;
  color: #1a252f;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.3rem;
  color: #5d6d7e;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(52, 73, 94, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #34495e, #2c3e50, #1a252f);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a252f;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #5d6d7e;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.research-highlight {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 2.5rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(52, 73, 94, 0.1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.research-highlight::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #34495e, #2c3e50, #1a252f);
  border-radius: 12px;
  z-index: -1;
}

.research-highlight h4 {
  color: #1a252f;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

.highlight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.highlight-item:last-child {
  border-bottom: none;
}

.journal {
  font-weight: 500;
  color: #2c3e50;
}

.citations {
  font-size: 0.9rem;
  color: #5d6d7e;
  background: #f8f9fa;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.research-areas-section {
  padding: 6rem 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1a252f;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.2rem;
  color: #5d6d7e;
}

.research-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.research-area-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(52, 73, 94, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.research-area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 73, 94, 0.03), transparent);
  transition: left 0.6s ease;
}

.research-area-card:hover::before {
  left: 100%;
}

.research-area-card:hover,
.research-area-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(52, 73, 94, 0.15);
  border-color: #34495e;
}

.research-area-card.primary {
  border-color: #34495e;
  box-shadow: 0 8px 25px rgba(52, 73, 94, 0.1);
}

.area-icon {
  width: 70px;
  height: 70px;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  border: none;
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 16px rgba(52, 73, 94, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.research-area-card:hover .area-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(52, 73, 94, 0.3);
}

.research-area-card h3 {
  font-size: 1.5rem;
  color: #1a252f;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.research-area-card p {
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.key-achievements {
  list-style: none;
  margin: 0;
  padding: 0;
}

.key-achievements li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #2c3e50;
  font-size: 0.95rem;
}

.key-achievements li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #34495e;
  font-weight: bold;
}

.impact-section {
  padding: 6rem 0;
  background: #f8f9fa;
}

.impact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.impact-card {
  background: white;
  padding: 3rem;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.impact-card h3 {
  font-size: 1.5rem;
  color: #1a252f;
  margin-bottom: 1rem;
  font-weight: 500;
}

.impact-card p {
  color: #5d6d7e;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.impact-icon {
  font-size: 1.2rem;
}

/* Responsive styles for home page */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

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

  .research-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #hero h2 {
    font-size: 2.8rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 4rem 0;
  }

  #hero h2 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .research-area-card,
  .impact-card {
    padding: 2rem;
  }

  .research-areas-section,
  .impact-section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 3rem 0;
  }

  #hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .research-area-card,
  .impact-card {
    padding: 1.5rem;
  }

  .area-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .section-header {
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }
}