body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000000;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Navbar */

/* Reset & font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Navbar container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #111;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Nav links */
.nav-list {
  display: flex;
  gap: 25px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-list li a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-list li a:hover {
  color: #fff;
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1100; /* stays on top of menu */
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffcc00;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger open animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive - mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #111;
    gap: 20px;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
  }

  .nav-list.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

html {
  scroll-behavior: smooth;
}




/* Home Section */


/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

/* Home Section */
.home {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 20px;
}

#particles-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* Layout */
.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Center text vertically */
.intro {
  flex: 1;
  text-align: center;
}

/* Main Text Styling */
.main-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.small-text {
  font-size: 2rem;
  color: #ccc;
}

.highlight {
  background: linear-gradient(90deg, #ffcc00, #00f2ff, #ff66cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glow Button */
.glowing-btn {
  display: inline-block;
  background: linear-gradient(45deg, #ffcc00, #ff6600, #00f2ff);
  color: #000;
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 10px #ffcc00, 0 0 20px #00f2ff;
  transition: transform 0.3s ease;
}

.glowing-btn:hover {
  transform: scale(1.05);
}

/* Social Icons */
.social-icons {
  margin-top: 25px;
}

.social-icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.7rem;
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
  color: #ffcc00;
  transform: translateY(-5px);
}

/* Profile Image */
.profile-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.profile-card img {
  width: 260px;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s;
}

.profile-card img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .home-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-title {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .profile-card img {
    width: 220px;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 1.8rem;
  }

  .small-text {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .glowing-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .profile-card img {
    width: 180px;
  }
}


/* About Section */


.about {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.about .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  /* Glass look */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(255, 204, 0, 0.2);
}

/* Profile Image */
.about-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffcc00;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.6);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover {
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 0 45px rgba(255, 204, 0, 0.8);
}

/* Text */
.about-right {
  flex: 2;
  text-align: left;
  color: #f5f5f5;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #ff6600;
  margin-top: 10px;
  border-radius: 2px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* Skills Chart */
.skills-chart {
  width: 80%;
  max-width: 500px;
}

/* Responsive */
@media (max-width: 900px) {
  .about .container {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .about-left {
    margin-bottom: 30px;
  }

  .about-img {
    width: 220px;
    height: 220px;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .skills-chart {
    width: 100%;
  }
}


/* Skills*/

.skills {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.skills .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;

  /* Glass look */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills .container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(255, 204, 0, 0.2);
}

.skills-main-heading {
  font-size: 40px;
  color: #ffcc00;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Skill cards styling */
.skills-card {
  width: 100%;
  text-align: center;
}

.skills-card h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 5px;
}

/* Icons grid */
.skills-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

/* Individual icon container */
.icon {
  position: relative;
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

/* Tooltip for icons */
.tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffcc00;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}

.icon:hover .tooltip {
  opacity: 1;
}



/* Education Section */

/* Education Section */
.education {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.education .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education .container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(255, 204, 0, 0.2);
}

.education-heading {
  font-size: 40px;
  color: #ffcc00;
  letter-spacing: 2px;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Education cards layout */
.education-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

/* Each education card */
.edu-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 30px;
  width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.1);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.3);
}

.edu-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ffcc00;
}

.edu-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.edu-year {
  color: #ffcc00;
  font-size: 16px;
  margin-bottom: 20px;
}

.edu-details p {
  color: #ddd;
  font-size: 16px;
  margin: 8px 0;
}

.edu-details span {
  color: #ffcc00;
  font-weight: bold;
}

/* Scroll Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-card {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.edu-card:nth-child(1) {
  animation-delay: 0.2s;
}
.edu-card:nth-child(2) {
  animation-delay: 0.4s;
}

/* ---------------- RESPONSIVE STYLES ---------------- */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .education .container {
    padding: 50px 30px;
  }
  .education-heading {
    font-size: 36px;
  }
  .edu-card {
    width: 300px;
  }
  .edu-img {
    width: 180px;
    height: 180px;
  }
}

/* Mobile Devices (≤768px) */
@media (max-width: 768px) {
  .education {
    padding: 80px 15px;
  }
  .education .container {
    padding: 40px 20px;
  }
  .education-heading {
    font-size: 32px;
    margin-bottom: 35px;
  }
  .education-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .edu-card {
    width: 90%;
    padding: 30px 20px;
  }
  .edu-card h3 {
    font-size: 20px;
  }
  .edu-year {
    font-size: 14px;
  }
  .edu-details p {
    font-size: 15px;
  }
  .edu-img {
    width: 160px;
    height: 160px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .education-heading {
    font-size: 28px;
  }
  .edu-card {
    width: 100%;
    padding: 25px 15px;
  }
  .edu-card h3 {
    font-size: 18px;
  }
  .edu-details p {
    font-size: 14px;
  }
  .edu-img {
    width: 140px;
    height: 140px;
  }
}

/* Internship Section */

.experience {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.experience .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px 40px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
}

.section-heading {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Cards Layout */
.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Each Card */
.exp-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 25px 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.1);
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.3);
}

.exp-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.exp-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ffcc00;
}

