@font-face {
  font-family: "Spinnaker";
  src: url("../fonts/Spinnaker-Regular.ttf") format("truetype");
}

body {
  font-family: "Spinnaker", serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background-color: #00ffcc; /* Custom background color */
  color: #000000; /* Custom text color */
}


.nav-logo {
  width: 100px;
  /* Default size */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 150px;
  /* Prevent excessive growth */
  position: absolute;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-logo {
    width: 80px;
    /* Adjust for tablets */
  }
}

@media (max-width: 480px) {
  .nav-logo {
    width: 60px;
    /* Adjust for small screens */
  }
}


.nav-item {
  margin: 15px 50px 20px 0px;
}

.nav-link {
  display: flex;
  align-items: center;
  color: #fff; /* Default icon color */
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Default icon color (White) */
.nav-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
  margin-right: 10px;
}

/* Hover effect to change color to #00ffcc */
.nav-link:hover .nav-icon {
  filter: brightness(0) saturate(100%) invert(77%) sepia(12%) saturate(7494%)
    hue-rotate(121deg) brightness(101%) contrast(104%);
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1224px) {
  .nav-link {
    font-size: 16px;
    padding: 5px 5px;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
   
  }
}

.heading,
.sub-heading {
  color: #00ffcc;
  text-shadow: 0px 0px 10px rgba(0, 255, 204, 0.8);
  margin-bottom: 30px;
}

.glow_1 {
  position: fixed;
  width: 250px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 204, 0.5) 40%,
    rgba(0, 255, 204, 0.15) 70%,
    rgba(0, 255, 204, 0) 100%
  );
  border-radius: 80%;
  filter: blur(50px);
  mix-blend-mode: screen;
  transform: translate(30%, -50%);
  right: 10px;
}

.glow_2 {
  position: fixed;
  width: 250px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 204, 0.5) 40%,
    rgba(0, 255, 204, 0.15) 70%,
    rgba(0, 255, 204, 0) 100%
  );
  border-radius: 80%;
  filter: blur(50px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

/* Main Cursor Glow */
.cursor {
  position: fixed;
  width: 100px;
  /* Adjust size */
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 204, 0.7) 20%,
    rgba(0, 255, 204, 0.2) 60%,
    rgba(0, 255, 204, 0) 100%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  /* Slightly faster */
  filter: blur(40px);
  mix-blend-mode: screen;
}

/* Smooth Follow Effect */
.follower {
  position: fixed;
  width: 150px;
  /* Larger than cursor */
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 204, 0.7) 20%,
    rgba(0, 255, 204, 0.1) 60%,
    rgba(0, 255, 204, 0) 100%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  /* Slower for smoother effect */
  filter: blur(90px);
  mix-blend-mode: screen;
}

/* Main Content */
.main_content {
  justify-content: center;
  align-items: flex-end;
  padding-left: 5%;
}

/* Main Heading */
.main_heading {
  font-size: 64px;
  font-weight: 1000;
  margin: 0;
  z-index: 10;
  line-height: 1.2;
  position: relative;
}

/* Changing Text */
.main_changing-text {
  color: #00ffcc;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  text-shadow: 0px 0px 10px rgba(0, 255, 204, 0.8);
  position: relative;

  z-index: 1001;
}

