/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto slab", serif;
}

/* Dark Theme */
body {
  background-color: #121212;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #1a1a1a;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar .profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  padding: 0;
}

.sidebar h2 {
  font-size: 25px;
  margin-bottom: 10px;
}

.sidebar nav ul {
  list-style: none;
  width: 100%;
}

.sidebar nav ul li {
  width: 100%;
  padding-right: 80px;
  text-align: left;
  padding-left: 0;
  margin-bottom: 10px;
}

.sidebar nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.sidebar nav ul li a:hover {
  background-color: #333;
  border-radius: 5px;
}

/* Social Media Icons */
.sidebar .socials {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.sidebar .socials a {
  display: inline-block;
  margin: 5px;
  font-size: 20px;
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}

.sidebar .socials a:hover {
  color: #007bff;
}

/* Main Content */
.content {
  flex-grow: 1; 
  margin-left: 250px; 
  width: calc(100% - 250px); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0; 
  overflow: hidden; 
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 20px;
}

.hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(163, 92, 251);
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.3s;
}

.hero .btn:hover {
  background-color: rgb(105, 52, 171);
}

/* Footer */
footer {
  margin-left: 250px; 
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  width: calc(100% - 250px);
  position: relative; 
  bottom: 0;
  left: 0;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    width: 200px;
  }

  .content,
  footer {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 180px;
  }

  .content,
  footer {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
}

main {
  margin-left: 250px; 
  padding: 20px;
  min-height: calc(100vh - 100px); 
}

.hero img {
  width: 150px;
  height: 150px;
  border-radius: 0; 
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 20px;
}
.Socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.Socials a {
  display: inline-block;
  margin: 5px;
  font-size: 20px;
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}

.Socials a:hover {
  color: rgb(105, 52, 171); 
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Profile Image */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Effect */
.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: rgb(163, 92, 251);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: rgb(105, 52, 171);
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  padding: 40px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  text-align: left;
}

/* Profile Image */
.about-section img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Project Cards */
.about-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.project {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project i {
  font-size: 28px;
  color: rgb(163, 92, 251);
  margin-bottom: 10px;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgb(163, 92, 251);
}

/* Client Testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.testimonial {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-style: italic;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial h4 {
  font-size: 16px;
  margin-top: 10px;
  color: rgb(163, 92, 251);
}

.testimonial:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgb(163, 92, 251);
}

/* Smooth Animations */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Resume Section */
.resume-section {
  max-width: 100%;
  margin: auto;
  padding: 30px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Smooth Fade-In Animations */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Headings */
.resume-section h2 {
  font-size: 24px;
  color: rgb(251, 251, 252);
  margin-bottom: 15px;
  border-bottom: 2px solid rgb(163, 92, 251);
  padding-bottom: 5px;
}

/* Skills Section */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Skill Progress Bars */
.skill p {
  margin-bottom: 5px;
  color: white;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background: rgb(163, 92, 251);
  width: 0; 
  transition: width 1.5s ease-in-out;
}

/* Job Experience */
.job {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Download Button */
.btn {
  display: inline-block;
  padding: 12px 20px;
  margin-top: 15px;
  text-decoration: none;
  color: white;
  background: rgb(163, 92, 251);
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background: rgb(105, 52, 171);
}

/* Icons */
.btn i {
  margin-right: 5px;
}

/* Portfolio Section */
.portfolio-section {
  text-align: center;
  max-width: 1200px;
  margin: auto;
  padding: 30px;
}

/* Portfolio Title */
.portfolio-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: rgb(163, 92, 251);
}

/* Filter Buttons */
.filter-buttons {
  margin-bottom: 20px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgb(163, 92, 251);
}

/* Project Grid Layout */
.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-content: center;
}

/* Project Card Styling */
.project {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Project Image */
.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

/* Project Hover Effects */
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(163, 92, 251, 0.3);
}

.project:hover img {
  transform: scale(1.05);
}

/* Project Titles */
.project h3 {
  font-size: 20px;
  color: white;
  margin-top: 15px;
}

/* Project Description */
.project p {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 10px;
}

/* Tech Tags */
.project-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.project-tags span {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  color: #ffffff;
}

/* View Project Button */
.btn {
  display: inline-block;
  padding: 10px 15px;
  margin-top: 10px;
  text-decoration: none;
  color: white;
  background: rgb(163, 92, 251);
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background: rgb(120, 50, 220);
}

/* Contact Section */
.contact-section {
  text-align: center;
  max-width: 600px;
  margin: auto;
  padding: 30px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Contact Title */
.contact-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: rgb(163, 92, 251);
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* Form Groups */
.form-group {
  text-align: left;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 16px;
  margin-bottom: 5px;
}

/* Input Fields */
input,
textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgb(163, 92, 251);
}

/* Send Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgb(163, 92, 251);
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background: rgb(120, 50, 220);
}

/* Contact Info */
.contact-info {
  margin-top: 30px;
  text-align: center;
}

.contact-info h3 {
  color: white;
  margin-bottom: 10px;
}

.contact-info p {
  color: #cccccc;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
