/* ======= GLOBAL STYLES ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0e2a;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

section,
footer {
  animation: appear ease-in-out;
  animation-range: entry 0% cover 25%;
  animation-timeline: view();
}

/* ======= NAVBAR ======= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 40px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgb(203, 186, 186);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #26ffe6;
  letter-spacing: 1px;
  text-shadow: 0 0 12px #00eaff;
  display: none; /* preserved initial hidden state on large screens; media queries show it */
}

.navlist {
  list-style: none;
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
}

.navlist li {
  display: inline-block;
}

.navlist a {
  color: #26ffe6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.navlist a:hover {
  color: #ff62f0;
  text-shadow: 0 0 10px #ff62f0;
}

.right-side-button a {
  border: 2px solid #00dfd8;
  padding: 8px 18px;
  border-radius: 6px;
  color: #00dfd8;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 100px;
  display: none;
}

.right-side-button a:hover {
  background: #00dfd8;
  color: #000;
}

.welcome-line {
  position: sticky;
  top: 70px;
  z-index: 999;
  background: #0d0f1a;
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 30px rgba(68, 47, 47, 0.005);
}

/* ======= HAMBURGER MENU ======= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #d8fff9;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ======= HERO SECTION ======= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: left;
  font-family: "Poppins", sans-serif;
  overflow: visible;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  max-width: 1200px;
  z-index: 2;
}

.parainfo {
  text-align: center;
  border: none;
  outline: none;
  box-shadow: 5px 5px 20px #555;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
}

.text-content .badge,
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#badge {
  box-shadow: 0 0 20px #555;
}
#badge:hover {
  box-shadow: 0px 0px 20px blue;
  cursor: pointer;
}

.text-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.image-card {
  flex: 1;
  text-align: center;
  font-weight: bold;
  border: none;
  width: 30%;
  border-radius: 20px;
  box-shadow: 0 0 15px #00ffff;
  padding: 10px;
  margin-right: 50px;
  transition: all 0.3s ease-out;
  animation: floatProfile 2s ease-in-out infinite;
  transform-style: preserve-3d;
}

#image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #555;
}

.card-image img {
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease;
  width: 100%;
  height: 40vh;
}

.info button {
  background: none;
  border: 1px solid #00dfd8;
  border-radius: 20px;
  padding: 8px 16px;
  margin-top: 8px;
  text-decoration: none;
  color: #00dfd8;
}

.info button:hover {
  background: #007cf0;
}

.text-content {
  max-width: 550px;
}

.gradient-text {
  background: linear-gradient(90deg, #00c6ff, #ffde59);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text2 {
  background: linear-gradient(90deg, #00d8ff, #00ff80);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.resume-button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px;
  margin: 10px auto;
  width: 170px;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s ease;
}

.resume-button a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  display: inline-block;
  width: 100%;
}

.resume-button:hover {
  border-color: #00c6ff;
  box-shadow: 0 0 10px #00c6ff;
  transform: scale(1.02);
}

.btn-outline:hover {
  border-color: #00c6ff;
  box-shadow: 0 0 10px #00c6ff;
}
@keyframes floatProfile {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ======= PROJECTS SECTION ======= */
.projects {
  padding: 80px 0;
  text-align: center;
}

.projects h1 {
  font-size: 2.5rem;
  color: #26ffe6;
  text-shadow: 0 0 10px rgba(38, 255, 230, 1);
}

.projects p {
  color: #b0b3c5;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 40px;
}

.project-card {
  width: 100%;
  background: #11152f;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(38, 255, 230, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  animation: projects 0.8s ease-in-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
  animation: floatProject 1.5s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-18px) scale(1.03);
  box-shadow: 0 0 25px #26ffe6;
}

#ott:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgb(13, 212, 13);
}
#food:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px white;
}
#wet:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px orange;
}