.exp-card h3 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}

.role {
  color: #ffcc00;
  font-size: 16px;
  margin-top: 4px;
}

.duration {
  color: #aaa;
  font-size: 15px;
  margin: 10px 0;
}

.exp-desc {
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
}

/* DROPDOWN STYLES */
.view-cert-btn {
  background-color: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 500;
  transition: 0.3s ease;
}

.view-cert-btn:hover {
  background-color: #ffcc00;
  color: #000;
}

.certificate-container {
  display: none;
  margin-top: 15px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.certificate-container.show-cert {
  display: block;
}

.certificate-img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  border: 2px solid #ffcc00;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.2);
}

/* Fade Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .section-heading {
    font-size: 32px;
  }

  .exp-card {
    padding: 20px;
  }

  .exp-header {
    flex-direction: column;
    text-align: center;
  }

  .exp-logo {
    width: 80px;
    height: 80px;
  }

  .exp-card h3 {
    font-size: 20px;
  }

  .exp-desc {
    font-size: 15px;
  }

  .view-cert-btn {
    width: 100%;
    padding: 10px;
  }

  .certificate-img {
    max-width: 100%;
  }
}


/* Acheivements Section */

.achievements {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.achievements .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px 40px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
}

.section-heading {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Carousel Layout */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  gap: 20px;
}

.certificate-card {
  flex: 0 0 32%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.1);
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.3);
}

.certificate-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
  border: 2px solid #ffcc00;
}

.certificate-card h3 {
  color: #fff;
  font-size: 20px;
  margin: 10px 0;
}

.certificate-card p {
  color: #ddd;
  font-size: 15px;
  line-height: 1.5;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 204, 0, 0.3);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(255, 204, 0, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-heading {
    font-size: 32px;
  }

  .certificate-card {
    flex: 0 0 80%;
    margin: 0 auto;
  }

  .certificate-img {
    height: 180px;
  }

  .carousel-btn {
    font-size: 22px;
    padding: 8px 12px;
  }
}

/* Certification Section*/

.certifications {
  padding: 120px 20px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  position: relative;
}

.certifications .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 60px 40px;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.1);
}

.section-heading {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* Certificate Card */
.cert-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 204, 0, 0.3);
}

/* Certificate Image */
.cert-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #222;
  border-bottom: 2px solid #ffcc00;
}

/* Content */
.cert-content {
  padding: 25px 30px;
}

.cert-content h3 {
  color: #ffcc00;
  font-size: 22px;
  margin-bottom: 10px;
}

.cert-desc {
  color: #ddd;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Button */
.view-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #ffcc00;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.view-btn:hover {
  background: #ffd633;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .section-heading {
    font-size: 32px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .cert-card {
    max-width: 100%;
  }

  .cert-img {
    height: 180px;
  }

  .cert-content h3 {
    font-size: 18px;
  }

  .cert-desc {
    font-size: 14px;
  }
}



/* Projects Section */
.projects {
  padding: 100px 15px;
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
}

.projects .container {
  max-width: 1300px;
  margin: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.1);
}

.section-heading {
  font-size: 36px;
  color: #ffcc00;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ffcc00;
  color: #000;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px; /* doubled height for larger images */
  display: flex;
  justify-content: center;
  align-items: center;
}


