/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  width: 100%;
  height: 70px;
  background-color: brown;
  display: flex;
   justify-content: flex-end; /*keep links on right */
  /* align-items: center;       /* vertically center links */
  /* position: fixed;           navbar stays on top */
  /* top: 0;
  left: 0;
  z-index: 1000; */
/* } */
/* 
nav a {
  text-decoration: none;
  color: #f5f4f4;
  margin: 0 20px;
  font-size: 20px;
  padding: 8px 10px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  background-color: #f3f4f6;
  color: #0e0e0f;
  border-bottom: 4px solid #0707ec;
  
}
.container{
    display: flex;
    width: 95%;
    margin-top: 40px;
    height: 600px;
    display: flex;
    background-color: rgb(211, 235, 235);
    margin-left: 20px;
    border: 2px solid rgb(211, 235, 235);

}
.left{
    width: 30%;
    height: 560px;
    background: #4c53b5;
     margin-left: 10px;
    margin-top: 10px;
    border-radius: 6px;

}
.right{
    width: 70%;
    padding: 40px;
   
}
.right p{
    font-size: 18px;
    word-spacing: 10px;
    line-height: 25px;
    color:rgb(57, 57, 57);
    font-family: Arial, Helvetica, sans-serif;
    
   
}
.right_sub{
    margin-top: 50px;
}
.image_box{
   width: 90%; 
   display: flex;
   justify-content: center;
}


.imgs{
    width: 180px;
    height: 180px;
   padding: 10px;
   border-radius: 60%;

  
}
.boxes_details{
    width: 100%;
     display: flex;
    flex-direction: column;
    justify-content: center;
   

}
.box1_e{
     width: 80%;
     height: 40px;
    background-color: #f3f4f6;
    margin-bottom: 40px;
    margin-left: 15px;
   border-radius: 100px;
    
    
}
.container2{
  width: 100%;
}
.about{
  
  margin: 30px;
  font-size: 30px;
}
.container2 p{
  font-size: 18px;
  margin-left: 40px;
    word-spacing: 10px;
    line-height: 25px;
    color:rgb(57, 57, 57);
    font-family: Arial, Helvetica, sans-serif;
}
.tbl{
  width: 70%;
 
} */ 

/* ---------- Global Styles ---------- */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Navbar */
.navbar {
  background: #001f3f;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.navbar ul li {
  margin: 0 20px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #ffcc00;
}

/* Home Section */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #001f3f, #004080);
  color: white;
  text-align: center;
}

.home .intro img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 15px;
}

.home .intro h1 {
  font-size: 32px;
}

.home .intro span {
  color: #ffcc00;
}

.home .intro p {
  font-size: 18px;
  margin: 10px 0;
}

.btn {
  display: inline-block;
  background: #ffcc00;
  color: #001f3f;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #001f3f;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #001f3f;
  text-transform: uppercase;
  position: relative;
}

h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #ffcc00;
  display: block;
  margin: 10px auto;
  border-radius: 5px;
}

/* About Section */
#about p {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* Education */
#education table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

#education table td {
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 16px;
}

/* Skills */
#skills ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  list-style: none;
  
}
#skills ul li:hover {
  transition: transform 0.3s, box-shadow 0.3s;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


#skills ul li {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 500;

}

/* Projects */
#projects .project-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: 15px 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

#projects .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#projects h3 {
  color: #004080;
  margin-bottom: 10px;
}
/* Contributions Section */
#contributions .contribution-list {
  list-style: none;
  max-width: 700px;
  margin: auto;
  padding: 0;
}

#contributions .contribution-list li {
  background: #fff;
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  font-size: 17px;
  transition: transform 0.3s;
}

#contributions .contribution-list li:hover {
    transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Strengths Section */
#strengths .strength-list {
  list-style: none;
  max-width: 700px;
  margin: auto;
  padding: 0;
}

#strengths .strength-list li {
  background: #fff;
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  font-size: 17px;
  transition: transform 0.3s;
}

#strengths .strength-list li:hover {
    transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Certificates */
#certificates ul {
  list-style: none;
  max-width: 700px;
  margin: auto;
}

#certificates ul li {
  background: #fff;
  margin: 10px 0;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Contact */
#contact p {
  text-align: center;
  font-size: 18px;
  margin: 8px 0;
}

#contact a {
  color: #004080;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .home {
    flex-direction: column;
    padding: 20px;
    height: auto;
  }

  .home .intro h1 {
    font-size: 24px;
  }

  .navbar ul {
    flex-wrap: wrap;
  }

  .navbar ul li {
    margin: 10px;
  }
}

