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

body {
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6rem;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #1e293b;
  position: sticky;
  
  top: 0;
  z-index: 1000;
  animation: slideDown 1s ease;
}

nav h1 {
  font-size: 1.5rem;
  color: #38bdf8;
}

nav span {
  color: #facc15;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #f1f5f9;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #38bdf8;
}

.nav-manu-ber {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
}

/* Header */
.Header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 10%;
  gap: 50px;
}

.header-img img {
  width: 250px;
  border-radius: 50%;
  border: 5px solid #38bdf8;
  animation: float 3s ease-in-out infinite;
}

.header-text h2 {
  font-size: 1.5rem;
  color: #facc15;
  animation: fadeIn 1.2s ease;
}

.header-text h4 {
  font-size: 1.2rem;
  color: #f1f5f9;
}

.header-text h3 {
  font-size: 2rem;
  color: #38bdf8;
  margin: 10px 0;
}

.header-text span {
  color: #facc15;
}

.header-text p {
  max-width: 500px;
  font-size: 1rem;
  color: #cbd5e1;
}

.header-link a {
  margin-right: 15px;
  color: #f1f5f9;
  font-size: 1.5rem;
  transition: 0.3s;
}

.header-link a:hover {
  color: #38bdf8;
}

.header-bnt button {
  padding: 10px 20px;
  border: none;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.header-bnt button:hover {
  background: #0ea5e9;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  gap: 40px;
}

.about-img img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.about-text h2 {
  font-size: 1.5rem;
  color: #38bdf8;
}

.about-text h3 {
  color: #facc15;
  font-size: 1.5rem;
  margin: 10px 0;
}

.about-text p {
  color: #cbd5e1;
  max-width: 600px;
}

.about-bnt button {
  padding: 10px 20px;
  border: 2px solid #38bdf8;
  background: transparent;
  color: #38bdf8;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.about-bnt button:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* Portfolio */
.my-protfolio {
  padding: 60px 10%;
  background: #1e293b;
  text-align: center;
}

.my-protfolio h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #38bdf8;
}

.my-protfolio span {
  color: #facc15;
}

.protfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.protfolio-card {
  background: #0f172a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: 0.3s;
}

.protfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.protfolio-img img {
  width: 100%;
  border-radius: 10px;
}

.language a {
  background: #334155;
  color: #f1f5f9;
  padding: 4px 8px;
  margin-right: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
  text-decoration: none;
}

.bnt button {
  margin-top: 30px;
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Skills Section */
.my-skill {
  padding: 60px 10%;
  background: #0f172a;
}

.my-skill h2 {
  text-align: center;
  color: #38bdf8;
  margin-bottom: 30px;
}

.my-skill span {
  color: #facc15;
}

.skill-prograss div {
  margin-bottom: 10px;
}

label {
  font-size: 1rem;
  display: block;
  margin-bottom: 5px;
  color: #f1f5f9;
  
}

progress {
  width: 100%;
  height: 25px;
  border: 1px solid gray;
  border-radius: 20px;
  padding: 3px;
}

progress::-webkit-progress-value{
  background-image: linear-gradient(to right, gray, lightgray);
  border-radius: 10px;
}
progress::-webkit-progress-bar{
  background-color: transparent;
  border-radius: 10px;
}

/* Contact Section */
.contact {
  padding: 60px 10%;
  
}

.contact h2 {
  text-align: center;
  color: #38bdf8;
  margin-bottom: 40px;
}

.contact span {
  color: #facc15;
}

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

.contact-img img {
  width: 250px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #334155;
  border: none;
  border-radius: 5px;
  color: #f1f5f9;
}

.contact-bnt button {
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #334155;
  padding: 30px 10%;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.9rem;
}

footer h1 {
  color: #38bdf8;
  margin-bottom: 10px;
}

footer span {
  color: #facc15;
}

footer .header-link a {
  color: #f1f5f9;
  margin: 0 10px;
  font-size: 1.2rem;
}

footer .header-link a:hover {
  color: #38bdf8;
}

/* education skill  */
.education{
  display: flex;
  justify-content: center;
  background-color: #1e293b;
}
.education-head{
  padding-top: 30px;
  padding-bottom: 20px;
  color: #38bdf8;
  font-size: 2rem;
}
.education-head span{
  color: #facc15;
   

}
.tree-container {
        position: relative;
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        
    }

    .tree-trunk {
        width: 20px;
        height: 150px;
        background: #654321;
        border-radius: 10px;
        margin-bottom: 20px;
        position: relative;
    }

    .branch {
        position: relative;
        margin: 20px 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .branch::before {
        content: '';
        position: absolute;
        width: 4px;
        height: 40px;
        background: #654321;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
    }

    .branch .leaf {
        background: #28a745;
        color: #fff;
        padding: 10px 15px;
        border-radius: 12px;
        margin: 0 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer;
    }

    .branch .leaf:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px #28a745;
    }

/* Animations */
@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1e293b;
    position: absolute;
    top: 70px;
    right: 10%;
    padding: 20px;
    border-radius: 5px;
  }

  nav ul.active {
    display: flex;
  }

  .nav-manu-ber {
    display: block;
  }

  .Header, .about, .contact-info {
    flex-direction: column;
    text-align: center;
  }

  .header-text p, .about-text p {
    margin: 0 auto;
  }

  .contact-img img {
    width: 180px;
  }

  .protfolio {
    grid-template-columns: 1fr;
  }
  nav h1 {
    font-size: 1rem;
  }

}
