body {
  background-color: beige !important;;
  margin: 0;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
}



/* Header Styles */
.header {
  font-family: 'Poppins', sans-serif !important;
  background-color: black !important;
  border-radius: 20px 20px 20px 20px !important;
  padding: 1rem 2rem !important;
  margin-bottom: 2rem !important;
}

.logo {
  color: white !important;
  font-size: 24px !important;
  font-weight: bold !important;
}

.nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.left-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.right-section {
  display: flex !important;
  align-items: center !important;
  gap: 4rem !important;
}

.nav {
  display: flex !important;
  gap: 2rem !important;
  align-items: center !important;
}

.nav-link {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.nav-link:hover {
  color: #ccc !important;
}

.social-icons {
  display: flex !important;
  gap: 1rem !important;
}

.icon-link {
  color: white !important;
  font-size: 20px !important;
  transition: color 0.3s ease !important;
  text-decoration: none !important;
}

.icon-link:hover {
  color: #ccc !important;
}

.header-social-icons .icon-link {
  font-size: 22px !important;
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.744);
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 10rem;
  text-align: center;
  color: white;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ccc;
}

.footer-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.timeline-container {
  margin-left: 30px;
  background-color: rgb(234, 234, 225);
  display: flex;
  padding: 2rem;
  color: black;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.223);
  height: 500px;
  box-shadow: black;
  z-index: -1;
  width: 800px;
  border-radius: 30px;
  margin-bottom: 300px;
  align-items: center;
}

.rounded-image {
  width: 350px;
  height: auto;
  margin-top: -60px;
  margin-left: -80px;
}

.text-content {
  text-align: left;
  margin-left: -20px;
  max-width: 600px;
  font-size: 25px;
  margin-right: 40px;
}

.timeline-title {
  margin-top: 20px;
  font-size: 50px;
  font-family: 'Expo M', sans-serif;
}

.summary1 {
  color: rgba(0, 0, 0, 0.722);
  width: 500px;
  margin-top: 50px;
  font-size: 25px;
  font-family: "Montserrat", sans-serif;
}

.summary2 {
  color: rgba(0, 0, 0, 0.722);
  width: 500px;
  margin-top: 50px;
  font-size: 18px;
  font-family: 'Nunito', sans-serif;
  text-align: justify;
}

.title_capt {
  text-align: right;
  font-size: 25px;
  margin-top: 30px;
}

.text_cont {
  display: flex;
}

.starters {
  margin-left: 30px;
  display: flex;
  width: 1000px;
}

#github-profile {
  background: black;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: white;
  padding: 10px;
  max-width: 400px;
  text-align: center;
  margin-left: 65px;
  height: 263px;
  width: 280px;
  margin-top: 40px;
  padding: 0 30px;
  align-items: left;
}

#github-profile img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 2px solid beige;
  margin-top: 15px;
  text-align: left;
  align-content: left;
  align-items: left;
  margin-left: -200px;
}

#github-profile h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: white;
  font-size:17px;
  margin-top: 30px;
}

.bios{
text-align: center;
font-family: 'Helvetica Neue', sans-serif;
color: white;
font-size: 13px;
margin-left: -15px;
font-weight: bold;
line-height: 1.5;
}
.repos
{
font-family: "Helvetica Neue", sans-serif;
font-weight: 100;
color: white;
font-size: 13px;
text-align: center;
 margin-top: -5px;
}


#github-profile a {
  font-family: "Helvetica Neue", sans-serif;
  text-align: center;
  display: inline-block;
  height: 32px;
  border: 1px solid white;
  padding: 5px 16px;
  background-color: black;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  font-weight:550;
}


.repo-card {
  text-align: left;
  background-color:black;
  padding: 10px;
  border-radius: 10px;
  margin-top: 285px;
  height: 225px;
  margin-left: -580px;
  width: 520px;
}

.repo-card h3 {
  align-items: center;
  color: white;
  font-size: 20px;
  margin-top: -8px;
  margin-left: 200px;
}

.repo-card p {
  font-size: 13px;
}

.stacked_name {
  font-family: "Montserrat", sans-serif;
  margin-top: 10px;
  gap: 1rem;
  display: flex;
  margin-left: 220px;
  margin-bottom: 20px;
}

.repo_btn {
  margin-left: 100px;

}
.repo-card a{
    font-family: "Helvetica Neue", sans-serif;
  text-align: center;
  display: inline-block;
  height: 12px;
  border: 1px solid white;
  background-color: black;
  color: white;
  text-decoration: none;
  font-weight: 550;
  border-radius: 20px;
  padding: 4px 8px;
  transition: background-color 0.3s ease;
  height: auto;
  width: auto;
}

