/* ===================================
   RESET
=================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===================================
   ANIMATED CYBER BACKGROUND
=================================== */

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* upgraded cyber floating boxes */
.background-grid span {
  position: absolute;
  width: 12px;
  height: 12px;

  border: 1px solid rgba(56,189,248,0.25);
  background: rgba(56,189,248,0.08);

  box-shadow: 0 0 10px rgba(56,189,248,0.15);

  animation: floatBox 10s linear infinite;
  transition: transform 0.3s ease;
}

/* different positions */
.background-grid span:nth-child(1) { top: 10%; left: 15%; }
.background-grid span:nth-child(2) { top: 20%; left: 70%; }
.background-grid span:nth-child(3) { top: 60%; left: 25%; }
.background-grid span:nth-child(4) { top: 80%; left: 80%; }
.background-grid span:nth-child(5) { top: 40%; left: 50%; }
.background-grid span:nth-child(6) { top: 70%; left: 10%; }
.background-grid span:nth-child(7) { top: 30%; left: 85%; }
.background-grid span:nth-child(8) { top: 50%; left: 35%; }
.background-grid span:nth-child(9) { top: 15%; left: 40%; }
.background-grid span:nth-child(10) { top: 90%; left: 60%; }

@keyframes floatBox {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(180deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* ===================================
   NAVBAR
=================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 50px;

  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);

  z-index: 1000;

  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.logo {
  color: #38bdf8;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-links a.active {
  color: #38bdf8;
}

.nav-links a.active::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -8px;

  width: 100%;
  height: 2px;

  background: #38bdf8;
}

/* ===================================
   MOBILE MENU BUTTON
=================================== */

.menu-btn {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
/* ===================================
   HERO SECTION
=================================== */

.home {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 120px 20px 80px;
}

.home-content {
  max-width: 900px;
  margin: auto;
}

/* ===================================
   PROFILE IMAGE
=================================== */

.hero-image {
  margin-bottom: 30px;
}

.hero-image img {
  width: 220px;
  height: 220px;

  object-fit: cover;

  border-radius: 50%;

  border: 4px solid #38bdf8;

  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.4),
    0 0 40px rgba(56, 189, 248, 0.2);

  transition: 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* ===================================
   HERO TEXT
=================================== */

.home-content h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.home-content h1 span {
  color: #38bdf8;
}

.home-content h3 {
  font-size: 1.4rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  font-weight: 500;
}

.home-content p {
  max-width: 750px;
  margin: 0 auto 30px;

  font-size: 1.1rem;
  color: #d1d5db;
}

/* ===================================
   TYPING CURSOR
=================================== */

#typing::after {
  content: "|";
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===================================
   BUTTONS
=================================== */

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-block;

  padding: 14px 30px;

  border-radius: 8px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s ease;

  background: #38bdf8;
  color: #0f172a;

  border: 2px solid #38bdf8;
}

.btn:hover {
  transform: translateY(-4px);

  box-shadow:
    0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn.outline {
  background: transparent;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* ===================================
   HERO FADE ANIMATION
=================================== */

.home-content {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}
/* ===================================
   GENERAL SECTIONS
=================================== */

.section {
  padding: 100px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #38bdf8;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;

  width: 80px;
  height: 4px;

  background: #38bdf8;

  margin: 12px auto 0;
  border-radius: 20px;
}

/* ===================================
   ABOUT SECTION
=================================== */

#about p {
  max-width: 900px;
  margin: auto;

  font-size: 1.1rem;
  color: #d1d5db;
}

/* ===================================
   GLASS CARD STYLE
=================================== */

.card {
  width: 70%;
  margin: 20px auto;

  padding: 30px;

  border-radius: 20px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25);

  transition: 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);

  border-color: rgba(56,189,248,0.4);

  box-shadow:
    0 15px 35px rgba(56,189,248,0.15);
}

.card h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

.card p {
  color: #d1d5db;
}

/* ===================================
   PROJECT GRID
=================================== */

.grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;

  max-width: 1200px;

  margin: auto;
}

/* ===================================
   PROJECT CARD
=================================== */

.project-card {
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);

  border-radius: 20px;

  padding: 30px;

  border: 1px solid rgba(255,255,255,0.08);

  cursor: pointer;

  transition: all 0.4s ease;

  text-align: center;

  box-shadow:
    0 10px 20px rgba(0,0,0,0.2);
}

