/* General Reset */
section {
  position: relative;
  margin: 30px 0; /* Spacing between sections */
  padding: 30px;
  border-radius: 20px; /* Rounded corners */
  background: rgba(0, 0, 0, 0.8); /* Slight transparency */
  overflow: hidden; /* Ensures borders stay within bounds */
}

/* Animated Glowing Gradient Border */
section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  border-radius: 25px;

  background-size: 300% 300%;
  animation: animateBorder 6s infinite alternate;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Glow Animation for Border */
@keyframes animateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  animation: fadeIn 1s ease-in-out;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
/* Header */
/* Header */
header {
  padding: 20px 30px;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 0, 0.7),
    rgba(17, 17, 17, 0.9)
  );
  background-size: 400% 400%;
  animation: gradientAnimation 6s ease infinite;
  transition: background 0.3s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

/* Gradient animation for header */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Header when scrolled */
header.scrolled {
  background: linear-gradient(90deg, rgba(0, 255, 0, 0.8), rgba(17, 17, 17, 1));
}

/* Logo */
header .logo h1 {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Navigation */
header nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9); /* Lighter color */
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 5px;
}

/* Hover Effect on Menu Items */
header nav ul li a:hover {
  color: #fff; /* White text on hover */
  background-color: rgba(0, 255, 0, 0.8); /* Green background on hover */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8); /* Glow effect */
}

/* Active Menu Item */
header nav ul li a.active {
  font-weight: bold;
  color: #0f0;
}
/* Burger Menu Visible when Open */
header nav ul.show {
  display: flex;
  opacity: 1;
  transform: translateY(0); /* Smooth slide down */
  background-color: #111; /* Default dark background */
  color: #fff; /* Default light text */
}

/* Add a subtle transition when the burger menu opens */
.burger.open + header nav ul {
  opacity: 1;
  transform: translateY(0); /* Menu visible */
}

/* Smooth transition for burger icon on mobile */
.burger.open .bar {
  background-color: #0f0; /* Green when open */
  transform: rotate(45deg) translateY(8px); /* Rotate the top bar */
}

/* Make the bottom bar rotate to form 'X' */
.burger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 101;
  transition: all 0.3s ease;
  position: relative;
  width: 35px;
  height: 30px; /* Slightly bigger area for better interaction */
}

/* Bar styles */
.burger .bar {
  width: 35px;
  height: 5px;
  background-color: #fff;
  border-radius: 10px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effect on burger icon */
.burger:hover .bar {
  background-color: #0f0; /* Change to green on hover */
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); /* Glow effect */
}

/* Burger Icon Active State (when clicked) */
.burger.open .bar:nth-child(1) {
  transform: translateY(12px) rotate(45deg); /* Move and rotate first bar */
  background-color: #0f0; /* Green color when active */
}

.burger.open .bar:nth-child(2) {
  opacity: 0; /* Hide the middle bar */
}

.burger.open .bar:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg); /* Move and rotate third bar */
  background-color: #0f0; /* Green color when active */
}

/* Dark Theme for Burger Menu and Menu Box */
body.dark-theme header nav ul.show {
  background-color: #111; /* Dark background for the menu */
  color: #fff; /* White text in the menu */
}
body.light-theme .burger.open .bar:nth-child(1) {
  transform: translateY(12px) rotate(45deg); /* Move and rotate first bar */
  background-color: black; /* Green color when active */
}

body.light-theme .burger.open .bar:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg); /* Move and rotate first bar */
  background-color: black; /* Green color when active */
}
body.dark-theme .burger .bar {
  background-color: #fff; /* White bars in dark theme */
}

/* Light Theme for Burger Menu and Menu Box */
body.light-theme header nav ul.show {
  background-color: #f0f0f0; /* Light background for the menu */
  color: #000; /* Black text in the menu */
}

body.light-theme .burger .bar {
  background-color: #000; /* Black bars in light theme */
}

/* Optional: Add a darker shadow for the burger box on dark theme */
body.dark-theme header nav ul.show {
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4); /* Glow effect on menu box */
}

/* Optional: Lighter shadow for the burger box on light theme */
body.light-theme header nav ul.show {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Soft shadow on light theme */
}

/* Position the theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  margin-left: 20px; /* Adds spacing from other elements */
}

