/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }

/* Global */
body {
  font-family: 'Poppins', sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
}
section { padding: 80px 20px; }
h1 { font-size: 2.5rem; color: #ff9800; text-align: center; margin-bottom: 40px; }

/* Navbar */
nav {
  position: sticky;
  top: 0;
  background: #1a1a1a;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
nav .logo { font-size: 1.5rem; font-weight: bold; color: #fff; }
nav .logo span { color: #ff9800; }
nav ul { list-style: none; display: flex; gap: 25px; }
nav ul li a { color: #f5f5f5; font-weight: 500; transition: 0.3s; }
nav ul li a:hover, nav ul li a.active { color: #ff9800; }

/* About */
.about-container {
  display: flex; align-items: center; justify-content: center;
  gap: 50px; flex-wrap: wrap; max-width: 1100px; margin: auto;
}
.about-image img {
  width: 300px; height: 300px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 8px 20px rgba(255,152,0,0.4);
}
.about-text { max-width: 600px; }
.about-text p { margin-bottom: 15px; font-size: 1.1rem; line-height: 1.7; color: #ddd; }
.about-buttons { margin-top: 20px; }
.btn-primary, .btn-secondary {
  display: inline-block; padding: 12px 24px; margin-right: 15px;
  border-radius: 30px; font-weight: bold; transition: 0.3s;
}
.btn-primary { background: #ff9800; color: #0d0d0d; }
.btn-primary:hover { background: #ffa733; }
.btn-secondary { border: 2px solid #ff9800; color: #ff9800; }
.btn-secondary:hover { background: #ff9800; color: #0d0d0d; }

/* Cards */
.card-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; max-width: 1100px; margin: auto;
}
.card {
  background: #1a1a1a; padding: 30px; border-radius: 15px; text-align: center;
  transition: 0.3s; box-shadow: 0 0 15px rgba(255,152,0,0.1);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 0 20px rgba(255,152,0,0.4); }
.card img { width: 60px; margin-bottom: 15px; }

/* Certifications specific */
.cert-card { display: flex; align-items: center; gap: 20px; text-align: left; }
.cert-card img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: #fff; padding: 6px; }
.cert-card h2 { font-size: 1.2rem; color: #fff; }
.cert-card p { color: #ccc; margin-top: 5px; font-size: 0.95rem; }

/* Gallery grid (Certifications) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.gallery-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255,152,0,0.2);
  transition: 0.3s;
}
.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,152,0,0.5);
}
.gallery-item p {
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
  color: #ddd;
}

/* Project screenshots */
.project {
  margin-bottom: 50px;
}
.screenshot-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.screenshot-row img {
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255,152,0,0.2);
  transition: 0.3s;
}
.screenshot-row img:hover {
  transform: scale(1.05);
}

/* Internship images */
.internship {
  margin-bottom: 60px;
}
.internship .screenshot-row img {
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255,152,0,0.2);
}

/* Internship Section */
.internship {
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.internship .screenshot-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.internship .screenshot-row img {
  width: 280px;        /* medium size */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255,152,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship .screenshot-row img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,152,0,0.5);
}