.project-card:hover {
  transform:
    translateY(-12px)
    scale(1.02);

  border-color: rgba(56,189,248,0.5);

  box-shadow:
    0 15px 40px rgba(56,189,248,0.2);
}

.project-card i {
  font-size: 2.5rem;
  color: #38bdf8;

  margin-bottom: 15px;
}

.project-card h3 {
  margin-bottom: 10px;

  color: white;
}

.project-card p {
  color: #cbd5e1;
}

/* ===================================
   PROJECT CARD GLOW EFFECT
=================================== */

.project-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 20px;

  opacity: 0;

  transition: 0.4s ease;

  background:
    linear-gradient(
      135deg,
      rgba(56,189,248,0.1),
      transparent
    );
}

.project-card:hover::before {
  opacity: 1;
}
/* ===================================
   SKILLS SECTION
=================================== */

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;

  max-width: 1000px;
  margin: auto;
}

.skills span {
  padding: 12px 20px;

  border-radius: 50px;

  border: 1px solid rgba(56, 189, 248, 0.4);

  background: rgba(255,255,255,0.05);

  color: white;

  font-weight: 500;

  transition: all 0.3s ease;

  cursor: default;
}

.skills span:hover {
  background: #38bdf8;
  color: #0f172a;

  transform: translateY(-4px);

  box-shadow:
    0 8px 20px rgba(56,189,248,0.3);
}

/* ===================================
   CONTACT SECTION
=================================== */

.contact-form {
  max-width: 700px;
  margin: auto;

  display: flex;
  flex-direction: column;

  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 15px;

  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.05);

  color: white;

  outline: none;

  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #38bdf8;

  box-shadow:
    0 0 15px rgba(56,189,248,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  padding: 15px;

  border: none;

  border-radius: 12px;

  background: #38bdf8;

  color: #0f172a;

  font-weight: bold;

  cursor: pointer;

  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 8px 20px rgba(56,189,248,0.35);
}
/* ===================================
   CONTACT CARD
=================================== */


#contact .card {
  margin-top: 30px;
}

#contact p {
  margin: 10px 0;
}

#contact i {
  color: #38bdf8;
  margin-right: 10px;
}

/* ===================================
   SOCIAL LINKS
=================================== */

.social-links {
  margin-top: 25px;

  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  width: 50px;
  height: 50px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  text-decoration: none;

  color: white;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(56,189,248,0.2);

  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #38bdf8;

  color: #0f172a;

  transform: translateY(-5px);

  box-shadow:
    0 10px 20px rgba(56,189,248,0.3);
}

/* ===================================
   FOOTER
=================================== */

footer {
  text-align: center;

  padding: 30px 20px;

  margin-top: 60px;

  border-top: 1px solid rgba(255,255,255,0.08);

  color: #94a3b8;
}

footer p {
  font-size: 0.95rem;
}
/* ===================================
   PROJECT MODAL
=================================== */

.modal {
  display: none;

  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.8);

  justify-content: center;
  align-items: center;

  z-index: 9999;

  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 650px;

  background: #1e293b;

  border: 1px solid rgba(56,189,248,0.3);

  border-radius: 20px;

  padding: 30px;

  position: relative;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.4);

  animation: modalOpen 0.4s ease;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content h2 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.modal-content p {
  color: #d1d5db;
  line-height: 1.8;
}

.close {
  position: absolute;

  right: 20px;
  top: 15px;

  font-size: 2rem;

  cursor: pointer;

  color: #38bdf8;

  transition: 0.3s;
}

.close:hover {
  transform: rotate(90deg);
}

/* ===================================
   SCROLL REVEAL
=================================== */

