/* RESET & BASE */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter', sans-serif; }
body { background:#0f0f0f; color:#fff; scroll-behavior:smooth; }

/* NAVIGATION */
/* NAVIGATION LINKS STYLE */
/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
nav .logo {
  font-weight: 700;
  font-size: 24px;
}

/* Horizontal nav links */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px; /* space between links */
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

/* Hover underline effect */
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #00ffd1;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #00ffd1;
}

/* Optional: Active section highlight */
nav ul li a.active {
  color: #00ffd1;
}

nav ul li a.active::after {
  width: 100%;
}

/* Responsive: stack menu on small screens */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 20px;
    gap: 15px;
    display: none; /* toggle with JS for mobile menu */
  }
}

/* HERO */
/* HERO SECTION */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.hero-content {
  max-width: 1100px;
  width: 100%;
}

.profile-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: rgba(0, 255, 209, 0.05);
  border-left: 4px solid #00ffd1;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 12px 25px rgba(0, 255, 209, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 255, 209, 0.2);
}

.intro {
  flex: 1;
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.intro h3 {
  font-size: 20px;
  color: #00ffd1;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.intro h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  background: linear-gradient(90deg, #00ffd1, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro h2 {
  font-size: 24px;
  font-weight: 600;
  color: #00bfa5;
  margin-bottom: 20px;
}

.intro p {
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  max-width: 520px;
  border-left: 4px solid #00ffd1;
  padding-left: 15px;
  background: rgba(0, 255, 209, 0.05);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 255, 209, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.intro p:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 255, 209, 0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro h1 {
    font-size: 36px;
  }

  .intro h2 {
    font-size: 20px;
  }

  .intro p {
    max-width: 90%;
    font-size: 16px;
  }
}


/* PROFILE PHOTO */
.profile-photo {
  flex-shrink: 0;
}

.profile-photo img {
  width: 380px;          /* larger on desktop */
  max-width: 90vw;       /* responsive */
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 255, 209, 0.3);
  border: 4px solid #00ffd1;
  transition: transform 0.4s, box-shadow 0.4s, border 0.4s;
}

.profile-photo img:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 45px rgba(0, 255, 209, 0.5);
  border-color: #00bfa5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px;
  }

  .intro h1 {
    font-size: 34px;
  }

  .intro h2 {
    font-size: 22px;
  }

  .profile-photo img {
    width: 260px;
  }
}


/* ABOUT SECTION */
.section { padding:80px 50px; text-align:center; }
.section h2 { font-size:36px; margin-bottom:50px; color:#00ffd1; }

.about-content {
  max-width:900px;
  margin:0 auto;
  text-align:left;
  line-height:1.8;
  font-size:18px;
  color:#ddd;
  padding:20px;
  background: rgba(0, 255, 209,0.05);
  border-left:4px solid #00ffd1;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,255,209,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-content:hover { transform:translateY(-5px); box-shadow:0 12px 25px rgba(0,255,209,0.2); }

/* SKILLS */
.skills-intro { text-align:center; font-size:18px; color:#ccc; margin-bottom:40px; }

.skills-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
  justify-items:center;
}

.skill-category {
  background:#111;
  padding:25px 30px;
  border-radius:15px;
  border-left:5px solid #00ffd1;
  box-shadow:0 12px 25px rgba(0,255,209,0.2);
  width:100%;
  transition: transform 0.4s, box-shadow 0.4s;
}
.skill-category:hover { transform:translateY(-7px); box-shadow:0 18px 35px rgba(0,255,209,0.35); }
.skill-category h3 { color:#00ffd1; margin-bottom:15px; font-size:20px; }
.skill-item { font-size:16px; color:#ddd; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.skill-item:hover { color:#00ffd1; cursor:default; }

/* CERTIFICATIONS GRID */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  justify-items: stretch;
  margin-top: 40px;
}

/* Certification Card */
.cert-card {
  background: #111;
  border-left: 5px solid #00ffd1;
  padding: 35px 25px;
  border-radius: 15px;
  width: 100%;
  text-align: left;
  box-shadow: 0 12px 25px rgba(0, 255, 209, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-card h3 {
  font-size: 20px;
  color:#00ffd1;
  margin-bottom:10px;
  text-align: justify;
}

.issuer {
  font-weight:600;
  margin-bottom:12px;
  color:#00bfa5;
  text-align: justify;
}

.verify-btn {
  text-decoration:none;
  padding: 12px 22px;
  border-radius:8px;
  font-weight:700;
  text-align:center;
  transition: background 0.3s, transform 0.3s;
  align-self:start;
  color:#111;
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 255, 209, 0.4);
  cursor: default;
}

/* PROJECTS */
.projects-intro {
  text-align: center;
  color: #ccc;
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: #111;
  border-left: 5px solid #00ffd1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,255,209,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-card h3 {
  font-size: 20px;
  color: #00ffd1;
  margin: 15px;
}

.project-date {
  font-size: 14px;
  color: #00bfa5;
  margin: 0 15px 10px 15px;
}

.project-desc {
  font-size: 16px;
  color: #ddd;
  margin: 0 15px 10px 15px;
  line-height: 1.6;
}

.project-tech {
  font-size: 14px;
  color: #00bfa5;
  font-weight: 500;
  margin: 0 15px 15px 15px;
}

.project-btn {
  text-decoration: none;
  background: #00bfa5;
  color: #111;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 0 15px 15px 15px;
  align-self: start;
  transition: all 0.3s;
}

.project-btn:hover {
  background: #00ffd1;
  transform: translateY(-3px);
}

.project-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0,255,209,0.35);
}

@media (max-width:900px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-card {
    max-width: 100%;
  }
}

/* CONTACT SECTION */
.contact-intro {
  text-align: center;
  font-size: 18px;
  color: #ccc;
  max-width: 850px;
  margin: 0 auto 50px auto;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: #111;
  border-left: 5px solid #00ffd1;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(0, 255, 209, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(0,255,209,0.15), rgba(0,191,165,0.1));
  transform: rotate(25deg);
  z-index: 0;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 255, 209, 0.35);
}

.contact-card h3 {
  font-size: 20px;
  color: #00ffd1;
  margin-bottom: 12px;
  z-index: 1;
  position: relative;
}

.contact-card p, .contact-card a {
  font-size: 16px;
  color: #ddd;
  line-height: 1.6;
  z-index: 1;
  position: relative;
}

.contact-card a {
  color: #00ffd1;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: #00bfa5;
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: #00ffd1;
  z-index: 1;
  position: relative;
}

@media (max-width:900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* FOOTER */
footer { background:#111; color:#fff; padding:30px; text-align:center; }
