@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

/* Enable view transitions for modern browsers */
@view-transition {
    navigation: auto;
}

/* Fallback transition for older browsers */
body {
    transition: opacity 0.3s ease-in-out;
}

.page-transition {
    opacity: 0;
}

html {
  scroll-behavior: smooth;
}
body {
    font-family: "Poppins", sans-serif;
  }

  a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
  }
  p {
    font-family: "Poppins", sans-serif;
  }
  
  a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
  }
  
  .logo {
    font-size: 2rem;
    display: flex;
    justify-content: center;
  }
  .about-title {
    font-size: 2rem;
    display: flex;
    justify-content: center;

  }

  .logo:hover {
    cursor: default;
  }
  
  section {
    padding-top: 4vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
  }
 #about{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
  }

  .section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    }


  .line-break{
    width: 100%;
    height: 1px; 
    background-color: black; 

  }
  
  .section-header{
    font-size: 2rem;
    font-weight: 600;
    font-size: 3rem;
    text-align: center;
  }

  .section-header-animation{
    font-size: 2rem;
    font-weight: 600;
    font-size: 3rem;
    text-align: center;
    font-family: 'Courier', monospace;
    font-size: 2.5em;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid black;  /* Blinking cursor */
    display: inline-block;
    animation: typing 0.8s steps(22, end), blink-title 0.75s step-end infinite;
  }
  @keyframes typing {
    from { width: 0; }
    to { width: 25%; }  /* Use ch unit to match the number of characters */
  }
  
  /* Blinking cursor animation */
  @keyframes blink-title {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

    @keyframes t{
    from {background-size:0 200%}
  }
  @keyframes blink{
    50% {background-position:0 -100%,0 0}
  }

  .about-text{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
    margin-top: 2rem;
    align-self: center;
    text-align: center;
    max-width: 800px; /* Limits the width to 800px */
    width: 100%; /* Ensures text takes up full container width */
  }
  .about-text-animation {
    font-family: monospace;
    color:#0000;
    background:
      linear-gradient(-90deg,black 5px,#0000 0) 10px 0,
      linear-gradient(black 0 0) 0 0;
    background-size:calc(var(--n)*1ch) 200%;
    -webkit-background-clip:padding-box,text;
    background-clip:padding-box,text;
    background-repeat:no-repeat;
    animation: 
    blink .7s infinite steps(1),   
      t calc(var(--n)* .02s) steps(var(--n)) forwards;
  }
  body {
    /* font-family: Arial, sans-serif; */
    margin: 0;
    padding: 0;
}

  .icon {
    cursor: pointer;
    height: 2rem;
  }
  .about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  
  .about-details-container {
    justify-content: center;
    flex-direction: column;
  }
    .about-containers,
    .about-details-container {
      display: flex;
    }
    .details-container {
      padding: 1.5rem;
      flex: 1;
      background: white;
      border-radius: 2rem;
      border: rgb(53, 53, 53) 0.1rem solid;
      border-color: rgb(163, 163, 163);
      text-align: center;
      
    }
    
  .btns-container{
    display: flex;
    gap: 2rem;
    padding: 2rem;
  justify-content: center;  }




.about-btns {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: black;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

.about-btns:disabled {
  pointer-events: none;
}

.about-btns:hover {
  color: #3B3B3B;
  background-color: lightblue;
}

.about-btns:active {
  box-shadow: none;
}



.card {
  transition: transform 0.2s ease-in-out;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.progress {
  height: 8px;
}



.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
    z-index: 0;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.nav-link {
    position: relative;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    transform: translateY(-1px);
}

.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Smooth scrolling offset for fixed navbar */
body {
    padding-top: 76px;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-collapse .nav-link {
        color: #333 !important;
        margin: 0.25rem 0;
    }
    
    .navbar-collapse .nav-link:hover {
        background: rgba(102, 126, 234, 0.1) !important;
        color: #667eea !important;
    }
    
    .navbar-collapse .nav-item.active .nav-link {
        background: rgba(102, 126, 234, 0.15) !important;
        color: #667eea !important;
    }
}

/* Scroll effect */
.navbar.scrolled {
    background: rgba(102, 126, 234, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
