/*--------------------------------------------------------------
# Index.html Specific Overrides
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero Section - Canvas Integration for Index
--------------------------------------------------------------*/
section#hero-fullscreen {
  position: relative;
  overflow: hidden;
}

section#hero-fullscreen .container {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
# Hero Section - Modern Fullscreen Layout (Index Only)
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important; /* CRITICAL: Gradient moved to .hero-bg-gradient for animation */
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  pointer-events: none; 
}

.hero-bg-gradient,
.hero-bg-image,
.hero-bg-blur-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* CRITICAL: Gradient layer starts hidden and fades in */
.hero-bg-gradient {
  background: linear-gradient(145deg, #000000 0%, #0e0064 35%, #000000 100%);
  opacity: 0; /* Starts hidden, JS will animate to 1 */
  z-index: 1;
}

/* Background image is visible on load */
.hero-bg-image {
  z-index: 0;
}

.hero-bg-blur-overlay {
  backdrop-filter: blur(22px);
  z-index: 3;
  opacity: 0; /* Starts hidden, fades in with gradient */
}

canvas#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.dotted-divider {
    margin: 28px 0 20px 0;
}

/*--------------------------------------------------------------
# Hero Content Typography & Layout Overrides
--------------------------------------------------------------*/
.hero-content .container.d-flex {
  position: relative;
  z-index: 200;
}

.hero-section .hero-content {
  margin: auto;
  z-index: 200 !important;
  position: relative;
}

.hero-section .hero-content .staggered-heading,
.hero-section .hero-content h2 {
  font-size: 72px;
  font-weight: 900;
  text-align: center;
  font-family: var(--font-primary);
  color: white;
}

.hero-content .container p {
  margin-top: 30px;
  padding-bottom: 26px;
  padding-right: 15%;
  padding-left: 15%;
  color: white;
  letter-spacing: .0425rem;
}

/*--------------------------------------------------------------
# Hero Background Effects
--------------------------------------------------------------*/
.hero-bg-wrap,
.hero-bg-image,
.hero-bg-gradient,
.hero-bg-blur-overlay,
#scene {
  isolation: isolate;
}

/*--------------------------------------------------------------
# Blob Pattern Overlay (Index Only)
--------------------------------------------------------------*/

/* Main rotation container - Controls rotation area for ALL blobs */
.hero-blobs-container {
  position: absolute;
  top: -8vh;
  left: 55%;
  width: 540px;
  height: 500px;
  transform: translate(-50%, 0);
  pointer-events: none;
  z-index: 107;
}

/* Purple Blob Container - Rotates at its own speed */
.blob-container-purple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation: rotate-purple 32s linear infinite;
}

@keyframes rotate-purple {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Original Blob (Purple) - 100% size */
.blobpattern2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 733px;
  height: 600px;
  opacity: 0 !important; /* Starts hidden, JS will fade in */
  z-index: 108 !important;
  pointer-events: none;
}

.blobpattern2 path {
  stroke-width: 40px;
  stroke-opacity: 0.2;
  fill-opacity: .5;
  stroke: #b98cff;
  fill: #b98cff;
}

/* Pink Blob Container - Rotates at its own speed */
.blob-container-pink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation: rotate-pink 40s linear infinite;
}

@keyframes rotate-pink {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Blob 2 (Pink) - 25% of original */
.hero-blob2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(-366.5px);
  width: 183.25px;
  height: 150px;
  opacity: 0 !important; /* Starts hidden */
  pointer-events: none;
  z-index: 107;
  filter: blur(20px);  
}

.hero-blob2 path {
  stroke-width: 40px;
  stroke-opacity: 0.2;
  fill-opacity: .5;
  stroke: #ff6bff;
  fill: #ff6bff;
}

/* Green Blob Container - Rotates at its own speed */
.blob-container-green {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation: rotate-green 36s linear infinite;
}

@keyframes rotate-green {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Blob 3 (Green) - 50% of original */
.hero-blob3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(366.5px);
  width: 366.5px;
  height: 300px;
  opacity: 0 !important; /* Starts hidden */
  pointer-events: none;
  z-index: 106;
  filter: blur(30px);  
}

.hero-blob3 path {
  stroke-width: 40px;
  stroke-opacity: 0.2;
  fill-opacity: .5;
  stroke: #6fffff;
  fill: #6fffff;
}

/*--------------------------------------------------------------
# AI Letter Rays Effect
--------------------------------------------------------------*/
canvas#ai-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 108;
  opacity: 0;
  transition: opacity 0.6s ease;
  top: -3px;
  left: -17px;
}

