@import url('https://fonts.googleapis.com/css2?family=Fondamento:ital@0;1&display=swap');

*{
    padding: 0%;
    margin: 0%;
}
:root{
  /* default extra offset when scrolling to anchored sections */
  --nav-gap: 12px;
}

html {
  scroll-behavior: smooth;
}

body{
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    background-attachment: fixed;
    font-family: "Fondamento", cursive;;
    color: white;
    min-height: 100vh;
}
/* Navbar hidden by default */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 245, 0.2);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none; 
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 217, 245, 0.1);
 }

/* When active -> show navbar */
#navbar.active {
  opacity: 1;
  pointer-events: auto;
}
nav{
    margin-right: 1.5rem;
}
#navbar nav a{
    position: relative;
    margin-right: 10px;
    color: #c0bebe;
    text-decoration: none;
    font-size:18px;
    font-weight: 500;
    padding: 0.75rem 1rem;
    
    transition: all 0.3s ease;
   
   
}

#navbar a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 15%;
    background: linear-gradient(45deg, #827e7e 0%, #0b0b0b 100%);
    transition: width 0.3s ease;
}

#navbar a:hover::after {
    width: 100%;
}
.name {
  text-align: center; /* keeps both name and tagline centered */
}

.name h1 {
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00d9f5 0%, #00bcd4 50%, #00a8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: whitesmoke;
  background-clip: text;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(0, 217, 245, 0.3);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 217, 245, 0.5)); }
  50% { filter: drop-shadow(0 0 20px rgba(0, 217, 245, 0.8)); }
}

/* Typewriter effect */
.tagline {
  display: inline-block; /* needed for typewriter */
  font-size: 1.3rem;
  font-weight: 400;
  color: #d3d4d4;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  border-right: 2px solid #8d8f8e;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink 0.8s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 20%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.model {
    position: relative;
    min-height: 250px; 
    margin-top: 1rem;
    overflow: hidden;
    transform: scale(1.3);
}


/* About Section */
#about {
  color: #f1f1f1;      /* soft white */
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 7.23rem;
  text-align: center;
  /* font-family: 'Times New Roman', Times, serif; */
  line-height: 1.8;
  /* Glass UI Background */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-text p {
    text-align: center;
  }
}

/* Heading */
#about h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
}
/*underline the heading*/
#about h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Paragraph */
#about p {
  font-size: 1.1rem;
  color: #cfcfcf;
  max-width: 750px;
  margin: 0 auto 30px;
}



@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#skills {
  padding: 70px 20px;
  
  color: #f8fafc;
}

#skills .container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

#skills h2 {
  font-size: 2rem;
  margin-bottom: 30px;
   color: #ffffff;
}

/* Skills Grid */
#skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Skill Card */
#skills .skill-card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
}

#skills .skill-card:hover {
  box-shadow: 0 10px 20px rgba(238, 237, 237, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

/* Skill Icons */
#skills .skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#certificates {
  padding: 40px 23px;
 
  color: #f8fafc;
}

#certificates .container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

#certificates h2 {
  font-size: 2rem;
  margin-bottom: 30px;
   color: #ffffff;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.certificate-card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.certificate-card:hover {
  box-shadow: 0 10px 20px rgba(238, 237, 237, 0.1);
  transform: translateY(-3px);
  color: #fff;
}

.certificate-card:hover h3,
.certificate-card:hover p {
  color: #fff;
}