/* Align the button within the header */
header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  margin-right: auto; /* Pushes the button to the far right */
}

.theme-toggle:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  color: #0f0; /* Highlight effect on hover */
}

/* Adjust button placement for mobile */
@media (max-width: 768px) {
  .theme-toggle {
    font-size: 18px; /* Smaller button size for mobile */
    margin-left: 10px; /* Adjust margin for compact layout */
  }
}

/* Light Theme */
body.light-theme {
  background-color: #f9f9f9;
  color: #222;
}

body.light-theme header {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 0.7),
    rgba(255, 255, 255, 0.9)
  );
}

body.light-theme header .logo h1 {
  color: #222;
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.8);
}

body.light-theme header nav ul li a {
  color: rgba(0, 0, 0, 0.9);
}

body.light-theme header nav ul li a:hover {
  background-color: rgba(0, 0, 255, 0.8);
  color: #fff;
}

/* Theme toggle button styling */
.theme-toggle {
  background: none;
  border: 2px solid #0f0; /* Green border for a striking look */
  font-size: 20px;
  padding: 10px 20px; /* Adds padding for more clickable area */
  border-radius: 25px; /* Rounded corners */
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease-in-out; /* Smooth transition for hover and active states */
  margin-left: 20px; /* Adds spacing from other elements */
  position: relative; /* Needed for the glow effect */
  display: inline-flex;
  align-items: center; /* Vertically center the text */
  justify-content: center; /* Horizontally center the text */
}
.theme-toggle:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  color: #0f0; /* Highlight effect on hover */
  background: rgba(0, 255, 0, 0.1); /* Light green background on hover */
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.8); /* Glow effect on hover */
}

/* Active Effect */
.theme-toggle:active {
  transform: scale(0.98); /* Slight shrink when pressed */
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.9);
}
body.light-theme .theme-toggle {
  color: #000;
  background-color: #fff; /* Light background for the button in light theme */
  border: 2px solid #000; /* Dark border for light theme */
}

/* Glow Effect on Focus */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  }
}

.theme-toggle:focus {
  outline: none; /* Removes default focus outline */
  animation: glow 1.5s infinite alternate; /* Glowing animation on focus */
}

/* Adjust button placement for mobile */
@media (max-width: 768px) {
  .theme-toggle {
    font-size: 18px;
    margin-left: 10px; /* Adjust margin for compact layout */
    padding: 8px 16px; /* Slightly smaller padding for mobile */
  }
}
/* Burger Menu on Mobile */
@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 60px;
    right: 30px;
    background: linear-gradient(
      135deg,
      rgba(0, 255, 0, 0.9),
      rgba(17, 17, 17, 0.9)
    ); /* Gradient effect */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6); /* Shadow for depth */
    opacity: 0;
    transform: translateY(-20px);
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
  }

  header .logo h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Adding a scale effect for burger icon */
  .burger:hover {
    transform: scale(1.1); /* Slight scale effect on hover */
  }

  /* Bar scale effect when active */
  .burger.open .bar {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      background-color 0.3s ease,
      box-shadow 0.3s ease,
      scale 0.2s ease;
  }

  header nav ul.show {
    display: flex;
    right: 0; /* Slide-in effect */
    opacity: 1;
    transform: translateY(0); /* Smooth slide down */
  }
}

/* Header transitions for smooth background change */
header.scrolled {
  background: linear-gradient(90deg, rgba(0, 255, 0, 0.8), rgba(17, 17, 17, 1));
}

