* {
  margin: 0;
  padding: 0;
  *,
*::before,
*::after {
  box-sizing: border-box;
}

  font-family: Arial, sans-serif;
  color: #ffffff;
  
  
}

/* Theme variables */
:root {
  --bg: #0f172a;
  --text: #e5e7eb;
  --card: #1e293b;
}

.light {
  --bg: #f8fafc;
  --text: #020617;
  --card: #e2e8f0;
}

body {
  background: #050b1d;
  font-family: Arial, sans-serif;
  color: #ffffff;
  scroll-behavior: smooth;
  line-height: 1.8;
  padding-top: 72px;
  overflow-x: hidden;
}


p {
  margin: 16px 0;
}

h1, h2, h3 {
  line-height: 1;
  text-align: center;
  font-size: 29px;
  margin-bottom: 20px;
  font-weight: 600;
}

.section h2 {
  margin-bottom: 8px;
}


/* Navbar */

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #38bdf8;
}


.highlight {
  color: #ffffff;
}

/*-------------------------------------------------------------------------------------- */

/* Sections */
.section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  scroll-margin-top: 100px;
}

/*-------------------------------------------------------------------------------------- */


/*-------------------------------------------------------------------------------------- */
/* Testing Expertise */

.testing-expertise {
  padding: 25px 5%;
  background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%
  );
}

.testing-expertise h2 {
  text-align: center;
  font-size: 29px;
  margin-bottom: 50px;
  font-weight: 600;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.expertise-card {
  position: relative;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
              0 20px 40px rgba(0, 0, 0, 0.4);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.expertise-card span {
  width: 10px;
  height: 10px;
  background: #2dd4ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(45, 212, 255, 0.8);
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 255, 0.5);
  box-shadow: 0 25px 60px rgba(45, 212, 255, 0.15);
}

/*-------------------------------------------------------------------------------------- */

/* Skills */
.skills span {
  display: inline-block;
  margin: 8 px 10px;
  padding: 10px 15px;
  background: var(--card);
  border-radius: 10px;
  transition: transform 0.3s;
}

.skills {
  margin-top: 16px;
}

.skills span:hover {
  transform: scale(1.1);
}

.skills.icons img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  filter: grayscale(0%);
  transition: transform 0.1s, filter 0.3s;
  border-radius: 5%;
  border:2px;
  padding:1%; margin:2px

}

.skills.icons img:hover {
  transform: scale(1.15);
  /*transform: rotate3d(0.5, 0.5, 0.5, 45deg); */
  

  filter: grayscale(0%);
}

/*-------------------------------------------------------------------------------------- */

/* Project Cards */
/*.card {
  background: var(--card);
  padding: 20px;
  border-radius: 30px;
  cursor: pointer;
} */

/*Project Image
.project-img {
  width: 20%;
  border-radius: 4px;
  margin-bottom: 30px;
} */


/*-------------------------------------------------------------------------------------- */

/* Hi I am Kash Chauhan*/
.typing {
  min-height: 1.5em;
  line-height: 1.5;
}

/*-------------------------------------------------------------------------------------- */
/* Certificates grid */

.certificates-grid {
  display:grid;
  background-color:#050b1d;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

/* Certificates card */
.certificates-card {
   position: relative;
  background:#0f172a;
    background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%);

  border-radius: 14px;
  padding: 22px 26px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction:column;
  align-items:center;
  gap: 0.5px;
  border: 0.1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
              0 20px 40px rgba(0, 0, 0, 0.4);

  font-size: 16px;   

    transition: all 0.3s ease;
}

/* Image */
.certificates-card img {
  width: 50%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
}

/* Label text */
.certificates-card span {
  font-size: 14px;
  font-weight: 100;
}

/* Hover & focus */
.certificates-card:hover,
.certificates-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 255, 0.5);
  box-shadow: 0 25px 60px rgba(45, 212, 255, 0.15);

}

/*-------------------------------------------------------------------------------------- */

/* Scroll animation */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 2;
  transform: translateY(0);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%
  );

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal-content {
  background: var(--card);
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
}

.modal-content p {
  line-height: 1.7;
}


.modal-hidden {
  display: none;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: justify;
  background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%
  );

}

.about-img {
  width: 200px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .about-img {
    width: 200px;
    margin-bottom: 16px;
  }
}


@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
}


.debug-nav {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 72px;

  display: flex;
  align-items: center;

  padding: 1 24px;
  background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%

    );

  z-index: 9999;
}

/* Left logo */
.debug-logo {
  font-size: 21px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  
}

/* Right container */
.debug-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  
}

/* Links */
.debug-right a {
  color:#ffffff;
  font-weight: bold;
  text-decoration: none;
  
}

/* Theme button */
#themeToggle {
  background:transparent;
  color:#020617;
  border: none;
  /*padding: 5px 7px; */
  font-size: 22px;
  cursor: pointer;
} 

/* Push content down */
.project-icon {
  margin-right: 8px;
  color: #4f46e5;   
  font-size: 15px;
  vertical-align: middle;
}

/*------------------------------------------------------------------------------------*/

/* Projects */
/* Projects grid */
.projects-grid {
  display:grid;
  background-color:#050b1d;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

/* Project card */
.project-card {
  position: relative;
  background:#0f172a;
    background: radial-gradient(
    circle at top,
    #0b1437 0%,
    #050b1d 60%);

  border-radius: 14px;
  padding: 22px 26px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction:column;
  align-items:center;
  gap: 0.5px;
  border: 0.1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
              0 20px 40px rgba(0, 0, 0, 0.4);

  font-size: 16px;   

    transition: all 0.3s ease;
}



/* Image */
.project-card img {
  width: 50%;
  max-width: 100px;
  height: auto;
  object-fit:contain;

}

/* Label text */
.project-card span {
  font-size: 14px;
  font-weight: 100;
   

  }

/* Hover & focus */
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 255, 0.5);
  box-shadow: 0 25px 60px rgba(45, 212, 255, 0.15);

}

/*------------------------------------------------------------------------------------------------- */

/* Copyright */

.site-footer {
  text-align: center;
  padding: 20px 0;
  background-color: #111;
  color: #aaa;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/*------------------------------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .debug-nav {
    flex-direction: column;
    height: auto;
    padding: 12px;
  }

  .debug-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
  }

  .debug-right a {
    font-size: 14px;
  }
}


/*------------------------------------------------------------------------------------------------- */

@media (max-width: 480px) {
  h1, h2 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .project-card,
  .certificates-card {
    padding: 16px;
  }
}
