html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #03045e;
  --secondary-color: #00bad8;
  --accent-color: #fbb02d;
  --dark-color: #03045e;
  --light-color: #caf0f8;

  /*text-colors*/
  --text-dark: #03045e;
  --text-light: #ffffff;

  /*card and backgrounds*/
  --bg_light: #faf9fc;
  --bg_dark: #030d5e;
  --card-light: #ffffff;
  --card-dark: #0a192f;

  --gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --shadow: 0 8px 24px rgba(3, 4, 94, 0.16);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  background-color: #030712 !important;
  overflow-x: hidden;
  scroll-behavior: smooth;
  transition: var(--transition);
  padding-top: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-top: 0;
  padding-top: 0;
}

.h1 {
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  min-height: 2.2rem;
}

.h7 {
  margin-top: 0;
  padding-top: 20px;
}

.hero h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fbb02d !important;
  margin-bottom: 30px;
  letter-spacing: 0.3px;
  text-shadow: 0 0 15px rgba(251, 176, 45, 0.25);
  margin-top: 10px;
  min-height: 2.2rem;
  padding-bottom: 10px;

}

#typed-text {
  color: #fbb02d !important;
  font-weight: 700;
}

.cursor {
  display: inline-block;
  background-color: #fbb02d;
  margin-left: 3px;
  width: 3px;
  animation: blink 0.8s infinte;
  height: 1.2rem;
  vertical-align: middle;

}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.section-padding {
  padding: 100px 0;

}

.section-title {
  position: relative;
  margin-bottom: 60px;
  text-align: center;

}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;

}

a {
  text-decoration: none;

}

/* navbar */

.navbar {
  padding: 13px 0;
  transition: var(--transition);
  background-color: #1b2847 !important;
  /* Changed from #ffffff to dark background */
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #ffffff !important;
  /* Made brand text white */
  font-size: 28px;
}

.navbar-dark .navbar-toggler-icon {
  color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link:focus,
.navbar .nav-link:active,
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  color: #94a3b8 !important;
  /* Changed from var(--text-dark) to light gray for dark mode */
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #38bdf8 !important;
  /* Accent color when hovering or active */
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@media(max-width: 991px) {
  .navbar-collapse {
    background-color: #1e293b;
    /* Changed from whitesmoke to a dark dropdown background */
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
  }
}

/*hero-section*/
.hero {
  background: #030712;
  color: var(--text-light);
  min-height: 85vh;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
  margin-top: 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  max-width: 750px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9) !important;
  width: 100%;
  

}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  z-index: 0;
}

.profile-image {
  width: 350px;
  height: 350px;
  padding: 12px 30px;
  border-radius: 50%;
  transition: transform 0.4s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1 !important;
  display: block;
  margin-top: 45px !important;
}

.profile-image:hover {
  transform: scale(1.02);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
  border: none !important;
  padding: 12px 32px !important;
  border-radius: 50px !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  box-shadow: 0 8px 20px rgba(251, 176, 45, 0.3);

}

.btn-primary:hover {
  background-color: #e59d1f !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(251, 176, 45, 0.3);
  transform: translateY(-2px);
}

/*about*/
.about-image {
  position: relative;
  overflow: visible !important;
  z-index: 10;
}

.about-image img,
.custom-profile-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  height: 300px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 99;
  max-width: 280px;
  margin-top: auto;

}

.about-image::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: -20px;
  bottom: -20px;
  border-radius: 16px;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: var(--transition) all 0.3 ease;
}

