*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: #000000;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif;
  letter-spacing: 0.3px;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   GLOBAL SECTION WRAPPER
========================= */

.container {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
  padding: 92px 0 36px;
}

.container > section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 26px;
  border-radius: 24px;
  border: 1px solid rgba(77, 184, 255, 0.14);
  background: linear-gradient(135deg, rgba(8, 14, 24, 0.88), rgba(12, 20, 32, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  overflow: hidden;
  scroll-margin-top: 110px;
}

.container > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 184, 255, 0.45), transparent);
}

.container > section:hover {
  border-color: rgba(77, 184, 255, 0.28);
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 16px);
    padding-top: 82px;
  }

  .container > section {
    margin-bottom: 18px;
    border-radius: 18px;
  }
}

/* Background blur */
.background-blur{
  position:fixed;
  width:400px;
  height:400px;
  filter:blur(150px);
  opacity:.25;
  z-index:-1;
}

.blur1{background:#00d4ff;top:-100px;left:-100px;}
.blur2{background:#8e44ad;bottom:-100px;right:-100px;}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:fixed;
  top:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 8%;
  backdrop-filter:blur(15px);
  z-index:1000;
}

.nav-links{
  display:flex;
  gap:30px;
  background: transparent;
  list-style:none;
}

.navbar a{
  text-decoration:none;
  color:white;
  transition:.3s;
  background: transparent;
}

.nav-links a:hover,
.navbar a:hover{
  color:#00d4ff;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid #00d4ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:16px;
  color:#ffffff;
  box-shadow:0 0 10px rgba(0,212,255,0.5);
  background:rgba(0,212,255,0.08);
  transition: opacity 0.3s ease;
}

.logo-text.hide-logo{
  opacity: 0;
}

.nav-profile {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.8);
  transition: 0.3s ease;
}

.nav-profile.show {
  opacity: 1;
  transform: scale(1);
}

.navbar ul {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 15, 35, 0.75);
  box-shadow: 0 0 40px rgba(0, 150, 255, 0.15);
  transition: 0.4s ease;
}

/* =========================
   PANELS / GENERIC
========================= */

.panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 10%;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: 1s ease;
  width: 100%;
  position: relative;
}

.panel.active{
  opacity:1;
  transform:translateY(0);
}

#hero{
  padding-top:120px;
}

.hero h1 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(to right, #00d4ff, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.85);
}

.hero p {
  font-size: 16px;
  opacity: 0.7;
}

.hero-buttons{
  margin-top:30px;
}

.section-title{
  font-size:42px;
  margin-bottom:50px;
}

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BUTTONS
========================= */

.btn,.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 22px;
  border-radius:14px;
  margin:10px;
  text-decoration:none;
  transition:.3s ease;
  border:1px solid rgba(77,184,255,0.34);
  background:rgba(10,18,28,0.82);
  box-shadow:0 10px 24px rgba(0,0,0,0.22);
  backdrop-filter:blur(12px);
}

.btn{
  background:linear-gradient(135deg,#00d4ff,#4db8ff);
  color:#041019;
  font-weight:600;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(77,184,255,0.28);
}

.btn-outline{
  border:1px solid rgba(77,184,255,0.45);
  color:#dff7ff;
}

.btn-outline:hover{
  background:#00d4ff;
  color:black;
  transform:translateY(-3px);
}

/* =========================
   HOME SECTION
========================= */

.home-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
  max-width: 1200px;
  width: 100%;
  animation: fadeInUp 1.2s ease forwards;
}

.home-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, #4db8ff, #7a5cff);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.home-content {
  flex: 1;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInRight 1.2s ease forwards;
  animation-delay: 0.3s;
}

.home-content h1 {
  font-size: 52px;
  margin-bottom: 12px;
  font-weight: 600;
}

.name-highlight {
  color: #00d4ff;
}

.typewriter {
  font-size: 20px;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.75);
  min-height: 28px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.tags span {
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

/* info row + centered connect */
.info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 10px;
}

