/* ********************************************************************
// ***
// ***  ProDigital Technologies, LLC.
// ***  Author: Frederick Kubberness
// ***
// ***  Global Styles CSS Page 
// ***  
// ***  
/* ********************************************************************
// ***  Input Fonts
// ***  
/* ********************************************************************/

@charset "utf-8";
@font-face {
  font-family: 'Orbitron';
  src: url(/_resources/_fonts/Orbitron-VariableFont_wght.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a0a;
  --carbon-dark: #121212;
  --carbon-medium: #1a1a1a;
  --carbon-light: #2a2a2a;
  --metal-dark: #3a3a3a;
  --metal-light: #4a4a4a;
  --accent-red: #ff3333;
  --accent-blue: #00a8ff;
  --accent-green: #00ff88;
  --accent-purple: #9945ff;
  --accent-cyan: #00ffff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-dim: #808080;
    --primary-color: #3b82f6;     /* Vibrant Electric Blue */
  --bg-section: #0f172a;        /* Deep Slate Section Background */
  --bg-card: #1e293b;           /* Darker Slate Card Container */
  --text-main: #f8fafc;         /* High-Contrast Off-White Header Text */
  --text-muted: #cbd5e1;        /* Readable Light Gray Body Text */
  --border-color: #334155;      /* Crisp Structural Border Line */
  --accent-light: #1e293b;      /* Dark matching background badge fill */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: var(--primary-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  scrollbar-width:none;
}

/* Carbon Fiber Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    ),
    linear-gradient(
      135deg,
      var(--primary-black) 0%,
      var(--carbon-dark) 25%,
      var(--carbon-medium) 50%,
      var(--carbon-dark) 75%,
      var(--primary-black) 100%
    );
  z-index: -2;
}

/* Animated Grid Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 51, 51, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.05) 2px, transparent 2px);
  background-size: 150px 150px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
  opacity: 0.5;
}
ul {
  list-style-type: none;
}
@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(150px, 150px);
  }
}
/* ********************************************************************
// ***  Loading Styles
// ***  
/* ********************************************************************/
.loader {
  position: fixed;
  top: 0;
  left: 0;              /* 🌟 CRITICAL: Explicitly pins the left edge to the absolute screen boundary */
  right: 0;             /* 🌟 CRITICAL: Pins the right edge, forcing exact cross-device calculations */
  width: 100vw;         /* Changed from 100% to 100vw to force viewport width constraints */
  height: 100vh;
  background: var(--primary-black);
  
  /* Flexbox alignment centering selectors */
  display: flex !important;       /* Ensures flex context is never overwritten */
  justify-content: center !important; 
  align-items: center !important;     
  
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-prism {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto 30px;
}

.prism-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  transform-origin: center;
  animation: prismRotate 3s linear infinite;
}

.prism-face:nth-child(1) {
  border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
  animation-delay: 0s;
}

.prism-face:nth-child(2) {
  border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green))
    1;
  transform: rotate(60deg);
  animation-delay: 0.2s;
}

.prism-face:nth-child(3) {
  border-image: linear-gradient(
      45deg,
      var(--accent-green),
      var(--accent-purple)
    )
    1;
  transform: rotate(120deg);
  animation-delay: 0.4s;
}

@keyframes prismRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}
/* ********************************************************************
// ***  Header Styles
// ***  
/* ********************************************************************/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.98) 0%,
    rgba(18, 18, 18, 0.9) 50%,
    rgba(18, 18, 18, 0) 100%
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   box-sizing: border-box;   
  z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease; 
}

.header.scrolled {
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
   margin-left: 1rem;
}

.logo-icon {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  position: relative;
}

/* Prism-inspired logo */
.logo-prism {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prism-shape {
  width: 30px;
  height: 30px;
  position: relative;
  transform: rotate(45deg);
  background: linear-gradient(
    135deg,
    var(--accent-red) 0%,
    var(--accent-blue) 33%,
    var(--accent-green) 66%,
    var(--accent-purple) 100%
  );
  animation: prismShine 3s ease-in-out infinite;
}

@keyframes prismShine {
  0%,
  100% {
    filter: brightness(1) hue-rotate(0deg);
    transform: rotate(45deg) scale(1);
  }

  50% {
    filter: brightness(1.5) hue-rotate(10deg);
    transform: rotate(45deg) scale(1.1);
  }
}

.prism-shape::before,
.prism-shape::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0.5;
}

