@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap");

/* ---------- GLOBAL STYLING ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}
.menu-toggle {
  display: none;
}

@font-face {
  font-family: 'CyberAlert';
  src: url('assets/fonts/CyberAlert.woff') format('woff'),
       url('assets/fonts/CyberAlert.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

#greetingText {
  font-family: 'CyberAlert', 'Montserrat', 'Roboto', sans-serif;
  display: inline-block;
  width: 420px;
  min-height: 2.5em;
  text-align: center;
  white-space: nowrap;
  transition: width 0.3s;
  flex-shrink: 0;
}



#introduction .design-card:hover div h3 {
  font-weight: 600; 
  color: #64f4ac; /* hover can stay the same */
}


#skill .design-card:hover h3,
#certifications .design-card:hover h3,
#achievements .design-card:hover h3 {
  color: #64f4ac !important; /* force highlight on hover */
  font-weight: 600;
}




#greetingText .greet-word {
  display: inline-block;
  opacity: 0;
}

html {
  scroll-behavior: smooth;
}

#announcement-banner {
  background-color: #00b840; /* Green color */
  color: #ffffff; /* White text */
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 2; /* Ensure it stays on top */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: glow 1s infinite alternate;
  overflow: hidden; /* Hide overflowing text */
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px #00b840, 0 0 20px #00b840, 0 0 30px #00b840;
  }
  to {
    box-shadow: 0 0 20px #00b840, 0 0 30px #00b840, 0 0 40px #00b840;
  }
}

#announcement-banner p {
  display: inline-block;
  white-space: nowrap;
  animation: moveText 10s linear infinite;
}

@keyframes moveText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Existing CSS */

h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 64px;
  color: #fefefe;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  font-weight: 400;
  color: #fefefe;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  color: #fefefe;
}

h6 {
  font-weight: 700;
  font-size: 12px;
  color: #fefefe;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: #fefefe;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: black;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.5s ease;
}

button.normal:hover {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #fff;
  background-color: #088178;
}

body {
  width: 100%;
  background-color: #2d2e32;
  font-family: 'CyberAlert', sans-serif;
}

body::selection {
  color: #000000;
  background: #64f4ac;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cacaca;
  transition: 0.3s ease;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fefefe;
}

/* ---------- SECTION HEADER ---------- */
#header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2d2e3273;
  border: 1px solid #1d1e2040;
  box-shadow: 0 0 10px 1px #00000040;
  backdrop-filter: blur(15px);
  color: #fefefe;
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
  margin: 0;
}

.navbar-title {
  display: flex;
  align-items: center;
}

.title-first-name {
  padding: 0 7.5px;
  font-weight: 600;
  color: #fefefe;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
}

.title-last-name {
  font-size: 24px;
  font-weight: 400;
  color: #cacaca;
  font-family: "Raleway", sans-serif;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

.navbar-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.navbar-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.navbar-menu li a.active {
  color: #64f4ac;
  font-weight: bold;
}

.social-media {
  display: flex;
  align-items: center;
}

.social-media li {
  display: flex;
  padding: 0 16px;
  align-items: center;
  list-style: none;
}

.social-media li i {
  font-size: 14px;
  transition: 0.3s ease;
}

.social-media li a {
  color: #fefefe;
  text-decoration: none;
  padding: 0 5px;
  font-size: 12px;
  transition: 0.3s ease;
}

.social-media li:nth-child(1):hover i {
  color: #0077b5;
}

.social-media li:nth-child(3):hover i {
  color: #ea4335;
}

.social-media li:hover a {
  font-weight: 800;
}

/* ---------- SECTION BODY CONTENT ---------- */
#content-body {
  display: flex;
  background-color: #2d2e32;
  align-items: flex-start;
  height: 90vh;
  align-content: center;
  align-items: center;
  justify-content: space-around;
  padding: 0 60px 0 0;
  max-height: 100vh;
  margin-left: 110px;
  margin-top: -60px;
}
#aboutme {
  display: flex;
  background-color: #25262a;
  align-content: center;
  align-items: center;
  justify-content: space-around;
  padding: 80px 0 80px 100px;
  margin-bottom: 0;
  height: auto;
  max-height: none;
}



#content-body .terminal-intro {
  font-family: 'Share Tech Mono', monospace;
  font-size: 18px !important;  /* force it */
  
  color: #00ff99;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px #00ff99, 0 0 12px #00ff99;
}
/* Terminal intro fix */




/* Research, Certifications, Achievements unified layout */
#research,
#certifications,
#achievements {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 100px;
  background-color: #25262a; /* same as skills */
  min-height: 95vh;
  align-items: center;
}

#research .cards-container,
#certifications .cards-container,
#achievements .cards-container {
  width: 50%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* consistent spacing */
}

