* {
  color: #09381F;
}

body{
    font-family: 'Courier New', Courier, monospace;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 auto;
    padding: 50px;   
}

header{
    text-align: center;
}

.counter-container {
   display: flex;
  gap: 1rem;
  border: 1px solid var(--color-primary);
  background: var(--color-primary-x-light);
}

.name {
  text-decoration: none;
}
h1 {
     -webkit-text-size-adjust: 100%;
    --content-margin-x: .75rem;
    --content-margin-y: .75rem;
  font-family: "Bitcount Prop Double Ink", system-ui;
  font-optical-sizing: auto;
  font-weight: 900; 
  font-size: 72px;
  font-style: normal;
  line-height: 1em;
  display: inline;
  letter-spacing: 0.138889em;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0,
    "SZP1" 0,
    "SZP2" 0,
    "XPN1" 0,
    "XPN2" 0,
    "YPN1" 0,
    "YPN2" 0;
}

header nav a{
  color:  #09381F;
  transition: color 0.3s ease;
  text-decoration: none;
}

header nav a:hover {
  color: #E6D4E6;
}

a[aria-current="page"] {
  font-weight: bold;
  color: #E6D4E6;
  text-decoration: none;
}
main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8%;
  padding: 5%;
}
.flex1, .flex2 {
   display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 2%;
  
}

.flex1 p, .flex2 p {
display:block;
justify-self: center;
}

footer {
    text-align: center;
    padding: 10px;
    margin-top: 5px;
}

.flex{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2%;
}

/*ABOUT PAGE STYLING*/
.flexbox{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3rem; 
}

img{
  max-width: 100%;
  height: auto;
   border-radius: 8px;
}

.flexchild2{
  max-width: 60%; 
}

.skills {
  text-align: left;
  color: #09381F;
}

.skills h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
  max-width: 800px;
}

.skill-card {
  background:#E6D4E6;
  border-radius: 16px;
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.skill-card:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(9, 56, 31, 0.3);
}

.skill-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  transition: transform 0.4s ease-in-out;
}

.skill-card:hover img {
  transform: rotate(10deg) scale(1.2);
}

.skill-card p {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.skill-card:hover img {
  animation: pulse 1s infinite;
}
/* Tablets */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flexbox {
    flex-direction: column;
    text-align: center;
  }

  .flexchild2 {
    max-width: 90%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header nav {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .skill-card img {
    width: 32px;
    height: 32px;
  }

  .flexchild1 img {
    width: 180px;
    height: 180px;
  }

  footer {
    font-size: 0.9rem;
  }
  }



/* BLOG PAGE STYLING */
  #blog-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
  }
  .blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .blog-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: #fff;
  }
  .blog-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
  }
  .blog-card img.cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  .blog-card .content {
    padding: 1rem;
  }
  .blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }
  .blog-card p {
    font-size: 0.9rem;
    color: #09381F;
  }
  .blog-card small {
    display: block;
    margin-top: 0.5rem;
    color: #888;
  }

  /* PROJECTS */
 #projects {
  padding: 2rem;
  text-align: center;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(9, 56, 31, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(9, 56, 31, 0.2);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-content {
  padding: 1.2rem;
  flex-grow: 1;
}

.project-content h3 {
  margin: 0.5rem 0;
  color: #09381F;
  font-size: 1.2rem;
}

.project-content p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.tech {
  font-style: italic;

}

.links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.links a {
  text-decoration: none;
  color: white;
  background-color: #E6D4E6;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.links a:hover {
  background-color: #8a0b5d;
}

/* Responsive for tablets and phones */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* CERTIFICATION PAGE */
    .container {
      max-width: 900px;
      margin: 50px auto;
      padding: 20px;
    }

    h2 {
      text-align: center;
      font-size: 2.4rem;
      margin-bottom: 30px;
      color: #09381F;
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .cert-card {
      background: #FFFFFF;
      border-radius: 20px;
      padding: 25px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border: 2px solid #E6D4E6;
    }

    .cert-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .cert-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .provider {
      font-size: 0.9rem;
      opacity: 0.8;
      margin-bottom: 15px;
    }

    .badge {
      display: inline-block;
      margin-bottom: 15px;
      height: 60px;
    }

    article a {
      text-decoration: none;
      color: #09381F;
      background: #E6D4E6;
      padding: 8px 12px;
      border-radius: 12px;
      font-size: 0.85rem;
      font-weight: 500;
      transition: background 0.2s ease;
    }

    article a:hover {
      background: #cbbacb;
    }