/* ================= GLOBAL ================= */
body {
  background: #0b0d10;
  color: #e7e9ee;
  font-family: system-ui, sans-serif;
  scroll-behavior: smooth;
}

.accent {
  color: #7c5cff;
}


/* ================= NAVBAR ================= */
.glass-nav {
  backdrop-filter: blur(50px);
  background: rgb(201, 91, 201);
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: white !important;
}

.navbar .nav-link:hover {
  color: #00d9ff !important;
}


/* ================= HERO ================= */
.hero {
  min-height: 100vh;
}

.hero-photo img {
  max-width: 300px;
  border-radius: 20px;
}

.typing {
  border-right: 2px solid #7c5cff;
  white-space: nowrap;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
}


/* ================= ANIMATION ================= */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================= ABOUT ================= */
.about-text {
  max-width: 700px;
  margin: 0 auto 10px;
  line-height: 1.6;
  color: #ccc;
}

/* Cards */
.about-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  height: 100%;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.about-card h2 {
  font-size: 28px;
}

.about-card p {
  font-size: 14px;
  color: #ccc;
}

.about-card:hover {
  transform: translateY(-8px);
  background: rgba(56,189,248,0.2);
}

/* Tags */
.about-extra {
  margin-top: 20px;
}

.about-extra span {
  display: inline-block;
  margin: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  font-size: 14px;
  transition: 0.3s;
}

.about-extra span:hover {
  background: #38bdf8;
  color: #000;
}


/* ================= SKILLS ================= */
.skills-section {
  background: linear-gradient(135deg, #1e1e2f, #2c2c54);
  color: white;
}

.skills-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

.skill-category h4 {
  font-weight: 600;
}

.skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.skill-item {
  text-align: center;
  transition: transform 0.4s ease;
}

.skill-item i {
  font-size: 60px;
}

.skill-item p {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 500;
}

.skill-item:hover {
  transform: translateY(-10px) scale(1.1);
}


/* ================= CERTIFICATES ================= */
.cert-section {
  background: #0b0d10;
  color: white;
}

.cert-card {
  min-width: 300px;
  padding: 20px;
  border-radius: 15px;
  color: white;
  flex-shrink: 0;

  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.4s;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.cert-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, #00f5ff, #8b5cf6);
  color: white;
  text-decoration: none;
}

/* Slider */
.cert-slider {
  overflow: hidden;
  position: relative;
}

.cert-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 15s linear infinite;
}

.cert-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================= PROJECTS ================= */
.projects-section {
  padding: 80px 10%;
  background: #0f172a;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffffff;
  font-weight: 600;
}

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

.project-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.project-card::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(45deg, #00f5ff, #8b5cf6, #ff00cc);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: 0.6s;
}

.project-card:hover::before {
  transform: rotate(180deg);
  opacity: 0.15;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.project-content h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.project-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.project-btn {
  padding: 10px 20px;
  border-radius: 25px;
  background: linear-gradient(90deg, #00f5ff, #8b5cf6);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.project-btn:hover {
  opacity: 0.8;
}


/* ================= MINI PROJECT MODAL ================= */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.mini-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.mini-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
}

.mini-card h6 {
  color: #00f5ff;
  margin-bottom: 10px;
}

.mini-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.mini-links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.mini-links a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  background: linear-gradient(90deg, #00f5ff, #8b5cf6);
  color: white;
  text-decoration: none;
}

.mini-links a:hover {
  opacity: 0.8;
}


/* ================= CONTACT ================= */
.contact-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.contact-info,
.contact-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.contact-info:hover,
.contact-form:hover {
  transform: translateY(-5px);
}

.contact-details a {
  color: #00f5ff;
  text-decoration: none;
}

.social-links a {
  margin-right: 15px;
  color: #8b5cf6;
  text-decoration: none;
}

.contact-btn {
  background: linear-gradient(90deg, #00f5ff, #8b5cf6);
  border: none;
  color: white;
  transition: 0.3s;
}

.contact-btn:hover {
  opacity: 0.85;
}


/* ================= FOOTER ================= */
.footer-section {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0 20px;
}

.footer-name {
  color: white;
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-social a {
  margin-left: 15px;
  color: #8b5cf6;
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #00f5ff;
}

.footer-line {
  margin: 20px 0;
  border-color: rgba(255,255,255,0.1);
}

.footer-bottom {
  font-size: 0.85rem;
  color: #64748b;
}