#research .image-container,
#certifications .image-container,
#achievements .image-container {
  width: 50%;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#research .design-card,
#certifications .design-card,
#achievements .design-card {
  max-width: 80%;
  min-height: 150px;
  background-color: #2d2e32;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 0.5s ease;
}

#research .design-card:hover,
#certifications .design-card:hover,
#achievements .design-card:hover {
  color:#64f4ac;
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

/* Responsive: stack cards & images */
@media (max-width: 992px) {
  #research,
  #certifications,
  #achievements {
    flex-direction: column;
    padding: 50px 20px;
    min-height: auto;
  }

  #research .cards-container,
  #certifications .cards-container,
  #achievements .cards-container,
  #research .image-container,
  #certifications .image-container,
  #achievements .image-container {
    width: 100%;
    padding: 0;
  }

  #research .design-card,
  #certifications .design-card,
  #achievements .design-card {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.navbar-logo {
  height: 100px;            /* slightly taller navbar */
  width: 100px;             /* let image define width */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50px;
}

.logo-cropped {
  height: 145px;           /* larger internal height so crop focuses */
  width: 145px;             /* keep aspect ratio */
  object-fit: cover;       /* no stretching */
  object-position: center; /* crop evenly */
}




.developer-intro {
  display: flex;
  align-items: center;
}

.developer-intro p {
  padding: 5px 10px;
  margin: 0 20px 0 0;
  background-color: #64f4ac;
  color: #2d2e32;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2.5px;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  cursor: pointer;
}

.developer-intro p:hover {
  font-weight: 900;
}

.body-title h1 {
  font-size: 30px;
  line-height: 1.2;          /* tighter spacing */
  letter-spacing: -1.5px;
  padding: 0;                 /* remove top padding */
  min-height: auto;           /* don't force extra height */
  min-width: 26ch;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  margin: 0;    

}





.body-title p {
  font-size: 13px;
  padding: 20px 0;
  color: #e0e0e0;
  font-weight: 500;
  line-height: 25px;
}

.body-title a {
  font-size: 16px;
  color: #64f4ac;
  font-weight: 600;
  padding: 20px 0;
  margin: 20px 0;
}

.body-tail {
  display: flex;
  align-items: start;
  padding: 0 0 0 0;
}

.body-tail p {
  color: #cacaca;
  font-size: 16px;
  font-weight: 500;
  padding: 0 40px 0 5px;
}

.body-part-2 {
  position: relative;
  perspective: 1000px;
}

.background-circle {
  background: #28292d;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  z-index: 9;
  box-shadow: 0 0 20px #00000080;
}

.svg-animation {
  width: 100%;
  max-width: 280px;
  margin: auto;
  overflow: hidden;    /* hide the overflowing parts of video */
  border-radius: 50%; 
}

.responsive-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;    /* hide the overflowing parts of video */
  border-radius: 50%; 
}

/* Media queries for further adjustments */
@media (max-width: 1200px) {
  .svg-animation {
    max-width: 60%;
  }
}

@media (max-width: 992px) {
  .svg-animation {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .svg-animation {
    max-width: 40%;
  }
}

@media (max-width: 576px) {
  .svg-animation {
    max-width: 75%;
  }
}

#introduction {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 100px;
  background-color: #2d2e3273;
  min-height: 95vh;
  align-items: center;
}
#skill {
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 100px;
  background-color: #25262a;
  min-height: 95vh;
  align-items: center;
}
.heading-container h3 {
  text-align: center;
  font-size: 40px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.heading-container p {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 400;
  margin: 0;
  top: -10px;
}

.section-heading {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.cards {
  position: relative;
  min-width: 50%;
  display: flex;
  flex-direction: column;
}

.design-card {
  position: relative;
  max-width: 80%;
  min-height: 150px;
  background-color: #2d2e32;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 0.5s ease;
}

.design-card:hover {
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

.design-card div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  transition: 0.3s ease;
}

.design-card:hover  {
  color: #64f4ac;
}


.design-card div h3 {
  font-weight: 500;
}

.design-card:hover div h3 {
  font-weight: 600;
  color:#64f4ac;
}

.design-card p {
  font-size: 14px;
  font-weight: 600;
  color: #7c7d81;
}

.design-card a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.design-card:hover a {
  color: #64f4ac;
  text-decoration: underline;
  text-underline-offset: 5px;
}



.cards-container,
.image-container {
  width: 50%;
}
.cards-container {
  padding-right: 20px;
}

.image-container {
  padding-left: 20px;
}

/* ----------FOOTER---------- */
#footer {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  padding-left: 130px;
  background-color: #2d2e3273;
  height: 100vh;
}

.footer-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-left h2 {
  font-size: 32px;
  line-height: 40px;
}

.footer-left h2 a {
  color: #64f4ac;
  text-underline-offset: 8px;
}

/* Contact Form Styling */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
  margin-top:20px;
  height:auto;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #2d2e3240;
  background-color: #1e1e1e;
  box-shadow: 0 0 10px 1px #00000040;
  backdrop-filter: blur(15px);
  background-image: url(assets/email-background.png);
  background-size: cover;
}