/* Hero Section */
.hero {
  top: 70px;
  border: 5px solid rgba(0, 255, 0, 0.8); /* Green solid border */
  box-shadow:
    0 0 30px rgba(0, 255, 0, 0.6),
    0 0 50px rgba(0, 255, 0, 0.4);
  border-image: linear-gradient(90deg, #0f0, #0ff) 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 0;
  background: url("hero-bg.jpg") no-repeat center center/cover;
  position: relative;
  animation: fadeIn 2s ease-out;
  border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 50px;
  animation: slideInUp 1.5s ease-out;
}

.hero-text h1 {
  font-size: 50px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.hero-text h1 span {
  color: #0f0;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(0, 255, 0, 1);
}

.hero-text p {
  color: rgba(200, 200, 200, 0.9);
  margin: 20px 0;
  max-width: 400px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.hero-text .btn {
  background: linear-gradient(
    90deg,
    rgba(0, 255, 0, 1) 0%,
    rgba(10, 255, 10, 0.8) 100%
  );
  color: #000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.hero-text .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 0, 1);
}

/* Hero Image */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-circle {
  margin-left: px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.7), rgba(0, 0, 0, 0.6));
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  border: 5px solid #0f0;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    filter 0.3s ease;
  animation: bounceIn 1s ease-in-out;
}

.profile-circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 0, 0.4),
    rgba(0, 255, 0, 0.1)
  );
  border-radius: 50%;
  z-index: -1;
  animation: glow-effect 4s infinite alternate;
}

.profile-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.6);
  filter: brightness(1.2);
}

.profile-circle img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  border-radius: 40%;
  transition: transform 0.5s ease;
}

.profile-circle img:hover {
  transform: scale(1.1);
}

/* Glowing animation effect */
@keyframes glow-effect {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
/* Light Theme for Hero Section */
body.light-theme .hero {
  background: url("hero-bg-light.jpg") no-repeat center center/cover;
  border-color: rgba(255, 255, 255, 0.8); /* Lighter border */
  border-image: linear-gradient(90deg, #00f, #0ff) 1;
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 50px rgba(255, 255, 255, 0.4);
}

body.light-theme .hero::after {
  background: rgba(255, 255, 255, 0.85);
}

body.light-theme .hero-text h1 {
  color: #000;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

body.light-theme .hero-text h1 span {
  color: #00f; /* Blue for light theme */
  text-shadow: 0 0 20px rgba(0, 0, 255, 1);
}

body.light-theme .hero-text p {
  color: rgba(50, 50, 50, 0.9);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

body.light-theme .hero-text .btn {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 255, 1) 0%,
    rgba(10, 10, 255, 0.8) 100%
  );
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 255, 0.8);
}

body.light-theme .profile-circle {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.7),
    rgba(200, 200, 200, 0.6)
  );
  border-color: #00f;
  box-shadow: 0 15px 30px rgba(200, 200, 200, 0.8);
}

body.light-theme .profile-circle::before {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 255, 0.4),
    rgba(0, 0, 255, 0.1)
  );
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 20px;
  }

  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text p {
    max-width: 350px;
  }

  .profile-circle {
    width: 300px;
    height: 300px;
  }

  .hero-text .btn {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
  }

  .hero-text h1 {
    font-size: 35px;
  }

  .hero-text p {
    max-width: 300px;
  }

  .profile-circle {
    width: 250px;
    height: 250px;
  }

  .hero-text .btn {
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 10px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    max-width: 280px;
  }

  .profile-circle {
    width: 200px;
    height: 200px;
  }

  .hero-text .btn {
    padding: 6px 12px;
  }
}

/* About Section */
.about {
  top: 70px;
  border: 5px dashed rgba(0, 255, 0, 0.7);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
  animation:
    pulseBorder 4s infinite,
    fadeIn 1.5s ease-out;
  padding: 120px 0;
  background: linear-gradient(120deg, #111, #000);
  border-top: 2px solid rgba(0, 255, 0, 0.3);
  position: relative;
}

/* Pulse animation for border */
@keyframes pulseBorder {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
  }
  50% {
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.6);
  }
}

/* Fade in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* About section content */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* About image styles */
.about-image {
  flex: 1;
  max-width: 45%;
  display: flex;
  justify-content: center;
  position: relative;
  animation: slideInLeft 1s ease-out;
}

/* Image styles */
.about-image img {
  width: 60%;
  max-width: 400px;
  border-radius: 40%;
  border: 8px solid rgba(0, 255, 0, 0.8);
  box-shadow: 0 15px 30px rgba(0, 255, 0, 0.6);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    filter 0.3s ease-in-out;
}

/* Hover effects on image */
.about-image img:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.8);
  filter: brightness(1.2); /* Slight brightness effect */
}

/* Glowing effect for the image */
.about-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 120%;
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 0, 0, 0));
  border-radius: 40%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glow-effect 4s infinite;
}
/* Glow effect keyframe */
@keyframes glow-effect {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.8);
  }
}