.info {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  font-size: 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 21, 34, 0.92), rgba(9, 18, 29, 0.8));
  border: 1px solid rgba(77,184,255,0.24);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.info strong {
  display: block;
  margin-bottom: 6px;
}

/* Connect is no longer a separate box */
.connect-section {
  margin-top: 30px;
  text-align: center;
  width: 100%;
}

.connect-heading {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.85);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons a {
  color: white;
  font-size: 26px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #00d4ff;
  transform: translateY(-3px);
}

.profile-wrapper {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInLeft 1.2s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {
  padding: 120px 10%;
  text-align: center;
  color: white;
}

.about-slider {
  max-width: 1300px;
  margin: 0 auto;
}

.about-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
}

.text-card {
  flex: 3;
  padding: 65px;
  text-align: left;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: rgba(255,255,255,0.9);
}

.about-list li span {
  flex: 1;
}

.about-list i {
  font-size: 18px;
  margin-top: 5px;
  color: #00d4ff;
}

.about-list strong {
  color: #ffffff;
  font-weight: 600;
}

.metrics-card {
  width: 260px;
  padding: 35px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  height: fit-content;
  align-self: center;
}

.stat h3 {
  font-size: 30px;
  margin-bottom: 6px;
}

.stat span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.text-card,
.metrics-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.text-card.show,
.metrics-card.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.text-card {
  animation: floatCard 6s ease-in-out infinite;
}

.metrics-card {
  animation: floatCard 6s ease-in-out infinite;
  animation-delay: 2s;
}

/* =========================
   SKILLS SECTION
========================= */

.skills-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px 0;
  max-width: 1300px;
  margin: 80px auto;
  padding-left: 40px;
  padding-right: 40px;
}

.technical-heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 60px 0 20px 0;
  letter-spacing: 1px;
  position: relative;
}

.technical-heading::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #4db8ff;
  display: block;
  margin: 15px auto 0;
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(77,184,255,0.8);
}

.skills-container {
  position: relative;
  width: 100%;
  max-width: 1100px;   /* slightly reduced */
  height: 760px;       /* reduced height */
  margin: 70px auto 30px;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(10, 18, 28, 0.94), rgba(13, 24, 38, 0.84));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 184, 255, 0.32);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

.skills-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  pointer-events: none;
  border: 1px solid rgba(77,184,255,0.12);
}

.skills-particles {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 20px;
  padding: 25px;
}

.skill-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(77, 184, 255, 0.28), rgba(18, 31, 48, 0.95));
  border: 2px solid rgba(77, 184, 255, 0.58);
  box-shadow: 0 0 20px rgba(77, 184, 255, 0.24), 0 8px 22px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: floatRandom 8s ease-in-out infinite;
}

.skill-circle i,
.skill-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 8px;
}

.skill-circle span {
  margin-top: 4px;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  padding: 0 6px;
}

.skill-circle:nth-child(2n) { animation-duration: 9s; }
.skill-circle:nth-child(3n) { animation-duration: 7s; }
.skill-circle:nth-child(4n) { animation-duration: 10s; }
.skill-circle:nth-child(5n) { animation-delay: 1s; }
.skill-circle:nth-child(6n) { animation-delay: 2s; }
.skill-circle:nth-child(7n) { animation-delay: 3s; }

.skill-circle:hover {
  animation-play-state: paused;
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(77, 184, 255, 0.7);
}

/* ===== SKILL BUBBLE POSITIONS - ALL INSIDE CONTAINER ===== */

/* ===== FINAL SAFE POSITIONS (ALL INSIDE) ===== */

.s1  { top: 10%; left: 10%; }
.s2  { top: 55%; left: 10%; }
.s3  { top: 25%; left: 40%; }
.s4  { top: 65%; left: 35%; }
.s5  { top: 10%; left: 65%; }
.s6  { top: 50%; left: 55%; }
.s7  { top: 35%; left: 78%; }
.s8  { top: 70%; left: 80%; }
.s9  { top: 5%;  left: 50%; }
.s10 { top: 45%; left: 90%; }
.s11 { top: 75%; left: 25%; }
.s12 { top: 18%; left: 88%; }
.s13 { top: 60%; left: 70%; }
.s14 { top: 35%; left: 3%; }