.email-form h2 {
  font-size: 30px;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  color: #2d333d;
}

.email-form h2 span {
  font-weight: 600;
  color: #08a155;
}

.email-form label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #312e2e;
  opacity: 0.8;
}

.email-form input,
.email-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #25262a;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.email-form input::placeholder,
.email-form textarea::placeholder {
  color: #aaa;
}

.email-form input:focus,
.email-form textarea:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.email-form textarea {
  min-height: 120px;
  resize: vertical;
}

.email-form button {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #00ffcc, #0099ff);
  border: none;
  border-radius: 8px;
  color: #111;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.email-form button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00ffaa, #0066ff);
}


.footer-title {
  display: flex;
  flex-direction: row;
}

/* ---------- FOOTER INFORMATION (Right Side) ---------- */
.footer-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 220px;
  color: #fefefe;
}

.footer-email-intro {
  margin-bottom: 40px;
}

.footer-email-intro p {
  font-size: 14px;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-email-intro h3 {
  font-size: 28px;
  font-weight: 600;
  color: #64f4ac;
  margin: 5px 0;
}

.footer-email-intro h6 {
  font-size: 16px;
  font-weight: 400;
  color: #ddd;
  margin: 0;
}
.footer-info {
  margin-bottom: 30px;
}

.footer-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #ddd;
}

.footer-info li i {
  font-size: 16px;
  color: #64f4ac; /* neon accent */
}

.footer-info li a {
  color: #fefefe;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-info li a:hover {
  color: #64f4ac;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  margin: 30px 0;
  gap: 12px;
}

.footer-menu li {
  list-style: none;
}

.footer-menu li a {
  color: #fefefe;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-menu li a:hover {
  color: #64f4ac;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.social-icons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 18px;
  color: #fefefe;
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
  color: #64f4ac;
}

/* Make footer responsive */
@media (max-width: 992px) {
  .footer-right {
    width: 100%;
    padding: 40px 20px;
    align-items: flex-start;
  }
}



.social-icons a i {
  color: #fff;
  margin: 0 5px;
  transition: 0.3s ease;
  cursor: pointer;
}

.social-icons a:nth-child(1) i:hover {
  color: #0072b1;
}

.social-icons a:nth-child(3) i:hover {
  color: #ea4335;
}

.social-icons a:nth-child(4) i:hover {
  color: #00acee;
}

.social-icons a:nth-child(5) i:hover {
  color: transparent;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.social-icons a:nth-child(6) i:hover {
  color: #3b5998;
}

/* ---------- MEDIA QUERIES ---------- */

/* Tablets and larger devices */
@media (max-width: 992px) {
  h1 {
    font-size: 40px;
    line-height: 54px;
  }

  h2 {
    font-size: 36px;
    line-height: 46px;
  }

  h4 {
    font-size: 18px;
  }

  h6 {
    font-size: 10px;
  }

  p {
    font-size: 14px;
  }

  .section-p1 {
    padding: 30px 60px;
  }


  #aboutme {
    padding: 80px 20px;
    flex-direction: column;
    height: auto;
    max-height: none;
  }

  .developer-intro p {
    font-size: 12px;
  }

  .body-title h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .body-title p {
    font-size: 12px;
  }

  .cards-container,
  .image-container {
    width: 100%;
    padding: 0;
  }

  #footer {
    flex-direction: column;
    padding: 50px 20px;
    height: auto;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .email-form {
    width: 100%;
    padding: 30px 10%;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
  }
  .navbar-menu-container {
    display: none;
    width: 100%;
  }
  .navbar-menu {
    flex-direction: column;
    width: 100%;
    text-align: left;
  }
  .navbar-menu li {
    padding: 10px 0;
  }
  .navbar-menu li a {
    font-size: 18px;
    padding: 10px 20px;
    display: block;
    width: 100%;
  }
  .social-media-container {
    display: none;
    width: 100%;
  }
  .social-media {
    flex-direction: column;
    width: 100%;
  }
  .social-media li {
    padding: 10px 0;
  }
  .social-media li a {
    font-size: 18px;
    padding: 10px 20px;
    display: block;
    width: 100%;
  }
  
  #aboutme,
  #introduction,
  #skill {
    padding: 20px 10px;
    flex-direction: column;
  }
  .cards-container,
  .image-container {
    width: 100%;
    padding: 0;
  }
  .design-card {
    max-width: 100%;
    margin: 10px 0;
  }
  /* Mobile menu active state */
  .navbar-menu-container.active,
  .social-media-container.active {
    display: flex;
  }
  .navbar-title,
  .navbar-menu,
  .social-media {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-menu li,
  .social-media li {
    padding: 10px 0;
  }
  .navbar-menu li a,
  .social-media li a {
    font-size: 14px;
  }
  h1 {
    font-size: 30px;
    line-height: 40px;
  }
  h2 {
    font-size: 24px;
    line-height: 32px;
  }
  h4 {
    font-size: 16px;
  }
  h6 {
    font-size: 10px;
  }
  p {
    font-size: 12px;
  }
  .section-p1 {
    padding: 20px 20px;
  }
  button.normal {
    font-size: 12px;
    padding: 10px 20px;
  }
 
  #aboutme {
    flex-direction: column;
    padding: 50px 20px;
    height: auto;
    max-height: none;
  }
  .developer-intro p {
    font-size: 12px;
  }
  .body-title h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .body-title p {
    font-size: 12px;
  }
  .cards-container,
  .image-container {
    width: 100%;
    padding: 0;
  }
  #footer {
    flex-direction: column;
    padding: 30px 20px;
    height: auto;
  }
  .footer-left,
  .footer-right {
    width: 100%;
  }
  .email-form {
    width: 100%;
    padding: 20px 10%;
  }
}