/* About text section styles */
.about-text {
  flex: 1;
  max-width: 50%;
  text-align: left;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
}

/* Fade-in text animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heading styles */
.about-text h2 {
  font-size: 36px;
  color: #0f0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Paragraph styles */
.about-text p {
  font-size: 18px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Button styles */
.about-text .btn {
  background: linear-gradient(90deg, #0f0 0%, #0a0 100%);
  color: #000;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition:
    transform 0.3s ease-in-out,
    background-color 0.3s ease;
  border: 2px solid #0f0; /* Add border to match the gradient */
}

/* Hover effect on button */
.about-text .btn:hover {
  transform: scale(1.1);
  background-color: #0a0; /* Darker green background on hover */
  color: #fff; /* Change text color */
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); /* Add glow effect */
}

/* Button active state */
.about-text .btn:active {
  transform: scale(0.95); /* Slight shrink on click */
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
}
/* Light Theme for About Section */
body.light-theme .about {
  background: linear-gradient(120deg, #fff, #f9f9f9);
  border-color: rgba(0, 0, 255, 0.7); /* Blue border for light theme */
  box-shadow: 0 10px 30px rgba(0, 0, 255, 0.4);
}

body.light-theme .about-text {
  background: rgba(76, 75, 75, 0.05);
  color: #333; /* Darker text color for light theme */
  box-shadow: 0 8px 15px rgba(9, 8, 8, 0.7);
}

body.light-theme .about-text h2 {
  color: #00f; /* Blue for light theme */
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.8);
}

body.light-theme .about-text p {
  color: black; /* Neutral text color for light theme */
}

body.light-theme .about-text .btn {
  background: linear-gradient(90deg, #00f 0%, #0055ff 100%);
  color: #fff;
  border-color: #00f;
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.8);
}

body.light-theme .about-text .btn:hover {
  background-color: #0055ff;
  box-shadow: 0 0 20px rgba(0, 0, 255, 1);
}

body.light-theme .about-image img {
  border-color: rgba(0, 0, 255, 0.8); /* Blue border for light theme */
  box-shadow: 0 15px 30px rgba(0, 0, 255, 0.6);
}

body.light-theme .about-image::before {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about {
    padding: 100px 20px;
  }

  .about-content {
    flex-direction: column;
    gap: 40px;
  }

  .about-image {
    max-width: 50%;
  }

  .about-text {
    max-width: 90%;
  }

  .about-text h2 {
    font-size: 32px;
  }

  .about-text p {
    font-size: 16px;
  }

  .about-image img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 80px 15px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    max-width: 60%;
  }

  .about-text {
    max-width: 90%;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-image img {
    max-width: 300px;
  }

  .about-text .btn {
    padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 60px 10px;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .about-image {
    max-width: 70%;
  }

  .about-text {
    max-width: 90%;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-image img {
    max-width: 250px;
  }

  .about-text .btn {
    padding: 8px 15px;
  }
}

/* Services Section */

.services {
  top: 70px;
  border: 5px solid rgba(0, 255, 0, 0.8); /* Green solid border */
  box-shadow:
    0 0 30px rgba(0, 255, 0, 0.6),
    0 0 50px rgba(0, 255, 0, 0.4);
  border-image: linear-gradient(90deg, #0f0, #0ff) 1;
}
.service-boxes {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
  perspective: 1000px; /* Gives a 3D perspective effect */
}

/* Service box styling */
.service-box {
  flex: 1;
  min-width: 320px;
  padding: 40px;
  background: linear-gradient(135deg, #333, #111);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 255, 0, 0.6);
  transition:
    transform 0.4s ease-in-out,
    box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out;
  position: relative;
  transform-style: preserve-3d; /* Makes sure 3D effects apply to this element */
}

/* Hover effect for service box (with 3D rotation) */
.service-box:hover {
  transform: translateY(-15px) rotateY(15deg) rotateX(10deg); /* 3D rotation */
  box-shadow: 0 15px 40px rgba(0, 255, 0, 0.8);
  z-index: 1;
  cursor: pointer;
}

/* Service box title styling */
.services h2 {
  margin-left: 450px;
  margin-bottom: 40px;
  color: #fff;
  font-size: 40px; /* Increased font size */
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8); /* Glowing text effect */
}

.service-box h3 {
  margin-bottom: 20px;
  color: #0f0;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Service box description styling */
.service-box p {
  color: #ccc;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Active hover effect for service description */
.service-box:hover p {
  color: #fff;
}

/* Adding subtle scale effect to service box */
.service-box {
  animation: scaleIn 0.8s ease-out;
}

/* Service box scale effect */
@keyframes scaleIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Fade-in up animation for individual boxes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Light Theme for Services Section */
body.light-theme .services {
  border: 5px solid rgba(0, 0, 255, 0.8); /* Blue border */
  border-image: linear-gradient(90deg, #00f, #0ff) 1;
  box-shadow:
    0 0 50px rgba(0, 0, 255, 0.6),
    0 0 80px rgba(0, 0, 255, 0.4); /* Blue shadow */
  background: linear-gradient(135deg, #fff, #f9f9f9);
}

body.light-theme .service-box {
  background: linear-gradient(135deg, #f9f9f9, #ddd);
  box-shadow: 0 10px 25px rgba(0, 0, 255, 0.4);
  border: 2px solid rgba(0, 0, 255, 0.5); /* Subtle blue border for light theme */
}

body.light-theme .service-box:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 255, 0.6);
}

body.light-theme .service-box h3 {
  color: #00f; /* Blue title color */
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.6);
}

body.light-theme .service-box p {
  color: #000; /* Neutral description color */
}

body.light-theme .service-box:hover p {
  color: #333;
}

body.light-theme .services h2 {
  color: #00f;
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.7);
}

/* Responsive Design */

/* For Tablets and smaller screens */
@media (max-width: 1024px) {
  .service-boxes {
    gap: 30px;
    margin-top: 30px;
  }

  .service-box {
    min-width: 250px;
    padding: 30px;
  }

  .services h2 {
    margin-left: 0;
    text-align: center;
    font-size: 32px;
  }

  .service-box h3 {
    font-size: 22px;
  }

  .service-box p {
    font-size: 16px;
  }
}

/* For Mobile screens */
@media (max-width: 768px) {
  .service-boxes {
    gap: 20px;
    margin-top: 20px;
  }

  .service-box {
    min-width: 250px;
    padding: 20px;
  }

  .services h2 {
    margin-left: 0;
    text-align: center;
    font-size: 28px;
  }

  .service-box h3 {
    font-size: 20px;
  }

  .service-box p {
    font-size: 15px;
  }
}

/* For very small screens (Mobile Portrait) */
@media (max-width: 480px) {
  .service-boxes {
    gap: 15px;
    margin-top: 15px;
  }

  .service-box {
    min-width: 200px;
    padding: 15px;
  }

  .services h2 {
    margin-left: 0;
    text-align: center;
    font-size: 24px;
  }

  .service-box h3 {
    font-size: 18px;
  }

  .service-box p {
    font-size: 14px;
  }
}
/* Experience Section - Dark Theme (Original) */
.experience {
  top: 70px;
  border: 5px solid rgba(0, 255, 0, 0.8);
  box-shadow:
    0 0 50px rgba(0, 255, 0, 0.6),
    0 0 80px rgba(0, 255, 0, 0.4);
  border-style: groove;
  animation: glowingContact 4s infinite alternate;
  padding: 100px 20px;
  background: linear-gradient(120deg, #111, #000);
  text-align: center;
  border-top: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  position: relative;
}

.experience h2 {
  align-items: center;
  margin-bottom: 40px;
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.experience-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  background: linear-gradient(135deg, #333, #111);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.6);
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease;
  position: relative;
}

.experience-card:hover {
  transform: translateY(-5px);
}

.experience-card h3 {
  margin-bottom: 10px;
}

.experience-card span {
  color: #00bfff;
  font-weight: 600;
}

/* Experience Section - Light Theme */
body.light-theme .experience {
  border: 5px solid rgba(0, 0, 255, 0.8);
  box-shadow:
    0 0 50px rgba(0, 0, 255, 0.6),
    0 0 80px rgba(0, 0, 255, 0.4);
  background: linear-gradient(120deg, #fff, #f9f9f9);
  border-top: 2px solid rgba(0, 0, 255, 0.3);
}

body.light-theme .experience h2 {
  color: #00f;
  text-shadow: 0 0 15px rgba(0, 0, 255, 0.8);
}

body.light-theme .experience-card {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  box-shadow: 0 10px 30px rgba(0, 0, 255, 0.3);
  border: 1px solid rgba(0, 0, 255, 0.1);
}

body.light-theme .experience-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 255, 0.5);
}

body.light-theme .experience-card h3 {
  color: #222;
}

body.light-theme .experience-card p {
  color: #555;
}

body.light-theme .experience-card span {
  color: #0066cc;
  font-weight: 600;
}

/* Skills Section - Dark Theme (Original) */
.skills {
  top: 70px;
  padding: 80px 20px;
  border: 5px dashed rgba(0, 255, 0, 0.7);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
  background-color: #111;
  color: #fff;
  text-align: center;
}

.skills h2 {
  align-items: center;
  margin-bottom: 40px;
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.6);
  padding: 18px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease;
  position: relative;
}

.skill-card:hover {
  transform: scale(1.05);
  background: rgba(0, 255, 0, 0.7);
}

/* Skills Section - Light Theme (Fixed) */
body.light-theme .skills {
  border: 5px dashed rgba(0, 0, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 255, 0.4);
  background-color: #f9f9f9;
  color: #333;
}

body.light-theme .skills h2 {
  color: #00f;
  text-shadow: 0 0 15px rgba(0, 0, 255, 0.8);
}

body.light-theme .skill-card {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  box-shadow: 0 10px 30px rgba(0, 0, 255, 0.2);
  border: 1px solid rgba(0, 0, 255, 0.15);
  color: #333;
}

body.light-theme .skill-card:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #e8f0ff, #dce8ff);
  box-shadow: 0 15px 35px rgba(0, 0, 255, 0.3);
  color: #00f;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .skills {
    padding: 60px 15px;
  }

  .skills h2 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .skill-card {
    padding: 14px 10px;
    font-size: 14px;
  }
}
/* Portfolio Section */
.portfolio {
  top: 70px;
  padding: 80px 20px;
  border: 5px dashed rgba(0, 255, 0, 0.7);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
  background-color: #111;
  color: #fff;
  text-align: center;
}

.portfolio h2 {
  align-items: center;
  margin-bottom: 40px;
  color: #fff;
  font-size: 40px; /* Increased font size */
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8); /* Glowing text effect */
}

/* Project Boxes Container */
.project-boxes {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Individual Project Box */
.project-box {
  background: linear-gradient(135deg, #333, #111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.6);
  flex: 1 1 300px; /* Ensures the boxes scale correctly */
  min-width: 300px;
  max-width: 350px;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease;
  position: relative;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 0, 0.8);
  cursor: pointer;
}

.project-box h3 {
  color: #0f0;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); /* Glowing effect */
}

.project-box p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.project-box ul {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}
/* Light Theme for Portfolio */
body.light-theme .portfolio {
  border: 5px dashed rgba(0, 0, 255, 0.8); /* Blue border */
  box-shadow:
    0 0 50px rgba(0, 0, 255, 0.6),
    0 0 80px rgba(0, 0, 255, 0.4); /* Blue shadow */
  background-color: #f9f9f9; /* Light background */
  color: #333; /* Dark text color */
}

body.light-theme .portfolio h2 {
  color: #00f; /* Blue text for the heading */
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.8); /* Glowing blue effect */
}

body.light-theme .project-box {
  background: linear-gradient(135deg, #fff, #f0f0f0); /* Lighter background */
  box-shadow: 0 10px 30px rgba(0, 0, 255, 0.3); /* Blue shadow */
}

body.light-theme .project-box:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 255, 0.6); /* Hover effect with blue shadow */
}

body.light-theme .project-box h3 {
  color: #00f; /* Blue title */
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.6); /* Glowing blue effect */
}

body.light-theme .project-box p {
  color: #000; /* Darker text for better readability */
}

body.light-theme .project-box:hover p {
  color: #000; /* Dark text on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .portfolio {
    padding: 60px 20px;
  }

  .portfolio h2 {
    font-size: 36px;
  }

  .project-box {
    padding: 25px;
  }

  .project-box h3 {
    font-size: 22px;
  }

  .project-box p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 50px 15px;
  }

  .portfolio h2 {
    font-size: 32px;
  }

  .project-box {
    flex: 1 1 100%; /* Full width on smaller screens */
    max-width: none;
  }

  .project-box h3 {
    font-size: 20px;
  }

  .project-box p {
    font-size: 14px;
  }
}

