/* ----------  Reset & Base ---------- */
* { box-sizing: border-box; padding: 0; margin: 0; font-family: Poppins, sans-serif; text-decoration: none; }
body { overflow-x: hidden; background: #222; color: #fff; line-height: 1.6; }

/* ---------- Wrapper / Header ---------- */
.hero-header { width: 100%; background: #222; }
.wrapper { width: 1280px; max-width: 95%; margin: 0 auto; padding: 0 20px; }

header { padding: 28px 0 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; }
.logo i { height: 45px; width: 45px; background-color: #007ced; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.2rem; padding: 10px; margin-right: 8px; text-align: center; }
.logo .logo-text { font-size: 20px; font-weight: 500; color: #fff; }

/* Nav small-screen toggle */
nav .togglebtn { width: 35px; height: 35px; position: absolute; top: 28px; right: 3%; z-index: 5; cursor: pointer; display: none; }
nav .togglebtn span { display: block; background-color: #007ced; margin: 5px 0px; width: 100%; height: 3px; transition: 0.3s; transition-property: transform, opacity; }

/* nav links (desktop) */
nav .navlinks { list-style: none; display: flex; gap: 20px; align-items: center; }
nav .navlinks li a { color: #fff; padding: 6px 8px; }

/* ---------- Hero ---------- */
.container { display: flex; justify-content: space-around; align-items: flex-start; padding-top: 2.5rem; gap: 20px; }
.hero-pic { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; border: 12px solid #444; box-shadow: 5px 7px 25px rgba(0,0,0,0.5); }
.hero-pic img { height: 100%; width: 100%; transition: transform 0.5s, filter 0.3s; object-fit: cover; }
.hero-pic img:hover { transform: scale(1.08); filter: brightness(1.08); }

.hero-text { max-width: 600px; display: flex; flex-direction: column; }
.hero-text h5 { color: #e5e5e5; font-size: 14px; margin-bottom: 6px; }
.hero-text .input { color: #00ffcc; font-size: 16px; font-weight: 700; }
.hero-text h1 { color: #007ced; font-size: 2.2rem; margin-top: 8px; margin-bottom: 12px; }
.hero-text p { color: #e5e5e5; font-size: 15px; margin-bottom: 12px; }

/* buttons group */
.btn-group { margin: 12px 0; }
.btn-group .btn { display: inline-block; border-color: #d5d5d5; color: #fff; background-color: #333; padding: 10px 18px; margin-right: 8px; border-radius: 30px; border: 2px solid #e5e5e5; box-shadow: 0 8px 10px -8px rgba(0,0,0,0.78); }
.btn-group .btn.active { border-color: #007ced; }

/* ---------- Hero Buttons (Experience / Projects / Certificates) ---------- */
.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 26px 0; }
.hero-buttons button {
  padding: 12px 26px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  min-width: 190px;
}

/* button themes */
.experience-btn { background: linear-gradient(135deg, #ff7f50, #ff1493); }
.experience-btn:hover { transform: scale(1.03); }

.portfolio-btn { background: linear-gradient(135deg, #007ced, #00ffcc); }
.portfolio-btn:hover { transform: scale(1.03); }

.certificate-btn { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.certificate-btn:hover { transform: scale(1.03); }

/* ---------- Toggleable Sections (hidden by default) ---------- */
.experience-section,
.portfolio-projects,
.certificates {
  display: none;
  margin: 30px auto;
  max-width: 1200px;
  padding: 28px;
  background: #111;
  border-radius: 12px;
  color: #fff;
}

/* show */
.experience-section.show,
.portfolio-projects.show,
.certificates.show { display: block; }

/* ---------- Experience Grid ---------- */
.experience-section h2 { font-size: 2rem; margin-bottom: 20px; color: #00ffcc; text-transform: uppercase; letter-spacing: 1.6px; text-align: center; }
.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 12px; }
.experience-category { background: #1a1a1a; padding: 18px; border-left: 4px solid #007ced; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.45); }
.experience-category h3 { color: #00ffcc; margin-bottom: 10px; font-size: 18px; }
.exp-sub { color: #aaa; margin-bottom: 10px; font-size: 14px; }
.exp-card { background: #222; padding: 10px 12px; border-radius: 6px; margin-bottom: 10px; color: #eee; }

/* ---------- Skills (full-bleed) ---------- */
.full-bleed { position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; box-sizing: border-box; padding-left: 40px; padding-right: 40px; padding-top: 60px; padding-bottom: 60px; background: #111; z-index: 1; }
.skills-section.full-bleed { color: #fff; text-align: center; }
.skills-section.full-bleed h2 { font-size: 2rem; color: #00ffcc; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; width: 100%; max-width: 1400px; margin: 0 auto; }
.skill-card { background: #000; padding: 22px; border-radius: 10px; text-align: left; color: #ddd; border-left: 4px solid #007ced; box-shadow: 0 6px 20px rgba(0,0,0,0.45); transition: transform .25s ease, box-shadow .25s ease; }
.skill-card h3 { color: #00ffcc; margin-bottom: 10px; font-size: 18px; }
.skill-card p { color: #ccc; line-height: 1.6; }
.skill-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.6); }

/* ---------- Portfolio Projects grid ---------- */
.portfolio-projects { padding: 24px; background: #000; border-radius: 10px; }
.portfolio-projects.show { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; justify-items: center; }
.project { background: #111; padding: 15px; border-radius: 10px; text-align: center; color: #fff; width: 100%; max-width: 320px; transition: transform 0.25s ease; }
.project:hover { transform: translateY(-6px); }
.project img { width: 100%; border-radius: 8px; margin-bottom: 10px; object-fit: cover; height: 160px; }
.project h3 { margin: 8px 0; font-size: 18px; color: #fff; }
.project p { font-size: 14px; color: #ddd; margin-bottom: 10px; }
.project a { color: #1e90ff; font-weight: bold; text-decoration: none; }
.project a:hover { color: #00ffcc; text-decoration: underline; }

/* ---------- Certificates grid ---------- */
.certificates { padding: 24px; background: #000; border-radius: 10px; }
.certificates.show { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; justify-items: center; }
.certificate { background: #111; padding: 15px; border-radius: 10px; text-align: center; color: #fff; width: 100%; max-width: 300px; transition: transform 0.25s ease; }
.certificate:hover { transform: translateY(-6px); }
.certificate img { width: 100%; border-radius: 8px; margin-bottom: 10px; height: 160px; object-fit: cover; }
.certificate h3 { font-size: 15px; margin: 8px 0; color: #fff; }
.certificate a { color: #1e90ff; font-weight: bold; text-decoration: none; display: inline-block; margin-top: 6px; }
.certificate a:hover { color: #00ffcc; text-decoration: underline; }

/* ---------- Footer ---------- */
footer { background: #111; color: #fff; text-align: center; padding: 20px 10px; margin-top: 40px; }
footer .social { margin-bottom: 12px; }
footer .social a { color: #fff; font-size: 22px; margin: 0 10px; transition: color 0.3s ease, transform 0.3s ease; }
footer .social a:hover { color: #007ced; transform: scale(1.12); }

/* ---------- Responsive ---------- */
@media (max-width: 930px) {
  nav .togglebtn { display: block; }
  nav .navlinks { position: absolute; top: 84px; right: -100%; bottom: 0; width: 60%; height: 100vh; background-color: #222; z-index: 3; box-shadow: 5px 13px 30px rgba(0,0,0,0.1); transition: 0.5s; padding: 25px 0px; flex-direction: column; }
  nav .navlinks.open { right: 0; }
  nav .navlinks li { margin-bottom: 14px; }
}

@media (max-width: 768px) {
  .container { flex-direction: column; padding-top: 1.5rem; }
  .hero-pic { margin: 0 auto; }
  .hero-text { padding: 20px 0; }
  .hero-buttons { gap: 10px; }
  .portfolio-projects.show { grid-template-columns: repeat(2, 1fr); }
  .certificates.show { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
  .portfolio-projects.show { grid-template-columns: 1fr; }
  .certificates.show { grid-template-columns: 1fr; }
}

/* Contact Section */
#contact {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

#contact h2 {
  font-size: 2rem;
  color: #00ffcc;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  resize: none;
}

#contact-form button {
  background: linear-gradient(135deg, #007ced, #00ffcc);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 255, 204, 0.4);
}

#status {
  margin-top: 15px;
  font-weight: bold;
}

.download-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #007ced, #00ffcc);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 255, 204, 0.4);
}