.developer-intro, .body-title {
  align-items: center;
  justify-content: center;
}

.message-label {
  display: none;
}

@media (max-width: 600px) {
  #greetingText {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

section#research,
section#introduction,
section#skill {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Headings */
h1, h2, h3, .section-heading {
  font-family: 'Montserrat', 'CyberAlert', sans-serif;
}

/* Body text */
body, p, li, a {
  font-family: 'Roboto', 'Raleway', sans-serif;
}

/* Accent/Cyber/Highlight */
.accent, .cyber, .highlight {
  font-family: 'Orbitron', 'Montserrat', sans-serif;
}

/* Creative & Techy Font Classes */
.techy {
  font-family: 'Share Tech Mono', 'Orbitron', monospace;
}
.creative {
  font-family: 'Audiowide', 'Montserrat', sans-serif;
}
.retro {
  font-family: 'VT323', monospace;
}
.pixel {
  font-family: 'Press Start 2P', monospace;
}
.impact {
  font-family: 'Russo One', 'Montserrat', sans-serif;
}

/* Example usage for headings */
h2.retro-title {
  font-family: 'VT323', monospace;
}
h2.pixel-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.2em;
}
h2.impact-title {
  font-family: 'Russo One', 'Montserrat', sans-serif;
  letter-spacing: 1px;
}

/* Keep CyberAlert for greetings */
#greetingText {
  font-family: 'CyberAlert', 'Montserrat', 'Roboto', sans-serif;
  display: inline-block;
  width: 420px;
  min-height: 2.5em;
  text-align: center;
  white-space: nowrap;
  transition: width 0.3s;
  flex-shrink: 0;
}

#greetingText, #greetingText * {
  font-family: 'CyberAlert', 'Montserrat', 'Roboto', sans-serif !important;
}

/* Move these to the end for maximum specificity */
.techy-title {
  font-family: 'Share Tech Mono', 'Orbitron', monospace !important;
  letter-spacing: 2px;
}
.creative-title {
  font-family: 'Audiowide', 'Montserrat', sans-serif !important;
  letter-spacing: 1px;
}

/* Strong active card styling for maximum specificity */
.design-card.active {
  background-color: #64f4ac !important;
  color: #fff !important;
  box-shadow: 0 4px 24px 0 rgba(100, 244, 172, 0.2) !important;
  border: 2px solid #00b840 !important;
}
.design-card.active h3,
.design-card.active p,
.design-card.active a,
.design-card.active i {
  color: #fff !important;
}

#introduction .cards-container {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc((150px * 3) + (20px * 2)); /* 3 cards + 2 gaps */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#introduction .cards {
  /* Only override properties that differ from global .cards if needed */
}
#introduction .design-card {
  /* Only override properties that differ from global .design-card if needed */
}
@media (max-width: 1100px) {
  #introduction .cards-container {
    max-height: calc((150px * 3) + (20px * 2));
  }
}

/* Section wrapper fix */
section {
  padding: 80px 5% 60px; /* top space for headings */
  position: relative;
}

/* Section headings */
.heading-container {
  position: relative;   /* normal flow */
  text-align: center;
  margin-bottom: 50px;  /* spacing before cards */
}