/* Contact Section */
.contact {
  top: 70px;
  border: 5px solid rgba(0, 255, 0, 0.8);
  box-shadow:
    0 0 50px rgba(0, 255, 0, 0.6),
    0 0 80px rgba(0, 255, 0, 0.4);
  border-style: groove;
  animation: glowingContact 4s infinite alternate;
  padding: 100px 20px; /* Increased padding for more space */
  background: linear-gradient(120deg, #111, #000);
  text-align: center;
  border-top: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  position: relative;
}

/* Glowing effect for the contact section */
@keyframes glowingContact {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.8);
  }
}

/* Title styling for contact section */
.contact h2 {
  margin-bottom: 40px;
  color: #fff;
  font-size: 40px; /* Increased font size */
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8); /* Glowing text effect */
}

/* Contact form styling */
.contact-form {
  max-width: 700px;
  margin: auto;
  background: rgba(255, 255, 255, 0.1); /* Slightly lighter background */
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  animation: slideInUp 1s ease-out;
  position: relative;
  z-index: 2;
}

/* Form input and textarea styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #444;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0f0; /* Green border on focus */
  outline: none;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6); /* Glowing effect */
}

/* Button styling */
.contact-form button {
  background: linear-gradient(90deg, #0f0 0%, #0a0 100%);
  color: #000;
  padding: 15px 35px;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.6);
}