/* Subheading */
.main_subheading {
  font-size: 20px;
  color: #aaa;
  margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 1224px) {
  /* Tablets */
  .main_content {
    padding-left: 10%;
  }

  .main_heading {
    font-size: 30px;
  }

  .main_subheading {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  /* Small Tablets and Large Mobiles */
  .main_content {
    padding-left: 5%;
  }

  .main_heading {
    font-size: 40px;
  }

  .main_subheading {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* Mobile Devices */
  .main_content {
    padding-left: 3%;
    align-items: center;
    text-align: center;
  }

  .main_heading {
    font-size: 32px;
  }

  .main_changing-text {
    font-size: 28px;
  }

  .main_subheading {
    font-size: 14px;
  }
}

/* Hamburger Button */
.hamburger {
  font-size: 20px;
  background: #168d737d;
  border: 1px solid #00ffcc;
  cursor: pointer;
  border-radius: 8px;
  position: absolute;
  right: 12px;
  top: 19px;
  z-index: 1001;
  color: #00ffcc;
}

/* Sidebar Navigation */
.side-navbar {
  position: fixed;
  right: -300px;
  /* Initially hidden */
  top: 0;
  width: 300px;
  height: 100vh;
  background: #0f0f0f9f;
  transition: right 0.3s ease-in-out;
  padding-top: 50px;
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  backdrop-filter: blur(2px);
}

.side-navbar ul li a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

/* Hover Effect - Change Color to #00ffcc */
.side-navbar ul li a:hover {
  filter: brightness(0) saturate(100%) invert(77%) sepia(12%) saturate(7494%)
    hue-rotate(121deg) brightness(101%) contrast(104%);

}

.side-navbar ul {
  list-style: none;
  padding: 25px;
  z-index: 1001;
}

.side-navbar ul li {
  padding: 20px;
  text-align: center;
  z-index: 1001;
}

.side-nav-icon {
  filter: brightness(0) invert(1);
  text-decoration: none;
  float: left;
  margin-right: 20px;
  z-index: 1001;
}

.side-nav-icon:hover {
  filter: brightness(0) saturate(100%) invert(77%) sepia(12%) saturate(7494%)
    hue-rotate(121deg) brightness(101%) contrast(104%);
  transform: scale(1.1);

  z-index: 1001;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 0px;
  left: 35px;
  font-size: 50px;
  background: none;
  border: none;
  color: #00ffcc;
  cursor: pointer;
  z-index: 1001;
}

/* Show Sidebar */
.side-navbar.open {
  right: 0;
}

/* Hide sidebar and show hamburger only for smaller screens */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .side-navbar {
    display: none;
  }
}

.shadow-main {
  box-shadow: 0 0 30px 5px #00ffcc;
  /* Adjust the color and blur effect */
}

.glow-button_2 {
  background: #111;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  transition: all 0.5s ease;
  cursor: pointer;
  border: 2px solid #00ffcc;
  color: #00ffcc;
  font-size: 11px;
  padding: 3px 10px;
  margin: 1px 2px;
}

.glow-button_2::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(0, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.glow-button_2:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.glow-button_2:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.glow-button {
  width: 200px;
  height: 50px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  transition: all 0.5s ease;
  cursor: pointer;
  border: 2px solid #00ffcc;
  color: #00ffcc;
}

.glow-button h2 {
  color: #00ffcc;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

.glow-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(0, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.glow-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.glow-button:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

/* Initially hide text */
.nav-link span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: 8px;
}

/* Slide effect on hover */
.nav-link:hover span {
  opacity: 1;
  transform: translateX(0);
  color: #00ffcc;
}

.nav-link:hover i {
  transform: translateX(-5px);
  color: #00ffcc;
}

/* Image */
.bu_background-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

/* Hover Effect */
.bu_background-image:hover {
  transform: scale(1.05);
}

.social img {
  filter: brightness(800) saturate(100%) invert(48%) sepia(95%) saturate(900%)
    hue-rotate(125deg) brightness(130%) contrast(80%);
  transition: transform 0.3s ease-in-out;
}

.social:hover img {
  transform: scale(1.4);
}

.social {
  color: #00ffcc;
}

.social:hover img {
  transform: scale(1.4);
}

/* Skills */
.circle-progress {
  position: relative;
  width: 180px;
  height: 180px;
  color: #fff;
}

.circle-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-progress circle {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}

.circle-progress .bg {
  stroke: #444;
}

.circle-progress .progress {
  stroke: #00ffcc;
  stroke-dasharray: 471;
  /* Circumference (2 * π * r) with r=75 */
  stroke-dashoffset: 471;
  transition: stroke-dashoffset 2s ease-in-out;
  /* Smooth animation */
  filter: drop-shadow(0px 0px 5px #00ffcc);
  /* Reduced glow effect */
}

.circle-progress .label {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.glow {
  position: absolute;
  width: 120px;
  /* Reduced size for less spread */
  height: 120px;
  /* Reduced size for less spread */
  background: radial-gradient(
    circle,
    rgba(0, 255, 204, 0.2) 30%,
    rgba(0, 255, 204, 0.05) 60%,
    rgba(0, 255, 204, 0) 80%
  );
  border-radius: 50%;
  filter: blur(15px);
  /* Reduced blur for subtle glow */
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  z-index: -1;
  /* Move the glow behind the circle */
}

#backToTopBtn {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip Box */
.tooltip-box {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  background-color: #008f7200;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 8px #00ffcc;
  border: 2.5px solid #00ffcc;
  z-index: 100;
  text-align: center;
}

/* Tooltip Arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  /* Corrected rotate syntax */
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent #00ffcc;
}

/* Show Tooltip on Hover */
#backToTopBtn:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

/* Tooltip Text Hover Effect */
#backToTopBtn:hover .tooltip-text {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* bu portfolio items */
.bu_portfolio_card {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bu_portfolio_card:hover {
  transform: translateY(-5px);
}

.bu_gradient-1 {
  box-shadow: 0 10px 20px rgba(43, 152, 110, 0.602),
    0 6px 6px rgba(39, 137, 104, 0.465), 0 0 100px rgba(94, 139, 120, 0.405);
}

.bu_gradient-1:hover {
  box-shadow: 0 10px 20px rgba(0, 255, 140, 0.039),
    0 6px 6px rgba(23, 123, 56, 0.19), 0 0 5px rgba(11, 86, 53, 0.179);
}

.bu_image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bu_background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.bu_portfolio_card:hover .bu_background-image {
  transform: scale(1.1);
  filter: blur(5px);
}

.bu_gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.bu_gradient-1 .bu_gradient-overlay {
  background: linear-gradient(315deg, #00ffc3a3, #00ffffa3);
}

.bu_gradient-2 .bu_gradient-overlay {
  background: linear-gradient(315deg, #00ffc3a3, #00ffffa3);
}

.bu_gradient-3 .bu_gradient-overlay {
  background: linear-gradient(315deg, #00ffc3a3, #00ffffa3);
}

.bu_gradient-4 .bu_gradient-overlay {
  background: linear-gradient(315deg, #00ffc3a3, #00ffffa3);
}

.bu_portfolio_card:hover .bu_gradient-overlay {
  opacity: 0.6;
}

.bu_content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #ffffff;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.bu_portfolio_card:hover .bu_content {
  transform: translateY(0);
}

.bu_content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bu_content p {
  font-size: 14px;
  margin-bottom: 15px;
}

.bu_content a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bu_content a:hover {
  background-color: #333;
  color: #fff;
}

.bu_preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.bu_portfolio_card:hover .bu_preview-overlay {
  opacity: 1;
}

.bu_preview-icon {
  width: 35px;
  height: 35px;
  fill: white;
  margin-bottom: 120px;
}

/* Background Styling */
.education-section {
  padding: 50px 0;
  text-align: center;
}

/* Education Heading */
.edu-heading {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #00ffcc;
  text-shadow: 0px 0px 10px rgba(0, 255, 204, 0.8);
  margin-bottom: 30px;
}

/* Glassmorphism Card */
.edu-card {
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.5);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 204, 0.3);
}

/* Hover Glow Effect */
.edu-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 25px rgba(0, 255, 204, 0.8);
}

/* Neon Borders */
.edu-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), transparent);
  transform: rotate(-45deg);
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.edu-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

/* Content Text */
.edu-content {
  color: #ffffff;
  font-size: 1rem;
}

/* List Styling */
.edu-list {
  list-style: none;
  padding: 0;
}

.edu-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  text-shadow: 0px 0px 25px rgba(0, 255, 204, 0.8);
}
