/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #4469e3;
}

/* Section Padding */
section {
  padding: 80px 0;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: #0d166c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #0d166c;
  margin: 0 auto;
}

/* Navbar Styles */
.nav_bar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
}

.brand-first {
  color: #333;
}

.brand-last {
  color:  #9d99e0;
}

.profile-pic {
  border-radius: 50%;
  margin-right: 10px;
}

.nav-link {
  color: #555;
  font-weight: 500;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color:#3b4bd9;
}

.nav-link.active {
  color:#ffffff !important;
  background-color:  #9d99e0;
  border-radius: 5px;
}
/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: #0d166c;
  color: #fff;
  border: 2px solid #0d166c;
}

.primary-btn:hover {
  background-color: transparent;
  color: #0d166c;
}

.secondary-btn {
  background-color: transparent;
  color: #0d166c;
  border: 2px solid #0d166c;
}

.secondary-btn:hover {
  background-color: #0d166c;
  color: #fff;
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  background-color: #f8f9fa;
}

.hero-content {
  padding-right: 30px;
}

.subtitle {
  font-size: 1.2rem;
  color: #0d166c;
  margin-bottom: 10px;
}

.name-highlight {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.title {
  font-size: 1.8rem;
  color: #666;
  font-weight: 500;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-image-container {
  max-width: 400px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
  font-size: 2.5rem;
  color: #0d166c;
  margin-bottom: 20px;
}

.about-image-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}
.skill-bars {
  margin-top: 20px;
}

.skill {
  margin-bottom: 15px;
}

.skill-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.skill-bar {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background-color: #0d166c;
  border-radius: 5px;
}

.project-link {
  color: #0d166c;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  color:#0d166c;
}

/* Education Section */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #e9ecef;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.education-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.edu-logo img {
  max-height: 80px;
  max-width: 100%;
}

.edu-details .date {
  background-color: #0d166c;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.edu-details h4 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.edu-details h5 {
  font-size: 1.1rem;
  color: #0d166c;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-form-container {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0d166c;
  box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
}

.contact-info {
  background-color: #0d166c;
  color: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.info-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #fff;
  color: #1b1761;
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #9d99e0;
}

.footer-links a {
  margin: 0 10px;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1c1961;
}

.footer-social a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #151154;
}

.copyright {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-content {
      padding-right: 0;
      margin-bottom: 50px;
      text-align: center;
  }

  .hero-image-container {
      max-width: 300px;
  }

  .timeline::before {
      left: 0;
  }
}

@media (max-width: 767px) {
  section {
      padding: 60px 0;
  }

  .section-title {
      font-size: 2rem;
  }

  .name-highlight {
      font-size: 2.5rem;
  }

  .about-card,
  .education-card {
      margin-bottom: 30px;
  }

  .info-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .info-icon {
      margin-right: 0;
      margin-bottom: 10px;
  }

  .social-icons {
      justify-content: center;
  }
}
/* Projects Section */
.projects-section {
  background-color: #f8f9fa;
  padding: 100px 0;
}

.project-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image-container {
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-details {
  padding: 20px;
}

.project-details h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.project-details p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.tech-stack .badge {
  margin-right: 5px;
  font-size: 0.8rem;
  padding: 5px 10px;
}
/* GitHub Box */
.github-box {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.github-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.github-icon {
  font-size: 3rem;
  color: #6c63ff;
  margin-bottom: 15px;
}

.github-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.github-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.btn.primary-btn i {
  margin-right: 10px;
}
/* Skills Box */
.skills-box {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.skills-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skills-icon {
  font-size: 3rem;
  color: #181556;
  margin-bottom: 15px;
}

.skills-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.skills-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.skill-badge {
  background-color: #1a1666;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background-color: #3a3494;
  transform: translateY(-2px);
}