canvas#ai-rays.active {
  opacity: 1;
}

/* CSS Variables for the rays */
:root {
  --ray-color-1: #ff3131;
  --ray-color-2: #7ed957;
  --ray-color-3: #ffde59;
  --ray-color-4: #ff66c4;
  --ray-color-5: #5ce1e6;
  --ray-color-6: #ff914d;
  
  --ray-scale-1: 0.6;
  --ray-scale-2: 0.8;
  --ray-scale-3: 1.0;
  --ray-scale-4: 1.2;
  --ray-scale-5: 1.5;
  
  --ray-height-1: 400px;
  --ray-width-1: 0.8px;
  --ray-height-2: 550px;
  --ray-width-2: 1px;
  --ray-height-3: 700px;
  --ray-width-3: 1.2px;
  --ray-height-4: 850px;
  --ray-width-4: 1.4px;
  --ray-height-5: 1000px;
  --ray-width-5: 1.6px;
  --ray-height-6: 1150px;
  --ray-width-6: 1.8px;
  --ray-height-7: 1300px;
  --ray-width-7: 2px;
  --ray-height-8: 1600px;
  --ray-width-8: 2.4px;
}

/*--------------------------------------------------------------
# Typewriter base styles
--------------------------------------------------------------*/
.staggered-heading2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.4;
  margin: 0 0 2rem 0;
  font-weight: 700;
  position: relative;
}

#typewriter span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

#typewriter span.visible {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# GRADIENT TEXT - SAFARI & CHROME COMPATIBLE
--------------------------------------------------------------*/
.glow-text {
  position: relative;
  display: inline-block;
  font-weight: inherit;
  white-space: nowrap;
  
  /* Updated gradient colors */
  background: linear-gradient(
    90deg,
    #ff6bff 0%,    /* magenta */
    #6fffff 33%,   /* cyan */
    #b98cff 66%,   /* violet */
    #00f6ff 100%   /* neon cyan */
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-origin: border-box;
  
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { 
    background-position: 0% 50%; 
  }
  50% { 
    background-position: 100% 50%; 
  }
}

/* Safari-specific fix */
@supports (-webkit-background-clip: text) {
  .glow-text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

.glow-text {
  vertical-align: baseline;
}

/*--------------------------------------------------------------
# AI RAYS CANVAS STYLING
--------------------------------------------------------------*/
#ai-rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 108;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 2s ease;
}

#ai-rays.active {
  opacity: 1;
}

/* Safari-specific optimizations */
@supports (-webkit-backdrop-filter: blur(1px)) {
  #ai-rays {
    transition: opacity 1.5s ease;
  }
  
  #typewriter span {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Grid canvas */
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* Safari: hide grid canvas */
@supports (-webkit-backdrop-filter: blur(1px)) {
  #scene {
    opacity: 0 !important;
  }
}

.hero-bg-blur-overlay {
  backdrop-filter: blur(22px);
  z-index: 3;
  background: transparent;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Hero Custom Button Override
--------------------------------------------------------------*/
.button-wrapper {
  z-index: 200 !important;
  cursor: pointer;
}

.hero-section .custom-button {
  pointer-events: none; /* Clicks pass through to the wrapper */
}

.button-wrapper:hover {
  border-color: #d7ff9c;
}

.button-wrapper:hover .custom-button {
  background-color: #9bff0842;
  border-color: #d7ff9c;
  color: #fff;
}


/*--------------------------------------------------------------
# Section About
--------------------------------------------------------------*/
#main.index {
  margin-top: 0;
}

#about.about {
/*  background-image:
    repeating-linear-gradient(
      45deg,
      #eeeeeed1 0,
      #eeeeeed1 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      135deg,
      #eeeeeed1 0,
      #eeeeeed1 1px,
      transparent 1px,
      transparent 80px
    );*/
  background-image: repeating-linear-gradient(45deg, #c3ff6b 0, #c3ff6b 1px, transparent 1px, transparent 800px), repeating-linear-gradient(135deg, #c3ff6b 0, #c3ff6b 1px, transparent 1px, transparent 800px);
  position: relative;
  z-index: -7;
}

/*--------------------------------------------------------------
# Section Color Overrides for Index
--------------------------------------------------------------*/
.hero-section .hero-content h2,
.hero-content .container p,
#testimonials .section-header h2 {
  color: white;
}

.dotted-divider {
  background-image: radial-gradient(circle, #56d6ffa3 1px, transparent 1px);
}

#skills .section-header h2 {
  color: #fff;
  margin-top: 80px;
}

#skills .section-header p {
  color: #ce9eff;
  color: #f5ebff;
}

