/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #121212;
  color: #f1f1f1;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}
.experience-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.experience-card img {
  width: 80%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}


/* ===== Header ===== */
/* ===== NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00bfa6;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00bfa6;
}

/* Toggle Button (hamburger) */
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: #111;
    width: 200px;
    padding: 15px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

.header {
  position: sticky;
  top: 0;
  background: rgba(20,20,20,0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}
header nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}


.logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.logo span { color: #00bfa6; }

.nav a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover { color: #00bfa6; }

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg,#1f1f1f,#000);
  text-align: center;
}
#experience {
  margin-top: 40px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero h1 {
  font-size: 3rem;
}
.hero h1 span {
  color: #00bfa6;
}
.hero p {
  margin: 1rem 0;
  font-size: 1.2rem;
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #00bfa6;
  color: #000;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s;
}
.btn:hover { transform: scale(1.05); }

/* ===== Sections ===== */
.section {
  padding: 80px 20px;
  text-align: center;
  scroll-margin-top: 90px;
}
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
}
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00bfa6;
  margin: 12px auto 0;
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 20px;
}
.skill {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  font-weight: 500;
  transition: transform 0.3s;
}
.skill i { font-size: 2rem; margin-bottom: 8px; display: block; }
.skill:hover { transform: translateY(-5px); }

/* ===== Experience ===== */
.exp-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.exp-item {
  background: #1e1e1e;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.exp-item:hover {
  transform: translateY(-5px);
}

.exp-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #00bfa6;
  margin-bottom: 6px;
}

.exp-duration {
  font-size: 0.95rem;
  color: #bbb;
  display: block;
  margin-bottom: 12px;
}

.exp-item p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
}
.exp-company {
  font-weight: 600;
  color: #ccc;
  font-size: 1rem;
}

.certifications {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.certifications li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}


/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}
.card {
  background: #1c1c1c;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
}
.card img { width: 100%; }
.card-body { padding: 15px; }
.card:hover { transform: translateY(-5px); }

/* ===== Contact ===== */
.contact-links a {
  font-size: 2rem;
  margin: 0 15px;
  color: #00bfa6;
  transition: transform 0.3s;
}
.contact-links a:hover { transform: scale(1.2); }

/* ===== Footer ===== */
.footer {
  padding: 20px;
  text-align: center;
  background: #0b0b0b;
  color: #aaa;
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
/* ===== About Section ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;       /* clean alignment */
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

.about-content strong {
  color: #00bfa6;            /* highlight keywords */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #333;
}
.projects-grid a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Experience */
/* ===== Experience Cards ===== */
.exp-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.exp-card {
  width: 320px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #111;
  padding: 20px;
}

.exp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.exp-details {
  padding: 20px;
  display: none;
  text-align: left;
}

.exp-details.active {
  display: block;
}

.exp-details h3 {
  font-size: 1.3rem;
  color: #00bfa6;
  margin-bottom: 5px;
}

.exp-company {
  font-weight: 600;
  color: #ccc;
  display: block;
}

.exp-duration {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 12px;
  display: block;
}

.certifications {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.certifications li {
  margin-bottom: 4px;
}

/* Certifications */
/* ===== Certifications ===== */
#certifications {
  background: #111;
  padding: 60px 20px;
  text-align: center;
}

#certifications h2 {
  margin-bottom: 30px;
}

.certifications-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 1.5rem;        /* space for bullets */
  list-style-type: disc;       /* show classic dots */
  text-align: left;            /* align list items left */
}

.certifications-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
}
/* ===== CERTIFICATIONS ===== */
.certifications-section {
  background: #111;
  padding: 60px 20px;
  text-align: center;
}

.certifications-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 40px;
}

.cert-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cert-card {
  background: #1c1c1c;
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 6px rgba(0,191,166,0.5));
}

.cert-card h3 {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

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


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

@media (max-width: 480px) {
  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}
@media (max-width: 768px) {
  .cert-card {
    width: 90%;
  }
}
