html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  background: #0f172a;
  color: #fff;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icons .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #333;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-icons .icon:hover {
  transform: scale(1.15);
  color: white;
}

/* Platform-specific styles */
.social-icons .instagram i {
  color: #e1306c;
}
.social-icons .instagram:hover {
  background-color: #e1306c;
}

.social-icons .github i {
  color: #333;
}
.social-icons .github:hover {
  background-color: #24292e;
}

.social-icons .linkedin i {
  color: #0077b5;
}
.social-icons .linkedin:hover {
  background-color: #0077b5;
}

aside {
  width: 300px;
  background: rgba(15, 23, 42, 0.8);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.profile-pic {
  width: 150px;
  height: 170px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid #0f172a;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.social-icons a {
  color: #ccc;
  font-size: 18px;
  text-decoration: none;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

aside h2 {
  margin: 10px 0;
  font-size: 20px;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

nav a {
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  font-size: 16px;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

nav a:hover,
nav a.active {
  background: #2563eb;
  color: #fff;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

main {
  margin-left: 300px;
  padding: 80px 60px;
  flex-grow: 1;
  min-height: 100vh;
  background: url("https://media.giphy.com/media/OumCa12QC9CIvBe2c1/giphy.gif")
    no-repeat center center;
  background-size: contain;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.intro-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px; /* space between the two sides */
  padding: 20px;
  flex-wrap: wrap; /* makes it responsive */
}

.intro {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 25px;
  border-radius: 10px;
  color: white;
  min-width: 280px;
  max-width: 700px;
}

.intro h1 {
  font-size: 2.5rem;
}

.intro p {
  font-size: 1.2rem;
}

.stack-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.stack-logos img {
  height: 28px;
  transition: transform 0.3s ease;
}

.stack-logos img:hover {
  transform: scale(1.1);
}

.stack-title {
  margin-top: 15px;
  font-weight: 500;
  font-size: 1rem;
  color: #ddd;
}


.education-section {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  color: white;
  min-width: 280px;
  max-width: 500px;
}


.contact-info {
  margin-top: auto;
  padding: 20px;
  color: #aaa;
  text-align: center;
  font-size: 14px;
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  }
}

.section-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.education,
.experience {
  flex: 1;
  min-width: 300px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
}


.education-section h2 {
  font-size: 1.4rem; /* reduced from 1.8rem */
  margin-bottom: 15px;
}

.education-timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
  margin-left: 15px;
}

.education-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #4e4e4e;
}

.education-timeline li {
  margin-bottom: 20px; /* reduced spacing */
  position: relative;
  padding-left: 25px;
}

.education-timeline .dot {
  position: absolute;
  left: 0px;
  top: 4px;
  width: 10px; /* reduced size */
  height: 10px;
  background-color: #00bcd4;
  border-radius: 50%;
  z-index: 1;
}

.education-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 12px; /* less padding */
  border-radius: 6px;
}

.education-content .date {
  font-size: 0.8rem; /* smaller font */
  color: #bbb;
}

.education-content h3 {
  font-size: 1rem; /* smaller font */
  margin: 4px 0;
  color: #fff;
}

.education-content p {
  margin: 1px 0;
  font-size: 0.95rem; /* smaller font */
  color: #ccc;
}

.education-content .details strong {
  color: #fff;
}



.list {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.6;
}

.list::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #60a5fa; /* Light blue bullet */
  font-size: 20px;
  line-height: 1.2;
}

.list:hover {
  color: #ffffff;
  transition: color 0.3s;
}

.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  margin-bottom: 25px;
  padding-left: 10px;
  border-left: 2px solid #2563eb;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: #2563eb;
  border-radius: 50%;
}

.timeline .date {
  font-size: 0.9rem;
  color: #ccc;
}

.timeline .details {
  font-size: 0.9rem;
  color: #aaa;
  padding-left: 25px;
  list-style: none;
}

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

.experience {
  margin-bottom: 60px;
}

.project-section {
  margin: 60px 0;
}

.project-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #ffffff;
}

.project-description {
  font-size: 15px;
  line-height: 1.6;
}

.project-card {
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0.8, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s, box-shadow 0.5s;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px) grayscale(50%);
  -webkit-backdrop-filter: blur(2px) grayscale(50%);
  z-index: 0;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-tech {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 10px;
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-section {
  padding: 40px 20px;
  background: #0f172a;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.contact-section p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #d3b0b0;
}

.contact-form {
  max-width: 320px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  font-size: 0.9rem;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  font-size: 0.9rem;
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-links {
  margin-top: 30px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: #eee;
}

.contact-links a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: scale(1.05);
}