#testimonials .section-header h2 {
  margin-top: 40px;
}

/*--------------------------------------------------------------
# Portfolio Background Canvas Wrapper (Index Only)
--------------------------------------------------------------*/
.wrap {
  position: relative;
  z-index: 0;
}

#bgPort {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px; 
  pointer-events: none;
  z-index: 0;
  background-color: #1100669c;

  --bowl-depth: 120%;
  --bowl-width: 80%;
  --bowl-softness: 90%;
  --bowl-x: 50%;
  --bowl-y: 110%;

  -webkit-mask-image:
    radial-gradient(
      ellipse var(--bowl-width) var(--bowl-depth)
      at var(--bowl-x) var(--bowl-y),
      transparent 0%,
      transparent calc(100% - var(--bowl-softness)),
      black 100%
    );

  mask-image:
    radial-gradient(
      ellipse var(--bowl-width) var(--bowl-depth)
      at var(--bowl-x) var(--bowl-y),
      transparent 0%,
      transparent calc(100% - var(--bowl-softness)),
      black 100%
    );

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#bgPort canvas {
  background: transparent;
  background-color: transparent;
}

#portfolio,
.card-container {
  position: relative;
  z-index: 2;
}

/*--------------------------------------------------------------
# Section - Skills
--------------------------------------------------------------*/
#skills.skills {
  position: relative;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.skills-content p b {
  font-size: 100%;
  font-weight: 600;
  color: #cf9eff;
  color: #f5ebff;
}

.skills .skill {
  margin: 0 0 6px 0;
  text-transform: uppercase;
  text-align: center;
  display: block;
  padding-top: 25px;
  font-weight: 600;
  letter-spacing: 0.025rem;
  font-family: "Poppins", sans-serif;
  color: #efefef;
}

.skills .skill .val {
  float: right;
  font-style: normal;
  color: #f8f8f8;
  display: none;
}

.skills-list {
  margin-top: 12px;
}

.skills-list ul,
.skills-list ul li {
  list-style-type: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px dotted #d19eff57;
}

.skills-list ul:last-of-type, 
.skills-list ul li:last-of-type,
.skills-list ul > li:last-of-type {
  border-bottom: none;
}

.skills-list h3 {
  margin-top: 30px;
  font-size: 95%;
  font-weight: bold;
}

.skills-list ul li {
  font-size: 90%;
  letter-spacing: .035rem;
  color: #b9b8bf;
  padding: 20px 0;
}

.skills-icon {
  width: 67px;
  height: 68px;
  opacity: 1;
  padding-bottom: 10px;
}

.skills-icon .shape {
  fill: #00ddff;
  fill: #ff54c2;
}

.skills-icon path {
  border: none;
  stroke: none;
  fill-opacity: 1;
}

#skills .section-header h2 {
  color: #fff;
  margin-top: 80px;
}

#skills .section-header p {
  padding-top: 16px;
  max-width: 61%;
  color: #f5ebff;
}

.wrapper-skills-card {
  margin-top: 60px;
  padding: 40px;
  border-radius: 12px;
  background-color: #0e0119;
  border: 4px solid #871bff59;
  filter: drop-shadow(0px 0px 16px rgba(255, 84, 194, 0.35));
}

.wrapper-skills-card.col1,
.wrapper-skills-card.col3 {
  width: 80%;
  border: none;
  filter: drop-shadow(0px 0px 5px rgba(255, 84, 194, 0.05));
}

.wrapper-skills-card.col1 {
  border-right: 1px solid #871bffb8;
}
.wrapper-skills-card.col2 {
  border: 1px solid #871bffd4;
}
.wrapper-skills-card.col3 {
  margin-left: 20%;
  border-left: 1px solid #871bffb8;
}

.col-lg-12 .wrapper-skills-card {
  border: none;
  border-top: 2px dotted #bc3affd9;
  text-align: center;
  filter: drop-shadow(0px 0px 5px rgba(255, 84, 194, 0.35));
}

.skills-content.skills-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.skills-content.skills-list .text-center {
  width: 100%;
  flex-basis: 100%;
}

.wrapper-skills-card.col1,
.wrapper-skills-card.col3 {
  margin-top: 0;
}

.skills-content.skills-list .col-lg-12 {
  width: 100%;
  flex-basis: 100%;
}

/*--------------------------------------------------------------
# BEZIER CONNECTION LINES - CSS
--------------------------------------------------------------*/
#skills-connection-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.skills-section-wrapper {
  position: relative;
}

