/* All existing styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
  background-color: #0f172a;
}

a {
  color: #FD3519;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
}

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

.nav-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FD3519;
}

/* Home Section */
.aesthetic-home {
  padding: 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  border-radius: 0;
}

.hero-container::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(253,53,25,0.15) 0%, rgba(0,0,0,0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-bottom: 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #94a3b8;
  animation: fadeInUp 1s ease-out 0.2s both;
  font-weight: 300;
  margin: 0 auto;
  max-width: 800px;
}

/* Profile Image */
.profile-container {
  margin-bottom: 2rem;
  z-index: 1;
  animation: fadeInDown 1s ease-out;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(253, 53, 25, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  border-color: #FD3519;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #94a3b8;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #FD3519;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #94a3b8;
  border-right: 2px solid #94a3b8;
  transform: rotate(45deg);
  margin: -5px;
  animation: scrollArrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

@keyframes scrollArrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section-container {
  margin-top: 4rem;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-container h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 4rem;
  text-align: center;
  font-weight: 800;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-container h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 20%;
  width: 60%;
  height: 4px;
  background: #FD3519;
  border-radius: 2px;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 2px solid rgba(253, 53, 25, 0.3);
  padding-left: 2rem;
  margin-left: 1rem;
}

.timeline-item {
  position: relative;
  cursor: pointer;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0;
  width: 16px;
  height: 16px;
  background: #FD3519;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(253, 53, 25, 0.5);
}

.timeline-content {
  background: #1e293b;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(253,53,25,0.3);
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #FD3519;
  margin-bottom: 1rem;
  font-weight: 600;
  width: 100%;
}

.timeline-content p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #94a3b8;
  line-height: 1.6;
}

.timeline-content ul li {
  margin-bottom: 0.5rem;
}

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

.grid-card {
  background: #1e293b;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.grid-card:hover {
  transform: translateY(-5px);
  border-color: rgba(253,53,25,0.3);
}

.grid-card h3 {
  font-size: 1.4rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.grid-card p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Publications */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-item {
  background: rgba(30, 41, 59, 0.5);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #FD3519;
  transition: background 0.3s ease;
  cursor: pointer;
}

.publication-item:hover {
  background: rgba(30, 41, 59, 0.9);
}

.publication-item h3 {
  font-size: 1.3rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.publication-item p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pub-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #FD3519;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #FD3519;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pub-link:hover {
  background: #FD3519;
  color: #fff;
}

/* Education Table */
.table-container {
  overflow-x: auto;
  background: #1e293b;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  margin-top: 1rem;
}

.education-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #cbd5e1;
}

.education-table th,
.education-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.education-table th {
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 2px solid rgba(253, 53, 25, 0.3);
}

.education-table tbody tr {
  transition: background 0.3s ease;
}

.education-table tbody tr:hover {
  background: rgba(253, 53, 25, 0.05);
}

.education-table td:first-child {
  font-weight: 600;
  color: #fff;
}

/* Tech Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-tags span {
  padding: 0.3rem 0.8rem;
  background: rgba(253, 53, 25, 0.1);
  color: #FD3519;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

/* Achievements */
.achievements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.achievement-item {
  background: #1e293b;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-5px);
  border-color: rgba(253, 53, 25, 0.3);
  background: rgba(30, 41, 59, 0.8);
}

.achievement-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-content h3 {
  font-size: 1.3rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.achievement-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
footer {
  margin-top: 6rem;
  background: #0b1120;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(253, 53, 25, 0.1);
  color: #FD3519;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(253, 53, 25, 0.2);
}

.social-links a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #1e293b;
  margin: 10% auto;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  color: #e2e8f0;
}

.close-btn {
  color: #94a3b8;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
  color: #FD3519;
  text-decoration: none;
}

#modal-title {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  padding-right: 2rem;
}

#modal-meta {
  display: block;
  margin-bottom: 1.5rem;
}

#modal-body {
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

#modal-body p {
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-container {
    padding: 4rem 1.5rem;
    border-radius: 16px;
    margin: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-container {
    padding: 4rem 1.5rem;
    border-radius: 16px;
    margin: 1rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .timeline {
    padding-left: 1rem;
  }
  .timeline-item::before {
    left: -1.45rem;
  }
  .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 1.5rem;
  }
  .achievements-list {
    grid-template-columns: 1fr;
  }
}