.prism-shape::before {
  transform: rotate(60deg);
}

.prism-shape::after {
  transform: rotate(-60deg);
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-text .prism {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .flux {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  margin-left: 5px;
}
/* ********************************************************************
// ***  Navigation Styles
// ***  
/* ********************************************************************/
.nav-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content:left;
  align-items: left;
  position: relative;
  padding:0;
  width:100%;
}
  .nav-container > div:first-child {
    width: 40%;       
    height: auto;
    margin: 0;
  }
    .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: absolute !important;
    top: 1rem !important;
    right: 0 !important;            
    width: 40px !important;
    height: 40px !important; 
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 100000 !important;
  }
    .hamburger-bar {
    display: block !important;
    width: 100% !important;
    height: 3px !important;             
    min-height: 3px !important;
    background-color: #00a8ff !important; 
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-menu {
    position: absolute; 
    top: 100%;          
    left: 0;            
    width: 100%;
    max-height: 0;      
    overflow: hidden;   
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(18, 18, 18, 0.98);
    text-align: center;
    transition: max-height 0.4s ease-in-out; 
    border-bottom: none;
    margin: 0;
    gap: 0;
    padding: 0;         
  }
  
  .nav-menu.menu-active {
    max-height: 550px;  
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--metal-dark);
  }

  .nav-menu li {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav-menu a {
    display: block;
   margin:0;
    padding: 0;    
    text-align: center;
    width: 100%;     
    box-sizing: border-box; 
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 25px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1rem;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a:hover::before,
.nav-menu a.menu-active::before {
  width: 80%;
}

.nav-menu a.menu-active {
  color: var(--accent-cyan);
}

/* ********************************************************************
// ***  Global Sections Styles
// ***  
/* ********************************************************************/
.section-area {
  padding-bottom: 4rem;
  width: 100%;
}
.section-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ********************************************************************
// ***  Hero Section with 3D Carousel
// ***  
/* ********************************************************************/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  background: radial-gradient(
    ellipse at center,
    rgba(153, 69, 255, 0.1) 0%,
    transparent 50%
  );
}

.carousel-container {
  width: 100%;
  max-width: 360px;
  height: 560px;
  perspective: 1200px;
  position: relative;
  padding-top: 40px;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 400px;
  height: 640px;
  padding: 10px;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform-origin: center center;
}

.carousel-item .tech-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
  border: 2px solid var(--metal-dark);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-item .tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(500px);
  }
}

.card-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 1rem;
  font-weight: 900;
  color: rgba(153, 69, 255, 0.1);
  font-family: 'Orbitron', monospace;
}

.card-image {
  width: 65%;
  height: auto;
  background: var(--carbon-dark);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  border: 1px solid var(--metal-dark);
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: crop;
  filter: grayscale(50%) contrast(1.2);
  transition: all 0.5s ease;
}

.carousel-item:hover .card-image img {
  filter: grayscale(0%) contrast(1.3);
  transform: scale(1.1);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 1rem;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 0.25rem;
  font-size: 0.65rem;
  text-align: center;
  width: 85%;
}

.card-tech {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 20px;
}