/* 🔥 adjusted new ones (important) */
.s15 { top: 15%; left: 22%; }   /* C# */
.s16 { top: 20%; left: 58%; }   /* .NET */

.s15, .s16 {
  width: 112px;
  height: 112px;
}

@keyframes floatRandom {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(6px, -10px); }
  50%  { transform: translate(-8px, -18px); }
  75%  { transform: translate(4px, -8px); }
  100% { transform: translate(0px, 0px); }
}

/* skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;

  /* 🔥 important */
  align-items: stretch;
}

.skill-category {
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(12, 21, 34, 0.9), rgba(10, 18, 29, 0.78));
  border: 1px solid rgba(77,184,255,0.24);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  transition: 0.3s ease;

  /* 🔥 THIS MAKES ALL SAME SIZE */
  height: 100%;
  min-height: 340px;

  display: flex;
  flex-direction: column;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(77,184,255,0.16);
}

.skill-category h3 {
  color: #4db8ff;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.skill-category li {
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
}

.skill-category li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4db8ff;
  font-weight: bold;
}

/* =========================
   EXPERIENCE SECTION
========================= */

.experience-section {
  max-width: 1100px;
  margin: 100px auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.section-title i {
  color: #4db8ff;
  margin-right: 10px;
}

.experience-card {
  margin-bottom: 50px;
  padding: 30px 35px;
  border-left: 3px solid #00ffe0;
  background: linear-gradient(135deg, rgba(12, 21, 34, 0.92), rgba(10, 18, 29, 0.8));
  border: 1px solid rgba(77, 184, 255, 0.28);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  transition: 0.3s ease;
}

.experience-card:hover {
  box-shadow: 0 0 35px rgba(77,184,255,0.25), 0 14px 32px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  transition: 0.4s ease;
}

.experience-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.experience-card h3 i {
  color: #00ffe0;
  margin-right: 8px;
}

.company {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.company .date {
  margin-left: auto;
  font-style: italic;
  color: #9aa0a6;
  font-size: 14px;
}

.experience-card ul {
  padding-left: 20px;
}

.experience-card li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.experience-card strong {
  color: #4db8ff;
}

.tech-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  background: rgba(77, 184, 255, 0.1);
  border: 1px solid rgba(77, 184, 255, 0.4);
  color: #4db8ff;
  transition: 0.3s ease;
}

.tech-tags span:hover {
  background: #4db8ff;
  color: black;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.company-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border-radius: 10px;
}

.experience-header h3 {
  margin: 0;
  font-size: 20px;
}

/* =========================
   PROJECTS SECTION
========================= */

.projects-section {
  padding: 100px 8%;
  background: #050505;
}

.section-subtitle {
  opacity: 0.7;
  margin-bottom: 50px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-card {
  background: rgba(20, 20, 20, 0.8);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.project-image {
  width: 100%;
  height: 280px;          /* increased from 200 → 260 */
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-image-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.project-image-banner span {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.banner-cloud {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.banner-banking {
  background: linear-gradient(135deg, #0f766e, #115e59, #022c22);
}

.banner-health {
  background: linear-gradient(135deg, #7c3aed, #4338ca, #1e3a8a);
}

.banner-job {
  background: linear-gradient(135deg, #1f2937, #2563eb, #06b6d4);
}

.banner-portfolio {
  background: linear-gradient(135deg, #7c2d12, #c2410c, #f59e0b);
}

.project-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.project-status.in-progress {
  color: #ffd76a;
  background: rgba(255, 215, 106, 0.12);
  border: 1px solid rgba(255, 215, 106, 0.32);
}

.project-content {
  padding: 22px 22px 26px;
}

.project-content h3 {
  margin-bottom: 12px;
}

.project-content p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
}

/* IMAGE WRAPPER */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* IMAGE */
.project-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

/* DARK OVERLAY (Netflix feel) */
.project-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;   /* important */
  z-index: 1;
}

/* PLAY BUTTON */
.open-video-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #4db8ff);
  color: #000;
  font-size: 22px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0,212,255,0.6);
  transition: 0.3s ease;
  z-index: 2;             /* important */
}

/* 🔥 HOVER EFFECT */
.project-image-wrapper:hover .project-image {
  transform: scale(1.08);
}

.project-image-wrapper:hover::after {
  opacity: 1;
}

.project-image-wrapper:hover .open-video-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* BUTTON HOVER */
.open-video-modal:hover {
  background: #fff;
  color: #00d4ff;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.video-modal.show {
  display: flex;
}

.video-modal-content {
  width: min(1000px, 92%);
  position: relative;
  animation: zoomIn 0.3s ease;
}

.video-modal-content video {
  width: 100%;
  max-height: 85vh;
  border-radius: 14px;
  background: #000;
  display: block;
}

.close-video-modal {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease;
}

.close-video-modal:hover {
  background: #ff4d4d;
  transform: scale(1.08);
}

.tech-stack {
  margin-top: 15px;
}

.tech-stack span {
  display: inline-block;
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 6px 12px;
  margin: 5px 5px 0 0;
  border-radius: 20px;
  font-size: 12px;
}

.project-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn.secondary {
  background: rgba(12, 21, 34, 0.88);
  color: white;
  border: 1px solid rgba(77,184,255,0.3);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.btn.secondary:hover {
  background: #00ffff;
  color: black;
  transform: translateY(-3px);
}

/* =========================
   PDF MODAL
========================= */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.show {
  display: flex;
}

body.modal-active {
  overflow: hidden;
}

body.modal-active .page-wrapper {
  filter: blur(8px);
  transform: scale(1.02);
  transition: 0.4s ease;
}

.modal-content {
  width: min(1000px, 90%);
  height: 90vh;
  background: transparent;
  position: relative;
  animation: zoomIn 0.35s ease;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: 0.3s ease;
}

.close-modal:hover {
  background: #ff4d4d;
  transform: scale(1.1);
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  min-height: 100vh;
  background: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 40px;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
}

.contact-title {
  font-size: 40px;
  font-weight: 700;
  color: #4db8ff;
  margin-bottom: 15px;
}

.contact-subtitle {
  color: #b0c7d9;
  margin-bottom: 30px;
  font-size: 16px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 35px;
}

.contact-icons a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  color: #4db8ff;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(77,184,255,0.4);
  transition: 0.3s ease;
}

.contact-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(77,184,255,0.8);
}

.contact-form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #2b8cff, #005eff);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,94,255,0.6);
}

.contact-footer {
  margin-top: 80px;
  color: #888;
  font-size: 18px;
  letter-spacing: 2px;
}

/* success popup */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e1e1e;
  color: #4db8ff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(77, 184, 255, 0.4);
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s ease;
  pointer-events: none;
  z-index: 9999;
}

.popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   CERTIFICATES SECTION
========================= */

.certificates-section {
  padding: 100px 8%;
  background: inherit;
  text-align: center;
}

#certifications {
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 36px;
  color: #4db8ff;
  margin-bottom: 40px;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #4db8ff;
  display: block;
  margin: 15px auto 0;
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(77,184,255,0.8);
}

.cert-filters {
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 20px;
  margin: 0 10px 10px;
  border-radius: 30px;
  border: 1px solid rgba(77,184,255,0.4);
  background: transparent;
  color: #4db8ff;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(77,184,255,0.15);
  box-shadow: 0 0 15px rgba(77,184,255,0.5);
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cert-card {
  width: 240px;
  background: rgba(77,184,255,0.05);
  border: 1px solid rgba(77,184,255,0.25);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(77,184,255,0.12);
  display: flex;
  flex-direction: column;
}

.cert-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(77,184,255,0.4);
}

.cert-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.cert-info {
  padding: 20px;
  text-align: left;
}

.cert-card h3 {
  margin: 10px 0 5px 0;
  font-size: 16px;
}

.cert-card .issuer {
  margin: 0;
  font-size: 14px;
}

.issuer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.issuer img {
  width: 25px;
  height: 25px;
}

.issuer span {
  font-size: 13px;
  color: #4db8ff;
}

.cert-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}

.cert-popup{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.cert-popup img{
  max-width: 95%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  object-fit: contain;
}

.cert-close{
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 32px;
  color: #00d4ff;
  cursor: pointer;
  z-index: 10000;
}

/* =========================
   EDUCATION SECTION
========================= */

.education-section {
  padding: 100px 8%;
  background: inherit;
  text-align: center;
}

.edu-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(77,184,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
  transition: 0.4s ease;
}

.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(77,184,255,0.3);
}

.edu-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.degree {
  font-size: 16px;
  color: #cfd8dc;
  margin-bottom: 8px;
}

.edu-date {
  font-size: 14px;
  color: #9db2bf;
  margin-bottom: 20px;
}

.edu-badge {
  display: inline-block;
  background: linear-gradient(135deg, #7f5af0, #4db8ff);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 25px;
}

.edu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.edu-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(77,184,255,0.3);
  box-shadow: 0 0 12px rgba(77,184,255,0.2);
  transition: 0.3s ease;
}

.edu-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(77,184,255,0.4);
}

