/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #0f0f0f;
  color: #f0f0f0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
   height: 100%;
  margin: 0;
  padding: 0;

}

/* Ensure full height for sticky footer */
html{
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Flex container for layout */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Make header and section grow */
.page-container > header,
.page-container > section {
  flex: 1;
}


/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1a1a1a;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00fff7;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav ul li a {
  color: #ccc;
  text-decoration: none;
  position: relative;
}
nav ul li a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #00fff7;
  transition: width 0.3s ease;
}
nav ul li a:hover::after {
  width: 100%;
}
nav ul li a.active {
  color: #00fff7;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.glow {
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7, 0 0 20px #00fff7;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn {
  background-color: #00fff7;
  color: #000;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.2s ease;
}
.btn:hover {
  transform: scale(1.05);
}

.experience-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.timeline-item {
  background: #1a1a1a;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(0, 255, 247, 0.05);
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(0, 255, 247, 0.08);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
  z-index: 0;
}

.timeline-item:hover::before {
  left: 130%;
}

.timeline-item:hover {
  transform: scale(1.03) translateY(-5px);
  background: linear-gradient(135deg, #111111, #1d1d1d);
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
  z-index: 1;
}

.timeline-content {
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: #00fff7;
  border-radius: 50%;
  margin-right: 1rem;
}

.timeline-content h3 {
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-size: 1.3rem;
}

.timeline-content .time {
  font-size: 0.9rem;
  color: #00fff7;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
}



.project-carousel-section {
  padding: 4rem 2rem;
  background: #121212;
  color: #eee;
  text-align: center;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 1000px;
  margin: 3rem auto;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.1);
  max-width: 80%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;

}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: #00fff7;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* Zoom effect on hover */
.project-card:hover,
.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
  z-index: 2;
}



.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00fff7;
  color: #111;
  font-size: 2rem;
  padding: 0.4rem 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: #00cfcf;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.about-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  color: #eee;
}


.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.highlight {
  color: #00fff7;
  font-weight: bold;
}


.certificate-img-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Zoom effect */
.certificate-img-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.2);
}

/* Shine effect */
.certificate-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  z-index: 1;
}

.certificate-img-wrapper:hover::before {
  left: 130%;
  transition: left 0.8s ease;
}



.carousel-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 1000px;
  margin: 3rem auto;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 80%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.carousel-slide:nth-child(even) img {
  transform: scale(0.88) rotateY(3deg);
}

.carousel-slide:nth-child(odd) img {
  transform: scale(0.88) rotateY(-3deg);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00fff7;
  color: #111;
  font-size: 2rem;
  padding: 0.4rem 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: #00cfcf;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}



.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.skill-card {
  background: #1a1a1a;
  border: 1px solid #00fff7;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 255, 247, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.skill-card:hover {
  transform: scale(1.08);
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.6rem;
  object-fit: contain;
}

.skill-card p {
  color: #00fff7;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Footer styling */
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Typing effect */
.typing {
  font-size: 2.5rem;
  color: #00fff7;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00fff7;
  animation: typing 3s steps(30, end) 1, blink 0.75s step-end infinite;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0a0a0a; /* Your dark mode */
  top: 0;
  left: 0;
  z-index: -1;
}


.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.hero-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 255, 247, 0.2);
  transition: all 0.3s ease;
}

.hero-text {
  max-width: 500px;
  text-align: center;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.2);
}

.carousel-container {
  max-width: 850%;
  margin: auto;
  padding: 20px;
  z-index: 1;
  position: relative;
  margin-bottom: 40px;
}

.carousel-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 0;
}

.cert-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px; /* Pushes everything a bit up from footer */
}

.cert-caption {
  text-align: center;
  color: #00fff7;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}



.carousel-slide:hover .cert-caption {
  color: #fff;
  text-shadow: 0 0 10px #00fff7;
  padding-bottom: 0;
}

.contact-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: auto;
  color: #eee;
  text-align: left;
}

.contact-details p {
  font-size: 1.1rem;
  margin: 1.2rem 0;
}

.contact-details a {
  color: #00fff7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #00b3a7;
}

.contact-details i {
  margin-right: 10px;
  color: #00fff7;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-icon {
  background: #1a1a1a;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 255, 247, 0.2);
}

.contact-icon:hover {
  background: #00fff7;
  transform: scale(1.1);
}

.contact-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: brightness(1);
}

.cover-title {
  animation: slideUp 0.8s ease-out;
}

.project-cover {
  position: relative;
  width: 100%;
  height: 40vh;
  background-image: url('../images/project-banner.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.cover-overlay {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5); /* optional dark layer */
  padding: 2rem;
  border-radius: 12px;
}

.cover-title {
  font-size: 2.5rem;
  color: #00fff7;
  margin: 0;
  text-shadow: 0 0 8px rgba(0, 255, 247, 0.8);
}

.cover-subtitle {
  color: #ccc;
  margin-top: 0.8rem;
  font-size: 1.1rem;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #00fff7;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px #00fff7;
  animation: sparkleFade 1s ease-out forwards;
  z-index: 9999;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #00fff7;
  }
}

.hero-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
  }
}


@keyframes sparkleFade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2); }
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes waveMove {
  from { background-position-x: 0; }
  to { background-position-x: 1000px; }
}



@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

/* Pulse Button */
.btn.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 247, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 247, 0); }
}

/* Scroll Down Icon */
.scroll-down {
  margin-top: 2rem;
  font-size: 2rem;
  color: #00fff7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