.tech-badge {
  padding: 5px 12px;
  background: rgba(153, 69, 255, 0.1);
  border: 1px solid var(--accent-purple);
  border-radius: 20px;
  font-size: 0.5rem;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.button-container {
  display: flex;
  justify-content: center;
}
.card-cta {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 30px;
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

.carousel-indicators {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
}

.indicator {
  width: 12px;
  height: 12px;
  background: var(--metal-dark);
  border: 1px solid var(--metal-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.hero-active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
  transform: scale(1.3);
}

/* NEW: Prism Philosophy Section */
.philosophy-section {
  padding: 120px 30px;
  background: linear-gradient(
    180deg,
    var(--primary-black) 0%,
    rgba(153, 69, 255, 0.02) 50%,
    var(--primary-black) 100%
  );
  position: relative;
  overflow: hidden;
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Animated Prism Line */
.prism-line {
  width: 100%;
  height: 2px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
  background: var(--carbon-medium);
}

.prism-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-red) 20%,
    var(--accent-blue) 40%,
    var(--accent-green) 60%,
    var(--accent-purple) 80%,
    transparent
  );

  animation: prismSweep 4s ease-in-out infinite;
}

@keyframes prismSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.philosophy-headline {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(
    135deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 25%,
    var(--accent-blue) 50%,
    var(--accent-green) 75%,
    var(--accent-cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.philosophy-subheading {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 80px;
  line-height: 1.6;
  font-weight: 300;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.pillar {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(
    135deg,
    rgba(42, 42, 42, 0.2),
    rgba(26, 26, 26, 0.3)
  );
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-green)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(153, 69, 255, 0.05),
    rgba(26, 26, 26, 0.3)
  );
}

.pillar-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.pillar-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.pillar-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.pillar-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pillar-description a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-description a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.pillar-description a:hover {
  color: var(--accent-purple);
}

.pillar-description a:hover::after {
  width: 100%;
}

/* Particle Effect Background */
.philosophy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}
/* ********************************************************************
// ***  Enhanced Skills Section
// ***  
/* ********************************************************************/
.skills-section {
  padding: 120px 30px;
  background: var(--carbon-dark);
  position: relative;
  overflow: hidden;
}

.skills-container {
  margin: 0 auto;
}



/* Hexagonal Skills Grid */
.skills-hexagon-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; 
  margin-top: 60px;
  width: 100%;
}

.skill-hexagon {
  width: 150px;
  height: 170px;
  margin: 20px 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-hexagon:hover {
  transform: translateY(-10px);
}

.hexagon-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotate(30deg);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--carbon-medium),
    var(--carbon-light)
  );
  border: 2px solid var(--metal-dark);
}

.skill-hexagon:hover .hexagon-inner {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(153, 69, 255, 0.5);
}

.hexagon-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: rotate(-30deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.skill-image-hex {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--accent-purple);
  animation: float 3s ease-in-out infinite;
}
.skill-image-hex img {
  width: 5rem;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.skill-name-hex {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-align: center;
}

.skill-level {
  width: 100%;
  height: 4px;
  background: var(--carbon-dark);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.skill-level-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border-radius: 2px;
  position: relative;
  animation: fillLevel 2s ease-out;
}

@keyframes fillLevel {
  0% {
    width: 0;
  }
}

.skill-percentage-hex {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 600;
}

/* Skill Categories Tabs */
.skill-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 12px 30px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.category-tab:hover {
  background: rgba(153, 69, 255, 0.1);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

.category-tab.skill-active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.3);
}