/* Button hover effect */
.contact-form button:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, #0a0 0%, #0f0 100%);
  box-shadow: 0 15px 30px rgba(0, 255, 0, 0.8); /* Glowing effect */
}

/* Button active effect */
.contact-form button:active {
  transform: scale(1.05);
}

/* Form input and button transition effect */
.contact-form input,
.contact-form button {
  transition: all 0.3s ease;
}

/* Animation for sliding form elements */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Light Theme for Contact Section */
body.light-theme .contact {
  background: linear-gradient(120deg, #f9f9f9, #e0e0e0); /* Light gradient */
  border: 5px solid rgba(0, 0, 255, 0.8); /* Blue border */
  box-shadow:
    0 0 50px rgba(0, 0, 255, 0.6),
    0 0 80px rgba(0, 0, 255, 0.4); /* Blue shadow */
}

body.light-theme .contact h2 {
  color: #00f; /* Blue text color */
  text-shadow: 0 0 15px rgba(0, 0, 255, 0.8); /* Glowing effect */
}

body.light-theme .contact-form {
  background: rgba(255, 255, 255, 0.3); /* Lighter background for form */
  backdrop-filter: blur(15px);
  border: 2px solid #0f0; /* Green border */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
  background: #fff; /* White background for inputs */
  color: #333; /* Dark text color */
  border: 2px solid #ccc; /* Light border */
}

body.light-theme .contact-form input:focus,
body.light-theme .contact-form textarea:focus {
  border-color: #00f; /* Blue border on focus */
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.6); /* Glowing blue */
}