.logoz {
  margin-top: 15px;
  font-size: 32px;
}

.linkedin-container {
  background-color: #1d1d1d;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.linkedinz{
  margin-top: 10px;
  margin-left: 20px;
margin-right: 0px;
}
.githead{
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #38434f;
  height: 45px;
  width:280px;
  margin-left: -30px;
  border-radius: 12px 12px 0 0;
  font-size: 20px;
  padding: 15px 0;
}
.repohead{
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #38434f;
  height: 15px;
  width:520px;
  border-radius: 12px 12px 0 0;
  font-size: 20px;
  padding: 15px 0;
  margin-top: -10px;
  margin-left: -10px;
}

.githead_text
{
  margin-left: -160px;
  margin-top: -7px;
}

.gits{
  margin-top: -30px;
  align-items: left;
  justify-content: left;
  margin-left: -40px;
}
.repo_desp{
  font-family: "Poppins" ,sans-serif;
  display: flex;
  color: white;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  padding-top: 20px;
}
.repo-card img{
  padding: 10px 10px;
  height: 170px;
  width: 195px;
  border-radius: 20px;
}
.repo_cont{
 color: white;
 font-family: "Poppins" ,sans-serif;
 margin-top: -100px;
 font-weight: 200;
 font-size: 14px;
 line-height: 1.5;
 margin-left: 30px;
}

.timeline-black-line {
  border: none;
  margin-right: 0px;
  margin-left: 0px;
  border-top: 2px solid rgba(0, 0, 0, 0.316);;
  width: 450px;
}

.timeline-work-title {
  color: rgba(0, 0, 0, 0.316);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0.2rem; /* tighter margins */
}
#arb-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Vertical center line inside #arb-timeline */
#arb-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--arb-line-top, 0);
  transform: translateX(-50%);
  width: 4px;
  background: #6c757d;
  border-radius: 2px;
  z-index: 1;
  height: var(--arb-line-height, 100%);
}