.hidden {
  opacity: 0;
  transform: translateY(50px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   SCROLLBAR
=================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* ===================================
   SECTION SPACING FIX
=================================== */

section {
  scroll-margin-top: 100px;
}

/* -------------------------------------------------
   FIX: removed accidental embedded HTML from CSS file
--------------------------------------------------- */


/* ===================================
   MOBILE RESPONSIVE
=================================== */

@media (max-width: 992px) {

  .card {
    width: 90%;
  }

  .home-content h1 {
    font-size: 3rem;
  }

}

@media (max-width: 768px) {

  .navbar {
    padding: 15px 20px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;

    top: 70px;
    right: -100%;

    width: 260px;
    height: calc(100vh - 70px);

    background: #0f172a;

    flex-direction: column;

    justify-content: start;

    align-items: center;

    padding-top: 40px;

    gap: 30px;

    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .home {
    padding-top: 120px;
  }

  .home-content h1 {
    font-size: 2.4rem;
  }

  .home-content h3 {
    font-size: 1.1rem;
  }

  .hero-image img {
    width: 180px;
    height: 180px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 220px;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .skills {
    gap: 10px;
  }

  .skills span {
    font-size: 0.9rem;
  }

  .modal-content {
    padding: 25px;
  }
}

@media (max-width: 480px) {

  .home-content h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .hero-image img {
    width: 150px;
    height: 150px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
  }

}

/* ===================================
   FINAL GLOW EFFECT
=================================== */

.section h2 {
  text-shadow:
    0 0 10px rgba(56,189,248,0.3);
}

.logo {
  text-shadow:
    0 0 15px rgba(56,189,248,0.35);
}
/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(56,189,248,0.2);
  border-top: 4px solid #38bdf8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
html {
  scroll-behavior: smooth;
}
#terminal {
  position: fixed;
  inset: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.terminal-box {
  font-family: monospace;
  color: #38bdf8;
  font-size: 18px;
  text-align: left;
}

.line {
  opacity: 0;
  animation: showLine 0.6s forwards;
}

.line:nth-child(1) { animation-delay: 0.5s; }
.line:nth-child(2) { animation-delay: 1.5s; }
.line:nth-child(3) { animation-delay: 2.5s; }
.line:nth-child(4) { animation-delay: 3.5s; }
.line:nth-child(5) { animation-delay: 4.5s; }

.highlight {
  color: white;
  text-shadow: 0 0 10px #38bdf8;
}

@keyframes showLine {
  to { opacity: 1; }
}
.skill-bar {
  margin: 15px auto;
  width: 80%;
  text-align: left;
}

.skill-bar p {
  margin-bottom: 5px;
}

.bar {
  width: 100%;
  height: 10px;
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: #38bdf8;
  transition: width 1.5s ease-in-out;
}
.nav-links a.active {
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8;
}
/* ================================
   FUTURISTIC BACKGROUND LAYER
================================ */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, #0f172a, #050814);
  overflow: hidden;
}

/* Canvas covers full screen */
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}

/* subtle glow overlay */
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,255,200,0.05), transparent 40%);
  pointer-events: none;
}
#terminal {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
}

#terminal.hide {
  opacity: 0;
  pointer-events: none;
}
/* =========================
   🌌 CYBER CANVAS BACKGROUND
========================= */

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.glow-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center,
    rgba(56, 189, 248, 0.08),
    transparent 60%);
  z-index: -1;
}

/* =========================
   🧊 GLASS EFFECT CARDS
========================= */

.card,
.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: 0.4s ease;
}

.card:hover,
.project-card:hover {
  transform: translateY(-10px) scale( 1.02);
}
/* =========================
   🤖 AI BUTTON
========================= */

.ai-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #38bdf8;
    color: black;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    z-index: 9999;
}

/* =========================
   🤖 AI BOX
========================= */

.ai-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #38bdf8;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.ai-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #38bdf8;
    color: black;
    font-weight: bold;
}

.ai-chat {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    color: white;
    font-size: 14px;
}

.ai-input {
    display: flex;
    border-top: 1px solid #38bdf8;
}

.ai-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.ai-input button {
    background: #38bdf8;
    border: none;
    padding: 10px;
    cursor: pointer;
}
/* ======================================
   🤖 AI FLOATING BUTTON
====================================== */
#ai-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #38bdf8;
    color: black;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 20px #38bdf8;
    transition: 0.3s;
}

#ai-fab:hover {
    transform: scale(1.1);
}

