/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    animation: fadeIn 1s ease-in;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

  nav {
    background: #0a0a0a;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1px solid #00ffff1a;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
  }
  
  nav a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s ease, transform 0.3s ease;
  }
  
  nav a i {
    transition: transform 0.3s ease;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #00ffff;
    transition: width 0.4s ease;
  }
  
  nav a:hover {
    color: #00e6e6;
    transform: translateY(-2px);
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  nav a:hover i {
    transform: rotate(10deg) scale(1.1);
  }
  

  .hero {
    background-image: url('images/background.png'); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    color: white; /* or another color for better contrast */
    text-align: center;
    position: relative;
  }
 
  @import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

  /* Optional: Add a dark overlay for readability */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* adjust transparency */
    z-index: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }

  .her-content p {
    font-family:'VT323', monospace;
  }
  


  
  .profile-pic {
    width: 120px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 1rem;
  }
  
  main {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
  }
  
  section.highlight {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 2rem;
  }
  
  section.resume-section {
    background: #fff;
    margin: 2rem 0;
    padding: 2rem;
    border-left: 4px solid #1abc9c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 8px;
  }
  
  .resume-entry {
    margin-bottom: 1.5rem;
  }
  
  .skills {
    columns: 2;
    list-style-type: square;
    padding-left: 1rem;
  }

  footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
  }
  
  .footer-links a:hover {
    color: #007acc;
  }
  
  .icon {
    height: 20px;
    width: 20px;
    margin-right: 5px;
    vertical-align: middle;
  }  
  
  header {
  text-align: center;
  padding: 20px 0;
  background-color: #f9f9f9; /* optional, just to make header pop */
}

.header-title {
  margin: 0;
  font-size: 2em;
}
.technologies {
    padding: 2rem;
    background-color: #f9f9f9;
  }
  
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* slightly wider min for better stacking */
    gap: 1.5rem;
    padding: 1rem;
    margin-top: 1rem;
    box-sizing: border-box;
  }
  
  .tech-item {
    background: linear-gradient(145deg, #1a1a2e, #222240);
    border: 1px solid #2f2f4a;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #f0f0f0;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    box-sizing: border-box;
    width: 100%;
  }
  
  .tech-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 1px solid #00ffff;
  }
  
  .tech-logo {
    max-width: 80px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px #00ffff);
  }
  
  .tech-stack {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
  }

  @media (max-width: 480px) {
    .tech-grid {
      grid-template-columns: 1fr;
      padding: 1rem;
    }
    .tech-item {
      padding: 1.2rem;
    }
  }

  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Optional: stagger animations for each item */
  .tech-item:nth-child(1) { animation-delay: 0s; }
  .tech-item:nth-child(2) { animation-delay: 0.1s; }
  .tech-item:nth-child(3) { animation-delay: 0.2s; }
  .tech-item:nth-child(4) { animation-delay: 0.3s; }
  .tech-item:nth-child(5) { animation-delay: 0.4s; }
  .tech-item:nth-child(6) { animation-delay: 0.5s; }
  
  /*funky fonts and animation*/

  @import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Rubik+Glitch&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

.funky-intro {
  text-align: center;
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  animation: fadeSlideIn 1s ease-out;
}

.funky-intro h2 {
  font-family: 'Rubik Glitch', cursive;
  font-size: 3rem;
  color: #151312;
  animation: bounceText 1s ease-in-out;
}

.funky-intro p {
  font-family: 'VT323', monospace;
  font-size: 1.0rem;
  color: #333;
  margin-top: 20px;
  animation: fadeIn 2s ease-in-out;
}


/* Animations */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceText {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*protfolio page design*/
.tab-container {
  margin-top: 2rem;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  background-color: #e0e7ff;
  color: #1e3a8a;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab-content.aws i {
  color: #f59e0b; /* warm amber yellow */
}

.tab-btn.aws {
  background-color: #fef9c3;
  color: #92400e;
}
.tab-btn:hover,
.tab-btn.active {
  background-color: #0078d4;
  color: white;
}

.tab-btn.aws:hover,
.tab-btn.aws.active {
  background-color: #f59e0b; /* amber yellow */
  color: white;
}

.tab-content {
  display: none;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content i {
  font-size: 2rem;
  color: #0078d4;
  margin-bottom: 1rem;
}

.tab-content.active {
  display: block;
}

.tab-list {
  text-align: left;
  max-width: 700px;
  margin: 1rem auto 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.tab-list li {
  margin-bottom: 0.75rem;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/*adding social logo in header*/
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

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

/*style for positioning arrow*/
.down-arrow {
  display: inline-block;
  margin-top: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.down-arrow img {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}
html {
  scroll-behavior: smooth;
}
/*home page css*/
.homepage-tech-carousel {
  padding: 2rem 1rem;
  text-align: center;
  background: #f9f9f9;
  position: relative;
}

.tech-carousel-controls {
  position: relative;
  display: flex;
  align-items: center;
}

.tech-carousel-wrapper {
  overflow-x: hidden; /* Hidden here because we are auto-animating */
  overflow-y: hidden;
  width: 100%;
  position: relative;
}

.tech-carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-horizontal 30s linear infinite;
  will-change: transform; /* Helps smoother animations */
}

.tech-carousel-group {
  display: flex;
}

.homepage-tech-item {
  flex: 0 0 auto;
  width: 150px; /* or use clamp for responsiveness */
  margin-right: 1rem;
  text-align: center;
}

.homepage-tech-item img {
  width: 48px;
  margin-bottom: 0.5rem;
}

.homepage-tech-item:hover {
  transform: scale(1.05);
}

.carousel-btn {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:hover {
  background: #eee;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.tech-carousel-wrapper:hover .tech-carousel-track {
  animation-play-state: paused;
}

/* Mobile swipe support */
@media (max-width: 768px) {
  .tech-carousel-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .homepage-tech-item {
    scroll-snap-align: start;
  }

  .carousel-btn {
    display: none;
  }
}