.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 204, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures full image visible */
  background-color: #000; /* prevents empty white gaps */
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  color: #ffcc00;
  margin-bottom: 8px;
  font-size: 20px;
}

.overlay p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.view-link {
  background: #ffcc00;
  color: #000;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-link:hover {
  background: #ffd633;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-heading {
    font-size: 28px;
  }

  .filter-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .project-card {
    height: 300px; /* reduced slightly for mobile */
  }
}

/* Footer Section */
.footer {
  background: linear-gradient(90deg, #111, #000);
  color: #ffcc00;
  text-align: center;
  padding: 20px 10px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-top: 2px solid #ffcc00;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer p {
  margin: 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer p:hover {
  color: #fff;
}
/* Scroll to Top Button */
.scroll-top-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.scroll-top-btn:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.1);
}


/* Dark Mode Styles */
.dark-mode .home {
    background-color: #121212;
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.dark-mode-toggle label {
    color: #fff;
    margin-left: 10px;
}

.dark-mode {
    background-color: #222;
    color: white;
}

.dark-mode .cta-btn {
    background-color: #ffcc00;
    color: #333;
}

/* Social Media Section */
.social-media {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.social-media h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.social-links a:hover {
    font-size: 30px;
    color: yellow;
    transition: color 0.3s ease, transform 0.3s ease;
}

a.social-icon {
    font-size: 30px;
    text-decoration: none;
    color: inherit;
}

/* Hover effects for social icons */
.social-icon:hover {
    transform: scale(1.1);
}
.social-icon:active,
.social-icon:focus {
    color: #0000ff; /* Blue color when clicked or focused */
}

/* Profile Image Styles */
.profile-image {
    position: absolute; /* Change to absolute positioning */
    top: 110px; /* Distance from the top of the parent section */
    right: 80px; /* Distance from the right of the parent section */
}

.gokul-img {
    width: 200px; /* Adjust the size as needed */
    height: auto; /* Keep aspect ratio */
    border-radius: 50%; /* Optional: makes the image round */
    animation: zoomIn 3s ease-in-out infinite alternate; /* Animation effect */
}

/* Keyframes for Animation */
@keyframes zoomIn {
    0% {
        transform: scale(1); /* Normal size */
    }
    100% {
        transform: scale(1.4); /* Slightly larger */
    }
}
/* Home Section */
.home {
    position: relative; /* Required for absolute positioning of the overlay */
    color: white; /* Change text color for better contrast */
    padding: 100px 0; /* Add some padding for visual spacing */
    overflow: hidden; /* Ensures children don't overflow */
}

/* Background Image */
.home::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute; /* Position the overlay */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://raw.githubusercontent.com/GokulRavi26/Portfolio/main/bg.jpeg');
 /* Background image */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    opacity: 0.1; /* Adjust opacity (0 is fully transparent, 1 is fully opaque) */
    z-index: 1; /* Ensure it's behind the text */
}

/* Content inside the home section */
.intro {
    position: relative; /* Ensure content is above the overlay */
    z-index: 2; /* Ensure content is above the overlay */
}

/* Navbar */
header {
    background-color: #333; /* Background color for navbar */
    padding: 10px 20px; /* Padding for navbar */
}

.nav-list {
    list-style: none; /* Remove bullet points */
    display: flex; /* Flexbox for horizontal alignment */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    flex-grow: 1; /* Allow the list to grow */
}

.nav-link {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    margin-right: 20px; /* Space between links */
}

.dark-mode-toggle {
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Center align items vertically */
    margin-left: auto; /* Push the toggle to the right */
    color: white; /* Text color for toggle */
}

.dark-mode-toggle input {
    margin-right: 5px; /* Space between checkbox and label */
}

.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.skills-category {
  margin: 20px 0;
  text-align: center;
}

.skills-category h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.skills-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.skills-icons img {
  width: 60px;  /* Adjust the size of the icons */
  height: 60PX;
}
.section.skills,
.section.education {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skills-category {
    margin-bottom: 30px;
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.skills-icons img {
    width: 50px;
    height: 50px;
}

.section.education ul {
    list-style: none;
    padding: 0;
}

.section.education li {
    margin-bottom: 20px;
}