/* ********************************************************************
// ***  Portfolio Section
// ***  
/* ********************************************************************/
.portfolio-section {
  min-height: 60rem;
}
.portfolio-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.portfolio-card {
  margin: 1rem;
  padding: 1rem;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; 
  background: linear-gradient(
    135deg,
    rgba(42, 42, 42, 0.2),
    rgba(26, 26, 26, 0.3)
  );
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(153, 69, 255, 0.05),
    rgba(26, 26, 26, 0.3)
  );
}
.portfolio-card button {
  font-family: 'Orbitron', sans-serif;
  background: transparent;
  color: var(--color-text-primary-light);
  border: 2px solid var(--color-text-primary-dark);
  padding: 8px 24px; /* Added padding to give the button a professional, clean shape */
  font-size: clamp(1rem, 4vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 1.5rem; /* Margins are now only needed for spacing from the elements above it */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(224, 163, 255, 0.2);
}

/* Hover state for desktop */
.portfolio-card button:hover {
  transform: perspective(1000px) rotateY(0deg) translateZ(20px);
  box-shadow:
    0 25px 60px rgba(245, 197, 6, 0.347),
    0 0 0 1px rgba(245, 237, 12, 0.997),
    inset 0 1px 0 rgba(245, 231, 77, 0.997);
  border-color: rgba(232, 226, 43, 0.917);
}

/* 💥 The Click Effect */
.portfolio-card button.port-active {
  transform: scale(0.95); /* Slight shrink on click */
  background: #b4c32c;
  color: #000;
  box-shadow:
    0 0 30px #87901f,
    0 0 60px #ddf71d;
}

.portfolio-card dt,
.portfolio-card dd {
  padding: 1.5rem;
}
.portfolio-card  h3 {
  background-color: gold;
  color: black;
  font-size: 1.25rem;
  text-align: center;
}
.portfolio-card h4 {
  background-color: rgb(0, 255, 26);
    color: black;
  font-size: 1rem;
    text-align: center;
}
.portfolio-card  h5 {
  background-color: gold;
  color: black;
  font-size: 1.25rem;
  text-align: center;
}
.portfolio-card h6 {
  background-color: rgb(0, 255, 26);
    color: black;
  font-size: 1rem;
    text-align: center;
}
.status-card {
  background: grey;
  font-size: 1.5rem;
}
/* Highlighted background panel for results/metrics - Dark Mode Adjustments */
.case-study-details dt.status-result + dd {
  background: #0f172a;            /* Deep dark contrast frame */
  border-left: 4px solid #10b981; /* Retain strong Emerald Green border */
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  color: #a7f3d0;                 /* Tinted crisp green-gray text for readability */
}

/* Secure Badge Glow Effect */
.secure-badge {
  font-size: 0.9rem;
  color: #34d399;                 /* Bright glowing text */
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1); /* Translucent emerald background alpha tint */
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Primary Button Text Overrides */
.btn-primary {
  background: var(--primary-color);
  color: #ffffff !important;      /* Keep anchor link typography white */
}

.btn-primary:hover {
  background: #2563eb;            /* Brighter slate blue active state link */
}
/* FIX 1 & 3: Added the missing "s" to portfolios, and changed display to flex for perfect layout centering */
.portfolio-modal-overlay {
  position: fixed;
  top: 2rem;
  left: 0;
height: 100dvh;                 /* CHANGED: Use dynamic viewport height for mobile browser bars */
  width: 100vw;  
  background: rgba(5, 2, 2, 0.85); /* Changed to translucent alpha so backdrop filter blur feels premium */
  backdrop-filter: blur(10px);
  display: flex;                  /* Clean viewport snap alignment layer switch */
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;           /* Prevents invisible overlay from blocking background links when active is off */
  transition: opacity 0.3s ease;
  z-index: 12;
}

/* FIX 2: Fixed the double dash and spelling sync to cleanly trigger your fade animation */
.portfolio-modal-overlay.port-active {
  opacity: 1;
  pointer-events: auto;           /* Restores click actions instantly when the overlay fades in */
}

.portfolio-modal-content {
 background: var(--bg-card);     
  border: 1px solid rgba(224, 163, 255, 0.3);
  box-shadow: 0 0 50px rgba(224, 163, 255, 0.15);
  border-radius: 20px;
  width: 90%;                     
  max-width: 400px;               /* CHANGED: Use an explicit pixel cap so it stays crisp on tablet/desktop */
  max-height: 80dvh;              /* CHANGED: Lowered slightly using dynamic height to guarantee it never leaks off screen */
  margin: 16px;                   /* ADDED: Acts as a structural safety margin if the device screen size scales down */
  overflow-y: auto;               
  overflow-x: hidden;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #fff;
  box-sizing: border-box;
  padding: 1rem;
  padding-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

.portfolio-modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
/* ********************************************************************
// ***  Review Section
// ***  
/* ********************************************************************/
.review-section {
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: 0;
  
  text-align: center;
  width: 85%;
}
.review-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.review-card {
  background-color: #161d2e;
  padding: 2rem;
  width: 95%;
  font-size: 0.75rem;
  color: #34d399;                 /* Bright glowing text */
  font-weight: 600;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.review-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(153, 69, 255, 0.05),
    rgba(26, 26, 26, 0.3)
  );
}
.review-card h3 {
  background-color: gold;
  color: black;
  font-size: 1.25rem;
  text-align: center;
}
.review-card h4 {
  background-color: rgb(0, 255, 26);
    color: black;
  font-size: 1rem;
    text-align: center;
}
/* ********************************************************************
// ***  BLOG Section
// ***  
/* ********************************************************************/
.blog-section {
  margin: 0 auto;
  margin-bottom: 2rem;
  padding-top:6rem;
   width: 85%;
}

.blog-section h3 {
  font-size: 1rem;
   white-space: pre-line; 
  margin: 6px;
}
.blog-section p {
  font-size: 0.75rem;
  margin: 1rem;
}
/* Container handles the horizontal centering via Flexbox */
.blog-code-area {
  display: flex;
  justify-content: center; 
  margin: 2rem auto; /* Added vertical spacing */
  width: 100%;
}

/* Pre tag acts as the colored block/box */
.blog-code-area pre {
  background-color: #4a4a4a;
  width: 99%; /* Adjust this to control how wide the code block box is */
  padding: 1.5rem; /* Adds breathing room inside the code box */
  border-radius: 6px; /* Optional: rounds the corners slightly */
  overflow-x: auto; /* Allows horizontal scrolling if a line is too long */
}

/* Code tag just styles the typography */
.blog-code-area code {
 font-family: monospace;
  font-size: 0.5rem;
  color: #ffffff; /* Make text readable against dark grey background */
  text-align: left; /* Keeps code properly aligned on the left */
  
}

/* ********************************************************************
// ***  Rates Section
// ***  
/* ********************************************************************/
.table-rates {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
.rate-section {
  padding-top: 6rem;
}
.rate-section table {
  margin: 0 auto;
  overflow: hidden;
 table-layout: fixed;
 width: 95%;
}
.rate-section th {
  background-color: grey;
}
.rate-section td {
  border: 2px solid grey;
  overflow: hidden;
}
.rate-section th,
.rate-section td {
  font-size: 0.75rem;
}
.rate-section h6 {
  font-size: 1rem;
}
.rate-details {
  margin: 0 auto;
  margin-top: 4rem;
  width: 65%;
}
.rate-details dh {
    background: linear-gradient(
    135deg,
    rgb(2, 10, 240),
    rgb(48, 9, 146)
  );
  margin: -2rem;
  text-align: left;
}
.rate-details strong {
  background: linear-gradient(
    135deg,
    rgb(232, 212, 101),
    rgb(251, 215, 9)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ********************************************************************
// ***   Payment Section 
// ***  
/* ********************************************************************/
.payment-section {
  padding: 1rem;
  padding-top: 10rem;
  margin: 0 auto;
  min-height: 60rem;
  width: 85%;
}
.payment-section form {
  margin: 0 auto;
  width: 95%;
}
.payment-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.payment-form-container > div {
  border: 2px solid grey;
  padding: 1.5rem;
  width: 65%;
}
.payment-form-container h6 {
    color:rgb(232, 212, 101);
  font-size: 1.25rem;
}
.payment-section input,
.payment-section label,
.payment-section select {
  display: block;
  margin: 0.5rem 0;
  width:100%;
}
.bill-flex-container {
  display: flex;
}
.client-details h6 {
  font-size: 1.5rem;
}
.client-container {
  display: flex;
  flex-direction: column;
}
/* Container for the checkbox row */
.checkbox-container {
  display: flex !important; /* !important guarantees your global label styles don't break it */
  align-items: center;      /* Vertically aligns box and text perfectly */
  gap: 10px;                /* Puts a clean space between box and text */
  cursor: pointer;          /* Makes text clickable to toggle box */
  margin-top: 15px;         /* Adds breathing room below the Amount input */
  width: max-content;       /* Prevents the label from stretching full-width */
}

/* Force the checkbox to maintain standard sizing */
.checkbox-container input[type="checkbox"] {
  width: 16px;              /* Explicit size so it doesn't match your text inputs */
  height: 16px;
  margin: 0;                /* Removes browser default alignments shifts */
  flex-shrink: 0;
}

/* Optional styling for the text next to it */
.checkbox-container span {
  font-family: inherit;     /* Matches your current techno/digital font */
  color: #ffffff;           /* Ensures it stays bright white */
}

.form-submit-container{
  display: flex;
  justify-content:center ;
}

.form-submit-container input[type=submit] {
  margin: 2rem;
  width: 20rem;
}
.stripe-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  width: 85%;
}
.stripe-container p {
  text-align: center;
}
.stripeElement {
  width: 95% !important;
}
/* ********************************************************************
// ***   Contact Section 
// ***  
/* ********************************************************************/
.contact-section {
  padding: 120px 30px;
  background: linear-gradient(
    180deg,
    var(--carbon-dark) 0%,
    var(--primary-black) 100%
  );
  position: relative;
}

.contact-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 2rem;
}
.contact-container > div {
  padding-top: 2rem;
}
.contact-info,
.contact-form {
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(42, 42, 42, 0.3),
    rgba(26, 26, 26, 0.5)
  );
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
}
.contact-info textarea {
  background-color: #121212;
  color: #cfc5c5;
  height: 730px;
  overflow: hidden;
  width: 95%;
  resize: none;
}
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--carbon-dark);
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(153, 69, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.info-item:hover::before {
  left: 100%;
}

.info-item:hover {
  transform: translateX(10px);
  background: rgba(153, 69, 255, 0.1);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.2);
}

