/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Font Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #fff;
  line-height: 1.6;
  padding: 2px;
  margin: 10px;
}

h1, h2, h3 {
  color: #fff;
}

/* Navigation Styling */
header {
  background-color: #222;
  padding: 20px;
}


nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #6a5acd;
}

/* Section Styling */
.section {
  background-color: #333; /* Default background */
  padding: 15px 25px;
  border-radius: 10px; /* Rounded corners */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Section Hover Effect */
.section:hover {
  transform: translateY(-5px); /* Slight upward lift */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
  background-color: #444; /* Darker background on hover */
}

/* Link Styling */
.section-link {
  text-decoration: none; /* Remove underline */
  color: #6a5acd; /* Default violet color */
  font-size: 18px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  transition: color 0.3s ease;
}

/* Link Hover Effect */
.section-link:hover {
  color: #9b89ff; /* Lighter violet color on hover */
}

/* Cards for Projects */
.card {
  background-color: #333;
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  color: #6a5acd;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

form input, form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

form button {
  padding: 15px;
  background-color: #6a5acd;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #8a2be2;
}

/* Works Gallery */
.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  max-width: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: #222;
  color: #bbb;
  border-radius: 10px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: fadeIn;
  padding: 15px 20px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;  /* Hidden by default */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background-color: #1a1ef137;
  transform: scale(1.1);
}

/* Profile Container */
.profile-container {
  display: flex;
  align-items: center;
  background-color: #00064378;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 20px auto;
  transform: translateY(-5px);
  
}

/* Profile Image Container */
.profile-image-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin-right: 30px;
}

/* Profile Image */
.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 60%;
  object-fit: cover;
}
/* Invisible Hover Area */
.profile-image-container::before {
  content: '';
  position: absolute;
  top: -20px; /* Expand the hover area */
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  background: transparent;
  z-index: 1;
}

/* Hover Effect */
.profile-image-container:hover img {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add a shadow */
}



/* Glowing Effect around the Profile Picture */
.profile-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid #ffffff; /* Violet glow */
  box-shadow: 0 0 20px #6a5acd, 0 0 40px #6a5acd, 0 0 60px #6a5acd;
  animation: glow 2.0s infinite alternate;
}

/* Profile Content */
.profile-content {
  color: #2cceff9d;
}

