* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #070b12;
  color: #e8e8e8;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

}

section {
  padding: 100px 0;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  background: #070b12;
  border-bottom: 1px solid #1b2130;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  color: #f3b23c;
  font-size: 22px;
  font-weight: 700;
}

.nav-links a {
  margin-left: 28px;
  color: #bfc5d2;
  font-size: 15px;
}

.nav-links a:hover {
  color: #f3b23c;
}

/* Headings */
h1 {
  font-size: 64px;
  font-weight: 700;
}

h2 {
  font-size: 46px;
  margin-bottom: 20px;
}

.highlight {
  color: #f3b23c;
}

p {
  color: #9aa3b2;
  margin: 15px 0;
  max-width: 520px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #f3b23c;
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 12px;
}

.btn-outline {
  border: 1px solid #f3b23c;
  padding: 14px 28px;
  border-radius: 8px;
  color: #f3b23c;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.skills-container{
  display:flex;
  flex-direction:column;
}

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.skill {
  background: #0f1522;
  border: 1px solid #1e2536;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  color: #cfd5e0;
}

@media(max-width:900px){
  .skills{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:500px){
  .skills{
    grid-template-columns: 1fr;
  }
}

.skill:hover{
  transform: translateY(-4px);
  border-color:#f3b23c;
  box-shadow:0 0 15px rgba(243,178,60,0.15);
}

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}



.card {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #f3b23c;   /* gold border for all */
  padding: 25px;
  border-radius: 14px;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 15px rgba(243,178,60,0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(243,178,60,0.18);
}


.card p {
  margin: 10px 0 20px;
}


.card h3 {
  margin-bottom: 10px;
}

/* Certificate tag */
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: #1a2130;
  border-radius: 20px;
  font-size: 12px;
  color: #f3b23c;
  margin-bottom: 10px;
}

/* Contact cards */
.contact-card {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #1e2536;
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}

/* Center section */
.center {
  text-align: center;
}

.center p {
  margin: 10px auto;
}


/* Hero section layout */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-text p {
  max-width: 500px;
}

.hero-img {
  display: flex;
  justify-content: center;
}

.hero-img img {
  width: 350px;
  height: 400px;
  object-fit: cover;
  /*border-radius: 50%; */
  border: 4px solid #f3b23c;
  box-shadow: 0 0 40px rgba(243,178,60,0.2);
}

/* Section title underline */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #f3b23c;
  border-radius: 2px;
}

.section-skill {
  position: relative;
  display: block;
  font-size: 30px;
  margin-bottom: 10px;
}


.section-skill::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #f3b23c;
  border-radius: 2px;
}


/* Responsive */
@media(max-width:768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-img {
    margin-top: 40px;
  }
}


/* Responsive */
@media(max-width:768px) {
  .about {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }
}

/* Certificates + Blog layout */
.cert-blog {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Blog card style */
.blog-section {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #1e2536;
  padding: 40px;
  border-radius: 14px;
}

/* Responsive */
@media(max-width:900px){
  .cert-blog {
    grid-template-columns: 1fr;
  }

  .blog-section {
    margin-top: 40px;
  }
}

.contact-card {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #1e2536;
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 18px;
  display: flex;
  margin: 18px auto;
  justify-content: space-between;
  text-decoration: none;
  color: #e8e8e8;
  transition: 0.3s;
  width: 600px;
}

.contact-card:hover {
  border-color: #f3b23c;
  transform: translateY(-3px);
}

/* Certificate layout */
.cert-grid {
  margin-top: 40px;
}

.cert-card {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #1e2536;
  padding: 30px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 800px;
  height: 350px;
}

.cert-badge {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.cert-info h3 {
  margin: 10px 0;
}

/* Blog box style */
.blog-box {
  background: linear-gradient(180deg, #0f1522, #0a0f19);
  border: 1px solid #1e2536;
  padding: 50px;
  border-radius: 14px;
  max-width: 600px;
}

/* Responsive */
@media(max-width:768px){
  .cert-card {
    flex-direction: column;
    text-align: center;
  }
}


/* Featured project */
.featured {
  border: 1px solid #f3b23c;
  box-shadow: 0 0 20px rgba(243,178,60,0.15);
}

/* Project tags */
.project-tags {
  margin: 15px 3;
}

.project-tags span {
  display: inline-block;
  background: #1a2130;
  color: #f3b23c;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin: 4px 6px 4px 0;
}


/* =========================
   Scroll Fade Animation
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect for cards */
.grid .card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.grid .card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero text animation */
.hero-text {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243,178,60,0.3);
}

/* =========================
   Animated Particles
========================= */

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #f3b23c;
  border-radius: 50%;
  opacity: 0.7;
  animation: float linear infinite;
}

@keyframes float {
  from {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  to {
    transform: translateY(-10vh);
    opacity: 0;
  }
}

.cert-id {
  font-size: 14px;
  color: #bfc5d2;
  margin: 8px 0;
}

.cert-id span {
  color: #f3b23c;
  font-weight: 500;
}

.cert-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border: 1px solid #f3b23c;
  border-radius: 6px;
  color: #f3b23c;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.cert-link:hover {
  background: #f3b23c;
  color: #000;
}
