body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
    margin: 0;
    padding: 0;
    color: white;
    scroll-behavior: smooth;
  }
  
  .navbar .nav-link {
    color: #ccc !important;
    margin-left: 1rem;
    transition: 0.3s ease;
  }
  
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: #0dcaf0 !important;
  }
  
  .profile-img {
    border: 3px solid #0dcaf0;
    box-shadow: 0 0 10px rgba(13, 202, 240, 0.6);
  }
  
  .home__social a {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: 0.3s;
  }
  
  .home__social a:hover {
    color: #0dcaf0;
  }
  
  .home-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    text-align: center;
  }


/* Hover effect for profile image */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease;
  }
  
  /* Know More button styling */
  .know-more-btn {
    background-color: #007bff;
    border: none;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: #fff;
  }
  
  .know-more-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  



  section h2 {
    letter-spacing: 1px;
  }
  
  .badge {
    font-size: 0.95rem;
    padding: 0.5em 0.9em;
    border-radius: 20px;
    transition: 0.3s;
  }
  
  .badge:hover {
    background-color: #0d3af0 !important;
    color: #fff !important;
  }

 /* About Me Image Hover Effect (No rounded shape) */

 /*#about {
  background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
  padding: 3rem 2rem;
  color: #e0e0e0; /* light text for contrast 
}*/


 .profile-hover-container {
    display: inline-block;
    transition: box-shadow 0.3s ease;
  }
  
  .profile-hover {
    width: 100%;
    height: auto;
    border-radius: 0; /* No rounded corners, keep natural image shape */
    transition: box-shadow 0.3s ease;
  }
  
  .profile-hover:hover {
    box-shadow: 0 0 20px rgba(0, 51, 255, 0.8); /* Attractive blue glow */
  }
  
  /* skills */

  /* Main Skills Section */
#skills {
    background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
    padding: 3rem 2rem;
    color: #e0e0e0;
  }
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: #2c3e50;
    transition: all 0.3s ease;
  }
  
  .section-title .highlight {
    background: linear-gradient(90deg, #3498db, #5dade2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 10px auto 0;
    background: #3498db;
    border-radius: 2px;
    transition: width 0.3s ease;
  }
  
  .section-title:hover::after {
    width: 90px;
  }
  
  .section-title:hover {
    transform: scale(1.05);
  }
  
  
  /* Title */
  #skills h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
  }
  
  /* Skill Card Grid */
  .skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .skill-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
  }
  
  .skill-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(120deg, #3498db, #5dade2, #2980b9);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .skill-card:hover::before {
    opacity: 1;
    filter: blur(6px);
  }
  
  .skill-card:hover {
    transform: translateY(-6px) scale(1.04);
    border: 2px solid #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
  }
  
  /* Skill Icon */
  .skill-card img {
    max-width: 60px;
    margin-bottom: 0.8rem;
  }
  
  /* Skill Name */
  .skill-card h3 {
    color: #1e3a8a; /* Professional blue */
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  /* Progress Bar Container */
  .progress-bar {
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }
  
  /* Animated Progress Bar with Shine */
  .progress-fill {
    height: 100%;
    background: linear-gradient(
      to right,
      #4a1c1c,
      #a52a2a,
      #4a1c1c
    );
    background-size: 200% auto;
    animation: shine 2s linear infinite;
    border-radius: 10px;
    transition: width 1s ease-in-out;
  }
  
  /* Keyframes for shine animation */
  @keyframes shine {
    0% {
      background-position: 200% center;
    }
    100% {
      background-position: -200% center;
    }
  }

  /*projects */

  #projects {
    background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
  }

  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
    display: inline-block;
  }
  
  .section-title .highlight {
    background: linear-gradient(90deg, #3498db, #5dade2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  
  }
  
  .section-title:hover {
    transform: scale(1.05);
  }
  
  
 /* Project Card Base */
.project-card {
    perspective: 1500px;
    transition: transform 0.4s ease-in-out;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    min-height: 420px;
  height: auto;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
  }
  
  .project-card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  /* Card Sides */
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    backface-visibility: hidden;
    background: white;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.05); /* initial shadow */
    border: 2px solid transparent;
  }
  .card-back {
    transform: rotateY(180deg);
    background-color: #f4f8ff;
    color: #1e3a8a;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-y: auto;
    text-align: left;
  }
  /* 🚀 Glow effect on hover */
.project-card:hover .card-front,
.project-card:hover .card-back {
  border-color: #00bfff; /* Sky Blue */
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.7);
}
  /* Project Image - Bigger Now */
  .project-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  /* Title Styling */
  .project-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d6efd;
  }
  
  /* CTA Link Button */
.project-link {
    background-color: #0d6efd;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    display: inline-block;
  }
  
  .project-link:hover {
    background-color: #007acc;
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.6);
  }

  #certifications {
    background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
    padding: 3rem 2rem;
    color: #e0e0e0;
  }

  /* Certificate Cards Hover Effect */
.cert-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 123, 255, 0.2);
  border-color: #007bff;
}

/* View Button Consistency */
.view-btn {
  background-color: #007bff;
  color: white;
  transition: background-color 0.3s ease;
}

.view-btn:hover {
  background-color: #0056b3;
}

/* Section Title Spacing */
#certifications h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #007bff;
}

/* Certificate Cards Blue Hover */
.cert-card {
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease;
}

.cert-card:hover {
  border-color: #007bff;
}
.cert-card:hover .card-title {
  color: #007bff;
}
/* Certificate Cards */
.cert-card {
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease;
}

.cert-card:hover {
  border-color: #007bff;
}

/* Optional: Blue title on hover */
.cert-card:hover .card-title {
  color: #007bff;
}

/* Category Cards (Hackathon, Internship, Sports) */
.category-card {
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease;
}

.category-card:hover {
  border-color: #007bff;
}
/* Contact Section */
.contact {
  background-color: #0d0d0d;
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
}

/* contact */

#contact {
  background: linear-gradient(120deg, #0a0f3c, #0c2a5a);
  padding: 3rem 2rem;
  color: #2e7df2;
}

/* Contact Section */
.contact {
  background-color: #199def;
  color: #277df5;
  padding: 80px 20px 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: hsl(214, 94%, 49%);
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background-color: #f7f4f4;
  border-radius: 15px;
  padding: 30px 20px;
  width: 280px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  cursor: pointer;
}

.contact-card:hover {
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.7);
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
  display: block;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: hsl(214, 82%, 54%);
}

.contact-card p, 
.contact-card a {
  color: hsl(210, 83%, 60%);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-card a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Social Links */
.contact-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.contact-social a {
  font-size: 1.8rem;
  color: #ccc;
  transition: 0.3s ease;
}

.contact-social a:hover {
  color: #007bff;
  transform: scale(1.2);
}