.certificate-icon {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.certificate-info h3 {
  font-size: 1.0rem;
  font-weight: 600;
  margin: 0 0 5px;
  color: #f1f5f9;
}

.certificate-info p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.certificate-info .date {
  color: #38bdf8; /* highlight date */
  font-weight: 500;
}

#certificates h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}
#certificates h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}
#skills h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}

.view-btn {
  display: inline-block;
  margin: 5px;
  padding: 6px 12px;
  background: #2d47ca; 
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

/* Contact Section */
#contact {
  max-width: 700px;
  margin: 50px auto;
  margin-top: -10px;
  padding: 50px;
  background:black;
  border-radius: 12px;
  border: 1px solid #333;
  color: whitesmoke;
}

.contact-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00d9f5 0%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #d3d4d4;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 217, 245, 0.2);
  background: rgba(26, 26, 46, 0.6);
  color: whitesmoke;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

input:focus, textarea:focus {
  border: 1px solid #00d9f5;
  background: rgba(26, 26, 46, 0.8);
  box-shadow: 0 0 15px rgba(0, 217, 245, 0.4);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background:  #6077ec;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 245, 0.1);
}

.btn-submit:hover {
  color: #0a0a0a;
  background: linear-gradient(135deg, #00bcd4 0%, #008fa3 100%);
  box-shadow: 0 6px 25px rgba(0, 217, 245, 0.2);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Form status message */
#form-status {
  margin-top: 15px;
  text-align: center;
  font-size: 1rem;
}

/* From Uiverse.io by wilsondesouza */ 
ul {
  list-style: none;
}

.example-2 {
  position: fixed;
  left: 30px;
  bottom: 2rem;           /* Distance from the bottom */
  top: auto;              /* Remove top positioning */
  transform: none;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  /* animate when we change bottom to avoid jump */
  transition: bottom 200ms ease, transform 200ms ease;
}
.example-2 .icon-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: 50%;
  left: 110%;
  transform: translateY(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  left: 120%;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  color: white;
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

/* .example-2 .icon-content a[data-social="Discord"] .filled,
.example-2 .icon-content a[data-social="Discord"] ~ .tooltip {
  background-color: #ff0000;
} */

/* From Uiverse.io by Creatlydev */ 
.button {
  line-height: 1;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.75em 1em;
  padding-right: 1.25em;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  border-radius: 2em;
  font-size: 1rem;
  box-shadow: 0 0.7em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
  transition: transform 0.3s;

  background: linear-gradient(
    90deg,
    rgba(77, 54, 208, 1) 0%,
    rgba(132, 116, 254, 1) 100%
  );
}

.button__icon {
  width: 1.5em;
  height: 1.5em;
}

.button:hover {
  border-color: #f4f5f2;
}

.button:active {
  transform: scale(0.98);
  box-shadow: 0 0.5em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
}

.footer {
  background: #181818;
  color: #f0f0f0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1rem;
  padding: 1rem 0 1rem 0;
  text-align: center;
  margin-top: 1rem;
  border-top: 2px solid #00bcd4;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-profile {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.footer-bottom {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #00bcd4;
}
.footer a {
  color: #00bcd4;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Floating resume button (example-3) */
.example-3 {
  position:fixed;
  right: 72px; /* sit a bit right of the social icons */
  bottom: 2.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: bottom 200ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.example-3 .button__icon { color: #e6e6e6; }
.example-3 .button__text { font-weight: 600; font-size: 0.95rem; }
.example-3:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(238, 237, 237, 0.1);
}
.example-3:active { transform: translateY(-2px); }
.example-3:focus {
  outline: 3px solid rgba(0,189,212,0.12);
  outline-offset: 3px;
}
.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.btn {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Platform Colors */
.linkedin { background: #0077b5; }
.github { background: #24292e; }
.discord { background: #5865f2; }
.resume { background: #00adb5; }

/* Projects Section */
#projects {
  padding: 10px 20px;
  
  color: #f8fafc;
}

#projects .container {
  max-width: 1000px;
  margin: auto;
}

#projects h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
   color: #ffffff;
}

#projects .card.project {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#projects .card.project:hover {
 box-shadow: 0 10px 20px rgba(238, 237, 237, 0.1);
  transform: translateY(-3px);
  color: #fff;
}

#projects .project-image img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#projects .project-content {
  flex: 1;
}

#projects .project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #38c5f8fa;
}

#projects .project-content p {
  margin: 5px 0;
  font-size: 1rem;
  color: #f1f5f9;
}

#projects .project-content .meta {
  font-size: 0.95rem;
  color: #cbd5e1;
}
#projects h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}
#education {
  padding: 50px 20px;
 
  color: #f8fafc;
}

#education .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#education h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
   color: #ffffff;

}