.heading-container h3.section-heading {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.heading-container p.creative-title {
  font-size: 16px;
  color: #aaa;
  margin: 0;
}

/* Card titles in Skills / Certifications / Achievements */
#skill .design-card h3,
#certifications .design-card h3,
#achievements .design-card h3 {
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 600; /* optional: makes it look less “faded” */
}



/* Keep other text grey, only titles white */
#skill .design-card p,
#certifications .design-card p,
#achievements .design-card p {
  color: #7c7d81;
}

/* ---------- ABOUT ME PHOTO ---------- */
.aboutme-photo {
  display: flex;
  justify-content: right;
  align-items: center;
  margin: 20px 0;
}

.profile-pic {
  width: 200px;
  height: 200px;
  margin-right: 110px;
  border-radius: 50%;
  cursor: pointer; /* makes it obvious it's clickable */
  position: relative;
  content: "Click to enlarge";
  object-fit: cover;
  border: 3px solid #00ffe0; /* neon cyber border */
  box-shadow: 0 0 25px rgba(0, 255, 224, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for a nice touch */
.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 224, 0.8);
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-pic {
    width: 140px;
    height: 140px;
  }
}
/* ---------- LIGHTBOX ---------- */
/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

/* Circular enlarged image */
.lightbox-content {
  display: block;
  margin: auto;
  width: 530px;   /* fixed width */
  height: 530px;  /* fixed height = same as width */
  margin-bottom: 90px;
  border-radius: 50%;
  object-fit: cover; /* keeps face centered, no stretching */
  box-shadow: 0 0 40px rgba(0,255,224,0.7);
  animation: zoomIn 0.3s ease;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .lightbox-content {
    width: 250px;
    height: 250px;
  }
}




.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #00ffe0;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #fff;
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}



/* Tooltip base styles */
#tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none; /* don’t block clicks */
  opacity: 0; /* hidden by default */
  transition: opacity 0.2s ease;
  z-index: 9999;
}

/* === Terminal Cursor Blinking === */
.body-title h1::after {
  content: "█";
  margin-left: 5px;
  animation: blink 0.8s infinite alternate;
  color: #64f4ac; /* neon green cursor */
}
@keyframes blink {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* === Glitch Effect for Section Headings === */


.glitch {
  position: relative;
  color: #00ff41; /* neon green */
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41; /* glowing text */
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  overflow: hidden;
}

.glitch::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  color: #0f0; /* light green highlight */
}

.glitch::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  color: #0c0; /* darker green for bottom */
}