.edu-coursework {
  margin-top: 20px;
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.coursework-heading {
  font-weight: 700;
  color: #ffffff;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.edu-tags span {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: #dfe6e9;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.edu-tags span:hover {
  background: rgba(77,184,255,0.15);
  border: 1px solid rgba(77,184,255,0.4);
}

/* =========================
   RESUME SECTION
========================= */

.resume-section {
  padding: 120px 10%;
  text-align: left;
  background: transparent;
  color: #e6edf3;
}

.resume-subtitle {
  text-align: center;
  color: #9fb3c8;
  margin-bottom: 60px;
}

.resume-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.resume-left,
.resume-right,
.resume-name,
.resume-role,
.resume-info,
.resume-info p,
.resume-block h4 {
  text-align: left;
}

.resume-name {
  font-size: 28px;
  font-weight: 600;
  color: #4db8ff;
  margin-bottom: 8px;
}

.resume-role {
  color: #9fb3c8;
  margin-bottom: 10px;
}

.resume-info {
  margin-bottom: 40px;
}

.resume-info p {
  margin: 4px 0;
  color: #cfd9e6;
}

.resume-block {
  margin-top: 40px;
}

.resume-block h4 {
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: #ffffff;
  border: none;
  padding-left: 0;
}

.resume-block ul {
  padding-left: 18px;
}

.resume-block li {
  margin-bottom: 10px;
  color: #d0d8e2;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: rgba(77,184,255,0.15);
  border: 1px solid rgba(77,184,255,0.4);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.resume-card {
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(77,184,255,0.25);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 45px rgba(77,184,255,0.25);
  transition: 0.4s ease;
}

.resume-card:hover {
  transform: scale(1.01);
  box-shadow: 0 0 60px rgba(77,184,255,0.45);
}

.resume-embed {
  width: 100%;
  height: 750px;
  border: none;
}

.resume-buttons {
  padding: 20px;
}

.resume-btn {
  background: linear-gradient(135deg, #4db8ff, #7f5af0);
  padding: 12px 28px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(77,184,255,0.6);
}

/* =========================
   PUBLICATIONS SECTION
========================= */

.publications-section {
  text-align: center;
  padding: 100px 10%;
  background: transparent;
}

.publication-card {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 30px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  transition: 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77,184,255,0.6);
}

.pub-meta {
  color: #4db8ff;
  margin: 10px 0 20px;
  font-weight: 500;
}

.pub-description {
  color: #cfd9e6;
  line-height: 1.6;
}

.pub-link {
  display: inline-block;
  margin-top: 20px;
  color: #4db8ff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.pub-link:hover,
.project-publication a:hover {
  color: #7a5cff;
}

.project-publication {
  margin-top: 12px;
  font-size: 14px;
}

.project-publication a {
  color: #4db8ff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

/* ===============================
   LINKEDIN POSTS SECTION
================================= */

.linkedin-posts-section {
  min-height: auto;
  padding: 100px 8%;
  text-align: center;
  background: transparent;
}

.linkedin-posts-section .section-title,
.linkedin-posts-section .section-subtitle {
  color: #f5f5f7;
}

.linkedin-posts-grid {
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 10px;
}

.linkedin-posts-grid::-webkit-scrollbar {
  display: none;
}

.linkedin-slider-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.linkedin-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d0d7de;
  background: #ffffff;
  color: #5f6771;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.linkedin-slide-btn:hover {
  background: #f3f2ef;
}

.linkedin-slide-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.linkedin-slide-btn-prev {
  left: -18px;
}

.linkedin-slide-btn-next {
  right: -18px;
}

.linkedin-show-all {
  margin-top: 18px;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.linkedin-show-all:hover {
  color: #dbeafe;
}

.linkedin-post-card {
  flex: 0 0 395px;
  background: #ffffff !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 12px !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.linkedin-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.linkedin-post-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 10px;
  background: #ffffff;
}

.linkedin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d7dce2;
}

.linkedin-head-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.linkedin-author {
  margin: 0;
  color: #1f2328;
  font-size: 18px;
  font-weight: 700;
}

.linkedin-dot {
  color: #6f7781;
}

.linkedin-role,
.linkedin-time {
  margin: 0;
  font-size: 14px;
  color: #616a75;
}

.linkedin-more {
  color: #59626d;
  font-size: 16px;
  padding-top: 4px;
}

.linkedin-copy {
  margin: 0;
  padding: 0 14px 8px;
  color: #1f2328;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  background: #ffffff;
}

.linkedin-copy-secondary {
  color: #3f4750;
  padding-bottom: 12px;
}

.linkedin-post-shot-wrap {
  width: 100%;
  background: #f3f2ef;
  border-top: 1px solid #eef1f4;
  border-bottom: 1px solid #eef1f4;
}

.linkedin-post-shot {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  display: block;
}

.linkedin-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  color: #5f6771;
  font-size: 13px;
  border-top: 1px solid #eaedf1;
  background: #ffffff;
}

.linkedin-actions {
  border-top: 1px solid #eaedf1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 46px;
  background: #ffffff;
}

.linkedin-actions span {
  color: #5f6771;
  font-size: 18px;
  text-align: center;
}

.linkedin-open-hint {
  color: #0a66c2;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 0 10px;
  border-top: 1px solid #eaedf1;
  background: #ffffff;
}

.linkedin-post-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #0a66c2;
  background: #ffffff;
  color: #0a66c2;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.linkedin-post-link:hover {
  color: #ffffff;
  background: #0a66c2;
  border-color: #0a66c2;
}

@media (max-width: 768px) {
  .linkedin-posts-section {
    padding: 80px 20px;
  }

  .linkedin-post-card {
    flex: 0 0 320px;
  }

  .linkedin-slide-btn {
    display: none;
  }
}

/* =========================
   GLOW OVERRIDES
========================= */

.glass{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px;
  padding:30px;
}

.glow-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px !important;
  border: 1.5px solid rgba(77, 184, 255, 0.42) !important;
  background: linear-gradient(135deg, rgba(6, 12, 22, 0.98), rgba(10, 18, 30, 0.94)) !important;
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.12),
    0 0 26px rgba(0, 212, 255, 0.18),
    0 14px 36px rgba(0, 0, 0, 0.34) !important;
}

