body { font-family: 'Roboto', sans-serif; }

/* White line at the top */
#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: white;
    z-index: 50;
}

/* Mobile menu styling */
#mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#mobile-menu.active {
    left: 0;
    z-index: 100;
}

/* Hide menu toggle when menu is open */
#menu-toggle.hidden {
    display: none;
}

/* Close button styling */
#menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button hover effects */
    #menu-close:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

/* Adjusted Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    
}

nav ul li button {
    color: white;
    text-decoration: none;
   
    font-weight: bold;
}

#menu-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}


.slide-in {
    opacity: 0; /* Start hidden */
    transform: translateX(-100%);
    animation: slideIn 0.9s ease-out forwards;
    z-index: 0;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .slide-text {
    opacity: 0; 
    transform: translateX(100%);
    animation: slideInRight 0.9s ease-out forwards;
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  

image{
    margin-bottom: 0px;
    padding: 0px;
}

.about{
    font-family: Arial, sans-serif;
    background-color: #000000;
    text-align: center;
    padding: 50px;
    color: rgb(253, 253, 253);
}
.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #000000;
    box-shadow: red;
    padding: 30px;
    border: red;
    border-radius: 10px;
}
.section {
    background: rgb(20, 20, 20);
    padding: 20px;
    box-shadow:red;
    border-radius: 10px;
    color: rgb(255, 255, 255);
}
.tech-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 10px;
}
.tech-logos img {
    width: 70px;
}
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.contactpage{
    margin-top: 0px;
    padding: 4px;
    margin-top: 0px;
    

}
.mailsec{
    background: rgb(20, 20, 20);
}


.formsubmit{
    background-color: rgb(171, 41, 41);

}
:hover.formsubmit{
    background-color: rgb(255, 0, 0);
}
.highlighted-text{
    color: red;
}
main {
    padding-top: 4rem;
}