/* Education Cards */
#education .card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#education .card:hover {
 box-shadow: 0 10px 20px rgba(238, 237, 237, 0.1);
  transform: translateY(-2px);
  color: #fff;
}

#education .card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f1f5f9;
}

#education .card p {
  font-size: 1rem;
  margin: 5px 0;
  color: #cbd5e1; /* soft gray */
}
#education h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #00d9f5;
  margin: 12px auto 0;
  border-radius: 2px;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    .example-2 ,  .example-3{
      display: none;
    }
    #navbar{
      display: none;
    }
    .name {
      width: 100%;
      /* padding: 0 1rem; */
      overflow: hidden;
    }
    .name h1 {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-size: 1.5rem;
      margin-top: 2rem;
      margin-bottom: 0.3rem;
      line-height: 1;
      width: 100%;
    }
    
    .tagline {
      font-size: 1rem;
      margin-top: 0.3rem;
     width: auto; /* Show complete tagline */
      white-space: normal;
      overflow: visible;
      animation: none; 
    }
    
    @keyframes typing {
      from { width: 0; }
      to { width: 50%; } /* adjust typewriter width for mobile */
    }
    .model{
      padding: 0;
      margin: 1rem;
      height: 35rem;
      width:auto;
    }
    
    .modal{
      margin: 1rem;
      font-size: smaller;
      font: x-small;
    }
  #logo{
    display: none;
  }
  #about-text{
    padding: 20px 10px;
  }
  #about{
    padding: 9%;
    font-size: smaller;
    font: x-small;
  }
  #contact{
    margin: 1rem;
    font-size: smaller;
    font: x-small;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #contact-form{
    margin-left: -1.25rem;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    .example-2 ,  .example-3{
      display: none;
    }
    #navbar{
      display: none;
    }
    .name {
      width: 100%;
      /* padding: 0 1rem; */
      overflow: hidden;
    }
    .name h1 {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-size: 1.5rem;
      margin-top: 2rem;
      margin-bottom: 0.3rem;
      line-height: 1;
      width: 100%;
    }
    
    .tagline {
      font-size: 1rem;
      margin-top: 0.3rem;
      width: 80%; /* override typewriter width */
      white-space: nowrap;
      overflow: hidden;
    }
    
    @keyframes typing {
      from { width: 0; }
      to { width: 50%; } /* adjust typewriter width for mobile */
    }
    .model{
      padding: 0;
      margin: 1rem;
      height: 35rem;
      width:auto;
    }

    .modal{
      margin: 1rem;
      font-size: smaller;
    font: x-small;
    }
  #logo{
    display: none;
  }
  #about-text{
    padding: 20px 10px;
  }
  #about{
    padding: 9%;
    font-size: smaller;
    font: x-small;
  }
  #contact{
    margin: 1rem;
  }
  #contact-form{
    margin-left: 0;
    font-size: smaller;
    font: x-small;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1080px ) {
    
    #navbar{
      display: n;
    }
    .name {
      width: 100%;
      /* padding: 0 1rem; */
      overflow: hidden;
    }
    .name h1 {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-size: 1.5rem;
      margin-top: 2rem;
      margin-bottom: 0.3rem;
      line-height: 1;
      width: 100%;
    }
    
    .tagline {
      font-size: 1rem;
      margin-top: 0.3rem;
      width: 80%; /* override typewriter width */
      white-space: nowrap;
      overflow: hidden;
    }
    
    @keyframes typing {
      from { width: 0; }
      to { width: 50%; } /* adjust typewriter width for mobile */
    }
    .model{
      padding: 0;
      margin: 1rem;
      height: 35rem;
      width:auto;
    }
    
    .modal{
      margin: 1rem;
      font-size: smaller;
    font: x-small;
    }
  #logo{
    display: none;
  }
  #about-text{
    padding: 20px 10px;
  }
  #about{
    padding: 9%;
    font-size: smaller;
    font: x-small;
  }
  #contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 1rem;
  }
  #contact-form{
    margin-left: 0;
    font-size: smaller;
    font: x-small;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}