.project-image {
  position: relative;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-number {
  position: absolute;
  bottom: 10px;
  right: 20px;
  background: #26ffe6;
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 700;
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 1.3rem;
  color: #fff;
}

.tect-stack {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tect-stack span {
  border-radius: 10px;
  padding: 5px;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 5px #00eaff, 0 0 5px #0077ff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.buttons {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 20px;
}

.buttons a {
  background: linear-gradient(90deg, #26ffe6, #6a4bff);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

.buttons a:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, #ff62f0, #26ffe6);
}
.project-card:nth-child(1) {
  animation-delay: 0s;
}
.project-card:nth-child(2) {
  animation-delay: 0.3s;
}
.project-card:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes floatProject {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ======= SKILLS ======= */
/* ===========================
   SKILLS SECTION
=========================== */

.skills {
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.skills .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.skills-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #26ffe6;
  text-shadow: 0 0 10px rgba(38, 255, 230, 0.8);
}

.skills-subtitle {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 40px;
}

/* GRID DESIGN */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* SKILL CARD BASE DESIGN */
.skill-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px #555;
  animation: float 1.5s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

/* LOGO */
.skill-card img {
  width: 70px;
  margin-bottom: 12px;
  transition: 0.3s ease;
}

/* TITLE */
.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: #fff;
}

/* SUBTEXT */
.skill-card p {
  font-size: 1rem;
  color: #bbb;
}

/* HOVER EFFECT */
.skill-card:hover {
  transform: translateY(-15px) scale(1.07);
  border-color: #00eaff;
  box-shadow: 0 18px 35px #00eaff60;
}

.skill-card:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px #00eaff);
}

/* Each card floats independently */
#skill-card1 {
  animation-delay: 0s;
}
#skill-card2 {
  animation-delay: 0.3s;
}
#skill-card3 {
  animation-delay: 0.6s;
}
#skill-card4 {
  animation-delay: 0.9s;
}
#skill-card5 {
  animation-delay: 1.2s;
}
#skill-card6 {
  animation-delay: 1.5s;
}
#skill-card7 {
  animation-delay: 1.8s;
}
#skill-card8 {
  animation-delay: 2.1s;
}
#skill-card9 {
  animation-delay: 2.4s;
}
#skill-card10 {
  animation-delay: 2.7s;
}
#skill-card11 {
  animation-delay: 3s;
}
#skill-card12 {
  animation-delay: 3.3s;
}

/* ==== NEON BORDER COLORS ==== */
.border-red {
  box-shadow: 0 0 12px rgba(255, 70, 70, 0.4);
}
.border-purple {
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}
.border-yellow {
  box-shadow: 0 0 12px rgba(255, 221, 0, 0.4);
}
.border-orange {
  box-shadow: 0 0 12px rgba(255, 145, 0, 0.4);
}
.border-blue {
  box-shadow: 0 0 12px rgba(0, 165, 255, 0.4);
}
.border-lightblue {
  box-shadow: 0 0 12px rgba(0, 238, 255, 0.4);
}
.border-lightgreen {
  box-shadow: 0 0 12px rgba(0, 255, 128, 0.4);
}
.border-burlywood {
  box-shadow: 0 0 12px rgba(222, 184, 135, 0.4);
}
.border-pink {
  box-shadow: 0 0 12px rgba(255, 0, 170, 0.4);
}

/* ==== HOVER COLOR GLOW FOR EACH ==== */
.border-red:hover {
  box-shadow: 0 0 25px rgba(255, 70, 70, 0.7);
}
.border-purple:hover {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
}
.border-yellow:hover {
  box-shadow: 0 0 25px rgba(255, 221, 0, 0.7);
}
.border-orange:hover {
  box-shadow: 0 0 25px rgba(255, 145, 0, 0.7);
}
.border-blue:hover {
  box-shadow: 0 0 25px rgba(0, 165, 255, 0.7);
}
.border-lightblue:hover {
  box-shadow: 0 0 25px rgba(0, 238, 255, 0.7);
}
.border-lightgreen:hover {
  box-shadow: 0 0 25px rgba(0, 255, 128, 0.7);
}
.border-burlywood:hover {
  box-shadow: 0 0 25px rgba(222, 184, 135, 0.7);
}
.border-pink:hover {
  box-shadow: 0 0 25px rgba(255, 0, 170, 0.7);
}
.border-black:hover {
  box-shadow: 0 0 25px rgba(214, 203, 203, 0.7);
}

