* { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(to right, #f4f7f8, #e9ecef);
      color: #333;
      line-height: 1.6;
    }

    header {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      color: white;
      padding: 2rem 0;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    header h1 {
      font-size: 2.5rem;
      margin-bottom: 0.3rem;
    }

    nav {
      background-color: white;
      padding: 10px 0;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    nav a {
      margin: 0 20px;
      color: #2a5298;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #1e3c72;
    }

    .container {
      padding: 40px 20px;
      max-width: 1000px;
      margin: auto;
    }

    .section {
      background-color: white;
      border-radius: 10px;
      padding: 30px;
      margin-bottom: 40px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s;
    }

    .section:hover {
      transform: translateY(-5px);
    }
.cert-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 per row */
  gap: 20px;
}

.cert-grid .card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.cert-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.cert-btn:hover {
  background: #0056b3;
}

    h2 {
      color: #1e3c72;
      margin-bottom: 20px;
      font-size: 1.8rem;
      border-left: 4px solid #2a5298;
      padding-left: 12px;
    }

    /* Skills */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.experience-card h3 {
  margin-bottom: 0.3rem;
  color: #333;
}

.experience-card p.experience-description {
  color: #555;
  margin-bottom: 0.8rem;
}

.experience-card ul {
  margin-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.certifications ul {
  margin-left: 1.2rem;
}

.certifications a {
  color: #0073e6;
  text-decoration: none;
}

.certifications a:hover {
  text-decoration: underline;
}

    .skill-card {
      background-color: #f9f9f9;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .skill-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .skill-card img {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
    }

    .skill-card p {
      font-size: 0.95rem;
      font-weight: 600;
    }

    /* Projects */
    .projects-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
    }

    .project-card {
      background-color: #f9f9f9;
      border-left: 5px solid #2a5298;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
      transition: transform 0.3s ease;
    }
    .about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.about-content {
  flex: 1;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.about-content strong {
  color: #007acc;
}
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-card-horizontal {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card-horizontal:hover {
  transform: translateY(-5px);
}

.project-card-horizontal img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
  flex: 1;
}

.project-info h3 {
  margin-top: 0;
}

.project-info a {
  display: inline-block;
  margin-top: 10px;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.project-info a:hover {
  text-decoration: underline;
}

#about p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  text-align: justify;
}

#about strong {
  color: #007acc;
}

    footer {
      text-align: center;
      background: #1e3c72;
      color: white;
      padding: 1.2rem 0;
      font-size: 0.95rem;
      margin-top: 50px;
    }

    a {
      color: #2a5298;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
    .cert-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background-color: #1a3e8b;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-btn:hover {
  background-color: #1540a1;
  box-shadow: 0 2px 10px rgba(26, 62, 139, 0.3);
}
.cert-btn {
  display: block;
  width: fit-content;
  margin: 0.75rem auto 0;
  text-align: center;
}

.horizontal-section {
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #1a3e8b;
  border-left: 4px solid #1a3e8b;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1.25rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.card {
  flex: 0 0 auto;
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}
.contact-form {
  max-width: 500px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.contact-form input:focus {
  border-color: #1a3e8b;
  box-shadow: 0 0 0 2px rgba(26, 62, 139, 0.2);
}

.contact-form button {
  background-color: #1a3e8b;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #1540a1;
}


    @media (max-width: 600px) {
      nav a {
        margin: 0 10px;
        font-size: 0.9rem;
      }
      .skill-card img {
        width: 35px;
        height: 35px;
      }
    }