body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: white;
  }
  
  .container {
    display: flex;
    min-height: 100vh;
    
  }
  /*
  .sidebar {
    width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
  }
*/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 100vh;
  background-color: #1e1e1e;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto; /* Optional: if sidebar content grows */
  z-index: 1000; /* Ensures it stays above other content */
  justify-content: center;
}

  .profile-pic {
    width: 150px;
    border-radius: 20px;
    margin: 1rem 0;
  }
  
  .role, .email {
    margin: 5px 0;
    color: #ccc;
  }
  
  .socials {
    margin-top: 1rem;
  }
  
  .social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #00acee;
    text-decoration: none;
  }
  
  .social-icon:hover {
    color: #00ffcc;
  }
  /*
  .main {
    flex: 1;
    padding: 3rem;
  }
  */
  .main {
    margin-left: 350px; /* same as sidebar width */
    padding: 3rem;
    flex: 1;
  }
  
  
  .main h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .main h1 span {
    color: #00ff88;
  }
  
  .projects {
    display: flex;
    margin-top: 3rem;
    gap: 9rem;
    margin-left: 0.7rem;
  }
  
  .project-card {
    text-align: center;
  }
  
  .project-card img {
    width: 75px;
    height: 75px;
  }
  
  .project-card h3 {
    color: #00ff88;
    font-size: 2rem;
    margin: 10px 0 5px;
  }
  
  .project-card p {
    color: #00ff88;
    font-size: 1.2rem;
  }
  .typewriter {
    overflow: hidden;
    border-right: .15em solid #00ff88;
    white-space: nowrap;
    font-family: monospace;
    font-size: 2rem;
    width: 0ch;
    animation: typing 6s steps(20) infinite,
               blink .75s step-end infinite;
  }
  
  @keyframes typing {
    0%   { width: 0ch; }
    50%  { width: 17ch; }     /* finish typing at 50% (3.25s) */
    80%  { width: 17ch; }     /* hold for 30% (3s) */
    100% { width: 0ch; }      /* delete */
  }
  
  @keyframes blink {
    50% { border-color: transparent; }
  }
  
  .green-name {
    color: #00ff88;
  }
  
button{
  background-color: #00ff88;
  color: #000;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #00cc6a;
}
   
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1000px;
    justify-content: center;
  }
  
  .btn {
    color: #fff;
    border: 2px solid #555;
    padding: 15px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
  }
  
  .btn:hover {
    color: #fff;
    border-color: #00ff88;
    
  }
 
.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* creates space between text and underline */
  width: 100%;
  height: 2px; /* bold underline */
  background-color: green;
  border-radius: 1px;
}


.custom-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  margin-top: 2rem;
  margin-left: 3%;
}

.custom-certificates {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  margin-top: 2rem;
  margin-left: 3%;
}
.custom-certificate-card {
  background-color: #1e1e1e;
  border: 2px solid white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 255, 136, 0.4);
}

.custom-project-card {
  background-color: #1e1e1e;
  border: 2px solid white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px;
  width: 450px;
}

.custom-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 255, 136, 0.4);
}

.custom-thumbnail {
  width: 100%;
  height: 81%;
  object-fit:fill;
}
.custom-thumbnail-certificate {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.custom-content {
  padding: 1.5rem;
}

.custom-content h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.custom-content p {
  color: #ccc;
  margin-bottom: 1rem;
}

.custom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-button {
  background-color: #00ff88;
  color: #000;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: #00cc6a;
}

.custom-icon {
  width: 30px;
  height: 30px;
}




  .no-style-link {
    color: inherit;          /* Inherit the color from parent */
    text-decoration: none;   /* Remove the underline */
    cursor: pointer;
  }


  .hidden-text {
    display: none;
    margin-top: 10px;
    color: #ccc;
  }


  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 8, 0.6); /* dark transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: rgba(2, 2, 2, 0.1); /* transparent white */
    backdrop-filter: blur(10px);
    padding: 40px 60px; /* increased padding */
    border-radius: 16px;
    max-width: 600px; /* increase width */
    width: 80%; /* responsive */
    height: 50%;
    text-align: center;
    color: white;
    font-size: 1.2rem; /* larger text */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
  }
  
  .last-container{
    display: flex;
    justify-content:center;
    gap:150px;
  }
  
  .email-video video {
    border-radius: 16px;
    object-fit: cover;
  }


  .card {
    
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
    justify-content: flex-end;
    margin-left: -25px;
  }

  .card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .form-group i {
    margin-right: 8px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    outline: none;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }

  .submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .submit-btn:hover {
    background-color: #0056b3;
  }

  .success-msg, .error-msg {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
  }

  .success-msg { color: #00ff8c; }
  .error-msg { color: #ff4d4d; }

  * {
    box-sizing: border-box;
  }


/* Stylish fixed navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #0b3b67;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 999;
  font-family: 'Segoe UI', sans-serif;
}

/* Logo/brand on the left */
.navbar-brand {
  font-weight: bold;
  font-size: 1.4rem;
  color: #d8cf19;
}

/* Right-aligned links */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 6px;
  transition: color 0.3s ease;
}

/* Animated underline on hover */
.navbar-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #9b702b;
  transition: width 0.3s ease-in-out;
}

.navbar-links a:hover {
  color: #d8cf19;
}

.navbar-links a:hover::after {
  width: 100%;
}


/* Optional: smooth scroll behavior */
html {
  scroll-behavior: smooth;
}



/* Apply scroll margin to all headings */
h1[id] {
  scroll-margin-top: 80px; /* Offset to account for navbar height */
}