/* ======================================
   🤖 AI PANEL (BOTTOM RIGHT)
====================================== */
.ai-panel {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 300px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid #38bdf8;
    border-radius: 12px;
    padding: 15px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.ai-panel.active {
    display: flex;
}

/* HEADER */
.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-ai {
    cursor: pointer;
    font-size: 22px;
    color: #38bdf8;
}

/* SUGGESTIONS */
.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ai-suggestions button {
    font-size: 12px;
    padding: 5px 8px;
    border: 1px solid #38bdf8;
    background: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.ai-suggestions button:hover {
    background: #38bdf8;
    color: black;
}

/* INPUT */
.ai-panel input {
    padding: 8px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.ai-panel button {
    padding: 8px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#ai-response {
    font-size: 13px;
    color: #cbd5e1;
}
/* =========================
   AI CHATBOT BUTTON
========================= */
.ai-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.ai-toggle button {
    background: linear-gradient(135deg, #00f5ff, #0066ff);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0,255,255,0.4);
}

/* =========================
   CHAT PANEL
========================= */
.ai-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 15px;
    padding: 15px;
    color: white;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

/* When active */
.ai-panel.active {
    display: flex;
}

/* Header */
.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-ai {
    cursor: pointer;
    font-size: 20px;
}

/* Suggestions */
.ai-suggestions button {
    margin: 3px;
    padding: 5px 10px;
    border-radius: 20px;
    border: none;
    background: rgba(0,255,255,0.15);
    color: white;
    cursor: pointer;
    font-size: 12px;
}

/* Input */
#ai-input {
    padding: 8px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.ai-panel button {
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: #00f5ff;
    cursor: pointer;
}

/* Response */
#ai-response {
    font-size: 13px;
    margin-top: 5px;
}
/* =========================
   GLOBAL PREMIUM LOOK
========================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #050510;
    color: white;
    scroll-behavior: smooth;
}

/* smoother section spacing */
section {
    padding: 80px 10%;
    position: relative;
}

/* =========================
   GLASS CARD UPGRADE
========================= */
.card, .project-card, .skill-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s ease;
}

.card:hover, .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0,255,255,0.2);
}

/* =========================
   SECTION TITLES
========================= */
h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #00f5ff;
    letter-spacing: 1px;
}

/* =========================
   BUTTON UPGRADE
========================= */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #00f5ff, #6a00ff);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0,255,255,0.4);
}

/* =========================
   NAVBAR UPGRADE
========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 10%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00f5ff;
}

/* =========================
   HERO UPGRADE
========================= */
.home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    text-align: center;
}

.hero-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #00f5ff;
    box-shadow: 0 0 25px rgba(0,255,255,0.3);
}

/* typing text glow */
#typing {
    color: #00f5ff;
    text-shadow: 0 0 10px #00f5ff;
}
#terminal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
body {
    overflow-x: hidden;
}
/* =========================
   FIX CLICK BLOCKING ISSUE
========================= */

#terminal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: black;
    transition: opacity 1s ease;
}

/* when terminal is hidden */
#terminal.hide {
    opacity: 0;
    pointer-events: none;
}

/* background must NEVER block clicks */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* main content must be above background */
#main-content {
    position: relative;
    z-index: 2;
}

/* navbar must be clickable above everything */
.navbar {
    position: relative;
    z-index: 10;
}

/* AI panel above everything but not blocking page */
.ai-panel {
    z-index: 1000;
}
body {
    overflow-x: hidden;
}
/* =========================
   FIX ALL CLICK BLOCKING
========================= */

#terminal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: black;
    transition: opacity 1s ease;
}

/* IMPORTANT: allow clicks through hidden terminal */
#terminal.hidden,
#terminal[style*="display: none"] {
    pointer-events: none !important;
}

/* background MUST NOT block clicks */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none !important;
}

/* canvas also must not block */
canvas {
    pointer-events: none !important;
}

/* everything above background */
header,
.home,
.section,
footer {
    position: relative;
    z-index: 2;
}
#main-content {
  opacity: 0;
  transition: opacity 1s ease;
}
#topBtn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 20px;
}
/* =======================================
   HERO BADGE
======================================= */

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    margin:15px 0;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    backdrop-filter:blur(10px);
}

.hero-badge i{
    margin-right:8px;
}

/* =======================================
   MINI STATS
======================================= */

.hero-stats-mini{
    display:flex;
    gap:20px;
    margin:25px 0;
    flex-wrap:wrap;
}

.mini-stat{
    text-align:center;
    min-width:100px;
}

.mini-stat h4{
    font-size:28px;
    margin:0;
}

.mini-stat span{
    font-size:14px;
}

/* =======================================
   PORTFOLIO STATS
======================================= */