.about-content:hover::after {
  top: 10px;
  left: 10px;
  border-color: var(--accent-color, #fbb02d);
}


.about-image-wrapper {
  display: inline-block;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

.col-lg-4 {
  overflow: visible;
}

.about-content {
  background: var(--card-light);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 20px;
}

.about-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-content i {
  font-size: 2rem;

}

.about-section-dark {
  background-color: #030712 !important;
  padding-top: 80px;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: -80px;
  padding-top: 40px;
  position: relative;
  z-index: 2;
  padding-bottom: 50px;

}

.about-visual-card {
  background-color: #0a192f;
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.about-visual-card:hover {
  transform: translateY(-5px);
}

.code-window-header {
  background-color: #02142e;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
}

.code-window-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  display: inline-block;
}

.dot.red {
  background-color: #ff5f56;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #27c93f;
}

.about-workspace-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.about-content-wrapper {
  padding-left: 20px;
}

.section-subtitle {
  color: #00b4d8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-desc {
  color: #a0aec0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  margin-top: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  font-size: 1.1rem;
  background-color: rgba(0, 180, 216, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.info-item small {
  color: #718096;
  font-size: 0.8rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;

}

.info-item p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.status-text {
  color: #48bb78 !important;

}

.btn-more-about {
  background: linear-gradient(135deg, #fbb02d 0%, #f59e0b 100%);
  color: #03045e;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(251, 176, 45, 0.3);
  transition: all 0.3s ease-in-out;

}

.btn-more-about:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 176, 45, 0.5);
  color: #03045e;

}

@media(max-width: 991px) {
  .about-content-wrapper {
    padding-left: 0;
  }

  .section-heading {
    font-size: 2rem;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Top Wave Wrapper */
.about-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.about-wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.about-wave-top svg path {
  fill: #0d1117;
  /* Match your hero background color */
}

/* Container */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.section-title span {
  color: #f97316;
}

.section-sub {
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.section-subtitle {
  font-size: 13px;
  color: #f97316;
  letter-spacing: 0.5px;
}


/* ==========================================
   ABOUT ME SECTION STYLES (amb-*)
   ========================================== */

/* Main Container & Layout */
.mp-about-section {
  max-width: 1050px;
  margin: 40px auto;
  padding: 0 20px;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Intro Container Styling */
.mp-about-intro-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Small Tag Above Name */
.mp-about-tag {
  display: inline-block;
  background: rgba(157, 78, 221, 0.15);
  color: #f97316;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(157, 78, 221, 0.3);
  margin-bottom: 20px;
}

/* Styled Name */
.mp-about-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

/* Profession & Objective Paragraphs */
.mp-about-profession {
  font-size: 1.05rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mp-about-objective {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 25px;
}

.mp-about-objective strong {
  color: #d1d5db;
}

/* Action Strip (Button + Contact Info side-by-side or wrapped) */
.mp-about-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Download CV Button */
.mp-about-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f97316, #9d4edd);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mp-about-btn-download:hover {
  background: linear-gradient(135deg, #9d4edd, #c77dff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
}

/* Contact Pills Layout */
.mp-about-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mp-about-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #d1d5db;
}

.mp-about-contact-pill i {
  color: #c77dff;
}

.mp-about-contact-pill a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mp-about-contact-pill a:hover {
  color: #c77dff;
}

/* Glass Card Styling for Details */
.mp-about-glass-card {
  background: rgba(20, 20, 35, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Two-column layout grid inside the glass card */
.mp-about-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.mp-about-card-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 14px;
}

/* Spans across full width of the grid */
.mp-about-wide-box {
  grid-column: 1 / -1;
}

.mp-about-card-box h4 {
  color: #c77dff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-about-subtext {
  font-size: 0.85rem;
  color: #9ca3af;
  display: block;
  margin-top: 4px;
}

/* Education History List */
.mp-about-edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-about-edu-list li {
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border-left: 2px solid #f97316;
  display: flex;
  flex-direction: column;
}

.mp-about-edu-list strong {
  color: #e0aaff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-about-edu-list span {
  color: #e5e7eb;
}

/* Tech Stack Breakdown Structure */
.mp-about-tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.mp-about-tech-category {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 15px;
  border-radius: 10px;
  border-left: 3px solid #f97316;
}

.mp-about-tech-cat-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.mp-about-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-about-tech-pills span {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-about-tech-pills i {
  color: #f97316;
}

/* Tags & Lists */
.mp-about-tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.mp-about-tag-list li {
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-about-badge {
  background: #f97316;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
}

.mp-about-card-box-split {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
}

.mp-about-sub-box {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 15px;
  border-radius: 12px;
}

.mp-about-sub-box h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.mp-about-inline-tags {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   1. UNIQUE PORTFOLIO CLICKABILITY & LAYERING FIXES
   ========================================================================== */
.pf-hero-wrap,
.pf-mesh-bg,
.pf-blob {
  pointer-events: none !important;
  /* Prevents background blobs from blocking clicks */
}

.pf-navbar,
.pf-nav-menu a,
.pf-filter-tab,
.pf-work-card,
.pf-action-arrow {
  pointer-events: auto !important;
  /* Forces interactive items to remain clickable */
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.pf-topbar {
  text-align: center;
  font-size: 0.75rem;
  padding: 8px;
  color: #6b7280;
  letter-spacing: 0.05em;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.pf-topbar span {
  font-weight: 700;
  color: #111827;
}

/* ==========================================================================
   3. NAVIGATION BAR
   ========================================================================== */
.pf-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.pf-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1b4b;
  text-decoration: none;
}

.pf-logo-symbol {
  width: 28px;
  height: 28px;
  color: var(--primary, #524fd5);
}

.pf-nav-menu {
  display: flex;
  gap: 2rem;
}

.pf-nav-menu a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-nav-menu a:hover,
.pf-nav-menu a.pf-active-link {
  color: var(--primary, #524fd5);
  font-weight: 600;
}

.pf-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pf-user-profile-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-user-profile-btn:hover {
  background: var(--primary, #524fd5);
  color: #ffffff;
}

.pf-social-links {
  display: flex;
  gap: 0.8rem;
}

.pf-social-links a {
  color: #6b7280;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-social-links a:hover {
  color: var(--primary, #524fd5);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. HERO SECTION & ANIMATED MESH
   ========================================================================== */
.pf-hero-wrap {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  overflow: hidden;
}

.pf-mesh-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  z-index: 1;
}

.pf-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: pf-float-anim 10s infinite alternate ease-in-out;
}

.pf-blob-pink {
  width: 320px;
  height: 320px;
  background: #fbcfe8;
  top: -20px;
  left: 15%;
}

.pf-blob-yellow {
  width: 360px;
  height: 360px;
  background: #fef08a;
  top: 10px;
  right: 15%;
  animation-delay: -3s;
}

.pf-blob-purple {
  width: 280px;
  height: 280px;
  background: #ddd6fe;
  bottom: 0;
  left: 40%;
  animation-delay: -6s;
}

@keyframes pf-float-anim {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 20px) scale(1.1);
  }
}

.pf-hero-content {
  position: relative;
  z-index: 10;
}

.pf-hero-tagline {
  color: var(--primary, #fbb02d);
  font-weight: 600;
  font-size: 1rem;
}

.pf-hero-headline {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin: 0.5rem 0 2rem;
  letter-spacing: -0.02em;
}

/* Category Filter Tabs */
.pf-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pf-filter-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-filter-tab:hover {
  border-color: var(--primary, #524fd5);
  color: var(--primary, #524fd5);
  transform: translateY(-1px);
}

.pf-filter-tab.pf-tab-active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   5. PORTFOLIO GALLERY GRID & WORK CARDS
   ========================================================================== */
.pf-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.pf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pf-work-card {
  background: var(--card-bg, #ffffff);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0, 0, 0, 0.04));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.pf-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

.pf-card-media {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.pf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pf-work-card:hover .pf-card-media img {
  transform: scale(1.05);
}

.pf-card-info {
  padding: 1.5rem;
}

.pf-card-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.pf-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.pf-meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pf-meta-detail {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pf-action-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary, #524fd5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-action-arrow:hover {
  background: #4338ca;
  transform: rotate(-45deg);
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .pf-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pf-nav-menu {
    display: none;
  }

  .pf-gallery-grid {
    grid-template-columns: 1fr;
  }

  .pf-hero-headline {
    font-size: 2.25rem;
  }
}

/* ================= UNIQUE COLOR VARIABLES & RESET ================= */
:root {
  --srv-bg-color: #0b0f19;
  --srv-card-bg: #111827;
  --srv-card-border: #1f2937;
  --srv-accent: #f97316;
  /* Modern vibrant orange accent */
  --srv-accent-glow: rgba(249, 115, 22, 0.2);
  --srv-text-main: #ffffff;
  --srv-text-muted: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--srv-bg-color);
  color: var(--srv-text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* ================= CONTAINER & HEADERS ================= */
.srv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.srv-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.srv-subtitle {
  color: var(--srv-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.srv-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--srv-text-main);
  letter-spacing: -0.5px;
}

/* ================= SERVICES SECTION LAYOUT ================= */
.srv-section {
  padding: 80px 0;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ================= SERVICE CARDS ================= */
.srv-card {
  background-color: var(--srv-card-bg);
  border: 1px solid var(--srv-card-border);
  border-radius: 10px;
  padding: 30px 24px;
  transition: all 0.3s ease;
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  display: flex;
}

.srv-card:hover {
  border-color: #00f0ff;
  transform: translateY(-6px);

}

/* Icon Box Styling */
.srv-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--srv-accent);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.srv-card:hover .srv-icon-box {
  background-color: var(--srv-accent);
  color: #ffffff;
  box-shadow: 1px solid rgba(10, 182, 191, 0.4);
}

/* Card Content Typography */
.srv-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--srv-text-main);
  margin-bottom: 12px;
}

.srv-card-desc {
  color: var(--srv-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .srv-grid {
    grid-template-columns: 1fr;
  }

  .srv-title {
    font-size: 1.8rem;
  }
}

/* ================= UNIQUE FEATURED PROJECTS STYLING ================= */
.prj-section {
  padding: 80px 0;
  background-color: #0b0f19;
  /* Dark tech backdrop */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.prj-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Row: Title on Left, Link on Right */
.prj-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
}

.prj-subtitle {
  color: #ff5500;
  /* Neon orange accent */
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.prj-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.prj-view-all {
  color: #ff5500;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.prj-view-all:hover {
  color: #ff7733;
  transform: translateX(4px);
}

/* 4-Column Grid Layout */
.prj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card Styling */
.prj-card {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prj-card:hover {
  border-color: #ff5500;
  transform: translateY(-7px);
  box-shadow: 0 14px 35px rgba(255, 85, 0, 0.18);
}

/* Image Wrapper and Badges */
.prj-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.prj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prj-card:hover .prj-img {
  transform: scale(1.06);
}

.prj-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(255, 85, 0, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Card Content Area */
.prj-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prj-card-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.prj-card-desc {
  color: #9ca3af;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Tech Stack Tags */
.prj-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.prj-tech-stack span {
  background-color: #1f2937;
  color: #d1d5db;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Project Link Button */
.prj-link {
  color: #ff5500;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.prj-link:hover {
  color: #ffffff;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1024px) {
  .prj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .prj-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .prj-grid {
    grid-template-columns: 1fr;
  }

  .prj-title {
    font-size: 1.8rem;
  }
}

/* ================= PROJECT CARD STYLING ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.prj-card {
  background-color: #0c101f;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.prj-card:hover {
  transform: translateY(-6px);
  border-color: #00f0ff;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.prj-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.prj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prj-card:hover .prj-img {
  transform: scale(1.05);
}

.prj-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(4, 9, 20, 0.85);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.4);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 1px;
}

.prj-content {
  padding: 24px;
}

.prj-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.prj-card-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.prj-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.prj-tech-stack span {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
}

/* View More Trigger Button */
.prj-link {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: #00f0ff;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.prj-link:hover {
  color: #ff5500;
}

/* ================= FEATURED PROJECTS & BUTTONS ================= */
.featured-projects-section {
  padding: 60px 0;
  background-color: #0b0f19;
}

.fp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.fp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
}

.fp-subtitle {
  color: #00f0ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}

.fp-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.fp-view-all {
  color: #00f0ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.fp-view-all:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.fp-card {
  background-color: #0e1628;
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.fp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.fp-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #040914;
}

.fp-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fp-card:hover .fp-img-wrapper img {
  transform: scale(1.05);
}

.fp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(4, 9, 20, 0.85);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.fp-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fp-card-content h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.fp-tech {
  color: #00f0ff;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 18px;
  opacity: 0.9;
}

.fp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fp-btn {
  background: transparent;
  border: none;
  color: #00f0ff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.fp-btn:hover {
  color: #ffffff;
}

.fp-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.fp-link:hover {
  color: #00f0ff;
}

.full-width-link {
  width: 100%;
  justify-content: center;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  color: #00f0ff;
}

.full-width-link:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #ffffff;
}


/* ================= MODAL OVERLAYS (3D & SYSTEM DESIGN) ================= */
.td-modal-overlay,
.sys-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 9, 20, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
  box-sizing: border-box;
}

.td-modal-overlay.active,
.sys-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.td-modal-content,
.sys-modal-content {
  background-color: #0b1329;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  max-width: 950px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 30px;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
  overflow: hidden;
}

.td-modal-close,
.sys-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.td-modal-close:hover,
.sys-modal-close:hover {
  color: #ff5500;
}

.td-modal-header,
.sys-modal-header {
  margin-bottom: 25px;
}

.td-subtitle,
.sys-subtitle {
  color: #00f0ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.td-title,
.sys-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}

.td-gallery-grid,
.sys-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  overflow-y: auto;
  padding-right: 8px;
}

.td-gallery-grid::-webkit-scrollbar,
.sys-gallery-grid::-webkit-scrollbar {
  width: 6px;
}

.td-gallery-grid::-webkit-scrollbar-thumb,
.sys-gallery-grid::-webkit-scrollbar-thumb {
  background: #00f0ff;
  border-radius: 4px;
}

.td-photo-card,
.sys-photo-card {
  background-color: #040914;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.td-photo-card:hover,
.sys-photo-card:hover {
  transform: translateY(-4px);
  border-color: #00f0ff;
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
}

.td-photo-card img,
.sys-photo-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background-color: #020610;
  display: block;
  padding: 8px;
}

.td-photo-info,
.sys-photo-info {
  padding: 14px 16px;
}

.td-photo-info h4,
.sys-photo-info h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.td-photo-info p,
.sys-photo-info p {
  color: #94a3b8;
  font-size: 0.82rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .fp-grid {
    grid-template-columns: 1fr;
  }

  .td-gallery-grid,
  .sys-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CTA SECTION & FOOTER STYLES
   ========================================== */

/* CTA Banner */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 123, 255, 0.05) 100%);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.cta-container {
  max-width: 650px;
  margin: 0 auto;
}

.cta-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin-bottom: 12px;
}

.cta-container p {
  font-size: 1rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 28px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #00f0ff;
  color: black;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: #ffffff;
}

/* Footer Styling */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  background-color: var(--bg-dark, #0a0f1d);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.brand-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  text-decoration: none;
}

.brand-title {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 3px;
}

/* Copyright */
.footer-copyright p {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

/* Social Links */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background-color: var(--bg-card, rgba(255, 255, 255, 0.03));
  color: var(--text-muted, #94a3b8);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  background-color: var(--primary-blue, #007bff);
  border-color: var(--primary-blue, #007bff);
  transform: translateY(-2px);
}

/* Responsive (Mobile view) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-brand {
    align-items: center;
  }
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.view-all-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-blue, #007bff);
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================
   TECHNOLOGIES I MASTER SECTION STYLES
   ========================================== */

.skills-master-section {
  padding: 80px 20px;
  background-color: var(--bg-dark, #0a0f1d);
}

.skills-master-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styling */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.sub-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
}

/* 3-Column Grid Layout */
.master-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Skill Card */
.master-skill-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.master-skill-card:hover {
  border-color: rgba(0, 123, 255, 0.4);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
}

/* Card Header row */
.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.skill-name-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main, #ffffff);
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-icon {
  font-size: 1.2rem;
}

.skill-icon.cyan {
  color: #38bdf8;
}

.skill-icon.orange {
  color: #fb923c;
}

.skill-percent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

/* Progress Bar Track */
.progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

/* Animated or static fill bars */
.progress-fill {
  height: 100%;
  border-radius: 4px;
}

.progress-fill.cyan {
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.progress-fill.orange {
  background: linear-gradient(90deg, #c2410c 0%, #fb923c 100%);
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.4);
}

/* Responsive layout adjustments for mobile/tablet */
@media (max-width: 900px) {
  .master-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .master-skills-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   TECHNOLOGIES I MASTER SECTION STYLES
   ========================================== */

.skills-master-section {
  padding: 80px 20px;
  background-color: var(--bg-dark, #0a0f1d);
}

.skills-master-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.sub-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
}

/* 3-Column Grid Layout */
.master-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Skill Card */
.master-skill-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.master-skill-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
}

/* Card Header row */
.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.skill-name-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main, #ffffff);
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-icon {
  font-size: 1.25rem;
}

.skill-icon.cyan {
  color: #38bdf8;
}

.skill-icon.orange {
  color: #fb923c;
}

.skill-percent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

/* Progress Bar Track */
.progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

/* Animated Progress Bar Fill */
.progress-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.cyan {
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.progress-fill.orange {
  background: linear-gradient(90deg, #c2410c 0%, #fb923c 100%);
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.4);
}

/* Responsive Layout */
@media (max-width: 900px) {
  .master-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .master-skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   POPUP MODAL VIBE STYLES (FULL CODE)
   ========================================== */

/* Fullscreen dark backdrop blur */
.popup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 40px 20px;
}

/* Active state triggered by JS */
.popup-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Window Container with breathing room from top */
.popup-modal-content {
  width: 100%;
  max-width: 1100px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 40px;
  /* Pushes the popup down away from your name/top */
  margin-bottom: 40px;
  max-height: 85vh;
  overflow-y: auto;
}

.popup-modal-overlay.active .popup-modal-content {
  transform: translateY(0) scale(1);
}

/* Fixed Header Layout with proper alignment */
.popup-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin-bottom: 30px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Proper Spacing for "SYSTEM PROFILE" and Title */
.popup-title-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.popup-title-group .sub-title {
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.popup-title-group h2 {
  font-size: 2.2rem !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Force top button to stay inline inside the header flex row */
.popup-header>.btn-more-about {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  white-space: nowrap !important;
}

/* Card Grid Layout */
.more-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Card Styling */
.more-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
}

.more-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
}

.more-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-card p,
.more-card li {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.more-list {
  list-style-type: disc;
  padding-left: 18px;
}

.icon-cyan {
  color: #38bdf8;
}

.icon-orange {
  color: #fb923c;
}

/* Bottom Action Bar */
.popup-footer {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Prevent background body scrolling when modal is active */
body.modal-open {
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .more-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .more-content-grid {
    grid-template-columns: 1fr;
  }

  .popup-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
}

.contact-email-link {
  color: #38bdf8;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-email-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}