.connection-path {
  stroke: white;
  stroke-width: 2px;
  fill: none;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

.connection-path:hover {
  opacity: 1;
  stroke-width: 3px;
}

.glow-ball {
  fill: white;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) 
          drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
  opacity: 0;
}

.glow-trail {
  stroke: #ffffff38;
  stroke-width: 2px;
  fill: none;
  opacity: 0;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.animating {
  opacity: 1;
}

.connection-path.visible {
  animation: pathFadeIn 0.8s ease-out forwards;
}

@keyframes pathFadeIn {
  from {
    opacity: 0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
  to {
    opacity: 0.6;
    stroke-dashoffset: 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) 
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) 
            drop-shadow(0 0 24px rgba(255, 255, 255, 0.8));
  }
}

.glow-ball.animating {
  animation: glowPulse 1s ease-in-out infinite;
}

.wrapper-skills-card {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

#skills-connection-svg * {
  will-change: opacity;
}

.glow-ball.animating {
  will-change: transform, opacity;
}

/*--------------------------------------------------------------
# Skills BG and Shapes
--------------------------------------------------------------*/
#skills.gradient-bg-skills {
  position: relative;
  overflow: hidden;
}

.gradient-bg-skills .octagon-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .15;
}

.gradient-bg-skills .octagon-overlay svg {
  width: 100%;
  height: 100%;
}

.gradient-bg-skills .container {
  position: relative;
  z-index: 1;
}

.polygon-1 { opacity: 1; }
.polygon-2 { opacity: 0.75; }
.polygon-3 { opacity: 0.5; }
.polygon-4 { opacity: 0.25; }
.polygon-5 { opacity: 0.0; }

.apothem-line-right { opacity: .20; }
.apothem-line-down-right { opacity: 0.20; }
.apothem-line-down { opacity: 0.20; }
.apothem-line-down-left { opacity: 0.20; }
.apothem-line-left { opacity: 0.20; }
.apothem-line-up-left { opacity: 0.20; }
.apothem-line-up { opacity: 0.25; }
.apothem-line-up-right { opacity: 0.20; }

.octagon-overlay path {
  stroke-width: .4 !important;
}

.polygon-1 { stroke-width: .4 !important; }
.polygon-2 { stroke-width: .4 !important; }
.polygon-3 { stroke-width: .4 !important; }
.polygon-4 { stroke-width: .4 !important; }
.polygon-5 { stroke-width: .4 !important; }

.octagon-overlay line {
  stroke-width: .4 !important;
}

.apothem-line-right { stroke-width: .5 !important; }

.octagon-overlay path {
  fill: none !important;
  stroke: #ffffff !important;
}

.octagon-overlay line {
  fill: none !important;
}

.octagon-overlay path {
  fill: none !important;
}


/*--------------------------------------------------------------
# Media Queries - Large Screens
--------------------------------------------------------------*/

@media (min-width: 1801px) {

  .hero-section .hero-content .staggered-heading, .hero-section .hero-content h2 {
    font-size: 88px;
  }
  .hero-content { 
    width: 82%;
  }
}

