 /* === Global Styles === */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}
/* Header */
    header {
      background: #0d47a1;
      color: #fff;
      padding: 20px;
      text-align: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    header nav a {
      color: white;
      margin: 0 10px;
      text-decoration: none;
      font-weight: bold;
    }
    /*CV*/
    /* Button Group */
.home-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* CV Button */
.cv-btn {
  background: #0d47a1;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cv-btn:hover {
  background: #0d47a1;
  transform: scale(1.05);
}


/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

    section {
      padding: 60px 20px;
      max-width: 1000px;
      margin: auto;
    }
    h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #0d47a1;
    }
    .profile-pic {
      display: block;
      margin: 0 auto 20px;
      border-radius: 50%;
      width: 150px;
    }
    .skills-list, .contact-info, .projects, .certificates, .experience, .education {
      list-style: none;
      padding: 0;
    }
    .skills-list li, .projects li, .certificates li, .experience li, .education li {
      margin: 10px 0;
      padding: 10px;
      background: #f1f1f1;
      border-radius: 8px;
    }
    a.button {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background: #0d47a1;
      color: white;
      border-radius: 5px;
      text-decoration: none;
    }
footer {
    text-align: center;
    padding: 20px;
    background: #0d47a1;
    color: white;
}

/*About Me*/
#about {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.about-box {
    max-width: 800px;
    margin: auto;
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: left;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s forwards;
}

.about-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #ffeb3b;
}

.about-box p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

@keyframes fadeInUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}


/*Education*/
#education {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

#education h2 {
  margin-bottom: 40px;
  color: #0d47a1;
}

.education-box {
  max-width: 800px;
  margin: auto;
  background: linear-gradient(135deg, #0d47a1, #42a5f5);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

.education-box h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #ffeb3b;
}

.education-box p {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 16px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*Experience*/
#experience {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

#experience h2 {
  margin-bottom: 40px;
  color: #0d47a1;
}

.experience-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.exp-card {
  background: linear-gradient(135deg, #0d47a1, #42a5f5);
  color: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
}

.exp-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  color: #ffeb3b;
}

.exp-card h4 {
  margin-bottom: 5px;
  font-size: 16px;
  font-style: italic;
}

.exp-date {
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.exp-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-card li {
  margin: 8px 0;
  position: relative;
  padding-left: 22px;
}

.exp-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffeb3b;
  font-weight: bold;
}

.exp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*Contact*/
.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.contact-links a {
    text-decoration: none;
    color: #0d47a1;
    font-size: 18px;
    background: #f1f1f1;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}
.contact-links a i {
    margin-right: 8px;
    font-size: 20px;
}
.contact-links a:hover {
    background: #0d47a1;
    color: white;
    transform: scale(1.05);
}


/*Certificates*/
#certificates {
    text-align: center;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.cert-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.cert-card:hover {
    transform: scale(1.05);
}
.cert-card img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.cert-card p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/*Skills*/
#skills {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.skill-card h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding-bottom: 5px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card li {
    margin: 8px 0;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: background 0.3s;
}

.skill-card li:hover {
    background: rgba(255,255,255,0.4);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/*Projects*/
#projects {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.project-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-content h3 {
    margin-bottom: 10px;
    color: #0d47a1;
}

.project-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.tech-tags {
    margin-bottom: 15px;
}

.tech-tags span {
    display: inline-block;
    background: #e3f2fd;
    color: #0d47a1;
    font-size: 13px;
    margin: 4px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.3s;
}

.tech-tags span:hover {
    background: #0d47a1;
    color: white;
}

.project-links .btn {
    display: inline-block;
    background: #0d47a1;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

.project-links .btn:hover {
    background: #1565c0;
    transform: scale(1.05);
}

@keyframes fadeInUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}