@keyframes glitchTop {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-2px); }
  40%  { transform: translateX(-3px); }
  60%  { transform: translateX(2px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

@keyframes glitchBottom {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(3px); }
  40%  { transform: translateX(2px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}


/* === Contact Form Console Feel === */
.email-form {
  font-family: 'Share Tech Mono', monospace;
  background: #b4b4b4;
  border: 2px solid #00ffcc;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}
.email-form input::placeholder,
.email-form textarea::placeholder {
  font-family: 'Share Tech Mono', monospace;
  color: #00ffcc;
}
.email-form button {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ------------------------------------------------------------------
   ADDITIONAL RESPONSIVE ENHANCEMENTS (≤ 768px) – NO ORIGINAL RULES CHANGED
   ------------------------------------------------------------------ */
@media (max-width: 768px) {

  /* Improve header collapse with smoother toggle area */
  #header {
    width: 100%;
    gap: 12px;
    padding: 16px 20px;
  }

  .menu-toggle {
    order: 2;
    align-self: center;
    padding: 4px 8px;
    line-height: 1;
  }

  /* Containers for collapsible nav & social (user may wrap them in HTML) */
  .navbar-menu-container,
  .social-media-container {
    flex-direction: column;
    width: 100%;
    background: rgba(45,46,50,0.9);
    border: 1px solid #1d1e20;
    box-shadow: 0 8px 18px -6px #00000080;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
  }

  /* When header has .nav-open class (add via JS) */
  #header.nav-open .navbar-menu-container,
  #header.nav-open .social-media-container {
    max-height: 600px; /* sufficiently large */
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-menu {
    align-items: stretch;
  }

  .navbar-menu li {
    width: 100%;
  }

  .navbar-menu li a {
    width: 100%;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    border-left: 3px solid transparent;
  }

  .navbar-menu li a:hover,
  .navbar-menu li a.active {
    background: #2d2e32;
    border-left-color: #64f4ac;
  }

  /* Social media vertical & centered */
  .social-media {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 0 18px;
  }

  .social-media li {
    padding: 4px 0;
  }

  .social-media li a {
    font-size: 14px;
    padding: 6px 12px;
  }

  /* Intro / hero layout stacking */
  #content-body,
  #introduction,
  #skill,
  #aboutme,
  #research,
  #certifications,
  #achievements {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 22px 70px;
    gap: 32px;
    min-height: auto;
  }

  #content-body {
    margin-left: 0;
    margin-top: 0;
    height: auto;
    padding: 60px 22px 40px;
  }

  .background-circle {
    width: 300px;
    height: 300px;
  }

  /* Profile / avatar stacking */
  .aboutme-photo {
    justify-content: center;
    margin: 0;
  }

  .profile-pic {
    margin-right: 0;
    margin-bottom: 20px;
  }

  /* Body title wrap fix (prevent overflow from nowrap) */
  .body-title h1 {
    white-space: normal;
    min-width: 0;
    width: 100%;
    font-size: 28px;
    letter-spacing: -1px;
    text-align: center;
  }

  .body-title p {
    text-align: center;
    padding: 12px 0 4px;
  }

  #greetingText {
    width: 100%;
    white-space: normal;
  }

  .developer-intro {
    flex-direction: column;
    gap: 10px;
  }

  .developer-intro p {
    font-size: 11px;
  }

  /* Cards full width */
  .cards,
  .cards-container,
  .image-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .design-card {
    max-width: 100%;
    width: 100%;
    margin: 0 0 18px;
    min-height: 140px;
  }

  .design-card div {
    flex-direction: row;
    gap: 12px;
  }

  /* Make scrollable card groups more comfortable */
  #introduction .cards-container {
    max-height: none;
    overflow: visible;
    gap: 18px;
  }

  /* Headings scaling & spacing */
  .section-heading,
  .heading-container h3.section-heading {
    font-size: 30px;
    line-height: 1.15;
  }

  .heading-container {
    margin-bottom: 28px;
  }

  /* Footer single-column centering */
  #footer {
    padding: 60px 24px 80px;
    height: auto;
    gap: 50px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    padding: 0;
  }

  .footer-right {
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .footer-email-intro,
  .footer-info,
  .footer-menu {
    align-items: center;
  }

  .footer-info ul,
  .footer-menu {
    padding: 0;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .email-form {
    margin: 0 auto;
    max-width: 100%;
    padding: 28px 20px;
  }

  /* Lightbox close button adjust */
  .close {
    top: 18px;
    right: 20px;
    font-size: 34px;
  }
}

/* Ultra-small devices (≤480px) fine-tuning */
@media (max-width: 480px) {
  .body-title h1 {
    font-size: 24px;
  }
  .section-heading,
  .heading-container h3.section-heading {
    font-size: 26px;
  }

  .email-form {
    padding: 24px 16px;
  }

  .background-circle {
    width: 240px;
    height: 240px;
  }

  .profile-pic {
    width: 130px;
    height: 130px;
  }
}

/* Prefer-reduced-motion: limit animations for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .navbar-menu-container,
  .social-media-container {
    transition: none !important;
  }
  #announcement-banner p {
    animation: none;
    position: static;
    transform: none;
  }
}

/* Optional helper class to force full-width cards when needed */
.full-width-cards .design-card {
  width: 100% !important;
  max-width: 100% !important;
}

/* Accessibility focus outlines */
a:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #64f4ac;
  outline-offset: 3px;
}

/* Hide scrollbar in stacked card sections on mobile (optional) */
@media (max-width: 768px) {
  #introduction .cards-container::-webkit-scrollbar {
    display: none;
  }
  #introduction .cards-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* ==== MOBILE OFF-CANVAS NAV REFINEMENT (APPENDED) ==== */