/*--------------------------------------------------------------
# Media Queries - Tablet (max 992px)
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .hero-section .hero-content h2 {
    font-size: 69px;
  }
  
  .hero-content .container p {
    padding-right: 0%;
    padding-left: 0%;
  }

  .hero-bg-image {
    background: url(../img/hero-fullscreen-bg.jpg) center center;
    background-size: cover;
    opacity: .1;
  }

  #about .section-header p {
    font-size: 1.5rem;
    padding-bottom: 30px;
  }

  #portfolio.portfolio p {
    width: 72%;
  }

  #card-dodaif2 {
    height: 300px; 
    min-height: 300px; 
  }

  #skills .section-header p {
    max-width: 86%;
  }

  .testimonials .section-header p {
    max-width: inherit;
  }
  
  #footer {
    min-height: 600px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section .hero-content h2 {
    font-size: 51px;
  }
  
  .hero-content .container p {
    padding-right: 0%;
    padding-left: 0%;
  }

  .hero-bg-image {
    background: url(../img/hero-fullscreen-bg.jpg) center center;
    background-size: cover;
    opacity: .1;
  }

  #about .section-header p {
    font-size: 1.5rem;
    padding-bottom: 30px;
  }

  .about .about-img {
    margin: 0;
  }

  #portfolio.portfolio p {
    width: 72%;
  }

  #card-dodaif2 {
    height: 300px; 
    min-height: 300px; 
  }

  #skills .section-header p {
    max-width: 86%;
  }

  .testimonials .section-header p {
    max-width: inherit;
  }
  
  #footer {
    min-height: 600px;
  }

  .hero-content .container p,
  #about .section-header h2,
  #about .section-header p,
  #portfolio.portfolio h2,
  #portfolio.portfolio h4,
  #portfolio.portfolio p,
  #skills .section-header h2,
  #skills .section-header p,
  #testimonials .section-header h2, 
  .testimonials .section-header p {
    text-align: center;
  }

  .wrapper-skills-card.col1,
  .wrapper-skills-card.col2,
  .wrapper-skills-card.col3,
  .col-lg-12 .wrapper-skills-card,
  #skills .section-header p {
    width: 100%;
    max-width: 100%;
  }

  .wrapper-skills-card.col1,
  .wrapper-skills-card.col2,
  .wrapper-skills-card.col3,
  .col-lg-12 .wrapper-skills-card {
    margin: 16px 0;
    padding: 40px;
    background-color: #0e0119;
    border: 4px solid #871bff59;
    filter: drop-shadow(0px 0px 5px rgba(255, 84, 194, 0.35));
  }
  
  .skills .skill {
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Mobile - HERO Items
--------------------------------------------------------------*/
@media (max-width: 992px) {
  canvas#ai-rays {
    top: 2px;
    left: 2px;
  }
  .hero-blobs-container {
    width: 480px;
    height: 390px;
    top: 10vh;
  }
  
  .blobpattern2 {
    width: 440px;
    height: 360px;
  }
  
  .hero-blob2 {
    width: 110px;
    height: 90px;
    transform: translate(-50%, -50%) translateX(-220px);
  }
  
  .hero-blob3 {
    width: 220px;
    height: 180px;
    transform: translate(-50%, -50%) translateX(220px);
  }

  .staggered-heading2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {  
  .hero-section {
    margin-top: 40px;
  }

  .hero-bg-blur-overlay {
    z-index: 0;
    backdrop-filter: blur(12px);
    background: transparent !important;
    opacity: 0.8;
  }
  
  .hero-bg-image {
    background: url(../img/hero-fullscreen-bg.jpg) center center;
    background-size: cover;
    transform: scale(1.1);
    opacity: .2;
  }

  .hero-section .hero-content {
    width: 90%;
  }

  .hero-section .hero-content h2 {
    font-size: 2rem;
    text-align: left;
    margin-left: 20px;
  }

  .hero-content .container p {
    padding: 0;
  }

  .hero-section .hero-content h2,
  .hero-content .container p {
    color: white;
  }

  .hero-section .container {
    margin-left: 0px;
    padding: 0 20px;
    margin-top: -36px;
  }

  .glow-text::before {
    filter: blur(52px);
    width: 300px;
    height: 100px;
    margin-top: -40px;
  }

  .hero-bg-wrap.blurred > .hero-bg-image {
    opacity: 0.1;
  }

  .dotted-divider {
    background-image: radial-gradient(circle, #ffffff7d 1px, transparent 1px);
    display: none;
  }

  .hero-bg-image {
    background-size: auto;
  }

  .custom-button {
    width: 320px;
  }
  
  #portfolio.portfolio p {
    width: 100%;
  }

  .wrapper-skills-card.col1,
  .wrapper-skills-card.col2,
  .wrapper-skills-card.col3,
  .col-lg-12 .wrapper-skills-card,
  #skills .section-header p {
    width: 100%;
    max-width: 100%;
  }

  .wrapper-skills-card.col1,
  .wrapper-skills-card.col2,
  .wrapper-skills-card.col3,
  .col-lg-12 .wrapper-skills-card {
    margin: 16px 0;
    padding: 40px;
    background-color: #0e0119;
    border: 4px solid #871bff59;
    filter: drop-shadow(0px 0px 5px rgba(255, 84, 194, 0.35));
  }
  
  .skills .skill {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .hero-blobs-container {
    width: 360px;
    height: 293px;
    top: 12vh;
  }
  
  .blobpattern2 {
    width: 330px;
    height: 270px;
  }
  
  .hero-blob2 {
    width: 82.5px;
    height: 67.5px;
    transform: translate(-50%, -50%) translateX(-165px);
  }
  
  .hero-blob3 {
    width: 165px;
    height: 135px;
    transform: translate(-50%, -50%) translateX(165px);
  }

  .staggered-heading2 {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }
}

/*--------------------------------------------------------------
# Mobile SVG Fix
--------------------------------------------------------------*/
@media (min-width: 992px) {
  #skills-connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
  }
}

@media (max-width: 991px) {
  #skills-connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    pointer-events: none;
    z-index: 999;
    overflow: visible;
  }
}