/* FLOAT ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .skills-title {
    font-size: 2rem;
  }

  .skill-card {
    padding: 20px;
  }

  .skill-card img {
    width: 60px;
  }
}

/* ======= TIMELINE ======= */
.timeline-section {
  padding: 80px 30px;
  text-align: center;
}

.title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #26ffe6;
  text-shadow: 0 0 10px rgba(38, 255, 230, 0.7);
}

.subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  max-height: 450px;
  overflow-y: auto;
  padding-right: 10px;
  scroll-behavior: smooth;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 50px 0;
  position: relative;
}

.timeline-item.left .content,
.timeline-item.right .content {
  background: #11152f;
  padding: 25px;
  border-radius: 10px;
  width: 45%;
  box-shadow: 0 0 25px rgba(38, 255, 230, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item .content:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(38, 255, 230, 0.4);
}

.timeline-item.left .image,
.timeline-item.right .image {
  width: 45%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 25px rgba(38, 255, 230, 0.2);
  transition: transform 0.3s ease;
}

.timeline-item .image:hover {
  transform: scale(1.03);
}

.timeline-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.timeline-item.left .content {
  order: 2;
}
.timeline-item.left .image {
  order: 1;
}
.timeline-item.right .content {
  order: 1;
}
.timeline-item.right .image {
  order: 2;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 10px;
}

.tags span {
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 5px #00eaff, 0 0 5px #0077ff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tags span:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #00ffff, 0 0 10px #0099ff;
}

.timeline::-webkit-scrollbar {
  width: 10px;
}
.timeline::-webkit-scrollbar-track {
  background: #0b0c10;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.1);
}
.timeline::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00eaff, #0077ff);
  border-radius: 10px;
  box-shadow: 0 0 10px #00eaff, 0 0 20px #0077ff;
}
.timeline::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ffff, #0099ff);
}

.cta a {
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, #26ffe6, #6a4bff);
  padding: 12px 20px;
  margin: 20px auto 0;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(106, 75, 255, 0.4);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(38, 255, 230, 0.6);
}

/* ==========================
    My Service Section
============================= */
.services {
  padding: 80px 8%;
  background: #0a0e2a;
  color: #ffffff;
}

.services .heading {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.services .heading span {
  color: #26ffe6;
  text-shadow: 0 0 10px rgba(38, 255, 230, 0.7);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-box {
  background: rgba(9, 13, 40, 0.9);
  border-radius: 18px;
  padding: 25px 22px;
  border: 1px solid rgba(38, 255, 230, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: skills 0.8s ease-in-out forwards;
  animation-range: entry 0% cover 30%;
  animation-timeline: view();
}

#service-box1 {
  animation-delay: 0s;
}
#service-box2 {
  animation-delay: 0.3s;
}
#service-box3 {
  animation-delay: 0.6s;
}
#service-box4 {
  animation-delay: 0.9s;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top,
    rgba(38, 255, 230, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-box:hover::before {
  opacity: 1;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(38, 255, 230, 0.6);
}

.service-box i {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: inline-flex;
  width: 55px;
  height: 55px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #26ffe6, #4b8dff);
  color: #050816;
  box-shadow: 0 0 20px rgba(38, 255, 230, 0.7);
}

.service-box h3 {
  font-size: 1.3rem;
  margin: 14px 0 10px;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d0d4ff;
  margin-bottom: 18px;
}

.services .btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #26ffe6;
  background: transparent;
  color: #26ffe6;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.services .btn:hover {
  background: #26ffe6;
  color: #050816;
  transform: translateY(-1px);
}

