/* Basic Styles */
body, #showcase, #about, #projects, #contact, footer {
  color: #ffffff;
  position: relative;
  z-index: 1;
  background-color: transparent;
  padding-top: 80px;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Gill Sans', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212529;
  background-color: #f8f9fa;
}

/* Navbar */
#navmenu {
  position: fixed;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: top 0.5s ease;
}

#navmenu.collapsed {
  top: -100px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: "Montserrat";
  color: #f8f9fa !important;
  padding: 0.5rem 1rem;
  margin-right: 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffc107 !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

img[alt] {
  color: white !important;
  font-size: 16px;
  visibility: visible;
}

/* Showcase Section */
#showcase {
  padding-bottom: 5rem;
  text-align: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.d-sm-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.showcase-text {
  flex: 1;
  text-align: center;
  margin-bottom: 2rem;
}

.showcase-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.showcase-text .text-warning {
  color: #ffc107;
}

.showcase-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* College Link Styling */
#college_name {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

#college_name:hover {
  animation: glowBlink 0.65s infinite alternate;
  text-decoration: underline;
}

@keyframes glowBlink {
  0% {
    color: #00d4ff;
    text-shadow: 0 0 2px #00d4ff;
  }
  50% {
    color: #66faff;
    text-shadow: 0 0 2px #66faff;
  }
  100% {
    color: #8efbff;
    text-shadow: 0 0 2px #8efbff;
  }
}

.showcase-image-wrapper {
  width: 48%;
  margin-left: 25px;
  overflow: hidden; /* ensures no overflow on scale */
}

.showcase-image-wrapper img.showcase-image {
  transition: transform 0.4s ease;
}

.showcase-image-wrapper:hover img.showcase-image {
  transform: scale(1.1); /* slight zoom on hover */
}
.grad-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(to right, rgba(14, 22, 56, 0.7), rgba(20, 60, 90, 0.4));
  border: 1.3px solid #41dfff; /* Dodger Blue */
  border-radius: 6px;
  color: #daf6ff;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.grad-box:hover {
  transform: scale(1.045);
  background: linear-gradient(to right, rgba(65, 65, 65, 0.75), rgba(0, 0, 0, 0.5));
  border-color: #00ffff;
  color: #00ffff;
  box-shadow: 0 2px 20px rgba(0, 255, 255, 0.6);
  }

.grad-box strong {
  color: #ffffff;
}
.grad-box:hover strong {
  text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 576px) {
  .d-sm-flex {
    flex-direction: column;
    text-align: center;
  }

  .showcase-text h1 {
    font-size: 2.5rem;
  }

  .showcase-text p {
    font-size: 1rem;
  }

  .showcase-image-wrapper {
    width: 80%;
    margin: 2rem auto 0;
  }
  
}

/* Second */

.job_dec{
  font-weight: 600;
}

.custom-video {
  width: 90%; /* Adjust width */
  height: auto; /* Maintain aspect ratio */
  max-width: 600px; /* Maximum width */
  margin-top: -150px; /* Slightly move the video upwards */
  border-radius: 15px; /* Rounded corners for a smooth look */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for transform and shadow */
}

.custom-video:hover {
  transform: scale(1.06); /* Slightly scale up on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

/* Move video up */
#intro_vid {
  margin-top: 50px; /* Adjust this value to move the video up */

}

.video-description {
  font-size: 1.3rem; /* Smaller text */
  color: #00ffff; /* Soft grey */
  text-align: center; /* Centered text */
  font-style: italic; /* Italics for emphasis */
  margin-top: 15px; 
  margin-left: -45px; 
}
.showcase-learnings {
  color: #e4f7ff; /* Light color for text to contrast with the dark background */
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 18px;
  margin-bottom: 15px;
  letter-spacing: 1px; /* Adds slight spacing between letters */
}

