
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 20px;
  font-weight: 700;
  color: #222;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #5e17eb;
}

.btn {
  display: inline-block;
  padding: 9px 20px;
  background-color: #5e17eb;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #5e17eb;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: #5e17eb;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(94, 23, 235, 0.2);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.sticky {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5e17eb;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #5e17eb;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #5e17eb;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  width: 50%;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-content .btn {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-image {
  position: absolute;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url("/api/placeholder/500/800");
  background-size: cover;
  background-position: center;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  animation: slideIn 1s ease;
}

.hero-social {
  position: absolute;
  bottom: 50px;
  left: 50px;
  display: flex;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #5e17eb;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-social a:hover {
  transform: translateY(-5px);
  background-color: #4a11c5;
  box-shadow: 0 10px 20px rgba(94, 23, 235, 0.3);
}
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  font-size: 2rem;
}

.floating-elements .float {
  position: absolute;
  animation: floatUp 12s linear infinite;
  opacity: 0.8;
}

.floating-elements .flower {
  left: 20%;
  top: 100%;
  animation-delay: 0s;
}

.floating-elements .bow {
  left: 70%;
  top: 110%;
  animation-delay: 3s;
}

.floating-elements .flower.second {
  left: 40%;
  top: 120%;
  animation-delay: 5s;
}

.floating-elements .bow.second {
  left: 85%;
  top: 130%;
  animation-delay: 7s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-130vh) rotate(360deg);
    opacity: 0;
  }
}


/* About Section */
#about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #5e17eb;
  border-radius: 10px;
  top: 20px;
  left: 20px;
  z-index: -1;
  transition: all 0.5s ease;
}

.about-image:hover::before {
  top: 10px;
  left: 10px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #555;
}

.about-stats {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #5e17eb;
  color: white;
}

.stat-item:hover h3,
.stat-item:hover p {
  color: white;
}

.stat-item h3 {
  font-size: 2rem;
  color: #5e17eb;
  transition: all 0.3s ease;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Skills Section */
#skills {
  background-color: #f8f9fa;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.skill-category {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  margin-bottom: 20px;
  color: #5e17eb;
  font-size: 1.5rem;
  text-align: center;
}

.skill-item {
  margin-bottom: 15px;
}

.skill-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-item-header span {
  font-weight: 600;
  color: #333;
}

.skill-progress {
  width: 100%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress div {
  height: 100%;
  background-color: #5e17eb;
  border-radius: 10px;
  width: 0;
  transition: width 1.5s ease;
}

/* Education Section */
#education {
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 30px;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background-color: #e9ecef;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  margin-bottom: 30px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 3px solid #5e17eb;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item:hover::after {
  background-color: #5e17eb;
  transform: scale(1.2);
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::after {
  right: -10px;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  color: #5e17eb;
  margin-bottom: 10px;
}

.timeline-content h4 {
  color: #666;
  font-size: 1rem;
  margin-bottom: 15px;
}

.timeline-content p {
  color: #555;
}

.timeline-date {
  background-color: #5e17eb;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 10px;
}

/* Projects Section */
#projects {
  background-color: #f8f9fa;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: white;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  color: #333;
  margin-bottom: 10px;
  transition: all;
  transition: all 0.3s ease;
}

.project-card:hover .project-content h3 {
  color: #5e17eb;
}

.project-content p {
  color: #666;
  margin-bottom: 15px;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.project-technology {
  background-color: #f1f3f5;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5e17eb;
  transition: all 0.3s ease;
}

.project-card:hover .project-technology {
  background-color: #e6e0fb;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  text-decoration: none;
  color: #5e17eb;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-links a:hover {
  color: #4a11c5;
  transform: translateX(5px);
}

.prjctbtn {
  background-color: #5e17eb; /* Bootstrap Blue */
  color: white;
  padding: 12px 15px;
  text-align: center;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

/* Center the button absolutely on the page */
.center-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh;  */
}

.prjctbtn:hover {
  background-color: #4a11c5; /* Darker shade on hover */
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(94, 23, 235, 0.2);
}

/* Experience Section */
#experience {
  background-color: white;
}

.experience-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 30px;
}

.experience-item {
  border-left: 3px solid #5e17eb;
  padding-left: 20px;
  margin-bottom: 40px;
  position: relative;
}

.experience-item::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: white;
  border: 3px solid #5e17eb;
  border-radius: 50%;
  left: -9px;
  top: 0;
  transition: all 0.3s ease;
}

.experience-item:hover::before {
  background-color: #5e17eb;
  transform: scale(1.2);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.experience-role {
  margin-bottom: 5px;
  color: #5e17eb;
}

.experience-company {
  font-weight: 600;
  color: #333;
}

.experience-date {
  background-color: #5e17eb;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.experience-description {
  color: #555;
}

.experience-item:hover {
  transform: translateX(5px);
}

/* Extracurricular Section */
#extracurricular {
  background-color: #f8f9fa;
}

.extracurricular-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.extracurricular-item {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.extracurricular-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.extracurricular-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #5e17eb;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

.extracurricular-item:hover::before {
  height: 8px;
}

.extracurricular-item h3 {
  color: #5e17eb;
  margin-bottom: 10px;
}

.extracurricular-item p {
  color: #555;
  margin-bottom: 15px;
}

.extracurricular-date {
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
}

/* Contact Section */
#contact {
  background-color: white;
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-info p {
  margin-bottom: 30px;
  color: #555;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: #5e17eb;
  transform: translateX(5px);
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5e17eb;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background-color: #5e17eb;
  color: white;
}

.contact-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #5e17eb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social a:hover {
  background-color: #5e17eb;
  color: white;
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #5e17eb;
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.btn {
  flex: 1;
  padding: 12px 15px;
  background-color: #5e17eb;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 0px 0 20px;
}

.footer-bottom {
  text-align: center;
  text-decoration: none;
  padding-top: 20px;
  border-top: 1px solid #444;
}
.footer-bottom a{
  text-decoration: none;
  color: #5e17eb;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    width: 70%;
  }

  .hero-image {
    width: 40%;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 20px;
  }

  .right {
    left: 0;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    display: none;
  }

  .hero-social {
    position: relative;
    bottom: auto;
    left: auto;
    justify-content: center;
    margin-top: 30px;
  }

  .about-stats {
    flex-direction: column;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    height: calc(100vh - 80px);
    padding: 40px;
    transition: all 0.3s ease;
    z-index: 2;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
