/* index.css - cleaned and alignment-preserving version */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  min-height: 100vh;
  cursor:default;
}

.trail-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: black;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.9;
  box-shadow: 0 0 10px 3px rgba(0, 128, 255, 0.5);
  transform: translate(-1px, -1px);
  transition: transform 0.2s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f1f1f;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo-style-a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-style-a .logo-icon img {
  width: 32px;
  height: 32px;
}

.logo-style-a .logo-text {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #4caf50, #00e676);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.logo-style-a .highlight {
  text-shadow: 0 0 6px #4caf50;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #4caf50;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 60px;
  flex-wrap: wrap;
}

.hero-left .profile-img {
  width: 400px;
  border-radius: 15px;
  box-shadow: 0 0 15px #11ba52aa;
  transition: transform 0.5s ease;
}

.hero-left .profile-img:hover {
  transform: scale(1.05) rotate(-1deg);
}

.hero-right {
  text-align: left;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #4caf50;
  animation: fadeInUp 1.5s ease;
}

.slideshow {
  font-size: 24px;
  font-weight: 400;
  height: 30px;
  overflow: hidden;
  position: relative;
  line-height: 30px;
}

.slideshow span {
  display: block;
  height: 30px;
  animation: slideText 9s infinite;
  color: #ffffffcc;
}
.social-bar {
  display: flex;
  gap: 15px;
  justify-content: center; /* or flex-start/flex-end depending on placement */
  align-items: center;
  margin-top: 20px;
  margin-right: 100px;
}

.social-bar img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-bar img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px #00e676);
}



.download-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #4caf50;
  color: #121212;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #00e676;
}

@keyframes slideText {
  0%   { transform: translateY(0); }
  33%  { transform: translateY(-30px); }
  66%  { transform: translateY(-60px); }
  100% { transform: translateY(0); }
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column;
    padding: 20px;
  }

  .hero-left .profile-img {
    width: 200px;
  }

  .hero-right {
    text-align: center;
  }
}
/* ABOUT SECTION STYLES */
/* ABOUT SECTION STYLES - matrix layout with isolated hover expansion */
.about-section {
  min-height: 100vh;
  display: grid;
  background:#111;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 60px 40px;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible; /* <-- Key to let boxes expand beyond grid */
  z-index: 0;
}


.about-box {
  background: #1f1f1f;
  border: 2px solid #4caf50;
  border-radius: 10px;
  padding: 20px 20px 40px 20px;
  color: white;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
  min-height: 150px;
  max-height: 200px;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.about-box:hover {
  transform: scale(1.05); /* grows in-place */
  z-index: 10;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.7);
}
.about-box.expanded {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 999;
  background: #1a1a1a;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 0 50px rgba(0, 255, 128, 0.7);
  transform: none;
  transition: none;
  border-radius: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.full-content {
  display: none;
  margin-top: 15px;
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
  padding-right: 10px;
}

.about-box.expanded .full-content {
  display: block;
  min-height: 100%;
}


.about-box h3 {
  margin-bottom: 5px;
  color: #4caf50;
}

.about-box p {
  font-size: 16px;
  line-height: 1.5;
}

.more-btn {
 margin-top: 15px;
  padding: 8px 16px;
  background: #4caf50;
  color: #121212;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}



.about-box:hover .more-btn {
  display: inline-block;
}
 .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  color: #00e676;
  font-size: 28px;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #52ec52;
}

.about-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

.about-box.expanded {
  animation: slideIn 0.4s ease forwards;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.full-content {
  display: none;
  margin-top: 15px;
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
  padding-right: 10px;
  max-height: 400px;
  overflow-y: auto;
  animation: fadeInList 0.6s ease-in-out;
}

.about-box.expanded .full-content {
  display: block;
}

.skill-list li {
  margin-bottom: 15px;
}

@keyframes fadeInList {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.highlight {
  color: #00e676;
  font-weight: bold;
}

.highlight-source {
  color: #4caf50;
  font-style: italic;
  font-weight: 500;
  margin-left: 5px;
}

.highlighted-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.about-box.expanded {
  
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1f1f1f;
  z-index: 9999;
  padding: 30px 20px;
  overflow-y: auto;

  display: inline;
  flex-direction: row;
  justify-content: flex-start;
  
}

/*animated slide in/out of about boxes*/
.about-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
  opacity: 1;
}

.about-box.expanded {
  animation: slideFadeIn 0.4s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.more-btn:hover {
  background: #00e676;
}
.close-btn {
  position: fixed;
  top: 70px; /* 👈 move it lower */
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideInTop 0.4s ease forwards;
}

.close-icon {
  width: 40px;
  height: 40px;
  stroke: #00e676;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.close-btn:hover .close-icon {
  transform: scale(1.2) rotate(90deg);
  stroke: #4caf50;
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-box.closing {
  animation: fadeOutBox 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes fadeOutBox {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0.7;
    transform: scale(0.92);
  }
}

.close-btn.pulse {
  animation: pulseFade 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes pulseFade {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(0);   opacity: 0; }
}

 .skill-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(58%) sepia(98%) saturate(300%) hue-rotate(75deg);
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .skill-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.5) saturate(200%) drop-shadow(0 0 5px #00e676);
  }
  .skill-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .skill-box {
      background-color: #b71c1c;
      color: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(255, 100, 100, 0.3), 0 2px 6px rgba(255, 0, 0, 0.4);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .skill-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(255, 100, 100, 0.4), 0 4px 10px rgba(255, 0, 0, 0.5);
    }

    .skill-icon-large {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
      filter: brightness(0) saturate(100%) invert(92%) sepia(20%) saturate(600%) hue-rotate(-10deg);
    }

    .skill-box h4 {
      margin: 10px 0 5px;
      font-size: 20px;
    }

    .skill-box p {
      font-size: 14px;
      opacity: 0.85;
    }
body {
  background-color: #111;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}


.skills-section {
  padding: 50px 20px;
  text-align: center;
}

.skills-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}


.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-box {
  border: 5px solid rgba(234, 232, 232, 0.2);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(242, 15, 15, 0.05);
  background-color: transparent;
}

.skill-box:hover {
  border: 1px solid rgba(206, 10, 10, 0.6);
  box-shadow: 0 0 20px rgba(227, 32, 32, 0.15);
}

.skill-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.skill-box ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

.skill-box ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #c4b4b4;
}

.skill-icon-large {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 5px #4bf93b);
  transition: transform 0.3s ease;
}
.skill-icon-large:hover {
  
  filter: drop-shadow(0 0 5px #e06527);
  transition: transform 0.3s ease;
}
.skill-box:hover .skill-icon-large {
  transform: scale(1.1);
}
.skill-icon-large {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.skill-icon-large:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #ff1744); /* bright red */
}

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid #00e676;
  margin: 40px 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-marker {
  position: absolute;
  left: -12px;
  top: 5px;
  width: 20px;
  height: 20px;
  background-color: #00e676;
  border-radius: 50%;
  border: 2px solid #1f1f1f;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
}

.timeline-content {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 230, 118, 0.1);
}

.timeline-content h4 {
  color: #00e676;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

.timeline-item.current .timeline-marker {
  background-color: #df3f59;
  box-shadow: 0 0 15px #d8cbce, 0 0 10px rgba(175, 136, 144, 0.5);
  animation: pulse 1.5s infinite ease-in-out;
}


@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.timeline-item.current .timeline-marker {
  position: relative;
  background-color: #c3213c;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(192, 174, 177, 0.3);
  animation: ringPulse 2s infinite ease-in-out;
}

@keyframes ringPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 174, 177, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(192, 174, 177, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 174, 177, 0);
  }
}

.marker-label {
  position: absolute;
  top: -25px;
  left: 25px;
  background: #2c2c2c;
  color: #00e676;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: bold;
}

.education-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
}

