/* NEW Profile Header Design - Picture on Left */
.profile-header-new {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 40px;
  background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 8px 30px rgba(0,86,179,0.15);
  animation: fadeInHeader 1.5s;
}

@keyframes fadeInHeader {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PROFILE PIC - SMALL SIZE */
.profile-pic-left {
  flex-shrink: 0;
  animation: zoomIn 1.2s;
}

.profile-pic-left img {
  width: 220px;              /* SMALL SIZE */
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 5px 20px rgba(0,51,102,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-pic-left img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0,51,102,0.4);
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.profile-info-right {
  flex: 1;
  animation: slideInRight 1.3s;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.animated-heading {
  font-size: 2.5em;
  color: #003366;
  margin: 0 0 12px 0;
}

.animated-title {
  font-size: 1.3em;
  color: #0056b3;
  margin: 0 0 25px 0;
  font-weight: 600;
}

.quick-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,86,179,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(0,86,179,0.2);
}

.stat-icon {
  font-size: 1.5em;
}

.stat-text {
  font-size: 1em;
  color: #333;
  font-weight: 600;
}

/* Responsive Design for Header */
@media (max-width: 768px) {
  .profile-header-new {
    flex-direction: column;
    text-align: center;
    padding: 35px 20px;
    gap: 25px;
  }
  
  .profile-pic-left img {
    width: 120px;            /* Even smaller on mobile */
    height: 120px;
  }
  
  .animated-heading {
    font-size: 2em;
  }
  
  .animated-title {
    font-size: 1.1em;
  }
  
  .quick-stats {
    justify-content: center;
  }
}

/* Profile Sections */
.profile-section {
  margin-bottom: 60px;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  animation: slideInTitle 1s;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #ffd700);
  border-radius: 2px;
}

@keyframes slideInTitle {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,86,179,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(176,212,255,0.3);
}

/* About Me Specific Styles */
.intro-text {
  font-size: 1.25em;
  text-align: center;
  color: #003366;
  margin-bottom: 25px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
  border-radius: 12px;
  border-left: 4px solid #0056b3;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  font-size: 0.9em;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1.1em;
  color: #003366;
  font-weight: bold;
}

.description-text {
  font-size: 1.05em;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* Work Experience Styles */
.experience-card {
  margin-bottom: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #ffffff, #f8fcff);
  border-radius: 12px;
  border-left: 5px solid #0056b3;
  box-shadow: 0 3px 15px rgba(0,86,179,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.experience-card:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 30px rgba(0,86,179,0.2);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.exp-header h3 {
  margin: 0;
  color: #003366;
  font-size: 1.4em;
}

.year-badge {
  background: #0056b3;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.95em;
  font-weight: bold;
}

.year-badge.gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #003366;
}

.position {
  color: #666;
  font-size: 1.05em;
  margin: 5px 0 15px 0;
  font-style: italic;
}

.exp-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.exp-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
  color: #444;
  line-height: 1.6;
}

.exp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0056b3;
  font-weight: bold;
  font-size: 1.2em;
}

/* Project Styles */
.project-card {
  padding: 30px;
  background: linear-gradient(135deg, #fff9e6, #fffcf0);
  border-radius: 12px;
  border-left: 5px solid #ffd700;
  box-shadow: 0 4px 20px rgba(255,215,0,0.2);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.project-header h3 {
  margin: 0;
  color: #003366;
  font-size: 1.5em;
}

.project-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.project-achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.achievement-item:hover {
  transform: translateX(10px);
}

.achievement-icon {
  font-size: 1.8em;
}

/* Downloads Section */
.downloads-section {
  text-align: center;
}

.downloads-content {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #0056b3, #003366);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.1em;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,86,179,0.3);
  transition: all 0.3s;
}

.download-btn:hover {
  background: linear-gradient(135deg, #0066cc, #0056b3);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,86,179,0.5);
}

.download-btn.cv-btn {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #003366;
}

.download-btn.cv-btn:hover {
  background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.btn-icon {
  font-size: 1.3em;
}

/* Reveal Animations */
.reveal-from-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-from-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal-from-bottom.revealed,
.reveal-from-right.revealed,
.reveal-from-left.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-content {
    padding: 25px 20px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .exp-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .downloads-content {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}