/* ====== RESPONSIVE TWEAKS ====== */
@media (max-width: 768px) {
  .services {
    padding: 60px 6%;
  }

  .services .heading {
    font-size: 2.2rem;
  }

  .service-box {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .services .heading {
    font-size: 2rem;
  }

  .service-box h3 {
    font-size: 1.15rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }
}

/* ===========================
    Projects info
============================== */
.stats-section {
  padding: 30px 0;
  text-align: center;
}
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
}
.heading {
  margin-bottom: 20px;
}
.stats-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 0px 15px #555;
  opacity: 0;
  animation: skills 0.8s ease-in-out forwards;
  animation-range: entry 0% cover 30%;
  animation-timeline: view();
}
.stats-box:hover {
  box-shadow: 0px 0px 15px rgb(131, 100, 37);
}
.stats-box h1 {
  font-size: 2rem;
  margin-bottom: 5px;
  background: linear-gradient(90deg, #2db4ff, #157bff);
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.stats-box p {
  font-size: 1rem;
  color: #ccc;
}

/* -------------------------------------
   DESKTOP MODE (3 boxes in one row)
-------------------------------------- */
@media (min-width: 768px) {
  .stats-container {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .stats-box {
    width: 300px;
  }
}

/* ================================
   CERTIFICATE SECTION
================================ */
.certificates {
  padding: 60px 20px;
  background: #11152f;
}

.certificates-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 35px;
  color: #f1e5e5;
}

/* ================================
   CATEGORY FILTER BUTTONS
================================ */
.cert-filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.cert-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid #26ffe6;
  background: transparent;
  color: #26ffe6;
  font-weight: 600;
  cursor: pointer;
  transition: 0.35s ease;
  font-size: 0.95rem;
}

.cert-btn:hover,
.cert-btn.active {
  background: #26ffe6;
  color: #0d142d;
  box-shadow: 0 0 15px #26ffe6aa;
}

/* ================================
   CERTIFICATE GRID
================================ */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.certificate-card {
  opacity: 1;
  transition: 0.4s ease;
}

.certificate-card.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* ================================
   CARD STYLING
================================ */
.certificate-card {
  width: 100%;
  height: 360px;
  perspective: 1200px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  will-change: transform;
  opacity: 0;
  animation: skills 0.8s ease-in-out forwards;
  animation-range: entry 0% cover 30%;
  animation-timeline: view();
}

#card1:hover {
  box-shadow: 0px 0px 20px orange;
}
#card2:hover {
  box-shadow: 0px 0px 20px rgb(160, 234, 13);
}
#card3:hover {
  box-shadow: 0px 0px 20px aqua;
}
#card4:hover {
  box-shadow: 0px 0px 20px red;
}
#card5:hover {
  box-shadow: 0px 0px 20px rgb(160, 234, 13);
}
#card6:hover {
  box-shadow: 0px 0px 20px violet;
}
#card7:hover {
  box-shadow: 0px 0px 20px gold;
}
#card8:hover {
  box-shadow: 0px 0px 20px orangered;
}

/* ================================
   FLIP CARD
================================ */
.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1.3s ease;
  transform-style: preserve-3d;
}

.certificate-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back side */
.card-back {
  transform: rotateY(180deg);
  background: #1c233d;
  color: white;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-back h3 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #26ffe6;
}

.card-back ul {
  list-style: none;
  padding: 0;
}

.card-back ul li {
  background: rgba(38, 255, 230, 0.15);
  border-left: 3px solid #26ffe6;
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Small responsive improvement */
@media (max-width: 500px) {
  .certificates-title {
    font-size: 2.2rem;
  }

  .certificate-card {
    height: 330px;
  }
}

/* ======= CONTACT SECTION ======= */
footer#contact {
  padding: 80px 30px;
  background: #0f1438;
}

.contact-heading {
  text-align: center;
  color: #26ffe6;
  font-size: 2rem;
  margin-bottom: 50px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 300px;
  background: #11152f;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(38, 255, 230, 0.15);
}

textarea {
  resize: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #1a1f3b;
  border: none;
  border-radius: 8px;
  color: #fff;
}

.info-item a {
  text-decoration: none;
  color: white;
  margin-bottom: 10px;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #26ffe6, #6a4bff);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ff62f0, #26ffe6);
}

