body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}
/* Transparent Navbar */
.navbar {
  background: transparent !important;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: background 0.3s ease-in-out;
}

.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #00bcd4 !important;
}

/* Navbar Styling */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background:transparent; /* Semi-transparent black */
  transition: background 0.3s ease;
}

/* Change background on scroll */
.scrolled {
  background: rgba(0, 0, 0, 0.85); /* Slightly darker after scrolling */
}

/* Hero Section */
.hero-section {
  height: 100vh;
  width: 100%;
  background: url('images/bg.jpg') center center / cover no-repeat;
  position: relative;
  color: #fff;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-section {
    background: url('images/mbl-bg.jpeg') center center / cover no-repeat;
  }
}

/* Dark overlay for readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .content {
  position: relative;
  z-index: 2;
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #cccccc;
  letter-spacing: 1px;
}

/* About Section */
.about-section {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a); /* smooth gradient */
  padding: 100px 0;
  color: #f0f0f0;
}

/* Optional overlay for extra blending */
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #00bcd4;
  font-family: 'Poppins', sans-serif;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-family: 'Open Sans', sans-serif;
  color: #ddd;
}

/* Image Styling */
.about-image img {
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0px 6px 20px rgba(0, 188, 212, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: grayscale(10%) brightness(90%); /* slight tone to blend */
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 25px rgba(0, 188, 212, 0.4);
  filter: grayscale(0%) brightness(100%);
}


/* Tech Stack Section */
.tech-stack {
  background: #0d0d0d;
  padding: 70px 0;
  color: #fff;
}

.section-title {
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 30px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* Grid Layout */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 25px;
  justify-items: center;
  align-items: center;
}


/* Tech Stack Section */
.tech-stack {
  padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('images/bg-3.jpg') center center / cover no-repeat;
  background-blend-mode:darken;
}

.tech-stack .section-title {
  font-size: 2.5rem;
  color: #00bcd4;
  font-weight: 700;
  margin-bottom: 40px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 items per row */
    column-gap: 40px;
    row-gap: 20px;
  justify-items: center;
}

.stack-item {
  position: relative;
  font-size: 3.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stack-item:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.5);
}

.stack-item::after {
  content: attr(data-tech);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #ddd;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stack-item:hover::after {
  opacity: 1;
}


/* Projects Section */
.projects-section {
  background-color: #111; /* solid dark background */
}

.projects-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.project-item img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.project-item h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.project-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.project-item ul {
  list-style: disc;
  padding-left: 20px;
}

.project-item ul li {
  color: #bbbbbb;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.project-item .col-md-6 {
  padding: 0 30px;
}

.project-img3{
    height: 75%;
    width: 75%;
}



/* Footer */
.footer {
  background: #121212;
  color: #fff;
  padding: 40px 20px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.social-icons a {
  color: #ccc;
  font-size: 1.8rem;
  margin: 0 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #1abc9c;
  transform: scale(1.2);
}

.footer-text {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 20px;
}