.stats-section{
    padding:80px 10%;
    text-align:center;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

.stat-card{
    padding:30px;
    border-radius:20px;
    transition:.3s;
}
.stat-card p{
    transition: 0.3s;
}

.stat-card:hover p{
    transform: translateX(10px);
}
.stat-card i{
    font-size:40px;
    margin-bottom:15px;
}

.stat-card h3{
    font-size:35px;
    margin-bottom:10px;
}

/* =======================================
   SOCIAL LINKS
======================================= */

.social-links{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.social-links a{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:24px;
    transition:.3s;
}

.social-links a:hover{
    transform:translateY(-5px);
}

/* =======================================
   TESTIMONIALS
======================================= */

.testimonial-card{
    padding:25px;
    border-radius:20px;
    text-align:center;
}

/* =======================================
   SCROLL BUTTON
======================================= */

#topBtn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    display:none;
    justify-content:center;
    align-items:center;
    font-size:20px;
    z-index:9999;
    transition:.3s;
}

#topBtn:hover{
    transform:translateY(-5px);
}
.social-links{
display:flex;
justify-content:center;
gap:20px;
margin-top:20px;
}

.social-links a{
font-size:2rem;
color:#00f5ff;
transition:.3s;
}

.social-links a:hover{
transform:scale(1.2);
}

.tech-stack{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
margin-top:20px;
}

.tech-stack span{
padding:10px 20px;
background:#111;
border:1px solid #00f5ff;
border-radius:30px;
}

.timeline{
max-width:800px;
margin:auto;
}

.timeline-item{
padding:20px;
margin:20px 0;
border-left:3px solid #00f5ff;
background:#111;
}

#topBtn{
position:fixed;
bottom:30px;
left:30px;
display:none;
padding:15px;
border:none;
cursor:pointer;
border-radius:50%;
font-size:18px;
z-index:999;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.stat-card{
padding:30px;
text-align:center;
background:#111;
border-radius:15px;
}
.edu-card{
    background: rgba(255,255,255,0.05);
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.edu-card:hover{
    transform: scale(1.02);
}

.edu-details{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
}

.edu-details.show{
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}
/* ================================
   STATS SECTION (MODERN STYLE)
================================ */
.stats-section {
    padding: 80px 20px;
    text-align: center;
}

.stats-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #fff;
}

/* container = makes items horizontal */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap; /* IMPORTANT: prevents overlapping */
}

/* each stat box */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    width: 220px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    text-align: center;
}

/* hover effect */
.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

/* numbers */
.stat-card h3 {
    font-size: 2.5rem;
    color: #00ffe1;
    margin-bottom: 10px;
}

/* text */
.stat-card p {
    color: #ddd;
    font-size: 1rem;
}
/* ================================
   EDUCATION LINKS STYLE
================================ */
.edu-details {
    display: none;
    margin-top: 10px;
    animation: fadeIn 0.4s ease;
}

.edu-card {
    cursor: pointer;
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
}

/* when opened */
.edu-details.active {
    display: block;
}

/* links layout (HORIZONTAL) */
.edu-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.edu-links a {
    text-decoration: none;
    color: #00ffe1;
    padding: 8px 12px;
    border: 1px solid #00ffe1;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.edu-links a:hover {
    background: #00ffe1;
    color: #000;
}

/* animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
.edu-details {
    display: none;
    margin-top: 10px;
}

.edu-details.active {
    display: block;
}

.edu-card {
    cursor: pointer;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.edu-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.edu-links a {
    text-decoration: none;
    color: #00ffe1;
    border: 1px solid #00ffe1;
    padding: 6px 10px;
    border-radius: 6px;
}
.edu-details {
    display: none;
    margin-top: 10px;
    padding: 10px 0;
}

.edu-details.active {
    display: block;
}

.edu-card {
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.edu-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.edu-links a {
    text-decoration: none;
    color: #00ffe1;
    border: 1px solid #00ffe1;
    padding: 6px 10px;
    border-radius: 6px;
}

.availability-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:30px;
    background:rgba(0,255,225,0.1);
    border:1px solid #00ffe1;
    margin:15px 0;
}

.status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#00ff66;
    animation:pulse 1.5s infinite;
}

@keyframes pulse{
    0%{opacity:1;}
    50%{opacity:.4;}
    100%{opacity:1;}
}
.project-tech{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin:12px 0;
}

.project-tech span{
    background:rgba(0,255,225,.15);
    color:#00ffe1;
    border:1px solid rgba(0,255,225,.3);
    padding:5px 12px;
    border-radius:20px;
    font-size:0.8rem;
}
/* WHY WORK WITH ME */

.card i{
    font-size: 40px;
    margin-bottom: 15px;
    color: #00e5ff;
}

.card{
    transition: 0.4s ease;
}

.card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0,229,255,0.4);
}
.availability-card{
    text-align:center;
    padding:40px;
}

.availability-card h2{
    margin-bottom:15px;
}

.availability-card p{
    margin-bottom:20px;
}