@media (max-width: 768px) {

  /* Always show the quick social links row */
  .social-media-container.quick-links {
    display: flex !important;
    width: auto;
    margin-left: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
    opacity: 1;
    transform: none;
    align-items: center;
  }
  .social-media-container.quick-links .social-media {
    flex-direction: row;
    gap: 12px;
    padding: 0;
  }
  .social-media-container.quick-links .social-media li {
    padding: 0;
  }
  .social-media-container.quick-links .social-media li a {
    font-size: 16px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .social-media-container.quick-links .social-media li a i {
    font-size: 20px;
  }

  /* Hamburger styling */
  .menu-toggle {
    position: relative;
    width: 44px;
    height: 38px;
    margin-left: 12px;
    background: #2d2e32;
    border: 1px solid #3a3b3f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s ease, box-shadow .3s ease;
  }
  .menu-toggle:hover {
    background: #34363b;
    box-shadow: 0 0 0 2px #64f4ac33;
  }
  .menu-toggle:active {
    transform: scale(.94);
  }
  .menu-toggle:focus-visible {
    outline: 2px solid #64f4ac;
    outline-offset: 3px;
  }

  /* Hamburger bars */
  .menu-toggle .hamburger-bar,
  .menu-toggle .hamburger-bar::before,
  .menu-toggle .hamburger-bar::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .45s cubic-bezier(.68,-0.55,.27,1.55), opacity .3s ease;
  }
  .menu-toggle .hamburger-bar::before { transform: translateY(-8px); }
  .menu-toggle .hamburger-bar::after  { transform: translateY(8px); }

  /* X animation */
  #header.nav-open .menu-toggle .hamburger-bar {
    background: transparent;
  }
  #header.nav-open .menu-toggle .hamburger-bar::before {
    transform: rotate(45deg);
  }
  #header.nav-open .menu-toggle .hamburger-bar::after {
    transform: rotate(-45deg);
  }

  /* Off-canvas container (re-using .navbar-menu-container) */
  .navbar-menu-container.offcanvas-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    height: 100vh;
    padding: 100px 24px 48px;
    background: linear-gradient(135deg, #2d2e32 0%, #242528 100%);
    border-left: 1px solid #1d1e20;
    box-shadow: -4px 0 20px -6px rgba(0,0,0,0.65), 0 0 24px -6px rgba(100,244,172,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(110%);
    transition: transform .55s cubic-bezier(.68,-0.55,.27,1.55);
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .navbar-menu-container.offcanvas-nav::-webkit-scrollbar {
    width: 6px;
  }
  .navbar-menu-container.offcanvas-nav::-webkit-scrollbar-track {
    background: transparent;
  }
  .navbar-menu-container.offcanvas-nav::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
  }

  /* Slide in when open */
  #header.nav-open .navbar-menu-container.offcanvas-nav {
    transform: translateX(0);
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 1001;
  }
  #header.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* Prevent body scroll when open */
  body.no-scroll {
    overflow: hidden;
    touch-action: none;
  }

  /* Menu list styling inside panel */
  .navbar-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }
  .navbar-menu li {
    list-style: none;
    opacity: 0;
    transform: translateX(40px);
  }

  /* Staggered reveal animation only when open */
  #header.nav-open .navbar-menu li {
    animation: slideInNav .55s forwards;
  }
  #header.nav-open .navbar-menu li:nth-child(1) { animation-delay: .05s; }
  #header.nav-open .navbar-menu li:nth-child(2) { animation-delay: .10s; }
  #header.nav-open .navbar-menu li:nth-child(3) { animation-delay: .15s; }
  #header.nav-open .navbar-menu li:nth-child(4) { animation-delay: .20s; }
  #header.nav-open .navbar-menu li:nth-child(5) { animation-delay: .25s; }
  #header.nav-open .navbar-menu li:nth-child(6) { animation-delay: .30s; }
  #header.nav-open .navbar-menu li:nth-child(7) { animation-delay: .35s; }

  @keyframes slideInNav {
    to { opacity:1; transform:translateX(0); }
  }

  .navbar-menu li a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #fefefe;
    border-left: 3px solid transparent;
    border-radius: 6px;
    background: #2d2e32;
    position: relative;
    overflow: hidden;
    transition: border-color .35s, color .35s;
  }
  .navbar-menu li a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(100,244,172,0) 0%, rgba(100,244,172,0.18) 50%, rgba(100,244,172,0) 100%);
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity .5s, transform .6s;
    pointer-events: none;
  }
  .navbar-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
  .navbar-menu li a:hover,
  .navbar-menu li a.active {
    border-left-color: #64f4ac;
    color: #64f4ac;
  }

  /* Make sure earlier collapse rules don’t hide the panel now */
  /* (Override any display:none previously applied) */
  .navbar-menu-container.offcanvas-nav {
    display: flex !important;
  }

  /* Header layout tweaks to fit quick links + hamburger */
  #header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .navbar-title {
    order: 0;
  }
  .social-media-container.quick-links {
    order: 1;
  }
  .menu-toggle {
    order: 2;
  }

}

/* Ultra-small refinement */
@media (max-width: 480px) {
  .navbar-menu-container.offcanvas-nav {
    width: 240px;
    padding: 90px 18px 40px;
  }
  .navbar-menu li a {
    font-size: 15px;
    padding: 12px 14px;
  }
  .social-media-container.quick-links .social-media li a i {
    font-size: 18px;
  }
}

/* === OPTION E (Minimal Ghost Icons) + STACKED LAYOUT PATCH === */
/* Place hamburger above quick social icons on mobile, right side of logo */

