/* === 1. GLOBAL === */
:root {
  --primary: #6366f1;
  --secondary: #06b6d4;
  --accent: #a855f7;
  --dark-bg: #111827;
  --darker-bg: #191a23;
  --card-bg: #1e2237;
  --navbar-bg: rgba(20, 23, 40, 0.96);
  --glass-effect: blur(17px);
  --border-glow: rgba(99, 102, 241, 0.25);
  --neon-shadow: 0 0 18px rgba(6, 182, 212, 0.33);
  --text-primary: #f3f4f6;
  --text-secondary: #b0bac9;
  --text-muted: #6b7280;
  --transition-normal: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  min-height: 100vh;
  transition: background 0.4s;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  font-size: 16px;
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }

  body {
    padding: 0 4vw;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

/* === 2. NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: var(--navbar-bg);
  color: var(--text-primary);
  box-shadow: 0 2px 18px rgba(52, 152, 219, 0.10);
}

/* Navbar Brand */
.navbar-brand h1 a {
  background: #3498DB;
  color: #fff;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
  transition: background 0.3s;
}

.navbar-brand h1 a:hover {
  background: #fff;
  color: #3498DB;
}

/* Links */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.navbar-links li a {
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: 20px;
  transition: background 0.3s, color 0.3s;
}

.navbar-links li a:hover,
.navbar-links li a.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--neon-shadow);
}

/* Social Links */
.navbar-social {
  display: flex;
  gap: 16px;
}

.navbar-social a {
  color: #fff;
  font-size: 1.8rem;
  transition: color 0.3s;
}

.navbar-social a:hover {
  color: #3498DB;
  transform: rotate(10deg) translateY(-3px);
  transition: color 0.3s, transform 0.4s;
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  color: rgba(0, 0, 0, 0);
  background: #fff;
  padding: 12px 0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  min-width: 170px;
  z-index: 1000;
  transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px 20px;
  border-radius: 6px;
  color: #2C3E50;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.dropdown-menu li a:hover {
  background: #ECF0F1;
  color: #3498DB;
}

.arrow {
  margin-left: 6px;
  font-size: 0.6em;
  color: #3498DB;
}

/* Small Devices Responsive Tuning: Shrink Everything! */
@media (max-width: 600px) {
  .navbar {
    padding: 6px 2vw;
  }

  .navbar-brand h1 a {
    font-size: 0.74rem;
    padding: 7px 10px;
    border-radius: 17px;
  }

  .navbar-links {
    flex-direction: column;
    gap: 7px;
    margin-top: 8px;
  }

  .navbar-links li a {
    font-size: 0.68rem;
    padding: 7px 13px;
    border-radius: 13px;
  }

  .navbar-social {
    gap: 8px;
    margin-top: 7px;
  }

  .navbar-social a {
    font-size: 1.1rem;
  }

  .dropdown-menu {
    min-width: 110px;
    font-size: 12px;
    border-radius: 9px;
    padding: 6px 0;
    box-shadow: none;
  }

  .dropdown-menu li a {
    padding: 6px 11px;
    border-radius: 5px;
    font-size: 0.79rem;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 2.5px 0.5vw;
  }

  .navbar-brand h1 a {
    font-size: 0.57rem;
    padding: 3px 5px;
    border-radius: 10px;
  }

  .navbar-links li a {
    font-size: 0.55rem;
    padding: 6px 6px;
    border-radius: 8px;
  }

  .navbar-social a {
    font-size: 0.93rem;
  }

  .dropdown-menu {
    min-width: 70px;
    font-size: 10px;
    padding: 4px 0;
    border-radius: 6px;
  }

  .dropdown-menu li a {
    padding: 4px 7px;
    font-size: 0.69rem;
  }
}

/* Default styles */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar {
    flex-wrap: wrap;
  }
}

/* === 3. POPUP (Welcome/Intro) === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: var(--glass-effect);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.8s;
}

.popup-card {
  background: var(--dark-bg);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  padding: 35px 34px 32px 36px;
  max-width: 450px;
  width: 90vw;
  text-align: center;
}

.popup-header {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
}

.popup-header h1 {
  font-size: 2rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.popup-circles .circle {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  left: -150px;
}

.red {
  background: #e74c3c;
}

.yellow {
  background: #f1c40f;
}

.green {
  background: #2ecc71;
}

.popup-body p {
  font-size: 1.05rem;
  color: #d1d5db;
  margin: 7px 0;
}

.popup-body strong {
  display: block;
  font-size: 1.6rem;
  color: #06b6d4;
  font-weight: bold;
  margin-bottom: 2px;
}

#exploreBtn {
  margin-top: 20px;
  padding: 12px 34px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #3498db 40%, #1abc9c 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

#exploreBtn:hover {
  transform: translateY(-2px) scale(1.04);
  color: black;
  background-color: white;
}

@media(max-width:480px) {
  .popup-card {
    padding: 16px 6vw;
  }
}

/* === 4. HERO === */
.hero,
.creative-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  min-height: 100vh;
  gap: 40px;
  background: linear-gradient(135deg, #ECF0F1, #fff);
}

.hero-left {
  flex: 1;
  min-width: 300px;
}

.hero-left h1 {
  font-size: 3.8rem;
  color: #3498db;
  font-weight: bold;
}

.hero-left p {
  font-size: 1.8rem;
  color: #333;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  margin-left: 150px;

  opacity: 0;
  animation: fadeInHero 0.5s ease forwards;
  animation-delay: 3s;
}

@keyframes fadeInHero {
  to {
    opacity: 1;
  }
}


.btn {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #000000;
  color: #3498db;
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
  transform: translateY(-3px);
}

.icon-square {
  width: 44px;
  height: 44px;
  display: inline-block;
  border: 2px solid #1abc9c;
  color: #1abc9c;
  text-align: center;
  line-height: 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: all 0.3s;
  background: transparent;
}

