* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #121212; /* Dark background */
  color: #f0f0f0;       /* Light text */
  scroll-behavior: smooth;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 3rem 0;
}

.aboutme {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 3rem 0;
  text-align: justify;
}

.aboutmeheader {
  height: 150px;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 3rem 0;
  text-align: center;
}

header.hero {
  background: linear-gradient(to right, #8B0000, #B22222); /* Dark reds */
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-text {
  text-align: left;
  max-width: 600px;
}


.glow {
  font-size: 3rem;
  text-shadow: 0 0 15px #ff0000, 0 0 30px #ff5555;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    text-shadow: 0 0 15px #ff0000, 0 0 30px #ff5555;
  }
  50% {
    text-shadow: 0 0 25px #ff3333, 0 0 50px #ff6666;
  }
}

section {
  text-align: center;
  padding: 2rem 0; /* Reduced spacing between sections */
}

h2 {
  font-size: 2.5rem;
  color: #ff5555;
  margin-bottom: 1.5rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: #1e1e1e;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #eaeaea;
}

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

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.project-link:hover {
  transform: scale(1.02);
}

a {
  color: #ff4d4d;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #fff;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #1a1a1a;
  font-size: 0.9rem;
  color: #aaa;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .glow {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: #333;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

/* Custom colors */
.skill-tag.html { background-color: #e34c26; }
.skill-tag.css { background-color: #264de4; }
.skill-tag.python { background-color: #3776ab; }
.skill-tag.java { background-color: #b07219; }
.skill-tag.c { background-color: #555555; }
.skill-tag.git { background-color: #f1502f; }
.skill-tag.antlr { background-color: #9b30ff; }
.skill-tag.aiml { background-color: #00bcd4; }
.skill-tag.sql { background-color: #e38c00; }
.skill-tag.assembly { background-color: #5c5c5c; }
.skill-tag.lua { background-color: #000080; }
.skill-tag.powershell { background-color: #012456; }
.skill-tag.bash { background-color: #4eaa25; }
.skill-tag.keras { background-color: #d00000; }
.skill-tag.matplotlib { background-color: #11557c; }
.skill-tag.numpy { background-color: #013243; }
.skill-tag.pandas { background-color: #150458; }
.skill-tag.plotly { background-color: #3f4abf; }
.skill-tag.pytorch { background-color: #ee4c2c; }
.skill-tag.tensorflow { background-color: #ff6f00; }
.skill-tag.flask { background-color: #000000; }
.skill-tag.gdscript { background-color: #478cbf; }
.skill-tag.cobol { background-color: #005c5c; }
.skill-tag.kali { background-color: #353535; }
.skill-tag.weka { background-color: #4a148c; }
.skill-tag.unix { background-color: #2c3e50; }
.skill-tag.vba { background-color: #8673a1; }
.skill-tag.word { background-color: #2b579a; }
.skill-tag.acrobat { background-color: #ff0000; }
.skill-tag.excel { background-color: #217346; }


/* Responsive skill grid */
@media (max-width: 600px) {
  .skill-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Title Text */
#modal h2 {
  color: #ff4d4d;
}

/* Body Text */
#modal p {
  color: #dddddd;
}

#modal span {
  color: #ff4d4d;
}

#modal span:hover {
  color: #ff1a1a;
}

.shimmer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}


.shimmer {
		text-align: left;
		color: rgba(255, 255, 255, 0.1);
		background: -webkit-gradient(linear, left top, right top, from(#f6cdcd), to(#ff4d4d), color-stop(0.5, #ff1a1a));
		background: -moz-gradient(linear, left top, right top, from(#f6cdcd), to(#ff4d4d), color-stop(0.5, #ff1a1a));
		background: gradient(linear, left top, right top, from(#f6cdcd), to(#ff4d4d), color-stop(0.5, #ff1a1a));
		-webkit-background-size: 125px 100%;
		-moz-background-size: 125px 100%;
		background-size: 125px 100%;
		-webkit-background-clip: text;
		-moz-background-clip: text;
		background-clip: text;
		-webkit-animation-name: shimmer;
		-moz-animation-name: shimmer;
		animation-name: shimmer;
		-webkit-animation-duration: 2s;
		-moz-animation-duration: 2s;
		animation-duration: 2s;
		-webkit-animation-iteration-count: infinite;
		-moz-animation-iteration-count: infinite;
		animation-iteration-count: infinite;
		background-repeat: no-repeat;
		background-position: 0 0;
		background-color: #fff;
}

@-moz-keyframes shimmer {
		0% {
				background-position: top left;
		}
		100% {
				background-position: top right;
		}
}

@-webkit-keyframes shimmer {
		0% {
				background-position: top left;
		}
		100% {
				background-position: top right;
		}
}

@-o-keyframes shimmer {
		0% {
				background-position: top left;
		}
		100% {
				background-position: top right;
		}
}

@keyframes shimmer {
		0% {
				background-position: -100% 0;
		}
		100% {
				background-position: 100% 0;
		}
}