.glow-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 184, 255, 0.55), transparent);
  pointer-events: none;
}

.glow-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.info,
.text-card,
.metrics-card,
.skills-container,
.skill-category,
.experience-card,
.project-card,
.publication-card,
.cert-card,
.edu-card,
.resume-card,
.contact-form input,
.contact-form textarea,
.filter-btn,
.btn.secondary,
.btn-outline {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(77, 184, 255, 0.42) !important;
  background: linear-gradient(135deg, rgba(6, 12, 22, 0.98), rgba(10, 18, 30, 0.94)) !important;
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.12),
    0 0 26px rgba(0, 212, 255, 0.18),
    0 14px 36px rgba(0, 0, 0, 0.34) !important;
}

.skills-container {
  border-radius: 28px !important;
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.14),
    0 0 34px rgba(0, 212, 255, 0.2),
    0 20px 44px rgba(0, 0, 0, 0.36) !important;
}

.info,
.experience-card,
.project-card,
.publication-card,
.cert-card,
.edu-card,
.resume-card,
.text-card,
.metrics-card {
  border-radius: 18px !important;
}

.btn,
.contact-form button,
.resume-btn,
.filter-btn,
.social-icons a {
  border: 1.5px solid rgba(77, 184, 255, 0.42) !important;
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.12),
    0 0 22px rgba(0, 212, 255, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

.social-icons a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 12, 22, 0.98), rgba(10, 18, 30, 0.94)) !important;
}