.profile-content h2 {
  background: linear-gradient(90deg, #6a5acd, #00bfff); /* Gradient: Violet to Blue */
  -webkit-background-clip: text; /* Ensures gradient applies to text only */
  -webkit-text-fill-color: transparent; /* Makes background clip visible */
  font-size: 30px;
  text align-self: start;
  font-family: Poppins;
  margin-bottom: 10px;
  font-weight: bold; /* Makes it stand out */
  text-transform: uppercase; /* Adds a bold statement look */
  transition: transform 0.3s ease, letter-spacing 0.3s ease; /* Smooth interaction */
}

.profile-content h2:hover {
  transform: scale(1.1); /* Slightly enlarges the header on hover */
  letter-spacing: 2px; /* Increases space between letters on hover */
  text-shadow: 0 4px 15px rgba(106, 90, 205, 0.6); /* Adds a glowing shadow effect */
}

.profile-content p {
  color: #bbb; /* Text remains soft and readable */
  font-size: 16px;
  margin-top: 5px;
  line-height: 1.5; /* Improves readability */
  transition: color 0.3s ease; /* Adds subtle text color change on hover */
}

.profile-content p:hover {
  color: #eee; /* Brightens the text on hover */
}


/* Glowing Animation */
@keyframes glow {
  0% {
      box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff, 0 0 60px #ffffff;
  }
  100% {
      box-shadow: 0 0 30px #ffffff, 0 0 60px #ffffff, 0 0 90px #ffffff;
  }
}

/* Funny and Cool Message */
.funny-message {
  font-size: 20px;
  color: #fcff62;
  background-color: #210031;
  padding: 60px 30px; /* Top, bottom, left, right padding */
  text-align: center;
  border-radius: 15px;
  margin: 30px auto;
  max-width: 80%;
  font-family: 'Poppins', cursive, sans-serif;
  font-weight: bold;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: bounceIn 2s ease-out;
}

/* Bounce-in Animation */
@keyframes bounceIn {
  0% {
      transform: scale(0.8);
      opacity: 0;
  }
  50% {
      transform: scale(1.1);
      opacity: 0.6;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

/* Header Section */
.header {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    background-image: url('header-image.jpg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the whole header */
    background-position: center; /* Centers the image */
    position: relative; /* Enables overlay positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 15px; /* Add space inside the header */
}

/* Overlay Styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px; /* Add space between content and edges */
}

/* Header Text Styling */
.header-title {
    color: #ffffff; /* White text */
    font-size: 3rem; /* Adjust title size */
    font-weight: bold;
    margin: 0;
    margin-bottom: 10px; /* Adds spacing below the title */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adds shadow for better visibility */
}

.header-subtitle {
    color: #f0f0f0; /* Light gray text */
    font-size: 1.5rem; /* Adjust subtitle size */
    margin-top: 10px;
    margin-bottom: 20px; /* Adds spacing below the subtitle */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* Profile Container */
.section-container {
  display: flex;
  align-items: center;
  background-color: #00000078;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 15px auto;
  
}

/* Skills Container */
.section-container {
  background-color: #000b7e78;
  background: (255, 255, 255, 0.1); /* Transparent white container */
  border: 2px solid #ffffff; /* White border for distinction */
  border-radius: 10px;
  padding: 30px; /* Increased padding for more space */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
  text-align: center;
}

.section-container:hover {
  transform: scale(1.05); /* Enlarge on hover */
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3); /* Add a glowing shadow */
}

/* Section Heading */
.section-container h2 {
  font-size: 2rem; /* Larger heading */
  color: #ffffff; /* Violet color for title */
  font-weight: bold;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

/* Paragraph */
.section-container p {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 20px; /* Spacing between paragraph and button */
  line-height: 1.6;
  transition: color 0.3s ease;
}

.section-container p:hover {
  color: #fff; /* Brighten the text on hover */
}

/* Skills Container */
.section-container {
  background: rgba(255, 255, 255, 0.1); /* Transparent white container */
  padding: 30px; /* Increased padding for more space */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
  text-align: center;
  display: flex;
  flex-direction: column; /* Ensure the content is stacked vertically */
  justify-content: space-between; /* Space between content and button */
  height: 300px; /* Adjust container height */
}

.section-container:hover {
  transform: scale(1.05); /* Enlarge on hover */
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3); /* Add a glowing shadow */
}

/* Section Heading */
.section-container h2 {
  font-size: 2rem; /* Larger heading */
  color: #ffffff; /* Violet color for title */
  font-family: Poppins;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Paragraph */
.section-container p {
  font-size: 1.1rem;
  color: #fffc4e;
  margin-bottom: 20px; /* Spacing between paragraph and button */
  line-height: 1.6;
  transition: color 0.3s ease;
}

.section-container p:hover {
  color: #fff; /* Brighten the text on hover */
}

/* Click Here Button */
.button-container {
  margin-top: auto; /* Push the button to the bottom */
  display: flex;
  justify-content: center;
}

.click-button {
  background-color: #6a5acd;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.section-container:hover {
  transform: scale(1.05); /* Enlarge on hover */
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3); /* Add a glowing shadow */
}

.click-button:hover {
  background-color: #8a2be2; /* Lighter violet color on hover */
  transform: translateY(-5px); /* Slight lift on hover */
}

.click-button:active {
  transform: translateY(2px); /* Button presses down slightly when clicked */
}

/* From Uiverse.io by shah1345 */ 
.button2 {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 0.7em 1.7em;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0.5em;
  background: #59c8ff;
  border: 1px solid #e8e8e8;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.button2:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #45a5fe, inset -4px -4px 12px #ffffff;
}

.button2:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #009087;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.button2:hover {
  color: #5ed9ff;
  border: 1px solid #009087;
}

.button2:hover:before {
  top: -35%;
  background-color: #62fff5;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.button2:hover:after {
  top: -45%;
  background-color: #000000;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}



