/* Custom Styles for Anshul Nigam Portfolio */

.section-separator {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 50%, #1976d2 100%);
  margin: 48px 0 32px 0;
  border-radius: 2px;
  opacity: 0.7;
}

/* Name Styling */
.name-first, .name-last {
  color: #333;
}

/* About Section Styling */
.about-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(25, 118, 210, 0.15);
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.about-card:hover .about-image img {
  transform: scale(1.05);
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(25, 118, 210, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.about-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #1976d2;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.about-content {
  padding: 0 1rem;
}

.about-intro h3 {
  color: #1976d2;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-intro .lead {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-description p {
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-details {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateX(5px);
  border-color: #1976d2;
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.1);
}

.detail-item i {
  font-size: 1.5rem;
  color: #1976d2;
  width: 30px;
  text-align: center;
}

.detail-item div {
  flex: 1;
}

.detail-item strong {
  color: #495057;
  font-weight: 600;
}

.detail-item span {
  color: #6c757d;
  margin-left: 0.5rem;
}

.detail-item a {
  color: #1976d2;
  text-decoration: none;
}

.detail-item a:hover {
  text-decoration: underline;
}

/* Enhanced Resume Items - Fixed Margins */
.resume-item {
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  position: relative;
}

.resume-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.1);
  border-color: #1976d2;
}

.resume-title {
  position: relative;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1976d2;
}

.resume-title:first-child {
  margin-top: 0;
}

.resume-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 2px;
}

/* Enhanced Project Cards - Fixed Margins */
.resume-item h4 {
  color: #1976d2;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 0.5rem;
}

.resume-item h4::before {
  content: '🚀';
  margin-right: 0.5rem;
  font-size: 1.2em;
}

/* Achievement Badges */
.achievement-badge {
  display: inline-block;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Enhanced Contact Cards */
.contact-cards {
  margin-top: 2rem;
}

.contact-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 50%, #1976d2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.15);
  border-color: #1976d2;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
  transform: scale(1.1);
}

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

.contact-card h4 {
  color: #1976d2;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
  color: white;
  text-decoration: none;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  color: #6c757d;
  border-radius: 8px;
  font-weight: 500;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.status-text {
  font-size: 0.9rem;
}

/* Enhanced Footer */
.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 