/* ========== General Reset ========== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  transition: background-color 0.4s, color 0.4s;
}

/* ========== Dark Mode Background from darkTheme ========== */
body.dark-mode {
  background: linear-gradient(#1C1C27, #1C1E27, #0f0e10f7);
  color: white;
}

/* ========== General Reset ========== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(#1C1C27, #1C1E27, #0f0e10f7);
  color: white;
  transition: background-color 0.4s, color 0.4s;
}

/* ========== Banner ========== */
.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  
  /* 🎨 Candy Ghost Effect */
  filter: brightness(0.85) contrast(1.1) saturate(1.4);
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: all 0.5s ease;
}

.banner:hover .banner-img {
  filter: brightness(1) contrast(1.2) saturate(1.6);
  opacity: 1;
}
.banner-text {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  text-align: center;
  padding: 20px;

  /* 🎨 Candy Ghost Text Effect */
  background: linear-gradient(90deg, #ff69b4, #61dafb, #a29bfe);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: candyGhostText 4s ease infinite;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

/* 🎞️ Keyframes for animated shimmer */
@keyframes candyGhostText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ========== Profile Section ========== */
.profile-header {
  margin-top: -90px;
  margin-bottom: -50px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.profile-picture-container {
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.round-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text {
  text-align: center;
  padding: 30px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-text h2 {
  font-size: 36px;
  margin-bottom: 5px;
  background: linear-gradient(to right, #007acc, #61dafb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 5px rgba(0, 123, 204, 0.5);
}

.profile-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 4px rgba(0, 123, 255, 0.2);
}

.profile-text a {
  color: #61dafb;
  text-decoration: none;
  border: 1px solid #61dafb;
  padding: 5px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.profile-text a:hover {
  background-color: rgba(97, 218, 251, 0.1);
  box-shadow: 0 0 10px #61dafb;
}

/* Removed: Toggle button and light mode styles */

body.dark-mode .profile-text a {
  color: #66b2ff;
}

/* ========== Banner ========== */
.banner {
  position: relative;
  width: 80%;
  max-width: 1000px;
  margin: -40px auto 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.banner:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-text {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  text-align: center;
  padding: 20px;
  
  /* Candy Ghost Style */
  background: linear-gradient(to right, #007acc, #61dafb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 8px rgba(97, 218, 251, 0.3);
}


/* ========== Profile Section ========== */
.profile-header {
  margin-top: -90px;
  margin-bottom: -50px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.profile-picture-container {
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.round-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-text {
  text-align: center;
  padding: 30px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-text h2 {
  font-size: 36px;
  margin-bottom: 5px;
  background: linear-gradient(to right, #007acc, #61dafb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 5px rgba(0, 123, 204, 0.5);
}

.profile-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.85); /* Soft candy white */
  text-shadow: 0 0 4px rgba(0, 123, 255, 0.2);
}

.profile-text a {
  color: #61dafb;
  text-decoration: none;
  border: 1px solid #61dafb;
  padding: 5px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.profile-text a:hover {
  background-color: rgba(97, 218, 251, 0.1);
  box-shadow: 0 0 10px #61dafb;
}
/*prject card for rotation*/
/* Flip Card Container */
.project-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
}

/* Inner wrapper for flipping */
.project-card-inner {
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Flipped state */
.project-card.flipped .project-card-inner {
  transform: rotateY(30deg);
}

/* Front and Back faces */
.project-card-front,
.project-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.project-card-front {
  z-index: 2;
}

.project-card-back {
  transform: rotateY(180deg);
  background: #1C1C27;
  padding: 20px;
  box-sizing: border-box;
}


/* ========== Toggle Button ========== */
.switch {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 34px;
  display: inline-block;
  z-index: 1000;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 5px;
  bottom: 5px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #0d47a1;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .banner {
    width: 90%;
    min-height: 200px;
  }

  .banner-text {
    font-size: 6vw;
  }

  .round-image {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .banner {
    width: 95%;
    min-height: 170px;
  }

  .banner-text {
    font-size: 5vw;
  }

  .round-image {
    width: 120px;
    height: 120px;
  }
}

  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .banner {
      width: 90%;
      min-height: 200px;
    }

    .banner-text {
      font-size: 6vw;
    }

    .round-image {
      width: 140px;
      height: 140px;
    }
  }

  @media (max-width: 480px) {
    .banner {
      width: 95%;
      min-height: 170px;
    }

    .banner-text {
      font-size: 5vw;
    }

    .round-image {
      width: 120px;
      height: 120px;
    }
  }


/*Skills*/

.Skills {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  padding: 20px;
  color: white; /* Set text color to white */
}

.skills-icons {
  text-align: center;
  color: white; /* Also ensure icons/text inside are white */
}

 .skills-icons i {
  padding: 20px;
  margin: 20px;
  border: 2px solid #ff69b4; /* Candy pink outline */
  border-radius: 20px;
  color: #ff69b4; /* Candy pink text/icon color */
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  cursor: pointer;
}

/* Hover effect with soft glow */
.skills-icons i:hover {
  background-color: #ff69b420; /* Light transparent candy pink */
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.3); /* Candy glow */
  transform: translateY(-4px);
}
.skills-icons .fa-html5      { border-color: #e34c26; color: #e34c26; }
.skills-icons .fa-js         { border-color: #f0db4f; color: #f0db4f; }
.skills-icons .fa-react      { border-color: #61dbfb; color: #61dbfb; }
.skills-icons .fa-database   { border-color: #999;    color: #999; }
.skills-icons .fa-python     { border-color: #306998; color: #306998; }
.skills-icons .fa-bootstrap  { border-color: #7952b3; color: #7952b3; }
.skills-icons .fa-java       { border-color: #007396; color: #007396; }
.skills-icons .fa-c          { border-color: #555;    color: #555; }
.skills-icons .fa-css3       { border-color: #264de4; color: #264de4; }
.skills-icons .fa-php        { border-color: #8892be; color: #8892be; }


  /* Light mode: Gradient text for the Skills heading */
body:not(.dark-mode) .Skills {
  background: linear-gradient(to right, #5f2c82, #49a09d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}



/*Experience*/
/* ================= Experience Section ================= */
/* Light mode: Gradient background for experience cards */
body:not(.dark-mode) .experience-card .card {
  background-color: #1C1C27;
  background: linear-gradient( #1C1C27, #2B2D42, );
  color: white;
}

/* Ensure text inside is white */
body:not(.dark-mode) .experience-card .card h2,
body:not(.dark-mode) .experience-card .card p {
  color: white;
}

/* Experience Section Heading */
.experience {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  padding: 40px;
  margin: 20px;
  color: white;
}

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

/* Neon Candy Glow Card */
.experience-card .card {
  background: transparent;
  border: 2px solid #ff69b4;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  min-height: 400px;
  color: #ff69b4;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

/* Hover glow effect */
/* Hover glow effect */
.experience-card .card:hover {
  background-color: #ff69b420; /* Light pink transparent fill */
  box-shadow: 0 0 40px rgba(255, 105, 180, 0.5), 0 0 80px rgba(255, 105, 180, 0.4);
  transform: translateY(-6px);
}


/* Dark mode style */
body.dark-mode .experience-card .card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #854CE6;
  color: white;
}

/* When clicked — flex effect */
.experience-card .card.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 40px;
}

/* Card Image */
.card-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Responsive Grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px 15px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 768px) {
  .experience-card .card {
    padding: 20px;
    min-height: 350px;
  }
  .card-img {
    width: 60px;
    height: 60px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .experience-card .card {
    padding: 15px;
    min-height: auto;
  }
  .card-img {
    width: 50px;
    height: 50px;
  }
}

/* Gradient text for Experience title */
body:not(.dark-mode) .experience {
  background: linear-gradient(to right, #5f2c82, #49a09d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


/* Project Section */
.project-section {
  text-align: center;
  font-size: 20px;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:white;
}

/* Gradient text for Experience title */
body:not(.dark-mode) .experience {
  background: linear-gradient(to right, #5f2c82, #49a09d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Project Card Container: Centered layout */
.project-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Project Card Style */
.project-card {
  width: 100%;
  max-width: 380px;
  min-height: 600px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;

  /* Consistent dark gradient background for all modes */
  background: linear-gradient(to bottom right, #1C1C27, #1C1E27, #0f0e10f7);

  /* Subtle glow effect */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

/* Hover Glow Effect */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.6),
              0 0 40px rgba(25, 0, 255, 0.158);
}

/* Image inside Card */
.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #ccc;
  transition: transform 0.4s ease;
  cursor: pointer;
}

/* Zoom effect */
.zoomed,
.project-card-img.clicked {
  transform: scale(1.5);
  z-index: 10;
  position: relative;
}

/* Content inside Card */
.project-card-content {
  padding: 20px;
  text-align: left;
}

.project-card-content h4,
.project-card-content p {
  color: #fff; /* White text for contrast */
}

/* Optional: Remove forced global color that overrides card text */
body:not(.dark-mode),
body.dark-mode {
  color: initial;
}

/* ICON CONTAINER */
.social-icons {
  display: flex;
  flex-wrap: wrap; /* Wrap icons on small screens */
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* ICON BUTTON BASE STYLE */
.ghost-icon {
  padding: 20px;
  border: 2px solid currentColor;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
}

.contact-section h2 {
  color: white;
  font-size: 36px;
  text-align: center;
}




/* Hover Glow Effect */
.ghost-icon:hover {
  background-color: color-mix(in srgb, currentColor 20%, transparent);
  box-shadow: 0 6px 16px color-mix(in srgb, currentColor 40%, transparent);
  transform: translateY(-4px);
}

/* 🎨 Candy Colors by Platform */
.ghost-icon.linkedin { color: #0077b5; }
.ghost-icon.github   { color: #6e5494; }
.ghost-icon.resume   { color: #ff8c00; }
.ghost-icon.contact  { color: #ff69b4; }
.ghost-icon.email    { color: #ff5f5f; }
.ghost-icon.js       { color: #f0db4f; }
.ghost-icon.react    { color: #61dafb; }
.ghost-icon.html     { color: #e34c26; }
.ghost-icon.css      { color: #264de4; }

/* 📱 Responsive Adjustments */
@media (max-width: 600px) {
  .ghost-icon {
    padding: 12px;
    font-size: 20px;
    border-radius: 16px;
  }

  .social-icons {
    gap: 15px;
    padding: 15px;
  }
}



.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #fff; /* Optional: set to your preferred color */
  background-color: #1C1C27; /* Optional: dark background for footer */
}




/* Form Container */
#dropdown {
  background: linear-gradient(to bottom right, #1C1C27, #1C1E27, #0f0e10f7);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.2);
  max-width: 500px;
  margin: 0 auto;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Form Elements */
#dropdown form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#dropdown label {
  font-weight: bold;
  color: #61dafb;
}

#dropdown input[type="text"],
#dropdown input[type="email"],
#dropdown input[type="tel"],
#dropdown textarea {
  background: transparent;
  border: 2px solid #0077b5;
  border-radius: 8px;
  padding: 10px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

#dropdown input[type="text"]:focus,
#dropdown input[type="email"]:focus,
#dropdown input[type="tel"]:focus,
#dropdown textarea:focus {
  outline: none;
  box-shadow: 0 0 10px #0077b5;
  border-color: #61dafb;
}

/* Submit Button */
#dropdown input[type="submit"] {
  background-color: transparent;
  color: #0077b5;
  border: 2px solid #0077b5;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#dropdown input[type="submit"]:hover {
  background-color: #0077b5;
  color: white;
  box-shadow: 0 0 15px #0077b5;
}

#dropdown {
  display: none; /* ⛔ Hide initially */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: linear-gradient(to bottom right, #1C1C27, #1C1E27, #0f0e10f7);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.2);
  max-width: 500px;
  width: 90%;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-y: auto;
  max-height: 90vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#dropdown.active {
  display: block;
  opacity: 1;
  visibility: visible;
}


#dropdown {
  opacity: 1;
  visibility: visible;
  transition: opacity 3s ease, visibility 3s ease;
}

#dropdown.fade-out {
  opacity: 0;
  visibility: hidden;
}










/*Education*/
.Education-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

.Education-card {
  flex: 0 0 300px;
  max-width: 380px;
  height: 500px;
  background: linear-gradient(to bottom right, #1C1C27, #1C1E27, #0f0e10f7);
  color: white;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.2); /* Subtle base glow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🎇 Glow on hover */
.Education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.5), 
              0 0 45px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
  .Education-card-container {
    flex-direction: column;
    align-items: center;
  }

  .Education-card {
    width: 90%;
  }
}

/* Section Title Styling */
.Education {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  padding: 20px;
  color: white;
  text-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Optional glow on text */
}

.Education-card-img {
  width: 120px;              /* Resize image */
  height: 120px;             /* Keep height equal to width */
  border-radius: 50%;        /* Make it round */
  object-fit: cover;         /* Ensure it fills the circle */
  margin-top: 20px;          /* Add spacing from the top */
  border: 3px solid #0077b5; /* Optional: glowing border color */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4); /* Optional: glow effect */
}


.Education-card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

















/*Education*/
.Education-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

.Education-card {
  flex: 0 0 300px;
  max-width: 380px;
  height: 500px;
  background: linear-gradient(to bottom right, #1C1C27, #1C1E27, #0f0e10f7);
  color: white;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.2); /* Subtle base glow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🎇 Glow on hover */
.Education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.5), 
              0 0 45px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
  .Education-card-container {
    flex-direction: column;
    align-items: center;
  }

  .Education-card {
    width: 90%;
  }
}

/* Section Title Styling */
.Education {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  padding: 20px;
  color: white;
  text-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Optional glow on text */
}

.Education-card-img {
  width: 120px;              /* Resize image */
  height: 120px;             /* Keep height equal to width */
  border-radius: 50%;        /* Make it round */
  object-fit: cover;         /* Ensure it fills the circle */
  margin-top: 20px;          /* Add spacing from the top */
  border: 3px solid #0077b5; /* Optional: glowing border color */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4); /* Optional: glow effect */
}


.Education-card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.experience-card.dragging {
  opacity: 0.5;
}




