/* Year badges in center */
.arb-timeline-year {
  position: relative;
  z-index: 2;
  width: 120px;
  margin: 30px auto;
  padding: 8px 0;
  background: #343a40;
  color: white;
  border-radius: 30px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Timeline item rows */
.arb-timeline-item {
  margin: 40px 0;
  position: relative;
  width: 100%;
  opacity: 0; /* initially hidden */
}

/* Left side (academics) */
.arb-timeline-left {
  position: relative;
  width: 45%;
  padding-right: 30px;
  text-align: left;
}
.arb-timeline-left .arb-timeline-card {
  margin-left: auto;
}
/* Right side (work/intern) */
.arb-timeline-right {
  position: relative;
  width: 45%;
  padding-left: 30px;
  text-align: left;
  margin-left: auto;
}

/* Timeline card styles */
.arb-timeline-card {
  border-radius: 8px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  background: white;
  border: 1px solid #ddd;
}

.arb-timeline-card-header {
  background: #343a40;
  color: white;
  font-weight: 600;
  padding: 10px 15px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.arb-timeline-card-body {
  padding: 15px;
}

/* Image styling */
.arb-timeline-card-img-top {
  max-width: auto;
  height: 140px;
  border-radius: 6px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Animate.css overrides for fade out */
.animate__fadeOutLeft {
  animation-name: fadeOutLeft !important;
}
.animate__fadeOutRight {
  animation-name: fadeOutRight !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #arb-timeline::before {
    left: 8px;
  }
  .arb-timeline-left,
  .arb-timeline-right {
    width: 100%;
    padding: 0 0 0 30px;
    margin-left: 0 !important;
    text-align: left;
  }
}

.y2021{
  margin-top: -180px;
}
.y2025{
  margin-top: -250px;
  margin-bottom: 250px;
}

.tech-container {
    max-width: 1400px;
    margin: 0 auto;
}

.tech-header {
    text-align: center;
    margin-bottom: 40px;
}

.tech-header h2 {
    color: #f5f5dc;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tech-header p {
    color: rgba(245,245,220,0.8);
    font-size: 1.2em;
}

.tech-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tech-filter-btn {
    background: rgba(245,245,220,0.1);
    border: 2px solid rgba(245,245,220,0.3);
    color: #f5f5dc;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1em;
    font-weight: 500;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.tech-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.tech-filter-btn:hover::before {
    left: 100%;
}

.tech-filter-btn:hover, .tech-filter-btn.active {
    background: #f5f5dc;
    color: #1a1a1a;
    border-color: #f5f5dc;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.tech-filter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

/* Tech Item Base Styles */
.tech-item {
    flex: 0 0 120px;
    width: 120px;
    text-align: center;
    cursor: pointer;
    position: relative;
    perspective: 1000px;
    transform-origin: center;
    opacity: 0;
    transform: translateX(-100px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item.animated {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Animation States */
.tech-item.fade-out {
    opacity: 0 !important;
    transform: translateX(100px) scale(0.8) rotateY(15deg) !important;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.6, 0.04, 0.98, 0.335);
}

.tech-item.fade-in {
    opacity: 1 !important;
    transform: translateX(0) scale(1) rotateY(0deg) !important;
    pointer-events: auto;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item.fade-in-from-left {
    opacity: 0 !important;
    transform: translateX(-100px) scale(0.8) rotateY(-15deg) !important;
    transition: none;
}

.tech-item.hidden {
    display: none !important;
}

/* Card Container */
.techcard-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item:hover .techcard-container {
    transform: rotateY(180deg) scale(1.1);
}

.techcard-front, .techcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.techcard-front {
    background: #f5f5dc;
    color: #1a1a1a;
}

.techcard-back {
    background: #d4af37;
    color: #1a1a1a;
    transform: rotateY(180deg);
    font-weight: bold;
    font-size: 0.8em;
}

/* Icon Styles */
.tech-logo {
    font-size: 2em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

/* Postman image styling */
.tech-logo[src*="postman"] {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

/* SVG image styling for scikit-learn */
.tech-logo[src*="scikitlearn"] {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.tech-logo[src*="powerbi"] {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.tech-logo[src*="restapi"] {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.tech-logo[src*="langchain"] {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.tech-item:hover .tech-logo {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Ensure all Devicons are properly aligned */
.tech-logo i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

/* Specific alignment fixes for different icon types */
.tech-logo .devicon-spring-plain,
.tech-logo .devicon-microsoft-plain {
    font-size: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Special handling for LangChain (using Python icon) */
.tech-item[data-category="ai-ml"]:last-of-type .tech-logo .devicon-python-plain {
    font-size: 1.6em;
    color: #3776ab;
}

/* Tech Name */
.tech-name {
    color: #f5f5dc;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 8px;
}

.tech-item:hover .tech-name {
    color: #d4af37;
    transform: translateY(-5px) scale(1.05);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Loading Animation */
@keyframes shimmer {
    0% { 
        opacity: 0.5; 
        transform: translateX(-100px) scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
    }
    100% { 
        opacity: 0.5; 
        transform: translateX(100px) scale(0.8); 
    }
}

.tech-item.loading {
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Entrance Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-120px) scale(0.7) rotateY(-20deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
    to {
        opacity: 0;
        transform: translateX(120px) scale(0.7) rotateY(20deg);
    }
}

.tech-item.animate-in {
    animation: slideInFromLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.tech-item.animate-out {
    animation: slideOutToRight 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards;
}

/* Pulse effect for active filter */
@keyframes pulse {
    0% { box-shadow: 0 12px 25px rgba(0,0,0,0.4); }
    50% { box-shadow: 0 12px 35px rgba(245,245,220,0.3); }
    100% { box-shadow: 0 12px 25px rgba(0,0,0,0.4); }
}

.tech-filter-btn.active {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-grid {
        gap: 20px;
        min-height: 300px;
    }

    .tech-item {
        flex: 0 0 100px;
        width: 100px;
    }
    
    .tech-header h2 {
        font-size: 2em;
    }
    
    .tech-filter-buttons {
        gap: 10px;
    }
    
    .tech-filter-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

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

    .tech-logo {
        font-size: 1.6em;
    }

    .techcard-back {
        font-size: 0.7em;
    }
    
    .tech-name {
        font-size: 0.8em;
    }
}

/* Tech Stack Section Container */
.tech-stack-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
    border-radius: 80px;
    width: 1400px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

/* Prevent layout shift during animations */
.tech-grid {
    contain: layout style paint;
}

.tech-item {
    contain: layout style paint;
}

.line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* reduced gap from 1.5rem to 0.5rem */
  margin-top: -100px;
  font-family: 'Poppins', sans-serif;
    margin-bottom: 150px;
}