/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #010005;
  color: #f9f4f4;
  line-height: 1.6;
}

/* Header + Navigation */
.header {
  background:rgb(147, 123, 113);
  padding: 15px 20px;
  text-align: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color:  rgb(150, 71, 38);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: #0b012e;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.highlight {
  color: rgb(192, 152, 135);
}

.hero p {
  margin: 10px 0 20px;
  font-size: 1.1rem;
}

.hero-buttons {
 
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  margin-top: 20px;
  background: rgb(150, 71, 38);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: rgb(250, 250, 249);
  color: rgb(138, 65, 34);

}

.btn.secondary {
  background: #333;
}

.btn.secondary:hover {
  background: #aeaaaa;
  color:#010005;
}

/*Education*/
/* ===== Education Section ===== */
#education {
  text-align: center;
  padding: 50px 20px;
  background:rgb(147, 123, 113);
}

.edu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.edu-card {
  background:#0b012e;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: transform 0.2s;
}

.edu-card:hover {
  transform: translateY(-5px);
}

.edu-card h3 {
  font-size: 1.2rem;
  color:  rgb(138, 65, 34);
;
  margin-bottom: 6px;
}

.edu-card .institute {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}


/* Skills Section */
.skills, .certifications, .contact {
  text-align: center;
  padding: 50px 20px;
  background:rgb(147, 123, 113);
  color:white;
}

.skills h2, .certifications h2, .contact h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color:rgb(138, 65, 34);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  color:white;
}

.skill-card {
  background: rgb(8, 8, 8);
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  font-weight: bold;
  min-width: 100px;
  text-align: center;
}

/* About Page */
.about {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.about-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

/* Projects Page */
.projects {
  padding: 50px 20px;
  text-align: center;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: #665c50;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}
/*Certifications.html*/

#certifications {
  text-align: center;
  padding: 40px 20px;
  background:rgb(147, 123, 113);
  
}

.cert-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cert-card {
  background:#0b012e ;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease-in-out;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card img {
  width: 80px;
  margin-bottom: 15px;
}

.view-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: rgb(138, 65, 34);
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.view-btn:hover {
  background: white;
  color:rgb(138, 65, 34);
}


/* Typing Effect */
#typed {
  border-right: 2px solid  rgb(147, 123, 113);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: rgb(147, 123, 113); }
}

/* Footer */
.footer {
  background:rgb(147, 123, 113);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}