a.info-item {
  color: inherit;
  text-decoration: none;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--text-primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
  color: var(--accent-cyan);
}
.info-text ul {
  list-style-type: none;
}
.info-text li a,
.info-text p {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text p {
  color: var(--text-primary);
}

/* Add external link indicator for clickable items */
.info-item[target='_blank'] .info-text p::after {
  content: ' ↗';
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-item[target='_blank']:hover .info-text p::after {
  opacity: 1;
}

.contact-form {
  padding: 1rem;

  background: linear-gradient(
    135deg,
    rgba(42, 42, 42, 0.3),
    rgba(26, 26, 26, 0.5)
  );
  /* border: 1px solid var(--metal-dark);
  border-radius: 20px; */
}
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}
.email-modal {
  position: fixed;
  top: 5%;
  left: 35%;
  height: 200px;
  width: 600px;
  background: rgb(5, 2, 2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.email-modal-active {
  opacity: 1;
}

.email-modal-content{
  background: rgba(224, 163, 255, 0.05);
  border: 1px solid rgba(224, 163, 255, 0.3);
  box-shadow: 0 0 50px rgba(224, 163, 255, 0.15);
  border-radius: 20px;
  width: 90%;
  max-width: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 40px;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  box-sizing: border-box;
}
.email-modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
/* ********************************************************************
// ***   Footer
// ***  
/* ********************************************************************/
.footer {
  padding: 60px 30px 30px;
  background: var(--primary-black);
  border-top: 1px solid var(--metal-dark);
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}
.social-icon img {
  width: 2rem;
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}
.footer-section {
  margin: 2rem 0;
}
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}

.footer-links,
.footer-section-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links,
.footer-section-links {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links,
.footer-section-links {
  color: var(--accent-purple);
  padding-left: 10px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--metal-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-credits {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-credits a {
  color: var(--accent-purple);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}
/* ********************************************************************
// ***   
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  @media queries
// ***  <---min-width: 820px
// ***  
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  
/* ********************************************************************/
@media only screen and (min-width: 820px) {
/* ********************************************************************
// ***  Navigation Header
// ***  
/* ********************************************************************/
  .header { 
    height: 8rem; 
  }

  .nav-container { 
    flex-direction: row; 
    justify-content: space-between; /* Pushes Logo to left, Links to right */
    align-items: center;
    padding: 0 4rem;                 /* Adds breathing room on screen edges */
    max-width: 1400px;               /* Keeps content centered on ultra-wide screens */
    margin: 0 auto;
  }

  /* FIX: Prevents the mobile wrapper box from constraining desktop layout width */
  .nav-container > div:first-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* FIX: Hides the mobile hamburger button entirely on desktop */
  .nav-container > div:nth-child(2),
  .menu-toggle { 
    display: none !important; 
  }

  .nav-menu { 
    font-size: 0.25rem;
    position: absolute;       /* FIX: Undoes absolute positioning */
    top: 3rem;
    left: 0;
    max-height: none;       /* FIX: Overrides mobile max-height: 0 */
    overflow: visible;      /* FIX: Overrides mobile overflow: hidden */
    display: flex;          /* Ensures horizontal layout */
    flex-direction: row;
    flex-wrap: wrap;
    background: transparent;/* Removes mobile dark background */
    width: auto;            /* Lets menu size naturally */
    gap: 2px;              /* Creates tight, balanced gaps for 9 links */
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu.menu-active {
    max-height: none;       /* Overrides active mobile height constraint */
    border-bottom: none;
  }

  .nav-menu li { 
    width: auto;            /* FIX: Let links wrap natively instead of forcing 100% or 35% */
  }

  .nav-menu a { 
    color: white; 
    width: auto; 
    font-size: 0.85rem;     /* Slightly downsizes text so 9 items fit cleanly */
    padding: 10px 12px;     /* Reductions preserve space for extensive list */
  }

  /* Updates hover bar for desktop placement alignment */
  .nav-menu a::before {
    bottom: 0.2rem;
  }
/* ********************************************************************
// ***  Enhanced Skills Section
// ***  
/* ********************************************************************/
.skills-hexagon-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center; 
  margin-top: 60px;
  width: 100%;
}
.skill-hexagon {
  margin: 2rem;
}
/* ********************************************************************
// ***  Portfilio Section
// ***  
/* ********************************************************************/
.portfolio-modal-overlay {
    top: 0.25rem;
}
.portfolio-modal-content {
  width: 800px;
  max-width: 800px;               /* CHANGED: Use an explicit pixel cap so it stays crisp on tablet/desktop */
  max-height: 80dvh; 
}
/* ********************************************************************
// ***   Contact Section 
// ***  
/* ********************************************************************/
.contact-container {
   flex-direction: row;
}
}

/* ********************************************************************
// ***   
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  @media queries
// ***  <---min-width: 1400px
// ***  
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  
/* ********************************************************************/
@media only screen and (min-width: 1400px) {
/* ********************************************************************
// ***   Header Section 
// ***  
/* ********************************************************************/
  .header { 
    height: 6rem; 
  }
  .logo {
    margin-left: -4rem;
  }
/* ********************************************************************
// ***   Navigation Section 
// ***  
/* ********************************************************************/
  .nav-container { 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 4rem;                 
    max-width: 1400px;               
    margin: 0 auto;
  }

  .nav-container > div:first-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-container > div:nth-child(2),
  .menu-toggle { 
    display: none !important; 
  }

  .nav-menu { 
   max-height: none;       
    overflow: visible;      
    display: flex;    
    justify-content: center;     
    flex-direction: row;
    background: transparent;
    width: 100%;          
    gap: 1rem;              
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu.menu-active {
    max-height: none;      
    border-bottom: none;
  }

  .nav-menu li { 
    width: auto;            
  }

  .nav-menu a { 
    color: white; 
    width: auto; 
    font-size: 0.85rem;     
    padding: 10px 12px;    
  }

    .nav-menu a::before {
    bottom: 0.2rem;
  }
/* ********************************************************************
// ***   Portfolio Section 
// ***  
/* ********************************************************************/
.portfolio-container {
  flex-direction: row;
  
}
.portfolio-card {
  width: 20rem;
}
/* ********************************************************************
// ***   Review Section 
// ***  
/* ********************************************************************/
.review-container {
  flex-direction: row;
  
}
.review-card {
  width: 20rem;
}
/* ********************************************************************
// ***   Payment Section 
// ***  
/* ********************************************************************/
.client-container {
  flex-direction: row;
  justify-content: center;
  gap:1rem;
}
.client-container > div {
  width: 20rem;
}
/* ********************************************************************
// ***   Contact Section 
// ***  
/* ********************************************************************/
.contact-container {
  gap: 1rem;
}
.contact-container > div {
  width: 40rem;

}
}
/* ********************************************************************
// ***   
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  @media queries
// ***  <---min-width: 1600px
// ***  
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  
/* ********************************************************************/
@media only screen and (min-width: 1600px) {
  /* ********************************************************************
// ***   Hero Section 
// ***  
/* ********************************************************************/
.hero{
  min-height: auto;
  padding-top: 10rem;
}
/* ********************************************************************
// ***   Portfilio Section 
// ***  
/* ********************************************************************/
.portfolio-modal-overlay {
    top: 8.5rem;
    left: 8rem;
    height: 600px;
  max-height: 600px;
  max-width:1400px;
  width: 1400px;
}
.portfolio-modal-content {
  top: 1rem;
  max-height: auto;
  max-width:95%;
  width: 95%;
}
}
/* ********************************************************************
// ***   
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  @media queries
// ***  <---min-width: 1824px
// ***  
// ***   
// ***   
// ***   
// ***   
// ***   
// ***  
/* ********************************************************************/
@media only screen and (min-width: 1824px) {
  .nav-container {
    flex-direction: row;
  }

  .nav-container > div:nth-child(2) {
  display: none;
 }
}