html {
  scroll-behavior: smooth;
}

/* Global Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  scroll-behavior: smooth;
  
}
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
h3{
  color: #00ff55;
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0f0f0f;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid #1f1f1f;
  box-sizing: border-box;
  overflow-x: auto;
  animation: fadeSlideDown 1s ease-out forwards;
}

.nav-left a,
.nav-right a {
  margin-right: 15px;
  white-space: nowrap;
  color: #0ff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.nav-right a i {
  font-size: 1.3rem;
}

.nav-left a:last-child,
.nav-right a:last-child {
  margin-right: 0;
}

.nav-left, .nav-right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #f0f;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

nav a:hover {
  transform: scale(1.1);
  color: #00ffff;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media screen and (max-width: 700px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-left,
  .nav-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
em{
  color: rgb(0, 255, 157);
}
section {
  padding: 100px 20px;
  min-height: 100vh;
  border-bottom: 1px solid #222;
  background: linear-gradient(to bottom right, #0a0a0a, #000);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0ff;
  text-shadow: 0 0 15px #0ff, 0 0 30px #f0f;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0ff, #f0f);
  margin: 12px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 15px #0ff, 0 0 30px #f0f;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 15px;
}

.skill-card {
  background: #111;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 0 20px #0ff, 0 0 15px #f0f;
  color: #0ff;
  transition: box-shadow 0.3s ease;
  text-align: left;
  cursor: default;
}

.skill-card:hover {
  box-shadow: 0 0 15px #f0f, 0 0 40px #0ff, 0 0 50px #f0f;
}

.skill-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0ff;
  text-shadow: 0 0 8px #0ff;
}

.skill-card h3 i {
  font-size: 1.3rem;
  color: #0ff;
  filter: drop-shadow(0 0 1px rgb(0, 0, 0));
}

.skill-card ul {
  list-style: none;
  padding-left: 0;
}

.skill-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #aaf;
  font-weight: 600;
  font-size: 1rem;
}

.skill-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
  font-weight: bold;
}

#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  padding-top: 150px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-photo {
  flex: 1 1 300px;
  text-align: center;
  position: relative;
}

.photo-mask-wrapper {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 300px;
}

.photo-mask-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0ff;
  box-shadow: 0 0 20px #0ff;
  position: relative;
  z-index: 2;
}

.photo-mask {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.3);
  filter: blur(15px);
  z-index: 1;
  animation: floatMask 10s ease-in-out infinite;
  pointer-events: none;
}
#aboutpara{
  font-size: 2rem;
  color: #00e5ff;
}
@keyframes floatMask {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(15px, -10px);
    opacity: 0.9;
  }
}

.glow {
  font-size: 3rem;
  color: #0ff;
  text-shadow: 0 0 1px #0ff;
}

#education {
  padding: 100px 20px;
  background: linear-gradient(to bottom right, #0a0a0a, #000);
  text-align: center;
}

#education h2 {
  font-weight: 900;
  font-size: 2.5rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
  margin-bottom: 12px;
  position: relative;
}

#education h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0ff, #f0f);
  margin: 8px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px #0ff;
}

.education-grid {
  display: inline-block;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.education-grid .card {
  background: #111;
  border: 1px solid #0ff5;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px;
  color: #fff;
  box-shadow: 0 0 20px #0ff2, 0 0 40px #f0f2;
  transition: all 0.3s ease-in-out;
}

.education-grid .card:hover {
  box-shadow: 0 0 25px #0ff, 0 0 50px #f0f;
  transform: translateY(-6px);
}

.education-grid .card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0ff;
  margin-bottom: 8px;
  text-shadow: 0 0 6px #0ff;
}

.education-grid .card .date {
  font-size: 0.9rem;
  font-weight: 500;
  color: #aaa;
  margin-bottom: 10px;
}

.education-grid .card .grade {
  color: #00ff9c;
  font-weight: bold;
  margin-left: 8px;
}

.education-grid .card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #aaffffcc;
}

.subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 10px;
  text-shadow: 0 0 8px #fff3;
}

h2 {
  text-align: center;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

@media screen and (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .glow {
    font-size: 2rem;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1300px;
  width: 100%;
  margin: 30px auto 0;
}

.card {
  background: #111;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2), 0 0 25px rgba(240, 0, 255, 0.2);
  color: #c0f9ff;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.card:hover {
  box-shadow: 0 0 30px #f0f, 0 0 55px #0ff, 0 0 70px #f0f;
  transform: translateY(-6px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 900;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.card .date {
  font-size: 0.9rem;
  color: #88ffffcc;
  margin-bottom: 18px;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tag-container {
  margin-bottom: 18px;
}

.tag {
  display: inline-block;
  background: #0ff3;
  color: #0ff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 8px #0ff;
  user-select: none;
  transition: background-color 0.3s ease;
}

.tag:hover {
  background: #0ff8;
  box-shadow: 0 0 14px #0fff;
}

.card p.description {
  color: #aaffffcc;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #8effffcc;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

.card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
  font-weight: bold;
}

.card .buttons {
  align-self: center;
  margin-top: auto;
  display: flex;
  gap: 15px;
}

.card .buttons a {
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #00e5ff;
  background: #002a3a;
  box-shadow: 0 0 10px #00e5ffcc;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card .buttons a:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 18px #0ff;
}

.card .buttons a i {
  font-size: 1.1rem;
}

@media screen and (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
#contact {
  padding: 100px 20px;
  background: linear-gradient(to bottom right, #0a0a0a, #000);
  text-align: center;
}

.contact-card {
  max-width: 1000px;
  margin: 40px auto 0;
  background: #111;
  border-radius: 20px;
  box-shadow: 0 0 25px #0ff4, 0 0 50px #f0f4;
  padding: 40px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  color: #0ff;
}

.contact-photo {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0ff;
  box-shadow: 0 0 15px #0ff;
  position: relative;
  z-index: 2;
}

.contact-photo .photo-mask {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 204px;
  height: 204px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.3);
  filter: blur(12px);
  z-index: 1;
  animation: floatMask 5s ease-in-out infinite;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
}

.contact-info p {
  font-size: 1.1rem;
  color: #aaffff;
  margin: 6px 0;
}

.contact-info i {
  margin-right: 8px;
  color: #0ff;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #0ff;
  font-size: 1.4rem;
  margin: 0 10px;
  transition: color 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 6px #0ff;
}

.social-links a:hover {
  color: #f0f;
  transform: scale(1.2);
  text-shadow: 0 0 12px #f0f;
}
.site-footer {
  text-align: center;
  padding: 30px 10px;
  background-color: #000;
  color: #0ff;
  font-size: 0.95rem;
  text-shadow: 0 0 6px #0ff;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 -2px 20px rgba(0, 255, 255, 0.1);
}

@media screen and (max-width: 600px) {
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Internship Section */
#internships {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #00ffff;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding-left: 20px;
  border-left: 2px solid #00ffff66;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00ffff, transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
  animation: fadeInUp 1s ease-out;
}

.timeline-date {
  color: #0ff;
  font-size: 14px;
  margin-bottom: 8px;
  text-shadow: 0 0 5px #0ff;
}

.timeline-card {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff88;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 0 10px #00ffff33, 0 0 20px #00ffff11;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.timeline-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #00ffff99;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

