/* style.css */
:root {
    /* Dark theme color variables */
    --dark-bg: #0d1117;
    --dark-secondary: #161b22;
    --sidebar-bg: #0a0e14;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --accent-hover: #79c0ff;
    --border-color: #30363d;
    --card-bg: #1c2128;
    --success-color: #56d364;
    
    /* Fonts */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
  }
  
  /* Base styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-primary);
    font-weight: 600;
  }
  
  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  a:hover {
    color: var(--accent-hover);
  }
  
  /* Header & Sidebar */
  .header {
    position: fixed;
    width: 250px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    padding: 20px;
    z-index: 1000;
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow-y: auto;
  }
  
  .profile-img {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .profile-circle {
    width: 120px;
    height: 120px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto;
  }
  
  .logo {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .sitename {
    font-size: 24px;
    color: var(--text-primary);
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-3px);
  }
  
  /* Navigation Menu */
  .navmenu ul {
    list-style: none;
  }
  
  .navmenu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 5px;
  }
  
  .navmenu a:hover,
  .navmenu a.active {
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
  }
  
  .navmenu .navicon {
    margin-right: 10px;
  }
  
  /* Main Content */
  .main {
    margin-left: 250px;
    padding: 0;
    transition: all 0.3s ease;
    min-height: 100vh;
  }
  
  .section {
    padding: 80px 0;
    min-height: 100vh;
  }
  
  .section-title {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .section-title h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
  }
  
  .section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
  }
  
  /* Dark Background for alternating sections */
  .dark-background {
    background-color: var(--dark-secondary);
  }
  
  /* Hero Section */
  /* Hero Section Styling */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 100vh;
    padding: 0;
  }
  
  .hero .container {
    max-width: 800px;
    padding: 0 30px;
  }
  
  .hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
  }
  
  .hero .subtitle {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-color);
  }
  
  .hero .description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--text-secondary);
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .primary-btn {
    background-color: var(--accent-color);
    color: var(--text-primary);
  }
  
  .primary-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
  }
  
  .secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-color);
  }
  
  .secondary-btn:hover {
    background-color: rgba(88, 166, 255, 0.1);
    transform: translateY(-3px);
  }
  
  /* About Section */
  .info-box {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
  }
  
  .info-box ul {
    list-style: none;
    padding: 0;
  }
  
  .info-box ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .info-box ul li i {
    color: var(--accent-color);
    margin-right: 10px;
  }
  
  /* Experience Section */
  .experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline-item {
    position: relative;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
  }
  
  .timeline-item h3 {
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 5px;
  }
  
  .timeline-item h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
  }
  
  .timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .timeline-content h5 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
  }
  
  .timeline-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }
  
  .timeline-content ul li {
    margin-bottom: 10px;
  }
  
  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .tech-stack span {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s ease;
  }
  
  .tech-stack span:hover {
    background-color: rgba(88, 166, 255, 0.2);
  }
  
  /* Projects Section */
  /* Project Section Styling - Updated for the new design */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
  }
  
  .project-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
  }
  
  .project-image {
    height: 220px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .project-details h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
  }
  
  .project-details p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  .project-details ul {
    margin-bottom: 15px;
    padding-left: 20px;
  }
  
  .project-details ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    position: relative;
  }
  
  .project-details ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -15px;
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
  }
  
  .project-tech span {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
  }
  
  .project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
    opacity: 100%;
  }
  .project-links .btn.small-btn {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #0d6efd;
    color: white;
  }
  
  .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 8px 25px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
  }
  
  /* Skills Section */
  .skills-content {
    margin-bottom: 50px;
  }
  
  .skill-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
  }
  
  .progress {
    background: none;
    margin-bottom: 25px;
    height: auto;
  }
  
  .progress .skill {
    padding: 0;
    margin: 0 0 8px 0;
    display: block;
    font-size: 16px;
    color: var(--text-primary);
  }
  
  .progress .skill .val {
    float: right;
    color: var(--accent-color);
    font-style: normal;
  }
  
  .progress-bar-wrap {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }
  
  .progress-bar {
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 4px;
    transition: width 1s ease;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
  }
  
  .skill-category-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }
  
  .skill-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
  }
  
  .skill-category-card h3 {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .skill-category-card h3 i {
    font-size: 20px;
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .skill-tags span {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .skill-tags span:hover {
    background-color: rgba(88, 166, 255, 0.2);
    color: var(--text-primary);
  }
  
  .certifications {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .certification {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background-color: rgba(88, 166, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .certification:hover {
    background-color: rgba(88, 166, 255, 0.2);
  }
  
  .certification i {
    color: var(--success-color);
    font-size: 20px;
  }
  
  /* Contact Section */
  .info-wrap {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    border: 1px solid var(--border-color);
  }
  
  .info-item {
    margin-bottom: 30px;
  }
  
  .info-item:last-child {
    margin-bottom: 0;
  }
  
  .info-item i {
    font-size: 24px;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    background-color: rgba(88, 166, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
  }
  
  .info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .contact-form .form-control {
    padding: 12px 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    height: auto;
    transition: all 0.3s ease;
  }
  
  .contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
  }
  
  .contact-form .form-control::placeholder {
    color: var(--text-secondary);
  }
  
  /* Footer */
  .footer {
    background-color: var(--dark-secondary);
    padding: 20px 0;
    text-align: center;
    margin-left: 250px;
    border-top: 1px solid var(--border-color);
  }
  
  .copyright p {
    margin: 0;
    font-size: 14px;
  }
  
  /* Scroll Top Button */
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.4s;
  }
  
  .scroll-top:hover {
    background-color: var(--accent-hover);
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }
  
  /* Responsive styles */
  @media (max-width: 1200px) {
    .header {
      width: 220px;
    }
    
    .main, .footer {
      margin-left: 220px;
    }
  }
  
  @media (max-width: 991px) {
    .header {
      width: 70px;
      padding: 15px 10px;
    }
    
    .header .profile-circle {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }
    
    .header .sitename, 
    .header .nav-links span {
      display: none;
    }
    
    .social-links {
      flex-direction: column;
    }
    
    .main, .footer {
      margin-left: 70px;
    }
    
    .navmenu a {
      justify-content: center;
      padding: 12px;
    }
    
    .navmenu .navicon {
      margin-right: 0;
      font-size: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .header {
      left: -70px;
      transition: all 0.3s ease;
    }
    
    .header.mobile-active {
      left: 0;
    }
    
    .mobile-menu-toggle {
      display: block;
      position: fixed;
      top: 15px;
      right: 15px;
      background-color: var(--accent-color);
      color: var(--text-primary);
      width: 40px;
      height: 40px;
      border-radius: 5px;
      z-index: 1001;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    
    .main, .footer {
      margin-left: 0;
    }
    
    .hero h2 {
      font-size: 36px;
    }
    
    .hero p {
      font-size: 20px;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .section-title h2 {
      font-size: 28px;
    }
    
    .skills-grid {
      grid-template-columns: 1fr;
    }
    
    .project-grid {
      grid-template-columns: 1fr;
    }
    
    .hero-buttons {
      flex-direction: column;
      gap: 15px;
    }
    
    .btn {
      width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .contact-container {
      flex-direction: column;
    }
    
    .hero h2 {
      font-size: 28px;
    }
    
    .hero p {
      font-size: 18px;
    }
    
    .hero .subtitle {
      font-size: 16px;
    }
  }

  /* tabs */

  /* Tab navigation styling */
.project-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  display: flex;
  overflow-x: auto;
  padding-bottom: 0;
  gap: 1rem;
}

.project-tabs .nav-link {
  color: var(--text-secondary);
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
  background: transparent;
  position: relative;
  border-radius: 0;
  transition: all 0.3s;
  white-space: nowrap;
}

.project-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.project-tabs .nav-link.active {
  color: var(--text-primary);
  background: transparent;
  border: none;
}

.project-tabs .nav-link.active::after {
  width: 100%;
}

.project-tabs .nav-link:hover {
  color: var(--accent-color);
}

/* Tab content styling */
.project-tab-content {
  padding: 2rem 0;
}

.project-tab-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background-color: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-tab-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.project-image {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-tab-wrapper:hover .project-image img {
  transform: scale(1.05);
}

.project-details {
  flex: 0 0 60%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

/* Make sure project links are visible */
.project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  margin-top: 1.5rem;
}

.project-links .btn.small-btn {
  opacity: 1 !important;
  visibility: visible !important;
  background-color: var(--accent-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.project-links .btn.small-btn i {
  margin-right: 0.5rem;
}

.project-links .btn.small-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .project-tab-wrapper {
    flex-direction: column;
  }
  
  .project-image {
    flex: 0 0 100%;
    max-width: 100%;
    height: 220px;
  }
  
  .project-details {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .project-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .project-tabs .nav-link {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}