/* === MOBILE PATCH: Stack hamburger above social icons (Option E ghost style) WITHOUT HTML CHANGES === */
@media (max-width: 768px) {

  /* Turn header into a 2-column grid: logo | right stack (button + icons) */
  #header {
    --ham-accent: #64f4ac;
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-auto-rows: auto;
    align-items: start;
    column-gap: 12px;
    padding: 14px 18px !important;
  }

  /* Logo stays in column 1 */
  #header .navbar-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }

  /* Hamburger in column 2 (top row), aligned right */
  #header #menu-toggle.menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin: 0;
    width: 50px;
    height: 46px;
    position: relative;
    border: 1px solid #3a3b3f;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, #2f3135 0%, #242528 70%);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .4s, box-shadow .45s, transform .4s;
    box-shadow: 0 0 0 0 rgba(100,244,172,0), 0 4px 14px -6px rgba(0,0,0,.6);
  }

  #header #menu-toggle.menu-toggle:hover {
    box-shadow: 0 0 0 2px rgba(100,244,172,0.15), 0 0 16px -4px rgba(100,244,172,0.55);
  }

  #header #menu-toggle.menu-toggle:active {
    transform: scale(.94);
  }

  /* Hide duplicate Font Awesome bars so only custom icon shows */
  #header #menu-toggle.menu-toggle i.fas.fa-bars {
    display: none !important;
  }

  /* TRUE THREE BARS (no chevrons) */
  #header #menu-toggle .hamburger-bar,
  #header #menu-toggle .hamburger-bar::before,
  #header #menu-toggle .hamburger-bar::after {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 3.2px;
    border-radius: 2px;
    background: linear-gradient(90deg,#ffffff,#d9d9d9);
    content: "";
    transform-origin: center;
    transition:
      transform .55s cubic-bezier(.68,-0.55,.27,1.55),
      background .35s,
      opacity .35s;
  }

  /* Middle bar */
  #header #menu-toggle .hamburger-bar {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Top bar */
  #header #menu-toggle .hamburger-bar::before {
    top: 50%;
    transform: translate(-50%, calc(-50% - 8px));
  }

  /* Bottom bar */
  #header #menu-toggle .hamburger-bar::after {
    top: 50%;
    transform: translate(-50%, calc(-50% + 8px));
  }

  /* Hover accent (all three bars) */
  #header #menu-toggle.menu-toggle:hover .hamburger-bar,
  #header #menu-toggle.menu-toggle:hover .hamburger-bar::before,
  #header #menu-toggle.menu-toggle:hover .hamburger-bar::after {
    background: linear-gradient(90deg, var(--ham-accent), #00ffc8);
    box-shadow: 0 0 8px var(--ham-accent);
  }

  /* OPEN STATE: middle disappears, top & bottom rotate into X */
  #header.nav-open #menu-toggle .hamburger-bar {
    background: transparent;
  }
  #header.nav-open #menu-toggle .hamburger-bar::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  #header.nav-open #menu-toggle .hamburger-bar::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  #header.nav-open #menu-toggle .hamburger-bar::before,
  #header.nav-open #menu-toggle .hamburger-bar::after {
    background: linear-gradient(90deg, var(--ham-accent), #00ffc8);
    box-shadow: 0 0 12px var(--ham-accent), 0 0 24px rgba(100,244,172,0.55);
  }
  #header.nav-open #menu-toggle.menu-toggle {
    box-shadow: 0 0 0 2px rgba(100,244,172,0.25), 0 0 24px -6px rgba(100,244,172,0.65);
  }


  /* Quick links (social icons) in column 2 below the hamburger */
  #header .social-media-container.quick-links {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: auto !important;
    margin-top: 6px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Option E ghost styling */
  #header .social-media-container.quick-links .social-media {
    display: flex !important;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #header .social-media-container.quick-links .social-media li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #header .social-media-container.quick-links .social-media li a {
    position: relative;
    color: #cfcfcf;
    font-size: 20px;
    padding: 6px 4px 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .35s;
    text-decoration: none;
  }

  /* Underline accent */
  #header .social-media-container.quick-links .social-media li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: #64f4ac;
    box-shadow: 0 0 6px #64f4ac;
    transition: width .45s cubic-bezier(.65,.05,.36,1), left .45s cubic-bezier(.65,.05,.36,1);
  }

  #header .social-media-container.quick-links .social-media li a:hover {
    color: #64f4ac;
  }
  #header .social-media-container.quick-links .social-media li a:hover::after {
    width: 70%;
    left: 15%;
  }

  /* Make sure off-canvas panel & overlay still sit above everything else */
  #header.nav-open .navbar-menu-container.offcanvas-nav {
    z-index: 1200;
  }
  #header .nav-overlay {
    cursor: pointer;
  }

  /* Prevent older mobile rules from forcing column layout */
  #header .navbar-menu,
  #header .social-media {
    width: auto;
  }
}

/* Keep scroll offset so anchored sections aren't hidden */
#aboutme,
#research,
#introduction,
#skill,
#certifications,
#achievements,
#footer {
  scroll-margin-top: 90px;
}