.education-card {
  background-color: #1f1f1f;
  border-left: 4px solid #00e676;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.1);
  transition: transform 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.education-card h4 {
  margin-bottom: 8px;
  color: #00e676;
}

.education-card p {
  color: #ccc;
  font-size: 14px;
}

.event-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
}

.event-card {
  background-color: #1f1f1f;
  border-left: 4px solid #00bcd4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.event-card h4 {
  margin-bottom: 6px;
  color: #00e676;
}

.event-card p {
  color: #ccc;
  font-size: 14px;
}

.certification-section {
  padding: 50px 20px;
  text-align: center;
}

.slider-container {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.2);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.cert-slide {
  min-width: 100%;
  cursor: pointer;
  object-fit: contain;
  max-height: 400px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: rgba(0,0,0,0.4);
  color: white;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  z-index: 100;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}


.internship-section {
  padding: 40px 20px;
  background-color: #1f1f1f;
  border-radius: 10px;
}

.internship-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #00e676;
  margin-bottom: 30px;
}

.internship-timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid #00e676;
}

.internship-item {
  position: relative;
  margin-bottom: 40px;
}

.internship-marker {

  left: -25px;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #f0e9e9;
  border-radius: 50%;
  border: 2px solid #00e676;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #00e676;
}

.internship-marker img {
  width: 28px;
  height: 28px;
}

.internship-content {
  background-color: #2c2c2c;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
}

.internship-content h3 {
  margin: 0 0 5px;
  font-size: 1.3rem;
  color: #00e676;
}

.internship-date {
  font-size: 0.9rem;
  color: #aaa;
  display: block;
  margin-bottom: 8px;
}

.internship-content p {
  margin: 0;
  line-height: 1.5;
}

.projects-page {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.projects-side {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.ideas-side {
  background: #1f1f1f;
  color: #00e676;
}

.completed-side {
  background: #111;
  color: #e0e0e0;
}

.projects-side h2 {
  font-size: 2.5vw;
  margin-bottom: 20px;
  text-align: center;
}

.content {
  width: 90%;
}

.idea-card, .project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.2vw;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.idea-card:hover, .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}


.contact-page {
  min-height: 100vh;
  background: #1f1f1f;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
}

.contact-page h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #00e676;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  margin: 0 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  filter: invert(70%) sepia(80%) saturate(200%) hue-rotate(100deg);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #00e676);
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00e676;
  outline: none;
}

.contact-form button {
  background: #00e676;
  border: none;
  color: #111;
  padding: 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #00c853;
}

.footer {
  background: #111;
  color: #999;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}