.icon-square:hover {
  background: #1abc9c;
  color: #000;
  transform: rotate(10deg) scale(1.1);
}

.hero-image-container {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  animation: fadeInHero 0.5s ease forwards;
  animation-delay: 1s;
}

@keyframes fadeInHero {
  to {
    opacity: 1;
  }
}

.hero-image-container:hover {
  transform: scale(1.1);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.3s;
}

.hero-image-container:hover .hero-image {
  transform: scale(1);
}

/* === 5. MAIN SUMMARY CARDS (Home) === */
.home-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.summary-card,
.glass-card {
  background: #fff;
  border-left: 6px solid #3498db;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);
}

.summary-card h2 {
  font-size: 1.4rem;
  color: #2C3E50;
}

.summary-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.summary-card .icon {
  font-size: 2.5rem;
  color: #1abc9c;
  margin-bottom: 8px;
}

.btn-link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  background: #3498db;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s;
  text-decoration: none;
  margin: 0 5px;
  padding-bottom: 10px;
}

.btn-link:hover {
  background: #2980b9;
  color: #fff;
}

.about-card {
  border-color: #3498db;
}

.education-card {
  border-color: #1abc9c;
}

.projects-card {
  border-color: #e67e22;
}

.skills-card {
  border-color: #2ecc71;
}

.contact-card {
  border-color: #f1c40f;
}

.certifications-card {
  border-color: #a855f7;
}

@media (max-width: 900px) {

  .hero,
  .creative-hero {
    flex-direction: column;
    padding: 50px 4vw;
    gap: 30px;
  }

  .hero-image-container {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 600px) {

  .hero,
  .creative-hero {
    padding: 25px 0 0 0;
  }

  .hero-image-container {
    width: 140px;
    height: 140px;
    margin-top: 25px;
  }

  .hero-left h1 {
    font-size: 2.1rem;
  }

  .hero-left p {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {

  .summary-card,
  .glass-card {
    padding: 17px 8px;
    font-size: 0.95rem;
  }

  .home-summary {
    padding: 1.2rem 0.6rem;
    gap: 12px;
  }
}

/* === 6. ABOUT SECTION === */
.about-container {
  padding-top: 50px;
  width: 100%;
  height: 100%;
  ;
}

.about-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  align-items: center;
  margin-bottom: 40px;
}

.about-image,
.creative-profile {
  flex: 1;
  text-align: center;
}

.profile-pic-container {
  width: 240px;
  height: 340px;
  border-radius: 5%;
  overflow: hidden;
  margin: 50px auto 0;
  border: 4px solid transparent;
  background: linear-gradient(135deg, #3498db, #1abc9c);
  padding: 5px;
  transition: transform 0.3s;
}

.profile-pic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5%;
}

.profile-pic-container:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.profile-name {
  margin-top: 15px;
  margin-left: 5%;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
}

.profile-title {
  font-size: 1rem;
  color: #cccbcb;
  font-style: italic;
}

.about-summary {
  flex: 2;
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.about-summary h1 {
  font-size: 2.65rem;
  margin-bottom: 18px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--accent) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1.2px;
}

.quick-stats,
.fact-boxes-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 24px;
  padding: 22px 0;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.fact-box {
  padding: 22px 25px;
  font-size: 1.04rem;
  border-radius: 14px;
  background: rgba(30, 35, 55, 0.87);
  color: var(--text-primary);
  border: 1.5px solid var(--border-glow);
  box-shadow: 0 1px 20px #06b6d43d, var(--neon-shadow);
  transition: box-shadow 0.32s cubic-bezier(.33, .2, .2, .93), transform 0.28s cubic-bezier(.33, .2, .2, .93);
  backdrop-filter: var(--glass-effect);
  font-family: 'Fira Code', 'Segoe UI', monospace;
  position: relative;
  overflow: hidden;
}

.fact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.065;
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--secondary));
}

.fact-box:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 0 40px #6366f1b4, 0 0 36px #06b6d485, 0 8px 34px 0 #0005;
  border-color: var(--primary);
}

.quote-box {
  position: relative;
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  margin: 48px auto;
  max-width: 820px;
  padding: 32px 40px;
  border-radius: 15px;
  background: rgba(24, 26, 39, 0.95);
  color: var(--text-primary);
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 32px #191a233b;
  overflow: hidden;
  z-index: 2;
}

.quote-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary) 85%);
  border-radius: 15px 0 0 15px;
  box-shadow: 0 0 12px var(--primary);
  opacity: 0.45;
}

.enhanced-box {
  background: rgba(30, 35, 55, 0.88);
  color: var(--text-primary);
  border-radius: 15px;
  box-shadow: 0 0 24px #06b6d442, var(--neon-shadow);
  border: 1.5px solid var(--border-glow);
  padding: 44px 38px;
  margin: 44px auto;
  max-width: 1040px;
  backdrop-filter: var(--glass-effect);
  transition: box-shadow 0.37s, background 0.33s;
  font-family: 'Fira Code', 'Segoe UI', monospace;
  position: relative;
  overflow: hidden;

}

.enhanced-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--primary) 20%, transparent 80%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.enhanced-box h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 22px;
  background: linear-gradient(100deg, var(--primary) 30%, var(--accent) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: 1.5px;
  z-index: 1;
}

.enhanced-box:focus-within {
  box-shadow: 0 0 80px #a855f7cc, 0 0 40px #06b6d4aa;
  outline: 2px solid var(--accent);
}


.enhanced-box:hover {
  box-shadow: 0 0 60px #06b6d4bb, 0 0 80px #6366f188;
  background: rgba(26, 28, 36, 0.985);
}