.btn.secondary,
.btn-outline,
.filter-btn {
  color: #eaf8ff !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .home-container,
  .about-container,
  .projects-container,
  .education-container,
  .experience-container,
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .home-image,
  .home-content,
  .about-left,
  .about-right {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 22px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 900px) {
  .resume-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.menu-toggle{
  display:none;
}

@media (max-width: 768px){

  section,
  .panel {
    padding: 70px 20px;
  }

  .menu-toggle{
    display:block;
    font-size:28px;
    cursor:pointer;
    color:white;
  }

  .navbar ul{
    display:none !important;
    background: rgba(10, 15, 35, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
  }

  .navbar ul.active{
    display:flex !important;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    position:absolute;
    top:65px;
    right:20px;
    width:180px;
    padding:15px;
    background:rgba(0,0,0,0.95);
    border-radius:10px;
  }

  .hero{
    padding-top:120px;
  }

  .hero img{
    margin-top:20px;
  }

  .home-container {
    text-align: center;
    flex-direction: column;
    gap: 40px;
  }

  .profile-circle {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .tags {
    justify-content: center;
    gap: 10px;
  }

  .info-cards {
    flex-direction: column;
    align-items: center;
  }

  .info {
    width: 100%;
    max-width: 400px;
  }

  .about-section {
    padding: 80px 20px;
  }

  .about-track {
    flex-direction: column;
    gap: 40px;
  }

  .text-card {
    width: 100%;
    padding: 35px;
  }

  .metrics-card {
    width: 100%;
    max-width: 100%;
    padding: 30px;
    align-self: stretch;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .education-card,
  .publication-card,
  .experience-card {
    width: 100%;
    padding: 20px;
  }

  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav ul li {
    font-size: 14px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .btn,
  .resume-btn {
    width: 100%;
    text-align: center;
  }

  .contact-section h2 {
    font-size: 28px;
    text-align: center;
  }

  .contact-section p {
    font-size: 14px;
    text-align: center;
  }

  .contact-form {
    padding: 0 10px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .send-btn {
    width: 100%;
  }

  .linkedin-posts-section {
    padding: 80px 20px;
  }

  .linkedin-post-card {
    flex: 0 0 320px;
  }

  .linkedin-slide-btn {
    display: none;
  }

  .modal-content {
    width: 95%;
    height: 85vh;
  }

  .close-modal {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .cert-popup img{
    max-width: 100%;
    max-height: 80vh;
  }

  .cert-close{
    top: 15px;
    right: 20px;
    font-size: 26px;
  }

  /* skills section mobile */
  .skills-container,
  .skills-box,
  .skills-card {
    height: auto !important;
    min-height: auto !important;
  }

  .skill-circle,
  .bubble,
  .skill-bubble {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  .skills-container,
  .skills-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
  }

  .skill-circle,
  .bubble,
  .skill-bubble {
    width: 120px !important;
    height: 120px !important;
  }
}

@media (max-width: 650px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .skills-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
  }

  .profile-circle {
    width: 180px;
    height: 180px;
  }
}