/**
 * Theme Name:     Hello Elementor Child
 * Author:         Ankush Goyal
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Ankush goyal portfolio
 */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #0d0f14;
  color: #d1d5db;
  overflow:hidden;
}

/* Layout */
.container {
  display: flex;
  min-height: 100vh;
}

/* LEFT */
.sidebar {
  width: 35%;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid #1f2937;
  padding: 40px;
}

.sidebar h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}

.sidebar p {
  color: #9ca3af;
  margin-bottom: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap:10px;
}

.btn {
  background: #1f2937;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #374151;
}

.icons {
  display: flex;
  gap: 15px;
}

.icons svg {
  width: 22px;
  height: 22px;
  color: #9ca3af;
}

/* Skills */
.section-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
}

.skill-block {
  margin-bottom: 20px;
}

.skill-block p:first-child {
  color: #fff;
  font-weight: 600;
  margin-bottom:5px;
}

.skill-block p:last-child {
  color: #9ca3af;
  font-size: 14px;
}

/* RIGHT */
.content {
  width: 65%;
  padding: 40px;
      height: 100vh;
    overflow-y: auto;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.tab {
  padding: 8px 16px;
  border-radius: 8px;
  background: #111827;
  color: #9ca3af;
  cursor:pointer;
}

.tab.active {
  background: #1f2937;
  color: #fff;
}

/* Experience */
.experience-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.date {
  max-width: 140px;
  color: #9ca3af;
}

.exp-content h3 {
  color: #fff;
  margin-bottom: 10px;
}

.exp-content p {
  color: #9ca3af;
  margin-bottom: 10px;
}

.exp-content ul {
  list-style: none;
}

.exp-content li {
  margin-bottom: 6px;
  color: #9ca3af;
}
.project-card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  transition: 0.3s;
}


.project-card:hover {
 background:linear-gradient(135deg, rgba(59,130,246,0.1), transparent);
}

.project-left h3 {
  color: #fff;
  margin-bottom: 10px;
}

.project-left p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tags span {
  background: #1f2937;
  color: #e5e7eb;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.links a {
  color: #9ca3af;
  text-decoration: none;
}

.project-right .image-box {
  border-radius: 10px;
  overflow: hidden;
  background: #111827;
  transition: 0.3s;
  height:180px;
}

.project-card:hover .image-box {
  transform: scale(1.05);
}

.project-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-content{
    display:none;
}
.tab-content.active{
    display:block;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar, .content {
    width: 100%;
    height: auto;
  }
  body{
      overflow:auto;
  }
}

.container{
    max-width:2000px !important;
    margin:auto;
    width:100%;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #6b6f76; /* gray */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8a8f98;
}