.technologies-list, .frameworks-list {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Override Bootstrap badge styles */
.badge-tech {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  border-radius: 25px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.badge-tech:hover {
  transform: scale(1.05);
  box-shadow: 0 4.5px 14px rgba(97, 255, 152, 0.8);
}
/* If you want to target specifically technology and framework lists */
.technologies-list .badge-tech,
.frameworks-list .badge-tech {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  background-color: rgba(52, 128, 236, 0.2) !important;
  color: #ffffff !important;
  border-radius: 25px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}



@media screen and (max-width: 768px) {
  .technologies-list, .frameworks-list {
    justify-content: center;
  }

  .badge-tech {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}

/* Projects */

#projects h2 {
  font-size: 2.5  rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin-top: -22px;
  margin-bottom: 35px;
  border: 2px solid #00ffff;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 1.5);
  background-color: rgba(0, 255, 255, 0.1); /* optional soft glow background */
}



@keyframes borderGlow {
  0% {
    border: 1.5px solid #00ffff;
    box-shadow: 0 0 16px rgba(0, 255, 255, 1);
    transform: scale(1.01);
  }
  25% {
    border: 1.5px solid #7a00cc;
    box-shadow: 0 0 16px rgba(122, 0, 204, 1);
    transform: scale(1.02);
  }
  50% {
    border: 1.5px solid #00e88a;
    box-shadow: 0 0 16px rgba(0, 232, 138, 1);
    transform: scale(1.01);
  }
  75% {
    border: 1.5px solid #ff00ff;
    box-shadow: 0 0 16px rgba(255, 0, 255, 1);
    transform: scale(1.02);
  }
  100% {
    border: 1.5px solid #419aff;
    box-shadow: 0 0 16px rgba(65, 154, 255, 1);
    transform: scale(1.01);
  }
}

.hover:hover {
  animation: borderGlow 5s infinite alternate ease-in-out;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* Styling the project title */
.hover h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 0;
  color: #fff; /* White text for the project title */
  text-align: center;
  letter-spacing: 1.5px;
}

/* Project Blocks */
.row.text-center {
  gap: 8px; /* optional spacing between cards */
}

#project_block1 {
  border-radius: 10px; /* Adjust the value for roundness */
  overflow: hidden;    /* Ensures that content inside stays inside the rounded corners */
  box-shadow: -2px 2px 15px 4.8px rgba(0, 255, 255, 0.35); /* Shadow moves left */
}
#project_block2 {
  border-radius: 10px; /* Adjust the value for roundness */
  overflow: hidden;    /* Ensures that content inside stays inside the rounded corners */
  box-shadow: 2px 2px 15px 4.8px rgba(0, 255, 255, 0.35);
}

#gitbtn {

  display: inline-block;
  color: #00ffff;
  border: 2px solid #00ffff;
  padding: 10px 20px;
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: transparent;
}

#gitbtn:hover {
  background-color: #00ffff;
  color: #000;
  box-shadow: 0 0 8px 1px rgba(0, 255, 255, 0.8);
  transform: scale(1.05);
}


/* Responsive design for mobile */
@media (max-width: 768px) {
  .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .col-md {
    margin-bottom: 20px; /* Space between stacked project cards on smaller screens */
  }
}

#contact-links .contact-link {
  color: #00ffff;
  border: 1.5px solid #00ffff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#contact-links .contact-link:hover {
  background-color: #00ffff;
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

#leetcode {
  position: relative;
}
#leetcode::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 12px;
  background: rgba(0, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.8);
  }
}

 /* Footer */



footer {
  background-color: rgba(0, 255, 255, 0.1);
  border-top: 0.2px solid rgba(0, 255, 255 );
}
footer .fa-angle-up {
  color: #00ffff;
  transition: all 0.3s ease-in-out;
}

footer .fa-angle-up:hover {
  background-color: #00ffff;
  color: #000;
  border-radius: 10%;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transform: scale(1.2);
}

footer .fa-linkedin-in {
  font-size: 30px;
  padding: 0; /* Reset any padding */
  margin: 0;  /* Reset any margin */
  display: inline-block; /* Ensures proper sizing */
  color: #00ffff;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer .fa-linkedin-in:hover {
  background-color: #00ffff;
  border-radius: 10%;
  color: #241a1a;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transform: scale(1.2);
}