.about-projects.enhanced-box {
  background: rgba(30, 35, 55, 0.92);
  color: #f3f4f6;
  border-radius: 18px;
  box-shadow: 0 0 28px #06b6d44e, 0 2px 22px #23263b78;
  border: 1.5px solid rgba(99, 102, 241, 0.16);
  padding: 48px 38px;
  margin: 48px auto 58px auto;
  max-width: 900px;
  backdrop-filter: blur(14px);
  font-family: 'Fira Code', 'Segoe UI', monospace, sans-serif;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s, background 0.3s;
}

.about-projects.enhanced-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
  gap: 12px;
  background: linear-gradient(95deg, #6366f1, #a855f7 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.about-projects.enhanced-box h2 i {
  color: #06b6d4;
  filter: drop-shadow(0 0 10px #a855f77c);
  font-size: 2.1rem;
}

.about-projects.enhanced-box p {
  font-size: 1.09rem;
  color: #b0bac9;
  margin-bottom: 18px;
  line-height: 1.65;
}

.about-projects.enhanced-box a {
  color: #06b6d4;
  text-decoration: underline wavy;
  font-weight: 600;
  transition: color 0.18s, background 0.18s;
  padding: 0 4px;
  border-radius: 5px;
}

.about-projects.enhanced-box a:hover,
.about-projects.enhanced-box a:focus {
  color: #a855f7;
  background: rgba(99, 102, 241, 0.11);
  outline: none;
}


.about-projects.enhanced-box:focus-within {
  box-shadow: 0 0 44px #a855f7bb, 0 0 24px #06b6d4bc;
  border-color: #a855f7;
}

.enhanced-box:hover {
  box-shadow: 0 0 60px #06b6d4bb, 0 0 80px #6366f188;
  background: rgba(26, 28, 36, 0.985);
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.timeline-card {
  background: rgba(10, 13, 23, 0.96);
  border-left: 4px solid var(--secondary);
  color: var(--text-primary);
  border-radius: 12px;
  box-shadow: 0 3px 14px #1abc9c26, 0 1px 12px #0002;
  padding: 25px 24px;
  animation: fadeInUp 0.90s cubic-bezier(.22, 1, .36, 1) both;
  position: relative;
  overflow: hidden;
  font-family: 'Fira Code', monospace;
}

.timeline-card h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(88deg, var(--primary), var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline-card p {
  font-size: 1.03rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.cta-link {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 22px;
  background: linear-gradient(96deg, var(--secondary), var(--primary) 80%);
  color: #fff !important;
  border-radius: 7px;
  font-weight: bold;
  letter-spacing: .5px;
  font-family: inherit;
  text-shadow: 0 1px 6px #111a;
  box-shadow: 0 2px 12px #06b6d439;
  transition: background 0.22s, box-shadow 0.2s, transform 0.22s;
}

.cta-link:hover {
  background: linear-gradient(85deg, var(--primary), var(--accent));
  box-shadow: 0 0 24px #6366f1a1;
  transform: translateY(-3px) scale(1.04);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Resume Section === */
.resume-section {
  background: rgba(17, 24, 39, 0.93);
  border-radius: 16px;
  box-shadow: 0 6px 30px #06b6d429, 0 2px 16px #23263b84;
  padding: 48px 28px 44px 28px;
  max-width: 670px;
  margin: 60px auto;
  backdrop-filter: blur(15px);
  border: 1.5px solid rgba(99, 102, 241, 0.18);
  color: #f3f4f6;
  font-family: 'Fira Code', 'Segoe UI', monospace;
}

.resume-section h2 {
  font-size: 2rem;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  background: linear-gradient(90deg, #6366f1, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1.2px;
}

.resume-section p {
  color: #b0bac9;
  font-size: 1rem;
  margin-bottom: 32px;
}

.resume-card {
  display: flex;
  align-items: flex-start;
  background: rgba(24, 26, 39, 0.98);
  border-radius: 13px;
  padding: 30px 24px 28px 24px;
  box-shadow: 0 4px 22px #6366f146, 0 1px 7px #1010112b;
  border-left: 5px solid #06b6d4;
  gap: 28px;
  margin-top: 14px;
  transition: box-shadow 0.27s, transform 0.2s;
}

.resume-card:hover {
  box-shadow: 0 16px 40px #06b6d477, 0 0 60px #6366f133;
  transform: translateY(-2px) scale(1.018);
  border-left-color: #a855f7;
}

.resume-icon {
  flex-shrink: 0;
  margin-right: 15px;
  background: linear-gradient(135deg, #23263b 60%, #222b45 100%);
  padding: 18px 16px;
  box-shadow: 0 2px 18px #06b6d449, 0 0 8px #a855f77a inset;
  border: 2.5px solid #06b6d4bb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.7rem;
  transition: box-shadow 0.2s, border 0.2s;
}

.resume-card:hover .resume-icon {
  box-shadow: 0 4px 32px #06b6d4, 0 0 18px #a855f77a;
  border-color: #a855f7;
}

.resume-icon i {
  color: #ff6161;
  filter: drop-shadow(0 0 9px #f957b611) drop-shadow(0 0 4px #a855f74b);
}


.resume-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: .7px;
  margin-bottom: 5px;
}

.resume-content p {
  color: #b0bac9;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.resume-buttons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(91deg, #06b6d4 60%, #a855f7 100%);
  color: #fff;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-shadow: 0 2px 8px #23263b76;
  box-shadow: 0 5px 18px #06b6d42f;
  border: none;
  font-size: 1rem;
  outline: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.2s;
}

.btn-link:hover,
.btn-link:focus {
  background: linear-gradient(91deg, #a855f7 60%, #06b6d4 100%);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
  box-shadow: 0 10px 32px #a855f743;
  text-decoration: none;
}

.soon-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(98deg, #111827 60%, #23263b 100%);
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  cursor: not-allowed;
  box-shadow: 0 4px 24px #06b6d430, 0 2px 10px #23263b88;
  border: 1.5px solid #1bc6f7bb;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  user-select: none;
}

.soon-link[aria-disabled="true"]:hover,
.soon-link[aria-disabled="true"]:focus {
  box-shadow: 0 0 36px #06b6d499;
  border-color: #a855f7;
  background: linear-gradient(98deg, #23263b 60%, #191a23 100%);
  color: #a855f7;
}

.icon-brain i {
  font-size: 2.25rem;
  color: #06b6d4;
  filter: drop-shadow(0 0 11px #a855f7b5);
  background: linear-gradient(90deg, #06b6d4 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.soon-label {
  font-weight: 700;
  font-size: 1.15rem;
  color: #f3f4f6;
  letter-spacing: .7px;
  padding: 7px 24px;
  border-radius: 18px;
  background: linear-gradient(92deg, #a855f7 40%, #06b6d4 100%);
  box-shadow: 0 2px 10px #a855f724;
  transition: background 0.2s, color 0.2s;
  border: none;
  outline: none;
}


@media (max-width: 768px) {
  .resume-section {
    padding: 32px 7vw;
  }

  .resume-card {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 18px 7vw 18px 7vw;
  }

  .resume-icon {
    margin-right: 0;
  }

  .resume-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 800px) {
  .about-header {
    flex-direction: column;
    gap: 23px;
  }

  .profile-pic-container {
    width: 150px;
    height: 180px;
  }
}

@media (max-width: 600px) {

  .profile-name,
  .about-summary h1 {
    font-size: 1.35rem;
  }

  .about-summary {
    font-size: 1rem;
  }

  .quick-stats,
  .fact-boxes-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 8px;
  }

  .fact-box,
  .enhanced-box {
    padding: 12px 7px;
  }

  .timeline-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* === 7. EDUCATION === */
.education-main-content {
  height: 100vh;
  max-height: 100%;
}

.edu-card {
  background: rgba(24, 28, 48, 0.91);
  backdrop-filter: var(--glass-effect);
  border-radius: 15px;
  box-shadow: 0 4px 32px #06b6d443, var(--neon-shadow);
  border: 1.5px solid var(--border-glow);
  color: var(--text-primary);
  margin: 48px auto;
  padding: 0;
  width: 85%;
  max-width: 100%;
  position: relative;
  transition: box-shadow 0.33s, transform 0.22s, border-color 0.22s;
}

.edu-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 0 52px var(--primary), 0 0 95px var(--accent), 0 2px 38px #06b6d473;
  border-color: var(--accent);
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(17, 24, 39, 0.56);
  border-bottom: 2px solid var(--accent);
  padding: 18px 36px 17px 22px;
  color: var(--text-primary);
  border-radius: 14px 14px 0 0;
  position: relative;
  font-family: 'Fira Code', monospace;
}

.edu-header h2 {
  font-size: 1.35rem;
  letter-spacing: 2px;
  flex-grow: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 19px;
  position: relative;
}

.circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 8px #181a273d;
  margin-right: 6px;
}

.circle.red {
  background: #ff5f56;
}

.circle.yellow {
  background: #ffbd2e;
}

.circle.green {
  background: #27c93f;
}

@keyframes blink {

  0%,
  55% {
    opacity: 1;
  }

  56%,
  100% {
    opacity: 0;
  }
}

.edu-header h2 .underscore {
  animation: blink 1.17s step-end infinite;
  color: #06b6d4;
  opacity: .65;
}

.edu-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  color: #e2e9fa;
  font-size: 1rem;
  margin-bottom: 0;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px #23263b40;
}

.edu-table thead {
  background: rgba(6, 182, 212, 0.10);
  border-radius: 0 0 10px 10px;
}

.edu-table th,
.edu-table td {
  text-align: center;
  padding: 15px 13px;
  border-bottom: 1px solid #6366f110;
  font-size: .99rem;
}

.edu-table th {
  color: #06b6d4;
  font-weight: 700;
  border-bottom: 2px solid #23263b80;
  background: linear-gradient(90deg, #181a27 76%, transparent 100%);
  letter-spacing: .7px;
  text-transform: uppercase;
}

.edu-table tbody tr {
  transition: background 0.22s, color 0.2s;
}

.edu-table tbody tr:hover {
  background: rgba(132, 133, 133, 0.06);
  color: #fff;
}

.edu-table .completed {
  color: #15ec8c;
  font-weight: 700;
  text-shadow: 0 1px 7px #15ec8c29;
}

.edu-table .ongoing {
  color: #ffe066;
  font-weight: 700;
  text-shadow: 0 1px 6px #ffe06622;
}

.edu-table .upcoming {
  color: #4f90fa;
  font-weight: 700;
  text-shadow: 0 1px 6px #6366f195;
}

@media (max-width: 700px) {

  .edu-card,
  .edu-header {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .edu-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .edu-header h2 {
    padding-right: 0;
    font-size: 1.08rem;
  }

  .edu-table th,
  .edu-table td {
    padding: 11px 6px;
    font-size: .96rem;
  }
}

@media (max-width: 850px) {
  .edu-card {
    padding: 0 0;
    width: 99vw;
  }
}

@media (max-width: 600px) {
  .edu-header {
    padding: 14px 7px;
    flex-direction: column;
    gap: 10px;
  }

  .edu-header h2 {
    font-size: 0.9rem;
    padding-right: 0;
  }

  .edu-table th,
  .edu-table td {
    padding: 8px 4px;
    font-size: .82rem;
  }

  .edu-table {
    font-size: .82rem;
    border-radius: 4px;
  }
}

/* === 8. PROJECTS === */

.projects-main-content {
  min-height: 100vh;
  max-height: 100%;
}

/* Project Filter Buttons */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  background: rgba(24, 28, 48, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 24px #06b6d42b;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 30px;
  margin: 3rem auto;
  max-width: 1000px;
}

.filter-btn {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid #fafafa;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4dc9ff;
  color: #000;
  border-color: #4dc9ff;
  box-shadow: 0 0 12px #4dc9ff90;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 350px);
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}


.project-card {
  background: rgba(17, 24, 39, 0.78);
  border: 1.5px solid rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  border-radius: 18px;
  box-shadow: 0 8px 24px #06b6d428;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 350px;
  height: 334px;
}

.project-card:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 12px 42px rgba(6, 182, 212, 0.25);
}

/* Project Thumbnail */
.project-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #23263b;
  transition: filter 0.3s;
}

.project-card:hover .project-thumbnail {
  filter: brightness(1.08);
}

/* Project Content */
.project-info {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, #06b6d4, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-short-description {
  font-size: 0.95rem;
  color: #b0bac9;
  margin: 0.5rem 0;
  line-height: 1.5;
}

/* Badges */
.badges {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  white-space: nowrap;
  animation: pulseBadge 2.8s infinite;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Language/Skill Color Themes */
.badge.html {
  background: #e44d26;
}

.badge.css {
  background: #1572b6;
}

.badge.js {
  background: #f7df1e;
  color: #222;
}

.badge.python {
  background: #3776ab;
}

.badge.ml {
  background: #9c27b0;
}

.badge.data {
  background: #4caf50;
}

.badge.sql {
  background: #f44336;
}

/* === Modal (Pop-Up for Project Details) === */
.new-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-out;
  backdrop-filter: blur(5px);
}

.new-modal-content {
  background: linear-gradient(111deg, #23263b 73%, #191a23 100%);
  color: #f3f4f6;
  padding: 2.5rem 2.1rem 2.1rem 2.1rem;
  border-radius: 16px;
  width: 92%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 12px 44px #06b6d439, 0 2px 28px #23263b81;
  animation: zoomIn 0.3s ease-in-out;
  font-family: 'Fira Code', 'Segoe UI', monospace;
}

.new-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #a855f7;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 10;
}

.new-modal-close:hover {
  color: #06b6d4;
}

#newModalTitle {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 13px;
  background: linear-gradient(100deg, #06b6d4 60%, #a855f7 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#newModalDesc {
  color: #b0bac9;
  font-size: 1.02rem;
  margin-bottom: 1.3rem;
}

.new-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-btn {
  background: linear-gradient(89deg, #06b6d4 70%, #a855f7 98%);
  color: #fff;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  font-size: .97rem;
  text-decoration: none;
  transition: background .18s, filter .15s, color .16s;
  filter: brightness(.96);
}

.modal-btn:hover {
  filter: brightness(1.08);
  color: #fff;
  background: linear-gradient(89deg, #a855f7 70%, #06b6d4 98%);
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.95);
    opacity: 0.3;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Modal Images - Grid of Thumbnails */
.new-modal-images {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.new-modal-images img,
.modal-img-thumb {
  width: 110px;
  cursor: pointer;
  border-radius: 8px;
  aspect-ratio: 16/10;
  background: #181a23;
  filter: grayscale(.09) brightness(.91);
  border: 2.5px solid transparent;
  box-shadow: 0 2px 10px #23263b35;
  transition: outline 0.18s, border-color 0.19s, filter 0.18s;
}

.new-modal-images img:hover,
.modal-img-thumb:hover {
  border-color: #06b6d4;
  filter: brightness(1.07) grayscale(0);
}

/* === Image Popup / Fullscreen Viewer === */
.image-popup,
.image-viewer {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 12, 24, 0.90);
  justify-content: center;
  align-items: center;
  animation: fadeIn .21s;
}

.popup-content img,
#viewerImage {
  max-width: 94vw;
  max-height: 82vh;
  border-radius: 13px;
  background: #1c2133;
  box-shadow: 0 10px 36px #06b6d4a2, 0 5px 18px #23263b21;
}

/* Optional: dark close 'X' for image viewer */
.image-popup .popup-content:after,
.image-viewer:after {
  content: '×';
  position: absolute;
  top: 22px;
  right: 48px;
  color: #fff;
  font-size: 2.1rem;
  font-family: inherit;
  cursor: pointer;
  z-index: 11;
  transition: color .18s;
}

.image-popup .popup-content:after:hover,
.image-viewer:after:hover {
  color: #a855f7;
}

/* Animations */
@keyframes pulseBadge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    width: 100%;
    height: auto;
  }

  .new-modal-content {
    padding: 1.1rem .6rem;
  }

  .project-thumbnail {
    height: 135px;
  }

  .new-modal-images img {
    width: 75px;
  }
}

/* Extra: better accessibility for focus states */
.filter-btn:focus,
.modal-btn:focus,
.new-modal-close:focus {
  outline: 2.5px solid #a855f7;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 27px 5vw;
  }
}

@media (max-width: 700px) {
  .project-card {
    width: 100%;
    min-width: 0;
    height: auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 12px;
  }

  .project-thumbnail {
    height: 113px;
  }

  .new-modal-content {
    padding: 1.1rem .4rem;
    min-width: 0;
  }

  .new-modal-images img {
    width: 60px;
  }
}

/* Make modal always fit screens */
@media (max-width: 500px) {
  .new-modal-content {
    max-width: 99vw;
    border-radius: 8px;
  }
}

/* === 9. SKILLS SECTION === */

.skills-section {
  margin: 60px auto 80px auto;
  padding: 0 2vw;
}

.skills-block {
  background: rgba(30, 37, 55, 0.94);
  border-radius: 22px;
  box-shadow: 0 8px 32px #06b6d433, 0 3px 14px #23263b5a;
  border: 1.5px solid rgba(99, 102, 241, 0.12);
  max-width: 100%;
  margin: 0 auto 60px auto;
  padding: 48px 30px;
  position: relative;
  backdrop-filter: blur(12px);
}

.sub-heading {
  color: var(--text-primary);
  font-size: 2.3rem;
  font-weight: 850;
  letter-spacing: 1px;
  margin-bottom: 35px;
  text-align: center;
  background: linear-gradient(95deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub-heading::after {
  content: '';
  display: block;
  margin: 15px auto 0 auto;
  width: 70px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  background: none;
  margin: 18px 0 28px 0;
}

.tab-btn {
  padding: 9px 30px;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  background: #191a23;
  color: var(--text-secondary, #b0bac9);
  cursor: pointer;
  font-size: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  box-shadow: 0 2px 14px #a855f71b;
  transition: background 0.24s, color 0.24s, box-shadow 0.21s;
}

.tab-btn.active,
.tab-btn:hover {
  color: #fff;
  background: linear-gradient(to right, var(--primary), var(--accent));
  box-shadow: 0 4px 16px #6366f1a7;
}

/* Tab Content Animate In */
.tab-content {
  display: none;
  animation: fadeIn 0.68s ease;
}

.tab-content.active-tab {
  display: block;
}

/* SKILL ENTRY STYLES */
.skill-entry {
  display: flex;
  align-items: center;
  background: rgba(16, 19, 29, 0.93);
  border-radius: 15px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px #06b6d410, 0 1px 3px #23263b25;
  padding: 17px 14px;
  transition: box-shadow 0.22s, transform 0.22s, background 0.18s;
  opacity: 0;
  animation: fadeInFromLeft 0.7s forwards;
}

.skill-entry:not(:first-child) {
  animation-delay: 0.13s;
}

.skill-entry:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 38px #a855f766, 0 2px 18px #06b6d433;
  background: rgba(30, 37, 55, 1);
}

.skill-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141622;
  border-radius: 50%;
  border: 2.2px solid #23263b;
  margin-right: 32px;
  transition: box-shadow 0.25s, border-color 0.22s, transform 0.2s;
  box-shadow: 0 2px 14px #06b6d41a;
}

.skill-entry:hover .skill-icon {
  border-color: var(--accent);
  box-shadow: 0 6px 18px #a855f761;
  transform: scale(1.08) rotate(4deg);
}

.skill-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  margin: auto;
}

.skill-details {
  flex: 1;
  background: none;
  padding: 10px 10px 10px 0;
}

.skill-details h3 {
  font-size: 1.12rem;
  color: #06b6d4;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.skill-name-badge {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 5px 16px;
  border-radius: 8px;
  margin-right: 11px;
  font-size: 0.9em;
  font-weight: 700;
  box-shadow: 0 2px 8px #0003;
  display: inline-block;
  border: none;
}

.skill-details p {
  font-size: 1.01rem;
  color: #b0bac9;
  line-height: 1.65;
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE: For mobile screens */
@media (max-width: 700px) {
  .skills-block {
    padding: 18px 2vw;
    border-radius: 12px;
  }

  .sub-heading {
    font-size: 1.2rem;
    margin-bottom: 19px;
  }

  .tabs {
    gap: 8px;
  }

  .tab-btn {
    font-size: 1rem;
    padding: 6px 13px;
  }

  .skill-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 7px;
    margin-bottom: 17px;
  }

  .skill-icon {
    margin-right: 0;
    margin-bottom: 9px;
    width: 48px;
    height: 48px;
  }

  .skill-details {
    padding: 2px 0 0 0;
  }

  .skill-details h3 {
    font-size: .98rem;
  }

  .skill-name-badge {
    font-size: .83em;
    padding: 4px 9px;
  }
}

/* Extra: Add a little gradient border on .skill-entry for pop */
.skill-entry.html {
  border-left: 5px solid #e44d26;
}

.skill-entry.css {
  border-left: 5px solid #1572b6;
}

.skill-entry.js {
  border-left: 5px solid #f7df1e;
}

.skill-entry.python {
  border-left: 5px solid #3776ab;
}

.skill-entry.sql {
  border-left: 5px solid #f44336;
}

.skills-section {
  margin: 60px 0 80px 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  .skills-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 700px) {
  .skills-section {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  .skills-block {
    padding: 14px 3vw;
    border-radius: 12px;
  }
}

.tab-content.active-tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  animation: fadeIn 0.68s ease;
  align-items: start;
}

/* Mobile Responsive: stack 1 per row */
@media (max-width: 768px) {
  .tab-content.active-tab {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.tab-content.active-tab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}



/* === CERTIFICATION CARD === */
.certification-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(34, 38, 54, 0.92);
  border-radius: 17px;
  padding: 1.7rem 2.3rem;
  margin: 36px 0;
  box-shadow: 0 4px 26px #06b6d437;
  border-left: 6px solid var(--primary, #06b6d4);
  cursor: pointer;
  transition: box-shadow 0.22s, transform 0.18s, border-color 0.22s;
  position: relative;
  min-width: 240px;
  width: 90%;
  margin: 0 auto;
}

.certification-card:hover,
.certification-card:focus {
  box-shadow: 0 12px 48px #06b6d486, 0 2px 14px #a855f73a;
  border-left: 6px solid var(--accent, #a855f7);
  transform: scale(1.027) translateY(-5px);
}

.certification-card:focus {
  outline: 2px solid var(--accent, #a855f7);
}

.cert-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #171923;
  box-shadow: 0 2px 14px #23263b5a, 0 0 0 3px #06b6d43a inset;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.cert-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.cert-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.certification-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fafafa;
  line-height: 1.37;
  margin: 0 0 4px 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cert-subtitle {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #b0bac9;
  display: block;
}

.cert-meta {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  color: #b6bbc7;
  margin-top: 5px;
  flex-wrap: wrap;
}

.meta-item i {
  margin-right: 3px;
  color: #06b6d4;
}

.cert-chevron {
  margin-left: 12px;
  color: #06b6d4;
  font-size: 1.35rem;
  transition: transform 0.22s;
  align-self: flex-end;
}

.certification-card:hover .cert-chevron {
  transform: translateX(7px) scale(1.23);
}

/* === Modal Overlay === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 30, 0.89);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 3vw 0.7vw;
  animation: fadeIn 0.22s;
}

.modal-overlay.active {
  display: flex;
}

/* === Modal Content === */
.modal-content {
  background: linear-gradient(118deg, #23263b 80%, #191a23 100%);
  color: #f3f4f6;
  width: 60%;
  border-radius: 18px;
  padding: 2.4rem 2.1rem 2.3rem 2.1rem;
  box-shadow: 0 0 44px #06b6d431, 0 2px 19px #a855f731;
  position: relative;
  animation: scaleIn 0.26s cubic-bezier(.7, .1, .4, 1.1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 2.18rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1;
  opacity: .79;
  transition: color 0.22s, opacity 0.18s;
}

.modal-close:hover,
.modal-close:focus {
  color: #f87171;
  opacity: 1;
  outline: none;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.modal-cert-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff3;
  box-shadow: 0 1px 4px #23263b44;
}

.cert-path-badge {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 2.5px 13px;
  border-radius: 6px;
  margin-left: 7px;
  letter-spacing: .6px;
  vertical-align: middle;
}

.modal-desc {
  font-size: 1.07rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.cert-icon-desc {
  font-size: 1.17rem;
  margin-right: 4px;
}

/* Module List Styles */
.modules-list {
  display: grid;
  gap: 20px;
  width: 100%;
}

.module {
  background: rgba(26, 29, 38, 0.97);
  border-radius: 12px;
  padding: 1.05rem 1.1rem 1.25rem 1.1rem;
  border-left: 5px solid var(--primary, #06b6d4);
  box-shadow: 0 2px 8px #191a274e;
  position: relative;
  min-width: 0;
}

.module h4 {
  font-size: 1.01rem;
  margin-bottom: 11px;
  font-weight: 800;
  color: #06b6d4;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.module-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.module-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 4px;
}

.module img {
  width: 100%;
  max-width: 390px;
  border-radius: 9px;
  margin-bottom: 9px;
  box-shadow: 0 3px 14px #06b6d442;
  background: #111;
  border: 1px solid #23263b46;
}

.module-cta {
  padding: 8px 15px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2px;
  font-size: .94rem;
  box-shadow: 0 1.5px 7px #181a2738;
  transition: background 0.21s, color 0.18s, transform 0.16s;
}

.module-cta:hover,
.module-cta:focus {
  background: linear-gradient(to right, var(--accent), var(--primary));
  color: #191a23;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.module-status {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  font-size: .98rem;
  color: #15ec8c;
  font-weight: 600;
  gap: 5px;
}

.module-status.completed i {
  color: #15ec8c;
}

.module-status:not(.completed) {
  color: #ffe066;
}

.module-status i {
  margin-left: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-content {
  max-width: 90%;
  width: 50%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-header, .modal-close, .modal-desc {
  flex-shrink: 0;
}

.modules-list {
  overflow-y: auto;
  flex-grow: 1;
  min-height: 0;    
  padding-bottom: 20px; 
}

@media (max-width: 600px) {
  .modal-content {
    max-height: 98vh;
    width: 99vw;
  }
}
.module-status.ongoing {
  color: #f39c12; 
  font-weight: bold;
}
.module-cta[disabled] {
  cursor: not-allowed;
  background: #6b7280;
  color: #f3f4f6; 
  width: 170px;
}

/* === Scrollbar Styling === */
.modal-content::-webkit-scrollbar,
.modules-list::-webkit-scrollbar {
  width: 8px;
  background: #222530;
}

.modal-content::-webkit-scrollbar-thumb,
.modules-list::-webkit-scrollbar-thumb {
  background: #06b6d4;
  border-radius: 8px;
}

/* === Responsive Adjustments === */
@media (max-width: 700px) {
  .certification-card {
    padding: 1rem;
    gap: 10px;
    font-size: .91rem;
  }

  .cert-icon {
    width: 40px;
    height: 40px;
    padding: 4px;
  }
}

@media (max-width: 600px) {
  .modal-content {
    padding: 1.1rem .45rem 1.18rem .45rem;
    border-radius: 12px;
  }

  .modal-content h2 {
    font-size: 1.08rem;
  }

  .modal-header {
    gap: 7px;
  }

  .module h4 {
    font-size: .92rem;
  }

  .module img {
    margin-bottom: 7px;
  }

  .module-cta {
    width: 100%;
    font-size: .98rem;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.1rem .45rem 1.23rem .45rem;
    border-radius: 12px;
  }

  .modal-content h2 {
    font-size: 1.18rem;
  }

  .module h4 {
    font-size: .98rem;
  }

  .module img {
    margin-bottom: 8px;
  }

  .module button {
    width: 100%;
    min-width: 0;
    font-size: .97rem;
  }

  .certification-card {
    padding: 1rem;
    gap: 11px;
    font-size: .91rem;
  }

  .cert-icon {
    width: 40px;
    height: 40px;
    padding: 4px;
  }
}

@media (max-width: 900px) {

  .skills-block,
  .certifications-section {
    padding: 20px 3vw;
  }
}

@media (max-width: 600px) {

  .skills-block,
  .certifications-section {
    padding: 12px 5px;
    border-radius: 10px;
    margin-bottom: 25px;
  }

  .sub-heading,
  .skill-h1 {
    font-size: 1.2rem;
    margin-bottom: 19px;
  }

  .skill-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 7px;
    margin-bottom: 17px;
  }

  .skill-icon {
    margin: 0 auto 10px auto;
    width: 47px;
    height: 47px;
  }

  .skill-details {
    padding: 10px 4px;
  }
}

.tab-content.active-tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Always two per row */
  gap: 24px;
  animation: fadeIn 0.68s ease;
  align-items: start;
}

/* Stack one per row on small screens */
@media (max-width: 768px) {
  .tab-content.active-tab {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.tab-content.active-tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  animation: fadeIn 0.68s ease;
}

@media (max-width: 768px) {
  .tab-content.active-tab {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* === 10. CONTACT === */


.contact-main-content {
  padding: 20px 20px 80px;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--text-primary);
}

.page-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slideInDown 0.8s;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.get-in-touch-box,
.form-box {
  flex: 1;
  min-width: 380px;
  background: rgba(30, 35, 55, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.13);
  transition: all 0.3s ease;
}

.get-in-touch-header,
.form-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: #1c1d26;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  color: #eef3fa;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.2rem;
}

.get-in-touch-header h2,
.form-header h2 {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

/* Colored Circles (Inspired by Mac terminal) */
.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.circle.red {
  background: #ff5f56;
}

.circle.yellow {
  background: #ffbd2e;
}

.circle.green {
  background: #27c93f;
}

/* Contact Info Section */
.contact-info {
  padding: 30px;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.info-item .icon-large {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item p {
  margin: 0;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.info-item a {
  color: #4dc9ff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.info-item a:hover {
  color: #a855f7;
}

/* Social Icons */
.social-links-contact-page {
  padding: 20px 30px 30px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  margin-top: auto;
  text-align: center;
  color: #aaa;
}

.social-links-contact-page h3 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.social-links-contact-page a {
  margin: 0 10px;
}

.social-icon-large {
  font-size: 2rem;
  color: #6366f1;
  transition: transform 0.3s, color 0.3s;
}

.social-icon-large:hover {
  transform: translateY(-4px) scale(1.08);
  color: #a855f7;
}

/* Contact Form Styling */
.contact-form {
  padding: 30px;
}

.contact-form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #06b6d4;
  margin: 12px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 10px;
  background: #1c1d26;
  color: #e2e8f0;
  border: 1.5px solid rgba(99, 102, 241, 0.18);
  transition: border 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.3);
  background: #212535;
}

.send-btn {
  margin-top: 24px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.send-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(to right, var(--secondary), var(--primary));
}

/* Success message */
.success-msg {
  background: #d1ffe3;
  color: #1abc9c;
  padding: 15px;
  border-radius: 8px;
  margin-top: 18px;
  border: 1px solid #b2f2dd;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* === Responsive === */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .get-in-touch-box,
  .form-box {
    min-width: 100%;
  }
}

/* === 11. FOOTER === */
.site-footer {
  background: #0F0F1A;
  color: #8c8fa1;
  padding: 40px 20px;
  font-size: .95rem;
  text-align: center;
  border-top: 1px solid #1f253a;
  box-shadow: inset 0 10px 20px -10px #0003;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  color: #8c8fa1;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
  color: #a855f7;
  transform: translateY(-3px);
}

.footer-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4 50%, #a855f7 100%);
  transition: .35s cubic-bezier(0.64, 0.09, 0.08, 1);
  border-radius: 2px;
  position: absolute;
  left: 11%;
  bottom: -6px;
}

.footer-links a:hover::after {
  width: 78%;
}

.footer-social {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}

.footer-social a {
  color: #8c8fa1;
  font-size: 1.8rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
  color: #6366f1;
  transform: scale(1.15) translateY(-5px);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-links {
    flex-grow: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 30px 15px;
    font-size: .85rem;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-social {
    gap: 18px;
  }

  .footer-social a {
    font-size: 1.6rem;
  }
}

/* === 12. UTILITIES & ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInButtons {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  1% {
    visibility: visible;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

.animation-fade-in-left,
.animation-fade-in-right,
.animation-fade-in-up {
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 0.8s, transform 0.8s;
}

.animation-fade-in-left.is-visible {
  opacity: 1;
  transform: none;
}

.animation-fade-in-right.is-visible {
  opacity: 1;
  transform: none;
}

.animation-fade-in-up.is-visible {
  opacity: 1;
  transform: none;
}

.delay-100 {
  transition-delay: .1s;
}

.delay-200 {
  transition-delay: .2s;
}

.delay-300 {
  transition-delay: .3s;
}

.delay-400 {
  transition-delay: .4s;
}

.delay-500 {
  transition-delay: .5s;
}

.delay-600 {
  transition-delay: .6s;
}

/* === other ===*/
.skills-block,
.certifications-section {
  background: var(--card-bg);
  color: var(--text-primary);
  box-shadow: 0 6px 22px rgb(0, 0, 0);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 22px;
    padding: 0 1vw;
  }

  .get-in-touch-box,
  .form-box {
    min-width: 100%;
    border-radius: 10px;
    padding: 4vw 2vw;
  }
}

@media (max-width: 600px) {

  .contact-title,
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 22px;
  }

  .contact-form,
  .contact-info {
    padding: 10px 2px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 18px 5px;
    font-size: .85rem;
  }

  .footer-content {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-social a {
    font-size: 1.1rem;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (hover: none) {

  .project-card:hover,
  .skills-block:hover {
    box-shadow: none;
    transform: none;
  }
}

.greeting {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 36px;
  font-family: 'Fira Code', 'Segoe UI', monospace, sans-serif;
  letter-spacing: 1.1px;
  background: linear-gradient(96deg, #06b6d4 30%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight {
  background: linear-gradient(90deg, #ffffff 40%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

@media (max-width: 600px) {
  .greeting {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
}