body.light-theme .contact-form button {
  background: linear-gradient(
    90deg,
    #00f 0%,
    #0a0 100%
  ); /* Blue to green gradient */
  color: #fff; /* White text on button */
  box-shadow: 0 8px 20px rgba(0, 0, 255, 0.4);
}

body.light-theme .contact-form button:hover {
  background: linear-gradient(
    90deg,
    #0a0 0%,
    #00f 100%
  ); /* Hover effect with reversed gradient */
  box-shadow: 0 15px 30px rgba(0, 0, 255, 0.6); /* Blue glowing shadow */
}

/* Responsive Design */

/* For Tablets and smaller screens */
@media (max-width: 1024px) {
  .contact {
    padding: 80px 20px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact-form {
    max-width: 90%;
    padding: 30px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .contact-form button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* For Mobile screens */
@media (max-width: 768px) {
  .contact {
    padding: 60px 15px;
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact-form {
    max-width: 100%;
    padding: 25px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .contact-form button {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* For very small screens (Mobile Portrait) */
@media (max-width: 480px) {
  .contact {
    padding: 40px 10px;
  }

  .contact h2 {
    font-size: 24px;
  }

  .contact-form {
    max-width: 100%;
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 8px;
  }

  .contact-form button {
    padding: 8px 20px;
    font-size: 12px;
  }
}
/* Footer */
footer {
  top: 60px;
  border: 3px solid #0f0;
  border-top: dotted 5px rgba(0, 255, 0, 0.6);
  box-shadow:
    0 0 30px rgba(0, 255, 0, 0.8),
    inset 0 0 10px rgba(0, 0, 0, 0.7);
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
  text-align: center;
  padding: 50px;
  background: linear-gradient(45deg, #000, #111); /* Gradient background */
  color: #ccc;
  font-size: 14px;
  letter-spacing: 1px;
  border-top: 2px solid #0f0;
  animation: fadeInFooter 1.5s ease-out;
  position: relative;
}

@keyframes fadeInFooter {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Links Styling */
footer a {
  color: #0f0;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

footer a:hover {
  color: #fff; /* White color on hover */
  transform: scale(1.1); /* Slightly enlarge the link */
}

/* Footer Social Media Icons (if you have any) */
footer .social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer .social-icons a {
  font-size: 20px;
  color: #0f0;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

footer .social-icons a:hover {
  color: #fff;
  transform: translateY(-5px); /* Slight hover lift effect */
}

/* Glowing Pulse Effect for Footer */
@keyframes glowingFooter {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 60px rgba(0, 255, 0, 0.9);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
  }
}

footer:hover {
  animation: glowingFooter 2s infinite alternate; /* Glowing effect on hover */
}

/* Footer Text Styling */
footer p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6); /* Subtle glow around the text */
}
/* Light Theme for Footer */
body.light-theme footer {
  background: linear-gradient(
    45deg,
    #f9f9f9,
    #e0e0e0
  ); /* Lighter gradient background */
  border: 3px solid #00f; /* Blue border */
  box-shadow:
    0 0 30px rgba(0, 0, 255, 0.8),
    inset 0 0 10px rgba(0, 0, 0, 0.7); /* Blue shadow */
  text-shadow: 0 0 15px rgba(0, 0, 255, 0.8); /* Glowing text effect with blue */
}

body.light-theme footer a {
  color: #00f; /* Blue color for links */
}

body.light-theme footer a:hover {
  color: #fff; /* White on hover */
}

body.light-theme footer .social-icons a {
  color: #00f; /* Blue for social media icons */
}

body.light-theme footer .social-icons a:hover {
  color: #fff; /* White color on hover */
}

body.light-theme footer p {
  color: rgba(0, 0, 0, 0.7); /* Dark text for readability */
  text-shadow: 0 0 10px rgba(0, 0, 255, 0.6); /* Glowing effect */
}

/* Responsive Design */

/* For Tablets and smaller screens */
@media (max-width: 1024px) {
  footer {
    padding: 40px 20px; /* Reduced padding for smaller screens */
  }

  footer p {
    font-size: 14px;
  }

  footer .social-icons a {
    font-size: 18px;
    gap: 15px;
  }

  footer .social-icons {
    margin-top: 15px;
  }
}

/* For Mobile screens */
@media (max-width: 768px) {
  footer {
    padding: 30px 15px; /* Reduced padding further */
  }

  footer p {
    font-size: 12px;
  }

  footer .social-icons a {
    font-size: 25px;
    gap: 10px;
  }

  footer .social-icons {
    margin-top: 10px;
  }
}

/* For very small screens (Mobile Portrait) */
@media (max-width: 480px) {
  footer {
    padding: 20px 10px; /* Very minimal padding on small devices */
  }

  footer h2 {
    font-size: 20px; /* Adjust font size for small devices */
  }

  footer p {
    font-size: 12px;
  }

  footer .social-icons a {
    font-size: 14px;
    gap: 8px;
  }

  footer .social-icons {
    margin-top: 8px;
  }
}

/* Animations */
@keyframes borderGlow {
  0% {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }
}

/* Apply the animation */
section {
  animation: borderGlow 3s infinite alternate;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
