/* General */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111827;
  color: #e5e7eb;
}

/* Sidebar (Desktop Default) */
.sidebar {
  background: #1f2937;
  padding: 20px;
  width: 300px;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Tablet + Mobile Fix */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;        
    height: auto;         
  }

  .main-content {
    margin-left: 0;  
    padding: 20px;
  }
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #10b981;
  display: block;
  margin: 0 auto 15px;
}
.name { font-size: 20px; font-weight: bold; text-align: center; }
.tagline { font-size: 13px; text-align: center; color: #9ca3af; }
.info { margin: 20px 0; font-size: 14px; }

/* Sections */
.section { margin: 20px 0; }
.section-title { font-weight: bold; margin-bottom: 10px; }

/* Progress Bars */
.progress { background: #374151; border-radius: 10px; height: 8px; margin-bottom: 12px; }
.progress-bar { background: #10b981; height: 100%; border-radius: 10px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; }

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.socials a { color: #9ca3af; font-size: 22px; transition: .3s; }
.socials a:hover { color: #10b981; }

  /* Desktop nav (side) */
    .side-nav {
      position: fixed;
      right: 20px; 
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 20px;
      font-size: 22px;
      z-index: 1000;
    }
    .side-nav a { color: #d1d5db; transition: .3s; text-decoration: none; }
    .side-nav a:hover { color: #10b981; }

    /* Mobile nav hidden by default */
    .mobile-nav {
      position: fixed;
      top: 0; 
      right: -100%;  /* hide in right side */
      width: 70%;
      height: 100vh;
      background: #1f2937;
      padding-top: 60px;
      display: flex;
      flex-direction: column;
      gap: 25px;
      align-items: center;
      transition: .3s ease;
      z-index: 1001;
    }
    .mobile-nav.show {
      right: 0; /* show from right */
    }
    .mobile-nav a {
      color: #d1d5db;
      font-size: 20px;
      text-decoration: none;
    }
    .mobile-nav a:hover {
      color: #10b981;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      opacity: 0;
      pointer-events: none;
      transition: .3s ease;
      z-index: 1000;
    }
    .overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    /* Hamburger button */
    .menu-btn {
      display: none;
      position: fixed;
      top: 15px; 
      right: 15px;
      background: #1f2937;
      color: #fff;
      font-size: 28px;
      padding: 8px 10px;
      border-radius: 6px;
      cursor: pointer;
      z-index: 1002;
    }

    @media (max-width: 768px) {
      .side-nav {
        display: none; /* hide side nav */
      }
      .menu-btn {
        display: block;
      }
    }

/* Main Content */
.main-content {
  margin-left: 270px;
  padding: 50px;
}


/*hero area style*/

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero .name {
  background: linear-gradient(90deg, #3b82f6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
}

.hero h2 {
  font-size: 2rem;
  margin-top: 10px;
  min-height: 50px;
}

.hero p {
  margin-top: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
}

/* Hero */
.hero {
  background: #1f2937;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero h2 { font-size: 28px; margin-bottom: 10px; }
.highlight { color: #10b981; font-weight: bold; }
.btn {
  background: #10b981;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}
.btn:hover { background: #34d399; }
.hero img{
  width:20%;
}




/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  background: #1f2937;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2d3748;
  margin-top: 20px;
}

.stat-box {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box i {
  font-size: 2.5rem;
  color: #10B981;
  margin-bottom: 10px;
}

.stat-box h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 0.95rem;
  color: #cbd5e1;
}


/* Tablet */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }
  .main-content {
    margin-left: 0;
    padding: 20px;
  }
  */
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .hero h2 { font-size: 22px; }
  .btn { padding: 8px 16px; font-size: 14px; }

  .sidebar {
    padding: 15px;
  }
  .profile-pic {
    width: 100px;
    height: 100px;
  }
  .hero img{
  width:100%;
}
}



/* Section Base */
.services-section {
  color: #ddd;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* Title */
.exprience-section-title {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 50px;
}
.section-title .highlight {
  color: #6aff6a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-title .bold {
  font-weight: 700;
  color: #fff;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Service Card */
.service-card {
  background: #1f2937;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}
.service-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}
.service-card .green {
  color: #6aff6a;
}

/* Border Animation */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #6aff6a;
  border-radius: 12px;
  transform: scale(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scale(1);
}






/* ====== CSS Styling =======*/
.edu-exp-section {
  padding: 70px 20px;
  font-family: 'Poppins', sans-serif;
  color: #ddd;
}

.edu-exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: #1f2937;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

/* Hover Border Animation */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #6aff6a;
  border-radius: 12px;
  transform: scale(0);
  transition: transform 0.4s ease;
}
.card:hover::before {
  transform: scale(1);
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}
.card-title .icon {
  font-size: 22px;
  margin-right: 8px;
  color: #6aff6a;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}
.timeline li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #6aff6a;
  font-size: 18px;
}
.timeline .year {
  color: #bbb;
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}
.timeline .title {
  color: #6aff6a;
  font-weight: 600;
  display: block;
}
.timeline p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}







.projects-section {
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  color: #ddd;
}

.projects-section-title {
  font-size: 28px;
  margin-bottom: 40px;
  line-height: 1.4;
}
.section-title .highlight {
  color: #6aff6a;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Project Card */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  position: relative;
  transition: 0.4s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #6aff6a;
  border-radius: 12px;
  transform: scale(0);
  transition: transform 0.4s ease;
}
.project-card:hover::before {
  transform: scale(1);
}

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

/* Info Section */
.project-info {
  padding: 25px;
}
.project-title {
  font-size: 22px;
  color: #6aff6a;
  margin-bottom: 10px;
}
.project-desc {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 15px;
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.project-meta li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ccc;
}
.project-meta strong {
  color: #fff;
}

/* Links */
.btn-link {
  margin-right: 15px;
  text-decoration: none;
  color: #6aff6a;
  font-size: 14px;
}
.btn-link:hover {
  text-decoration: underline;
}

/* Swiper Nav */
.swiper-button-prev, .swiper-button-next {
  color: #6aff6a;
}
.swiper-pagination-bullet {
  background: #6aff6a;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-img {
    height: 200px;
  }
}