/* ======= SOCIAL FOOTER ======= */
.social-footer {
  background-color: #0d1321;
  padding: 50px 80px;
  font-family: "Poppins", sans-serif;
  color: #d1d5db;
  border-radius: 10px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-text h3 {
  font-size: 1.8rem;
  background: linear-gradient(90deg, #d946ef, #a855f7);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.footer-text p {
  color: #9ca3af;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  border-color: #26ffe6;
  box-shadow: 0 0 8px #26ffe6;
  transform: scale(1.1);
}

.social-icons img {
  width: 22px;
  filter: invert(1);
  transition: 0.3s;
}

button a {
  color: #fff;
  text-decoration: none;
}

button {
  background: linear-gradient(90deg, #26ffe6, #6a4bff);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}
button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ff62f0, #26ffe6);
}

/* ===========================
   FINAL THANK YOU FOOTER
=========================== */
footer:last-of-type {
  text-align: center;
  padding: 30px 0;
  background: #0a0e2a;
  color: #b0b3c5;
}
footer:last-of-type img {
  width: 250px;
  filter: drop-shadow(0 0 12px #00eaff80);
  animation: floatingGif 4s ease-in-out infinite;
}
footer:last-of-type p {
  margin-top: 15px;
  font-size: 1rem;
  color: #dbefff;
  font-weight: 600;
  text-shadow: 0 0 8px #00eaff80;
}
@keyframes floatingGif {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ======= SLIDER SECTION ======= */
.showcase {
  padding: 80px 20px;
  background: #0a0e2a;
  color: white;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26ffe6;
  text-shadow: 0 0 15px #26ffe6;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 25px;
  width: calc(250px * 10);
  animation: scroll 25s linear infinite;
}

.card {
  flex: 0 0 auto;
  width: 250px;
  border-radius: 15px;
  background: #11152f;
  box-shadow: 0 0 10px rgba(38, 255, 230, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.card p {
  padding: 10px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 8px rgba(38, 255, 230, 0.6);
}

.card:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(38, 255, 230, 0.6);
  z-index: 10;
}

.slider-container:hover .slider-track {
  animation-play-state: paused;
}

/* ======= LOGO + TYPING PRELOADER ======= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #0a0e2a 0%, #000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}

.loader-container {
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.logo-spin {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 20px #26ffe6, 0 0 40px rgba(38, 255, 230, 0.5);
  animation: logoRotate 2s linear infinite;
  margin-bottom: 15px;
}

.typing-text {
  color: #26ffe6;
  font-size: 2rem;
  font-family: "Poppins", monospace;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 0 15px #26ffe6;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 26px;
  background: #26ffe6;
  margin-left: 3px;
  animation: blink 0.8s infinite;
  vertical-align: bottom;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ======= ANIMATIONS (final kept versions) ======= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow-scroll {
  0% {
    box-shadow: 0 0 5px #00eaff, 0 0 15px #0077ff, 0 0 25px #00eaff;
  }
  100% {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #0099ff, 0 0 30px #00ffff;
  }
}

@keyframes appear {
  0% {
    opacity: 0;
    scale: 0.3;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes skills {
  0% {
    opacity: 0;
    scale: 0.3;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes projects {
  0% {
    opacity: 0;
    scale: 0.3;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes logoRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

/* ============================= 
   📱 RESPONSIVE MEDIA QUERIES  
   ============================= */
@media (max-width: 1400px) {
  .hero {
    height: 100vh;
  }
}

/* Laptop / Large Tablet */
@media (max-width: 1200px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .text-content {
    padding: 0;
    margin: 0 auto;
  }
  .hero {
    height: 150vh;
  }
  .image-card {
    width: 60%;
    margin: 20px auto;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-item {
    flex-direction: column;
  }
  .timeline-item .content,
  .timeline-item .image {
    width: 80%;
    margin: 0 auto;
  }
  nav .navlist {
    gap: 20px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  header {
    padding: 16px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #26ffe6;
    letter-spacing: 1px;
    text-shadow: 0 0 12px #00eaff;
  }

  .navlist {
    gap: 25px;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    flex-direction: column;
    gap: 25px;
    padding: 25px 0;
    text-align: center;
    transform: translateY(-150%);
    transition: transform 0.35s ease-in-out;
  }

  .navlist.active {
    transform: translateY(0);
  }

  .right-side-button {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #26ffe6;
    letter-spacing: 1px;
    text-shadow: 0 0 12px #00eaff;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
  }
  .text-content h1 {
    font-size: 2.5rem;
  }
  .text-content h2 {
    font-size: 1.5rem;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero {
    height: 150vh;
  }
  .image-card {
    width: 70%;
  }
  .timeline {
    margin: 40px auto;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .timeline-item.left .content,
  .timeline-item.right .content,
  .timeline-item.left .image,
  .timeline-item.right .image {
    width: 90%;
    text-align: center;
  }
  .timeline-item .image img {
    width: 100%;
    border-radius: 15px;
  }
  .timeline-item .tap {
    font-size: 1rem;
  }
  .tags {
    justify-content: center;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form,
  .contact-info {
    width: 90%;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .tap {
    padding: 20px 0px;
  }
  .image {
    margin-bottom: 500px;
  }
}

/* =============================
   MOBILE HERO – MODERN CENTERED
============================== */

/* Mobile Landscape */
@media (max-width: 600px) {
  nav {
    padding: 15px;
  }
  .navlist {
    flex-wrap: wrap;
    gap: 15px;
  }
  .hamburger {
    display: flex;
  }
  .text-content h1 {
    font-size: 2rem;
  }
  .text-content h2 {
    font-size: 1.3rem;
  }
  .text-content p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  .hero {
    padding: 40px 20px;
    text-align: center;
  }
  .hero-content {
    flex-direction: column;
    gap: 20px;
  }
  .image-card {
    width: 85%;
    margin: auto;
  }
  .image-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(0, 238, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.5);
  }
  .buttons {
    flex-direction: column;
    width: 90%;
    margin: auto;
    gap: 12px;
  }
  .timeline {
    margin: 40px auto;
    flex-direction: column;
    align-items: center;
    gap: 105px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .timeline-item.left .content,
  .timeline-item.right .content,
  .timeline-item.left .image,
  .timeline-item.right .image {
    width: 90%;
    text-align: center;
  }
  .timeline-item .image img {
    width: 100%;
    border-radius: 15px;
  }
  .timeline-item .tap {
    font-size: 1rem;
  }
  .tags {
    justify-content: center;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificate-card {
    height: 320px;
  }
  .certificates-title {
    font-size: 2rem;
  }
  .card-front {
    height: 200px;
  }
  .certificate-card img {
    height: 200px;
  }
  .certificate-info h3 {
    font-size: 1.2rem;
  }
  .card-back ul li {
    font-size: 0.8rem;
    opacity: 1;
  }
  footer#contact {
    padding: 60px 20px;
  }
}

/* ==========
project media queries
============== */
/* MOBILE FIXES */
@media (max-width: 600px) {
  .projects {
    padding: 40px 0;
  }

  .project-grid {
    padding: 0 15px;
    gap: 20px;
  }

  .project-card {
    border-radius: 14px;
    margin: 0 auto;
    width: 90%;
  }

  .project-image img {
    height: 130px;
  }

  .project-info {
    padding: 15px;
  }

  .project-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .project-info p {
    font-size: 0.9rem;
    line-height: 1.35;
    max-height: 120px;
    overflow: hidden;
  }

  .tect-stack {
    gap: 6px;
  }

  .tect-stack span {
    font-size: 12px;
    padding: 4px 6px;
  }

  .buttons {
    padding-bottom: 15px;
    gap: 10px;
  }

  .buttons a {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .logo {
    font-size: 1.2rem;
  }
  .hamburger {
    display: flex;
  }
  .navlist {
    gap: 20px;
  }
  .navlist a {
    font-size: 0.95rem;
  }
  .text-content h1 {
    font-size: 1.6rem;
  }
  .text-content h2 {
    font-size: 1.1rem;
  }
  .timeline {
    width: 100%;
  }
  .timeline-item.left {
    width: 100%;
  }
  .buttons a {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .content img {
    width: 100%;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-icons a {
    width: 40px;
    height: 40px;
  }
  .footer-text h3 {
    font-size: 1.4rem;
  }
}

/* Slider responsive tweaks */
@media (max-width: 900px) {
  .slider-track {
    gap: 15px;
    animation: scroll 30s linear infinite;
  }
  .card {
    width: 180px;
  }
}

@media (max-width: 600px) {
  .card {
    width: 150px;
  }
  .card p {
    font-size: 0.85rem;
  }
  .parainfo {
    font-size: 1rem;
    margin-top: 50px;
    box-shadow: 0px 5px 25px #555;
    position: relative;
  }
}


