/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* Light Mode */
body.light-mode {
  background-color: #ffffff;
  color: #333333;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .nav-logo a {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand-full {
  display: block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

}

.nav-brand-mobile {
  display: none;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Adjust size as needed */
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.light-mode .nav-link {
  color: #333333;
}

.nav-link:hover {
  color: #667eea;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(45deg, #667eea, #764ba2);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* Theme Switch */
.theme-switch {
  position: relative;
}

.switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60px;
  height: 30px;
  background: #333;
  border-radius: 30px;
  cursor: pointer;
  padding: 5px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .switch {
  background: #ddd;
}

.switch i {
  font-size: 14px;
  color: #fff;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .switch i {
  color: #333;
}

.switch::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  top: 4px;
  left: 4px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .switch::after {
  background: #333;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked+.switch::after {
  transform: translateX(30px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .bar {
  background: #333333;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding-top: 70px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 600;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .hero-description {
  color: #666666;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border: 1px solid #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

/* Profile Card */
.profile-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .profile-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-card:hover {
  transform: translateY(-10px);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 3px solid rgba(102, 126, 234, 0.3);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover .profile-image {
  transform: scale(1.05);
}

.profile-avatar i {
  font-size: 3rem;
  color: white;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-info p {
  color: #667eea;
  font-weight: 600;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-indicator a {
  color: #667eea;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Styles */
section {
  padding: 5rem 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About Section */
.about {
  background: #0f0f23;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .about {
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #cccccc;
  line-height: 1.8;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: justify;
}

.light-mode .about-text p {
  color: #666666;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .stat {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 0.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat p {
  color: #cccccc;
  font-weight: 500;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .stat p {
  color: #666666;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 3px solid rgba(102, 126, 234, 0.3);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-placeholder:hover .about-image {
  transform: scale(1.05);
}

.image-placeholder i {
  font-size: 4rem;
  color: white;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Education Section */
.education {
  background: #0a0a0a;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .education {
  background: #ffffff;
}

.education-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.education-item {
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .education-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.light-mode .education-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.education-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-icon i {
  font-size: 2rem;
  color: white;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item:hover .education-icon {
  transform: scale(1.1);
}

.education-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #667eea;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-details .institution {
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 0.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .education-details .institution {
  color: #666666;
}

.education-details .grade,
.education-details .duration {
  color: #667eea;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Training Section */
.training {
  background: #0f0f23;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .training {
  background: #f8f9fa;
}

.training-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.training-item {
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .training-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.light-mode .training-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.training-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.training-icon i {
  font-size: 2rem;
  color: white;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.training-item:hover .training-icon {
  transform: scale(1.1);
}

.training-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #667eea;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.training-details .institution {
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 0.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .training-details .institution {
  color: #666666;
}

.training-details .duration {
  color: #667eea;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.training-points {
  list-style: none;
  padding: 0;
}

.training-points li {
  color: #cccccc;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .training-points li {
  color: #666666;
}

.training-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.training-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

/* Responsive design for education and training sections */
@media (max-width: 768px) {

  .education-item,
  .training-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .education-icon,
  .training-icon {
    margin: 0 auto;
  }

  .training-points li {
    text-align: left;
  }
}

/* Skills Section */
.skills {
  background: #0a0a0a;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .skills {
  background: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
  gap: 2rem;
  justify-content: center;
}

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 350px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.light-mode .skill-category {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.light-mode .skill-category:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #667eea;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category h3 i {
  margin-right: 10px;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.skill-item:hover {
  background: rgba(102, 126, 234, 0.15);
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.light-mode .skill-item:hover {
  background: rgba(102, 126, 234, 0.1);
}

.skill-item i {
  font-size: 1.5rem;
  color: #667eea;
  width: 30px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover i {
  transform: scale(1.2);
  color: #764ba2;
}

.skill-item span {
  font-weight: 500;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover span {
  color: #667eea;
  font-weight: 600;
}

/* Skill item images (for Simple Icons) */
.skill-item img {
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover img {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* Project link icons */
.project-links a i {
  margin-right: 0.5rem;
}


/* Projects Section */
.projects {
  background: #0f0f23;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .projects {
  background: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .project-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image i {
  font-size: 3rem;
  color: white;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #667eea;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .project-content p {
  color: #666666;
}

.project-description {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.project-description li {
  color: #cccccc;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .project-description li {
  color: #666666;
}

.project-description li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-links {
  display: flex;
  gap: 1rem;
}

/* Contact Section */
.contact {
  background: #0a0a0a;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .contact {
  background: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #667eea;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info p {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .contact-info p {
  color: #666666;
}

.contact-items {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .contact-item {
  background: rgba(0, 0, 0, 0.05);
}

.contact-item i {
  color: #667eea;
  font-size: 1.2rem;
  width: 20px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .contact-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .form-group input,
.light-mode .form-group textarea {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #333333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cccccc;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .form-group input::placeholder,
.light-mode .form-group textarea::placeholder {
  color: #999999;
}

/* Footer */
.footer {
  background: #0f0f23;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text p {
  color: #cccccc;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .footer-text p {
  color: #666666;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: #764ba2;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.95);
    width: 100%;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
  }

  .light-mode .nav-menu {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .about-text p {
    text-align: left;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 4px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #5a6fd8, #6a4190);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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


/* Add these styles to your existing CSS file */

/* Resume link that stands out */
.resume-link {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white !important;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  border: none;
  margin-left: 10px;
}

.resume-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white !important;
}

.resume-link::after {
  display: none;
}

/* Light mode resume link */
.light-mode .resume-link {
  color: white !important;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }

  .resume-link {
    margin: 10px 0;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Training Logo Styles */
.training-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.light-mode .training-icon {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo-container {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.training-item:hover .training-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.training-item:hover .training-logo {
  transform: scale(1.05);
}

/* Responsive adjustments for training logos */
@media (max-width: 768px) {
  .training-icon {
    width: 70px;
    height: 70px;
  }

  .logo-container {
    width: 50px;
    height: 50px;
  }

  .nav-brand-full {
    display: none;
  }

  .nav-brand-mobile {
    display: block;
  }
}

/* Education Logo Styles */
.education-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.light-mode .education-icon {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo-container {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-item:hover .education-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.education-item:hover .education-logo {
  transform: scale(1.05);
}

/* Responsive adjustments for education logo */
@media (max-width: 768px) {
  .education-icon {
    width: 70px;
    height: 70px;
  }

  .logo-container {
    width: 50px;
    height: 50px;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }

  .resume-link {
    margin: 10px auto;
    /* Changed margin-left to auto for centering in column layout */
    text-align: center;
    width: 80%;
    max-width: 200px;
    /* Add a max-width to prevent it from becoming too wide */
  }

  .about-content {
    grid-template-columns: 1fr;
    /* Stack items vertically */
    grid-template-areas:
      "image"
      "text";
  }

  .about-image {
    grid-area: image;
    margin: 0 auto;
    /* Center the image */
    max-width: 300px;
    /* Optional: control mobile image size */
  }

  .about-text {
    grid-area: text;
    margin-top: 2rem;
    /* Space between image and text */
  }
}